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

Initial constraint grid for a CNF formula

Lax956329.Grid · concepts/Lax956329/Grid.lean · lax-956329

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

    Lemma

    A power-of-two grid encodes the truth assignment along its rows and partial clause disjunctions down its columns. The alphabet has size 88, the port degree is 2020, and each congruence block has 44 children. If the formula is unsatisfiable, every grid labeling fails at least one directed port.

    Concept map
    10 concepts
    100%
    Proven claimDefinitionThis conceptRelated conceptA → B: B builds on A
    Evidence

    This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.

    1 initial proven

    Lean source view on GitHub

    1import Lax956329.Hierarchy
    2
    3/-!
    4---
    5title: Initial constraint grid for a CNF formula
    6type: lemma
    7---
    8A power-of-two grid encodes the truth assignment along its rows and partial
    9clause disjunctions down its columns. The alphabet has size 88, the port
    10degree is 2020, and each congruence block has 44 children. If the formula
    11is unsatisfiable, every grid labeling fails at least one directed port.
    12-/
    13
    14namespace Lax956329.Grid
    15
    16open Hierarchy Lax429075.CNF Lax429075.Encoding
    17
    18axiom initial (F : Formula) : ∃ h : ℕ, ∃ S : System 4, S.radices = List.replicate h 2 ∧
    19 S.m = 2^h ∧ S.m ≤ 2*((encodeCNF F).length+2) ∧
    20 (S.satisfied ↔ Satisfiable F) ∧ (¬ Satisfiable F → ∀ σ, 1 ≤ S.failed σ)
    21
    22/-- The entire initial grid is produced by a polynomial-time machine on raw inputs. -/
    23axiom reduction : ∃ f : Lax434930.PolynomialTime.Word → Lax434930.PolynomialTime.Word,
    24 Instances.Poly f ∧ ∀ x, ∃ S : System 4, f x = S.bits ∧
    25 (x ∈ Lax429075.Satisfiability.SAT → S.satisfied) ∧
    26 (x ∉ Lax429075.Satisfiability.SAT → ∀ σ, 1 ≤ S.failed σ)
    27
    28end Lax956329.Grid
    29
    Show ProofShow Proof
    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…