Sostactic: Lean4 Tactics for Proving Polynomial Inequalities with Sum-of-Squares Certificates
By
mmaaz
Hot, fresh, and worth queueing round the block for.
Summary
Sostactic is a Lean4 mathematical proof assistant tool that provides tactics for proving polynomial inequalities using sum-of-squares (SOS) decompositions. The tool features a Python backend and offers more powerful capabilities than existing tools like nlinarith and positivity, enabling proofs of polynomial inequalities that those tools cannot handle. The article serves as documentation and introduction to the tool, including quick examples and implementation details for mathematical proof automation.
Key quotes
· 5 pulledThese tactics are significantly more powerful than nlinarith and positivity -- i.e., they can prove inequalities they cannot.
This is a collection of Lean4 tactics for proving polynomial inequalities via sum-of-squares (SOS) decompositions, powered by a Python backend.
In theory, they can be used to prove any of the following types of statements
Full documentation is provided towards the end of this README; feel free to point your coding agent at it.
Look at Sostactic/Examples.lean for more
You might also wanna read
Think Linear Algebra: A Code-First, Case-Based Introduction to Linear Algebra with Python
Think Linear Algebra is a code-first, case-based educational book that teaches linear algebra through real-world problems and Python program
The Step-Size Trap: How Numerical Differentiation Fails with Floating-Point Arithmetic
The article explores the mathematical and computational challenges of numerical differentiation, specifically the step-size trap in finite d
Simulating the Ladybug Clock Puzzle: A Computational Approach to a Mathematical Problem
The article discusses a mathematical puzzle about a ladybug moving around a clock face, visiting all hour markers exactly once, and asks for
Using Quantifier Elimination to Solve Mathematical Competition Problems
The article discusses using quantifier elimination, a powerful computational technique from mathematical logic, to solve competition math pr
Mathlib4: The Mathematical Library for Lean 4 Theorem Prover
Mathlib4 is the mathematical library for the Lean 4 theorem prover, containing programming infrastructure, mathematical content, and develop
Mathematical Implementation of Fizz Buzz Using Cosine Functions
This article explores a mathematical approach to the classic Fizz Buzz programming problem using trigonometric functions, specifically cosin
