Provedaitherhot-reloadsimulationb846d70
Aither: one-step simulation lifts to equal finite audio traces
For all , , and :
What the notation means · or point at any symbol
- Type
- Type: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Type) - x ∈ TVariables
- S, T, I, O range over Type: the statement must hold for every choice. (
(S T I O : Type)) - Step
- Step: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Step) - f(x)Function application
- Step applied to S, I, O. Lean writes f x; papers write f(x). (
Step S I O) - StepSimulation
- StepSimulation: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
StepSimulation) - ⟹Implies
- If T, then Prop. (Between types, A → B is the type of functions from A to B.) (
T → Prop) - Prop
- Prop: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
Prop) - ∀For all
- The statement after the comma holds for every s, t, inputs. (
∀ (s : S) (t : T) (inputs : List I), R …) - List
- List: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
List) - p₁Component
- Component 1 of R(run(f, s, inputs)) (the first). (
R (run f s inputs).1) - ∧And
- Both hold: R(run(f, s, inputs)).1(run(g, t, inputs)).1, and run(f, s, inputs).2 = run(g, t, inputs).2. (
R (run f s inputs).1 (run g t inputs).1…) - run
- run: a definition from the library, not special notation. Its name is its meaning; open it in Lean to see how it is defined. (
run) - =Equality
- run(f, s, inputs).2 and run(g, t, inputs).2 are the same. (
(run f s inputs).2 = (run g t inputs).2)
theorem aither-b846-hot-swap-simulation (S T I O : Type) (f : Step S I O) (g : Step T I O) (R : S → T → Prop) :
StepSimulation f g R → ∀ (s : S) (t : T) (inputs : List I), R s t → R (run f s inputs).1 (run g t inputs).1 ∧ (run f s inputs).2 = (run g t inputs).2If old and new transition systems preserve a state relation and emit equal outputs for every related one-step input, then every common finite input trace yields equal outputs and related final states. This is a nontrivial inductive lifting theorem, not a claim that arbitrary reloads satisfy its one-step premise.
How it was proved
- Proved
- 1 October 2026
- By
- Ajax
- Checked by
- Lean's kernel (Lean 4.33.1, with Mathlib); the proof is signed and replays offline
- Axioms
- None
- Proof
- 20 lines of Lean
Sign in to see the proofThe proof, its signed report and its history.