Skip to content

Commit 1a8d6be

Browse files
committed
feat(Verified-zkEVM#62): expose opening-log frontier fields
1 parent 13d4a1e commit 1a8d6be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

ArkLib/OracleReduction/BCS/Basic.lean

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,13 @@ theorem BCSOpeningLogFrontierSatisfied.retainedWitnesses
623623
log.schedule_has_retained_witnesses :=
624624
h.2
625625

626+
/-- The typed opening-log frontier checklist is exactly its two named fields. -/
627+
theorem BCSOpeningLogFrontierSatisfied.iff_fields {CommitmentType : pSpec.MessageIdx → Type}
628+
{log : BCSOpeningLogFrontier (pSpec := pSpec) (Oₘ := Oₘ) CommitmentType} :
629+
BCSOpeningLogFrontierSatisfied log ↔
630+
log.schedule_realizes_query_log ∧ log.schedule_has_retained_witnesses :=
631+
Iff.rfl
632+
626633
/-- The remaining bridge from a discharged typed opening log to the abstract opening-phase
627634
realization field carried by `BCSCompiledPhases`. The eventual generic compiler should prove this
628635
from the query-log API and the construction of the opening phase. -/
@@ -1427,6 +1434,7 @@ generic compiler construction or the completeness/soundness preservation theorem
14271434
#print axioms OracleReduction.BCSOpeningLogFrontierSatisfied.intro
14281435
#print axioms OracleReduction.BCSOpeningLogFrontierSatisfied.queryLog
14291436
#print axioms OracleReduction.BCSOpeningLogFrontierSatisfied.retainedWitnesses
1437+
#print axioms OracleReduction.BCSOpeningLogFrontierSatisfied.iff_fields
14301438
#print axioms OracleReduction.BCSOpeningLogBridge
14311439
#print axioms OracleReduction.BCSOpeningLogBridge.apply
14321440
#print axioms OracleReduction.BCSOpeningLogBridge.ofOpeningRealization

0 commit comments

Comments
 (0)