ASPBE Lean Blueprint

11.6. QuantumBlockEncoding/SemanticFidelityEvidence.lean🔗

24 explicit public declarations, in source order.

Definition11.6.1
uses 0used by 0✓L∃∀N

Plain-English reading. This type lists the allowed alternatives for “reconstruction protocol”; its constructors are the cases that downstream code must handle. Whether the natural-language reconstruction was produced without seeing the source prose.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. Whether the natural-language reconstruction was produced without seeing the source prose.

Declaration kind. inductive.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:35. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.1●1 definition
  • inductive(2 constructors)defined in QuantumBlockEncoding/SemanticFidelityEvidence.lean
    complete
    inductive QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol : Type
    inductive QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol :
      Type
    Whether the natural-language reconstruction was produced without seeing the source prose. 

    Constructors

    blindLeanOnly :
      QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol
    sourceAssisted :
      QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol
Definition11.6.2
uses 0used by 0✓L∃∀N

Plain-English reading. This type lists the allowed alternatives for “semantic slot”; its constructors are the cases that downstream code must handle. ASPBE-specific theorem slots whose meaning must survive formalization.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. ASPBE-specific theorem slots whose meaning must survive formalization.

Declaration kind. inductive.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:41. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.2●1 definition
  • inductive(13 constructors)defined in QuantumBlockEncoding/SemanticFidelityEvidence.lean
    complete
    inductive QuantumBlockEncoding.SemanticFidelity.SemanticSlot : Type
    inductive QuantumBlockEncoding.SemanticFidelity.SemanticSlot :
      Type
    ASPBE-specific theorem slots whose meaning must survive formalization. 

    Constructors

    targetObject :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    scalarAndDimensions :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    quantifiers :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    normalization :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    ancillaLayout :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    registerOrder :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    cleanProjection :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    exactness :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    errorNorm :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    oracleAssumptions :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    conclusion :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    resourceScope :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    sameSemanticFibre :
      QuantumBlockEncoding.SemanticFidelity.SemanticSlot
Definition11.6.3
uses 0used by 0✓L∃∀N

Plain-English reading. This type lists the allowed alternatives for “fidelity verdict”; its constructors are the cases that downstream code must handle. Slotwise verdict for the complete source-to-Lean-to-text round trip.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. Slotwise verdict for the complete source-to-Lean-to-text round trip.

Declaration kind. inductive.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:58. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.3●1 definition
  • inductive(6 constructors)defined in QuantumBlockEncoding/SemanticFidelityEvidence.lean
    complete
    inductive QuantumBlockEncoding.SemanticFidelity.FidelityVerdict : Type
    inductive QuantumBlockEncoding.SemanticFidelity.FidelityVerdict :
      Type
    Slotwise verdict for the complete source-to-Lean-to-text round trip. 

    Constructors

    exactMatch :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    equivalentAfterElaboration :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    sourceUnderspecified :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    leanStrongerAssumptions :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    leanWeakerConclusion :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    manualReview :
      QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
Definition11.6.4
uses 0used by 0✓L∃∀N

Plain-English reading. This type lists the allowed alternatives for “repair status”; its constructors are the cases that downstream code must handle. Review state of a proposed clarification or theorem repair.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. Review state of a proposed clarification or theorem repair.

Declaration kind. inductive.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:68. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.4●1 definition
  • inductive(4 constructors)defined in QuantumBlockEncoding/SemanticFidelityEvidence.lean
    complete
    inductive QuantumBlockEncoding.SemanticFidelity.RepairStatus : Type
    inductive QuantumBlockEncoding.SemanticFidelity.RepairStatus :
      Type
    Review state of a proposed clarification or theorem repair. 

    Constructors

    proposed :
      QuantumBlockEncoding.SemanticFidelity.RepairStatus
    needsSourceCheck :
      QuantumBlockEncoding.SemanticFidelity.RepairStatus
    reviewerAccepted :
      QuantumBlockEncoding.SemanticFidelity.RepairStatus
    rejected :
      QuantumBlockEncoding.SemanticFidelity.RepairStatus
Definition11.6.5
uses 0used by 0✓L∃∀N

Plain-English reading. This record groups the data and proof fields needed for “semantic delta”. A proposition-valued field is a requirement until a constructor supplies it. One explicit semantic discrepancy between the source reading and blind reconstruction.

Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. One explicit semantic discrepancy between the source reading and blind reconstruction.

