Correctness of gate clauses

Lax429075.GateCorrect · concepts/Lax429075/GateCorrect.lean · lax-429075

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

    The clauses for one gate hold exactly when its output agrees with its Boolean operation.

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

    Each proof establishes this claim relative to its assumptions.

    In the paper

    • page 2 of this submission's paper

    Lean source view on GitHub

    1import Lax429075.Tseitin
    2
    3/-!
    4---
    5title: Correctness of gate clauses
    6type: lemma
    7---
    8The clauses for one gate hold exactly when its output agrees with its
    9Boolean operation.
    10-/
    11
    12namespace Lax429075.GateCorrect
    13
    14open CNF Circuits Tseitin
    15
    16axiom correct (i : ℕ) (g : Gate) (ρ : Assignment) :
    17 eval (gateClauses i g) ρ = g.check ρ i
    18
    19end Lax429075.GateCorrect
    20
    Show 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…