feat(SendWitness): prove reduction completeness; add Prover.runToRound_succ#631
Open
Abraxas1010 wants to merge 1 commit into
Open
feat(SendWitness): prove reduction completeness; add Prover.runToRound_succ#631Abraxas1010 wants to merge 1 commit into
Abraxas1010 wants to merge 1 commit into
Conversation
Contributor
🤖 PR Summary
Mathematical Formalization
Proof Completion (sorries removed)
Scope and Context
Statistics
Lean Declarations ✏️ Added: 1 declaration(s)
✅ Removed: 1 `sorry`(s)
📄 **Per-File Summaries**
Last updated: 2026-07-10 19:12 UTC. |
This was referenced Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fills the open
sorryinSendWitness.reduction_completeness— per the coordination note on #627 (no claim was raised, so bringing the proof as offered) — and adds the general step lemma its investigation surfaced:Prover.runToRound_succ(Execution.lean, besiderunToRound_zero_of_prover_first):prover.runToRound i.succ = prover.processRound i (prover.runToRound i.castSucc)— a one-line term viaFin.induction_succ. This is the round-by-round unfolding brick for collapsing concrete protocol executions; its absence is why component completeness proofs were stuck.SendWitness.reduction_completeness— proven. The interesting discovery: for this component the entireReduction.runcollapses definitionally —have hrun : (reduction …).run stmtIn witIn = pure ((Transcript.concat witIn default, (stmtIn, witIn), ()), (stmtIn, witIn)) := rfl— the kernel reduces the monad lifts, the direction match, theFin.induction, and the transcript concat in one step (the key is ascribingdefaultat the literal index0, where theTranscriptinstance synthesizes). The probabilistic legs then follow theReduction.id_perfectCompletenesstemplate exactly (one_le_probEvent_iff→probEvent_eq_one_iff→ theOptionT/simulateQ/StateTchange-chains).#print axioms:reduction_completeness=[propext, Classical.choice, Quot.sound];runToRound_succ=[propext, Quot.sound].Notes
sorrys) are untouched — this PR is deliberately the smallest complete unit; the samerfl-collapse + template recipe should apply there and we're happy to follow up.lake buildof both touched modules green; no new axioms; nonative_decide/bv_decide.Contributed by The Institute for Ontological Mathematics (IAOM) / Equation Capital dba Apoth3osis.