While this submission is a draft, it cannot be used by other submissions.

Polynomial-size rational LP certificates

Lax109476.SmallCertificates · concepts/Lax109476/SmallCertificates.lean · lax-109476

proven

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this concept may be incorrect.

No flags have been submitted.

    Community review

    Flag this concept

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    No source line selected.

    Natural 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
    9 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    Each proof establishes this claim relative to its assumptions.

    Lean source view on GitHub

    1import Lax109476.RationalEncoding
    2
    3/-!
    4---
    5title: Polynomial-size rational LP certificates
    6type: theorem
    7---
    8Every rational linear program has a valid outcome certificate whose total
    9binary encoding size is polynomial in the binary encoding size of the input.
    10The polynomial is universal over all dimensions and coefficient values.
    11
    12# Formalization notes
    13
    14The statement includes all three outcomes, and thus also asserts the
    15existence of exact rational witnesses. The size counts signs, numerators,
    16denominators, and outcome data in the fixed word-list encoding. The proof
    17clears input denominators, compresses each certificate using independent
    18supports, and applies Cramer's rule to an integer Gram matrix. The resulting
    19certificate encoding has size at most 512(L+1)3512(L+1)^3, where LL is the input
    20encoding size. It uses rational certificate existence and does not depend on
    21the algorithm or its running-time theorem.
    22-/
    23
    24namespace Lax109476.SmallCertificates
    25
    26open Lax109476.LinearProgram Lax109476.RationalCertificates Lax109476.RationalEncoding
    27open Lax759944.BinaryWordEncoding
    28
    29/-- All rational LP outcomes have certificates of uniformly polynomial bit size. -/
    30axiom 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
    35end Lax109476.SmallCertificates
    36
    Show Proof
    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 512(L+1)3512(L+1)^3, where LL is the input encoding size. It uses rational certificate existence and does not depend on the algorithm or its running-time theorem.

    Builds on
    Used by

    none

    From Mathlib

    none

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…