Theorem: Execution.Step.Apply.RTC.preserves_progress (ReactorModel/Execution/Theorems/Step/Apply.lean)

State before:
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ : State α
e : s₁ -[out]→ s₂
⊢ s₁.progress = s₂.progress
Tactic:
induction e
State after:
case refl
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ s✝ : State α
⊢ s✝.progress = s✝.progress

case trans
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ : State α
hd✝ : Change
s₁✝ s₂✝ : State α
tl✝ : Reaction.Output
s₃✝ : State α
a✝¹ : s₁✝ -[hd✝]→ s₂✝
a✝ : s₂✝ -[tl✝]→ s₃✝
a_ih✝ : s₂✝.progress = s₃✝.progress
⊢ s₁✝.progress = s₃✝.progress

State before:
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ s✝ : State α
⊢ s✝.progress = s✝.progress
Tactic:
case refl => rfl
State after:
no goals

State before:
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ : State α
hd✝ : Change
s₁✝ s₂✝ : State α
tl✝ : Reaction.Output
s₃✝ : State α
e : s₁✝ -[hd✝]→ s₂✝
a✝ : s₂✝ -[tl✝]→ s₃✝
hi : s₂✝.progress = s₃✝.progress
⊢ s₁✝.progress = s₃✝.progress
Tactic:
case trans e _ hi => exact e.preserves_progress ▸ hi
State after:
no goals

State before:
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ s✝ : State α
⊢ s✝.progress = s✝.progress
Tactic:
rfl
State after:
no goals

State before:
α : Type
inst✝ : Hierarchical α
s₁ : State α
out : Reaction.Output
s₂ : State α
hd✝ : Change
s₁✝ s₂✝ : State α
tl✝ : Reaction.Output
s₃✝ : State α
e : s₁✝ -[hd✝]→ s₂✝
a✝ : s₂✝ -[tl✝]→ s₃✝
hi : s₂✝.progress = s₃✝.progress
⊢ s₁✝.progress = s₃✝.progress
Tactic:
exact e.preserves_progress ▸ hi
State after:
no goals