Show HN: Sostactic – polynomial inequalities using sums-of-squares in Lean
Sentiment Mix
Geography
Expert Signals
mmaaz
author • 1 mention
Hacker News
source • 1 mention
AI-Generated Claims
Generated from linked receipts; click sources for full context.
Current support for nonlinear inequalities in Lean is quite limited.
Supported by 1 story
It contains a collection of Lean4 tactics for proving polynomial inequalities via sum-of-squares (SOS) decompositions, powered by a Python backend.
Supported by 1 story
You can use it via Python or Lean.These tactics are significantly more powerful than `nlinarith` and `positivity` -- i.e., they can prove inequalities they cannot.
Supported by 1 story
In theory, they can be used to prove any of the following types of statements- prove that a polynomial is nonnegative globally - prove that a polynomial is nonnegative over a semialgebraic set (i.e., defined by a set of polynomial inequalities) - prove that a semialgebraic set is empty, i.e., that a system of polynomial inequalities is infeasibleThe underlying theory is based on the following observation: if a polynomial can be written as a sum of squares of other polynomials, then it is nonnegative everywhere.
Supported by 1 story
Theorems proving the existence of such decompositions were one...
Supported by 1 story
Related Events
Show HN: I made a calculator that works over disjoint sets of intervals
Uncategorized • 4/18/2026
Graphs That Explain the State of AI in 2026
Uncategorized • 4/19/2026
Show HN: AI Subroutines – Run automation scripts inside your browser tab
Uncategorized • 4/18/2026
'Crying Wolf Does Not Serve the AI Industry Well,' Chamath Palihapitiya Says On Anthropic's Mythos Rollout - Yahoo Finance
Product Launch • 4/19/2026
Appeals court allows Trump's White House ballroom construction to continue into June
Uncategorized • 4/19/2026