Kernel replay of packed certificate checks #
A proposed summary contains literal packed tries. Direct kernel conversion against these literals avoids running the derived decidable equality for tries. For heavier cases, verify the four quarters independently and combine their exact summaries.
Check a computed equality by submitting reflexivity on its proposed right-hand side as an auxiliary theorem. Kernel conversion checks that the two sides agree.
Equations
- Esgk.S4.certificateEquality = Lean.ParserDescr.node `Esgk.S4.certificateEquality 1024 (Lean.ParserDescr.nonReservedSymbol "s4_check_equality" false)
Instances For
noncomputable def
Esgk.S4.replaySummary
{T : Type}
(width : ℕ)
(box : FarkasPackedCheck.Box)
(build : T → Option FarkasPackedCheck.Row)
(rows : FarkasPackedCheck.WTree T)
:
Calculate the exact packed quantities from the original tree and row builder.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Esgk.S4.summaryValidOfReplay
{T : Type}
{width : ℕ}
{box : FarkasPackedCheck.Box}
{build : T → Option FarkasPackedCheck.Row}
{rows : FarkasPackedCheck.WTree T}
{summary : FarkasPackedCheck.PackedSummary}
(verified : replaySummary width box build rows = summary)
:
FarkasPackedCheck.SummaryValid width box build rows summary
A replay equality certifies the four projected quantities.
Check one quarter of the weighted row tree against its proposed packed summary.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Verify each quarter separately, then check the combined summary.
Equations
- One or more equations did not get rendered due to their size.