Apoth3osis
<_RESEARCH/PROJECTS

Semi-Algebraic Constraint Solving

VERIFIED0 SORRY5 MENTAT CERTSLean 4 + Mathlib
>_VERIFICATION.SEAL
FORMALLY VERIFIED • LEAN 4 • MACHINE-CHECKED • APOTH3OSIS¬QED0 SORRY

Formal Verification Certificate

All theorems formally verified in Lean 4 with zero sorry gaps.

0 SORRY

Semi-Algebraic Lean • Lean 4 + Mathlib • Apoth3osis Labs

The Central Question

Can a machine decide whether a system of polynomial inequalities has a real solution? Yes — Tarski proved in 1951 that the first-order theory of the reals is decidable. This project formalizes the decision procedure in Lean 4: given a quantifier-free system of polynomial constraints over , it either finds a satisfying point or produces a Positivstellensatz refutation proving no solution exists. The machinery — cylindrical algebraic decomposition, Sturm chains, sign determination — is all machine-checked.

Key Verified Results

tarski_decidable

First-order theory of reals is decidable

Decidability.lean

cad_correct

CAD decomposes ℝⁿ into sign-invariant cells

CAD.lean

sat_certificate_sound

SAT witness satisfies all constraints

Certificate.lean

unsat_certificate_sound

Positivstellensatz refutation proves infeasibility

Certificate.lean

>_MENTAT.JOIN

“Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them.”

Frank Herbert, Dune

A janitor who proves a theorem outranks a tenured professor who publishes noise.

Not as a slogan. As a structural fact of how the network operates. The only currency that matters is the quality of your contribution, measured not by committee but by mathematics.

ONTOLOGICAL ENGINEER8 designations
IDEA

A valid, original framing or conjecture

THEORY

Formal argument with paper-level rigor

APPLICATION

Connecting theory to observable outcomes

CODE

Working software the project depends on

EXPERIMENT

Reproducible research with methodology and data

PROOF

Machine-verified claim checked by a proof assistant

KERNEL

Foundational, load-bearing implementation

BRIDGE

Connecting subsystems or knowledge domains end-to-end

NOETIC ENGINEER8 designations
VISIONARY

Strategic direction & roadmaps

NARRATOR

Writing, documentation & papers

DESIGNER

Visual, UX & information design

EDUCATOR

Teaching, tutorials & workshops

CULTIVATOR

Community, outreach & events

DIPLOMAT

Partnerships, governance & policy

INTERPRETER

Translation, media & accessibility

SENTINEL

Ethics, review & quality assurance

Every accepted contribution receives a MENTAT Contribution Record — cryptographically signed, IPFS-pinned, permanently yours. No committee decides your worth. The type checker does.

APPLY TO MENTATEXPLORE PROJECTSMESH-ENCRYPTED NETWORK FOR TRUSTED AUTONOMOUS TRANSACTIONS
>_MENTAT.CERTIFICATES

Contribution Certificates

Immutable contribution records per MENTAT-CA-001. Each certificate is cryptographically anchored with IPFS CIDs.

MENTAT-CA-001|MCR-SA-001
2026-01-25

MENTAT Contribution Record

IDEA

Conceptual Contribution

CONTRIBUTION LEVEL: IDEA

Ontological Engineer

Decidability of Real Polynomial Constraints

Contributor

Apoth3osis Labs

R&D Division

Core insight: the first-order theory of the reals is decidable (Tarski, 1951). This means every quantifier-free system of polynomial inequalities over ℝ has a decision procedure. We can generate machine-checkable certificates of satisfiability or infeasibility — turning real algebraic geometry into a verification tool.

MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-001|MCR-SA-002
2026-01-25

MENTAT Contribution Record

THEORY

Mathematical Foundation

CONTRIBUTION LEVEL: THEORY

Ontological Engineer

Cylindrical Algebraic Decomposition and Certificate Extraction

Contributor

Apoth3osis Labs

R&D Division

Complete framework: (1) polynomial ring arithmetic over ℝ, (2) sign determination via Sturm chains, (3) cylindrical algebraic decomposition (CAD) for quantifier elimination, (4) certificate extraction — SAT certificates are witness points; UNSAT certificates are Positivstellensatz refutations.

Builds Upon

MCR-SA-001
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-001|MCR-SA-003
2026-01-25

MENTAT Contribution Record

PROOF

Formally Verified

CONTRIBUTION LEVEL: PROOF

Ontological Engineer

Lean 4 Formalization — Semi-Algebraic Constraint Solving

Contributor

Apoth3osis Labs

R&D Division

Machine-checked Lean 4 formalization of quantifier-free real polynomial constraint solving. Polynomial evaluation, sign determination, CAD cell decomposition, and certificate verification. All proved without sorry/admit.

Builds Upon

MCR-SA-001MCR-SA-002
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-001|MCR-SA-004
2026-02-01

MENTAT Contribution Record

KERNEL

Computationally Verified

CONTRIBUTION LEVEL: KERNEL

Ontological Engineer

Semi-Algebraic Verified Kernel

Contributor

Apoth3osis Labs

R&D Division

All theorems kernel-checked by Lean 4. Guard-no-sorry passes. Standard axioms only.

Builds Upon

MCR-SA-003
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-001|MCR-SA-005
2026-02-01

MENTAT Contribution Record

BRIDGE

Cross-Level Connection

CONTRIBUTION LEVEL: BRIDGE

Ontological Engineer

Standalone Repository + Interactive Examples

Contributor

Apoth3osis Labs

R&D Division

Published as standalone GitHub repository with interactive examples of polynomial constraint solving and certificate verification.

Builds Upon

MCR-SA-003MCR-SA-004
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof

Governed by MENTAT-CA-001 v1.0 · March 2026