Can Witnessing theorems lead to code extraction from proofs? (bounded arithmetics)
Statement
In bounded arithmetic (or bounded reverse mathematics) we study formal systems so weak that the structures of their proofs correspond to some known complexity classes such as PTIME, LOGSPACE or AC0.
Here I will refer to the astonishing work of Steven Cook and Phuong Nguyen, "Logical Foundations of Proof Complexity" - specifically, to the draft available here: cook-nguyen.pdf, as the original is non open-access. For motivation:
Conceptually the theory VC associated with a complexity class C can prove a given mathematical theorem if the induction hypotheses needed in the proof can be formulated using concepts from C. We are interested in trying to find the weakest class C needed to prove various theorems of interest in computer science.
The authors show that weak pigeonhole principle is not provable in theory corresponding to complexity class, but it is provable in , along with a formula denoting that for every sequence, a sorted sequence exists. Fermat's Little Theorem is not provable in , condition prime factorization is not in .
In the area of bounded arithmetic, Witnessing theorems are studied, which roughly say that if a formula $\forall …
Posed by ruplet · lo.logic, reverse-math, theories-of-arithmetic, bounded-arithmetic
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-492469.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-492469.lean
import Mathlib /-! # Can Witnessing theorems lead to code extraction from proofs? (bounded arithmetics) Source: https://mathoverflow.net/questions/492469 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_492469 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_492469