SIGNAL GRIDv0.1

Show HN: Sostactic – polynomial inequalities using sums-of-squares in Lean

1 sources1 storiesFirst seen 4/18/2026Score32Mixed Progress
Single Source
CoverageRecencyEngagementVelocityBignessConfidenceClipability
Bigness
32
Coverage
13
Recency
90
Engagement
21
Velocity
0
Confidence
49
Clipability
60
Polarization
0
Claims
5
Contradictions
0
Breakthrough
50

Sentiment Mix

Positive0%
Neutral100%
Negative0%

Geography

North America

Expert Signals

mmaaz

author1 mention

Hacker News

source1 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

Timeline (1 stories)

Receipts (1)

Bias Snapshot

Center
Left 0%Center 100%Right 0%
Agggithub.com4/18/2026