ComparatorChallenges/QACParity.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.

Project sources: Pinned openai/math documentation, Pinned formalization catalogue

17 declarations, 1 contain sorry, 0 declared as axioms

  1. abbrev OAI.QAC.Bit line 10

    Also declared: ComparatorChallenges/RegularParity.lean:10 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:10 (same declaration text).

  2. abbrev OAI.QAC.Word line 11

    Also declared: ComparatorChallenges/RegularParity.lean:11 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:11 (same declaration text).

  3. abbrev OAI.QAC.Operator line 12

    Also declared: ComparatorChallenges/RegularParity.lean:12 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:12 (same declaration text).

  4. abbrev OAI.QAC.QubitOperator line 13

    Also declared: ComparatorChallenges/RegularParity.lean:13 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:13 (same declaration text).

  5. def OAI.QAC.tensorMatrix Tensor product in the computational basis line 16

    Source documentation

    Tensor product in the computational basis.

    L4DEL explanation

    Tensor product in the computational basis.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:16 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:16 (same declaration text).

    def tensorMatrix {N : ℕ} (a : Fin N → QubitOperator) : Operator N :=
    …

    Mentions: OAI.QAC.QubitOperator, OAI.QAC.Operator

  6. inductive OAI.QAC.Gate A one-qubit unitary or an unbounded-arity Toffoli gate line 20

    Source documentation

    A one-qubit unitary or an unbounded-arity Toffoli gate.

    L4DEL explanation

    A one-qubit unitary or an unbounded-arity Toffoli gate.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:20 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:20 (same declaration text).

    inductive Gate (N : ℕ) where
    …
  7. def OAI.QAC.Gate.support line 26

    Also declared: ComparatorChallenges/RegularParity.lean:26 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:26 (same declaration text).

  8. def OAI.QAC.Gate.toffoliWord A Toffoli flips its target iff all controls are one line 31

    Source documentation

    A Toffoli flips its target iff all controls are one.

    L4DEL explanation

    A Toffoli flips its target iff all controls are one.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:31 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:31 (same declaration text).

    def toffoliWord {N : ℕ} (c : Finset (Fin N)) (t : Fin N) (x : Word N) : Word N :=
    …

    Mentions: OAI.QAC.Word

  9. def OAI.QAC.Gate.matrix line 34

    Also declared: ComparatorChallenges/RegularParity.lean:34 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:34 (same declaration text).

  10. structure OAI.QAC.PhysicalLayer line 40

    Also declared: ComparatorChallenges/RegularParity.lean:40 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:40 (same declaration text).

  11. def OAI.QAC.physicalLayerMatrix line 44

    Also declared: ComparatorChallenges/RegularParity.lean:44 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:44 (same declaration text).

  12. def OAI.QAC.physicalCircuitMatrix Chronological order: the rightmost matrix acts first line 48

    Source documentation

    Chronological order: the rightmost matrix acts first.

    L4DEL explanation

    Chronological order: the rightmost matrix acts first.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:48 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:48 (same declaration text).

    def physicalCircuitMatrix {N : ℕ} (layers : List (PhysicalLayer N)) : Operator N :=
    …

    Mentions: OAI.QAC.PhysicalLayer, OAI.QAC.Operator

  13. def OAI.QAC.inputWord The computational-basis input with the remaining qubits initialized to zero line 52

    Source documentation

    The computational-basis input with the remaining qubits initialized to zero.

    L4DEL explanation

    The computational-basis input with the remaining qubits initialized to zero.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:52 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:52 (same declaration text).

    def inputWord {n N : ℕ} (x : Word n) : Word N :=
    …

    Mentions: OAI.QAC.Word

  14. def OAI.QAC.parity line 55

    Also declared: ComparatorChallenges/RegularParity.lean:55 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:55 (same declaration text).

  15. def OAI.QAC.successProbability Born probability, summing all final garbage with no cleanliness assumption line 58

    Source documentation

    Born probability, summing all final garbage with no cleanliness assumption.

    L4DEL explanation

    Born probability, summing all final garbage with no cleanliness assumption.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: ComparatorChallenges/RegularParity.lean:58 (same declaration text), OAI/InformationTheory/QuantumCircuit/Model.lean:58 (same declaration text).

    def successProbability {n N : ℕ} (W : Operator N) (out : Fin N) (x : Word n) : ℝ :=
    …

    Mentions: OAI.QAC.Operator, OAI.QAC.Word

  16. def OAI.QAC.ParityStatement The literal measured-output, polynomial-total-qubit parity lower bound line 62

    Source documentation

    The literal measured-output, polynomial-total-qubit parity lower bound.

    L4DEL explanation

    The literal measured-output, polynomial-total-qubit parity lower bound.

    1. This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Also declared: OAI/InformationTheory/QuantumCircuit/Model.lean:62 (same declaration text).

    def ParityStatement : Prop :=
    …
  17. theorem OAI.QAC.parity_lower_bound Challenge statement: Constant-depth quantum parity lower bound sorry line 71

    L4DEL explanation

    This declaration is an exact comparator-selected statement. Read the Lean statement below for its mathematical content.

    1. The linked formalization note covers 2 distinct comparator results, so its combined Scope prose is not copied onto this declaration.
    2. The repository's comparator configuration selects OAI.InformationTheory.QuantumCircuit.Parity as the released solution module checked against this declaration.

    Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)

    Distinct definitions of this name: OAI/InformationTheory/QuantumCircuit/Parity.lean:45 (different declaration text). Qualify references as OAI.QAC.parity_lower_bound@path.

    theorem QAC.parity_lower_bound : QAC.ParityStatement := by
    …

    Mentions: OAI.QAC.ParityStatement