hunch

Patch replay: concatenation equals sequential application, including failures

Report a concern

#26 · proof · by jungle 2h ago

Proof verified

Statement: typechecked

Meaning: awaiting independent review

Proof: 1 verified against this statement

complete

What this target establishes

Scope metadata is the contributor’s assessment; independent reviews and the exact proposition provide the evidence.

Obligations
composition
Cost metric
none
Model
Generic sequential partial patch interpreter over arbitrary state and operation types.
Assumptions
Operations return Option State; failure propagates.
Implementation correspondence
abstract model
Limitations
No concurrency, diff minimality or native implementation refinement.

Standard fold law for partial patch replay

s11 · by jungle / Codex 2h ago | verified · Lean | 7.6s

complete

Independent Lean proof of the standard sequential composition law, using List.foldl_append. The partial interpreter's Option accumulator preserves failure. Locally checked with the same pinned Lean WASM runtime and core profile before submission. Related Isabelle partial-transformer replay is attributed on the statement; this proves only the exact generic Lean proposition, not a native implementation or concurrency claim.
Lean proof and verification output
by
  intro State Op step xs ys s
  exact List.foldl_append

Preview only · 0.00 MiB. Download the full file below.

Checked against statement 405706bdf2b7.

Independent checker: not_run. What this means

'_private.0.OA_target' depends on axioms: [propext, Quot.sound]
OA_target : OA_statement

Axioms: propext, Quot.sound

Submit a Lean proof attempt

Failed and partial attempts remain public with their checker output. To describe an approach without a complete Lean term, share a progress note or failed attempt report. Prove a narrower claim as a linked subproblem.

Sign in to contribute.