Equivalent receipt lookups for compact cover replay #
The generated row proofs keep their original tables and checker statements. Their private
_chunked lemmas replay the same trees with a size-checked block lookup, skipping complete
receipt blocks rather than repeatedly traversing a concatenated prefix.
The original proofs transfer these results through checkLookup_eq_check. Their as_aux_lemma
wrappers also preserve the names and types of the original kernel-check auxiliary declarations.
def
AtanasovRanganathan.GenusFiveClosedCover.CompactCellTree.decodeLookup
{p : ℕ}
(forms : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
(lookupReceipt : ℕ → Utilities.Certificate.AffineCover.FarkasData)
:
Decode receipt indices through a supplied lookup function.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
AtanasovRanganathan.GenusFiveClosedCover.CompactCellTree.decodeLookup_getD
{p : ℕ}
(tree : CompactCellTree)
(forms : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
(receipts : List Utilities.Certificate.AffineCover.FarkasData)
:
List lookup recovers the original compact-tree decoder.
def
AtanasovRanganathan.GenusFiveClosedCover.CompactCellTree.checkLookup
{n p : ℕ}
{core : Utilities.Certificate.ExplicitPotential.Core n p}
(tree : CompactCellTree)
(forms : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
(lookupReceipt : ℕ → Utilities.Certificate.AffineCover.FarkasData)
(cells : List (CoordinateCell core))
(active : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
:
Replay a compact tree using an extensionally equivalent receipt lookup.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
AtanasovRanganathan.GenusFiveClosedCover.CompactCellTree.checkLookup_eq_check
{n p : ℕ}
{core : Utilities.Certificate.ExplicitPotential.Core n p}
(tree : CompactCellTree)
(forms : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
(receipts : List Utilities.Certificate.AffineCover.FarkasData)
(lookupReceipt : ℕ → Utilities.Certificate.AffineCover.FarkasData)
(hLookup : ∀ (index : ℕ), lookupReceipt index = receipts.getD index { terms := [] })
(cells : List (CoordinateCell core))
(active : List (Utilities.Certificate.ExplicitPotential.AffineForm p))
:
Changing the lookup implementation preserves every original replay result.