Declaration kind. structure.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:76. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.5●1 definition
  • complete
    structure QuantumBlockEncoding.SemanticFidelity.SemanticDelta : Type
    structure QuantumBlockEncoding.SemanticFidelity.SemanticDelta :
      Type
    One explicit semantic discrepancy between the source reading and blind reconstruction. 

    Fields

    slot : QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    originalReading : String
    reconstructedReading : String
    consequence : String
Definition11.6.6
uses 0used by 0✓L∃∀N

Plain-English reading. This record groups the data and proof fields needed for “repair proposal”. A proposition-valued field is a requirement until a constructor supplies it. A non-destructive replacement candidate.

Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. A non-destructive replacement candidate. It never mutates 'RoundTripAudit.originalText'.

Declaration kind. structure.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:84. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.6●1 definition
  • complete
    structure QuantumBlockEncoding.SemanticFidelity.RepairProposal : Type
    structure QuantumBlockEncoding.SemanticFidelity.RepairProposal :
      Type
    A non-destructive replacement candidate.  It never mutates `RoundTripAudit.originalText`. 

    Fields

    proposedText : String
    rationale : String
    status : QuantumBlockEncoding.SemanticFidelity.RepairStatus
Definition11.6.7
uses 0used by 0✓L∃∀N

Plain-English reading. This record groups the data and proof fields needed for “round trip audit”. A proposition-valued field is a requirement until a constructor supplies it. A theorem-fidelity certificate record.

Formal status. Data contract in the default import surface; proposition-valued fields are obligations, not automatically established facts.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. A theorem-fidelity certificate record. 'originalText' is immutable evidence. 'reconstructedText' must come from the Lean declaration and imported definitions under 'blindLeanOnly'. Any suggested repair is stored separately and requires an independent reviewer.

Declaration kind. structure.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:97. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.7●1 definition
  • complete
    structure QuantumBlockEncoding.SemanticFidelity.RoundTripAudit : Type
    structure QuantumBlockEncoding.SemanticFidelity.RoundTripAudit :
      Type
    A theorem-fidelity certificate record.
    
    `originalText` is immutable evidence. `reconstructedText` must come from the
    Lean declaration and imported definitions under `blindLeanOnly`. Any suggested
    repair is stored separately and requires an independent reviewer.
    

    Fields

    auditId : String
    sourceAnchor : String
    originalText : String
    leanDeclaration : String
    decoderInput : String
    reconstructedText : String
    protocol : QuantumBlockEncoding.SemanticFidelity.ReconstructionProtocol
    reviewerSeparated : Bool
    checkedSlots : List QuantumBlockEncoding.SemanticFidelity.SemanticSlot
    deltas : List QuantumBlockEncoding.SemanticFidelity.SemanticDelta
    verdict : QuantumBlockEncoding.SemanticFidelity.FidelityVerdict
    repair : Option QuantumBlockEncoding.SemanticFidelity.RepairProposal
Definition11.6.8
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “admissible”. Minimal admission contract for a publishable semantic round-trip record.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. Minimal admission contract for a publishable semantic round-trip record.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:115. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.8●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.Admissible
      (audit : QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) : Prop
    def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.Admissible
      (audit :
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      Prop
    Minimal admission contract for a publishable semantic round-trip record. 
Definition11.6.9
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “published statement”. The statement exposed as source evidence remains the original, never an automatic repair.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The statement exposed as source evidence remains the original, never an automatic repair.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:127. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.9●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.publishedStatement
      (audit : QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      String
    def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.publishedStatement
      (audit :
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      String
    The statement exposed as source evidence remains the original, never an automatic repair. 
Definition11.6.10
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “proposed statement”. The repair candidate is available separately for human/source review.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The repair candidate is available separately for human/source review.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:131. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.10●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.proposedStatement
      (audit : QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      Option String
    def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.proposedStatement
      (audit :
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      Option String
    The repair candidate is available separately for human/source review. 
Definition11.6.11
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “requires human review”. Mismatches and underspecified statements must enter the independent review queue.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. Mismatches and underspecified statements must enter the independent review queue.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:135. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.11●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.requiresHumanReview
      (audit : QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) : Bool
    def QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.requiresHumanReview
      (audit :
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      Bool
    Mismatches and underspecified statements must enter the independent review queue. 
Theorem11.6.12
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “published statement eq original”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:144. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.12●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.publishedStatement_eq_original
      (audit : QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      audit.publishedStatement = audit.originalText
    theorem QuantumBlockEncoding.SemanticFidelity.RoundTripAudit.publishedStatement_eq_original
      (audit :
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit) :
      audit.publishedStatement =
        audit.originalText
Definition11.6.13
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “verified operator block encoding round trip”. **Equivalent after elaboration.** The source contract says that a verified exact operator block encoding consists of a candidate unitary plus proofs of unitarity and clean-block containment.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. **Equivalent after elaboration.** The source contract says that a verified exact operator block encoding consists of a candidate unitary plus proofs of unitarity and clean-block containment. The blind reconstruction recovers the same claim while making target dimensions, normalizer, layout, circuit, resources, and 'layoutMatches' explicit. No repair is proposed.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:156. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.13●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    **Equivalent after elaboration.** The source contract says that a verified exact
    operator block encoding consists of a candidate unitary plus proofs of
    unitarity and clean-block containment. The blind reconstruction recovers the
    same claim while making target dimensions, normalizer, layout, circuit,
    resources, and `layoutMatches` explicit. No repair is proposed.
    
Theorem11.6.14
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “verified operator block encoding round trip admissible”; the hypotheses and conclusion in the code panel fix its exact scope. The core exact block-encoding round trip satisfies the independent-audit contract.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The core exact block-encoding round trip satisfies the independent-audit contract.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:171. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.14●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip.Admissible
    theorem QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.verifiedOperatorBlockEncodingRoundTrip.Admissible
    The core exact block-encoding round trip satisfies the independent-audit contract. 
Definition11.6.15
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “approximate block encoding norm round trip”. **Lean conclusion is weaker than the public analytic formula.** The public route states '‖A - α Π U Π†‖ ≤ ε' in a declared norm and register convention.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. **Lean conclusion is weaker than the public analytic formula.** The public route states '‖A - α Π U Π†‖ ≤ ε' in a declared norm and register convention. The current Lean interface stores 'epsilon' and an arbitrary proposition 'approximationBound'; it deliberately does not yet identify that proposition with a concrete norm, projector, or register order. The repair proposal lists what must be fixed before a theorem is advertised as an analytic approximate block encoding.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:184. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.15●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    **Lean conclusion is weaker than the public analytic formula.** The public route
    states `‖A - α Π U Π†‖ ≤ ε` in a declared norm and register convention. The
    current Lean interface stores `epsilon` and an arbitrary proposition
    `approximationBound`; it deliberately does not yet identify that proposition
    with a concrete norm, projector, or register order. The repair proposal lists
    what must be fixed before a theorem is advertised as an analytic approximate
    block encoding.
    
Theorem11.6.16
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “approximate block encoding norm round trip admissible”; the hypotheses and conclusion in the code panel fix its exact scope. The approximate-interface audit is blind, explicit, and independently review-gated.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The approximate-interface audit is blind, explicit, and independently review-gated.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:216. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.16●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip.Admissible
    theorem QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.approximateBlockEncodingNormRoundTrip.Admissible
    The approximate-interface audit is blind, explicit, and independently review-gated. 
Definition11.6.17
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “verified state preparation round trip”. **Equivalent after elaboration.** State preparation is reconstructed as a proof that the target is normalized, the candidate matrix is unitary, and its first computational-basis column equals the target amplitudes.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. **Equivalent after elaboration.** State preparation is reconstructed as a proof that the target is normalized, the candidate matrix is unitary, and its first computational-basis column equals the target amplitudes. This is exactly the finite-matrix form of 'U |0…0⟩ = |ψ⟩'; no extra assumption or weakened conclusion appears.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:227. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.17●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    **Equivalent after elaboration.** State preparation is reconstructed as a proof
    that the target is normalized, the candidate matrix is unitary, and its first
    computational-basis column equals the target amplitudes. This is exactly the
    finite-matrix form of `U |0…0⟩ = |ψ⟩`; no extra assumption or weakened
    conclusion appears.
    
Theorem11.6.18
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “verified state preparation round trip admissible”; the hypotheses and conclusion in the code panel fix its exact scope. The exact state-preparation round trip satisfies the independent-audit contract.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The exact state-preparation round trip satisfies the independent-audit contract.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:242. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.18●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip.Admissible
    theorem QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.verifiedStatePreparationRoundTrip.Admissible
    The exact state-preparation round trip satisfies the independent-audit contract. 
Definition11.6.19
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “one term robin claim round trip”. **Paper theorem is not yet reconstructed as a proved block encoding.** The GHL source-facing branch records the one-term Robin claim, normalizer, register and resource formulas, and the full theorem-facing transcript.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. **Paper theorem is not yet reconstructed as a proved block encoding.** The GHL source-facing branch records the one-term Robin claim, normalizer, register and resource formulas, and the full theorem-facing transcript. The blind reconstruction also sees the explicit repository boundary: matrix-level oracle correctness and the claimed resource theorem are not yet proved, and the active seven-gate backend is not identical to the full source transcript. The proposed repair prevents a compiled skeleton from being described as a completed paper theorem.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:256. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.19●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    **Paper theorem is not yet reconstructed as a proved block encoding.** The GHL
    source-facing branch records the one-term Robin claim, normalizer, register and
    resource formulas, and the full theorem-facing transcript. The blind
    reconstruction also sees the explicit repository boundary: matrix-level oracle
    correctness and the claimed resource theorem are not yet proved, and the active
    seven-gate backend is not identical to the full source transcript. The proposed
    repair prevents a compiled skeleton from being described as a completed paper
    theorem.
    
Theorem11.6.20
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “one term robin claim round trip admissible”; the hypotheses and conclusion in the code panel fix its exact scope. The GHL source-fidelity audit satisfies the independent-audit contract.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The GHL source-fidelity audit satisfies the independent-audit contract.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:294. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.20●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip.Admissible
    theorem QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.oneTermRobinClaimRoundTrip.Admissible
    The GHL source-fidelity audit satisfies the independent-audit contract. 
Definition11.6.21
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “candidate improvement round trip”. **Source wording is underspecified without a correctness fibre.** 'BlockEncodingCost.betterThan' proves only a lexicographic comparison of gate count, depth, auxiliary qubits, and unresolved oracle calls.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. **Source wording is underspecified without a correctness fibre.** 'BlockEncodingCost.betterThan' proves only a lexicographic comparison of gate count, depth, auxiliary qubits, and unresolved oracle calls. It does not say that two candidates encode the same target under the same normalization, projection/error convention, or that both candidates are semantically certified. Any natural-language claim that one algorithm is better must add those assumptions.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:307. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.21●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip :
      QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    **Source wording is underspecified without a correctness fibre.**
    `BlockEncodingCost.betterThan` proves only a lexicographic comparison of gate
    count, depth, auxiliary qubits, and unresolved oracle calls. It does not say
    that two candidates encode the same target under the same normalization,
    projection/error convention, or that both candidates are semantically
    certified. Any natural-language claim that one algorithm is better must add
    those assumptions.
    
Theorem11.6.22
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “candidate improvement round trip admissible”; the hypotheses and conclusion in the code panel fix its exact scope. The same-semantic-fibre audit satisfies the independent-audit contract.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The same-semantic-fibre audit satisfies the independent-audit contract.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:333. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.22●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip.Admissible
    theorem QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip_admissible :
      QuantumBlockEncoding.SemanticFidelity.candidateImprovementRoundTrip.Admissible
    The same-semantic-fibre audit satisfies the independent-audit contract. 
Definition11.6.23
uses 0used by 0✓L∃∀N

Plain-English reading. This definition gives the library's named construction or computation for “semantic round trip registry”. The initial public semantic-fidelity registry shown as declaration leaves in the Underlying Lean Graph.

Formal status. Compiled declaration in the default ASPBE import surface; its kind and displayed Lean type determine how it may be used.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The initial public semantic-fidelity registry shown as declaration leaves in the Underlying Lean Graph. Two core contracts round-trip faithfully; three records enter the review queue because an analytic norm bridge, a paper theorem closure, or a same-target premise is still required.

Declaration kind. def.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:343. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Definition11.6.23●1 definition
  • def QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry :
      List QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    def QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry :
      List
        QuantumBlockEncoding.SemanticFidelity.RoundTripAudit
    The initial public semantic-fidelity registry shown as declaration leaves in the
    Underlying Lean Graph. Two core contracts round-trip faithfully; three records
    enter the review queue because an analytic norm bridge, a paper theorem closure,
    or a same-target premise is still required.
    
Theorem11.6.24
uses 0used by 0✓L∃∀N

Plain-English reading. Lean checks the proposition indexed as “semantic round trip registry length”; the hypotheses and conclusion in the code panel fix its exact scope.

Formal status. Compiled theorem in the default ASPBE import surface; the displayed Lean signature is the authoritative claim.

Why it is in this chapter. Typed controller state, agent contracts, literature memory, open-problem records, and source-to-Lean semantic-fidelity audits.

Technical source note. The source declaration has no docstring. The reader cue above is generated from its kind and name and does not replace the Lean signature.

Declaration kind. theorem.

Source: QuantumBlockEncoding/SemanticFidelityEvidence.lean:351. A commit-pinned external link is added by the publication build when the source exists at the published ref.

Lean code for Theorem11.6.24●1 theorem
  • theorem QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry_length :
      QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry.length =
        5
    theorem QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry_length :
      QuantumBlockEncoding.SemanticFidelity.semanticRoundTripRegistry.length =
        5