Polynomial-size rational LP certificates
Lax109476.SmallCertificates · concepts/Lax109476/SmallCertificates.lean · lax-109476
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Every rational linear program has a valid outcome certificate whose total binary encoding size is polynomial in the binary encoding size of the input. The polynomial is universal over all dimensions and coefficient values.
Concept map
Evidence
Each proof establishes this claim relative to its assumptions.
Lean source view on GitHub
| 1 | import Lax109476.RationalEncoding |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Polynomial-size rational LP certificates |
| 6 | type: theorem |
| 7 | --- |
| 8 | Every rational linear program has a valid outcome certificate whose total |
| 9 | binary encoding size is polynomial in the binary encoding size of the input. |
| 10 | The polynomial is universal over all dimensions and coefficient values. |
| 11 | |
| 12 | # Formalization notes |
| 13 | |
| 14 | The statement includes all three outcomes, and thus also asserts the |
| 15 | existence of exact rational witnesses. The size counts signs, numerators, |
| 16 | denominators, and outcome data in the fixed word-list encoding. The proof |
| 17 | clears input denominators, compresses each certificate using independent |
| 18 | supports, and applies Cramer's rule to an integer Gram matrix. The resulting |
| 19 | certificate encoding has size at most , where is the input |
| 20 | encoding size. It uses rational certificate existence and does not depend on |
| 21 | the algorithm or its running-time theorem. |
| 22 | -/ |
| 23 | |
| 24 | namespace Lax109476.SmallCertificates |
| 25 | |
| 26 | open Lax109476.LinearProgram Lax109476.RationalCertificates Lax109476.RationalEncoding |
| 27 | open Lax759944.BinaryWordEncoding |
| 28 | |
| 29 | /-- All rational LP outcomes have certificates of uniformly polynomial bit size. -/ |
| 30 | axiom exists_polynomial_size_certificate : |
| 31 | ∃ C k : ℕ, 0 < C ∧ ∀ (m n : ℕ) (P : Program ℚ m n), |
| 32 | ∃ certificate : Certificate m n, IsValidCertificate P certificate ∧ |
| 33 | bitSize (encodeCertificate certificate) ≤ C * (bitSize (encodeProgram P) + 1) ^ k |
| 34 | |
| 35 | end Lax109476.SmallCertificates |
| 36 |
Formalization notes
The statement includes all three outcomes, and thus also asserts the existence of exact rational witnesses. The size counts signs, numerators, denominators, and outcome data in the fixed word-list encoding. The proof clears input denominators, compresses each certificate using independent supports, and applies Cramer's rule to an integer Gram matrix. The resulting certificate encoding has size at most , where is the input encoding size. It uses rational certificate existence and does not depend on the algorithm or its running-time theorem.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments