Turn buildCfg into a method

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
2026-06-25 09:45:30 -05:00
parent 341a0b80b4
commit c4e5747b6d
4 changed files with 21 additions and 21 deletions

View File

@@ -94,7 +94,7 @@ theorem stepTrace {s₁ : prog.State} {ρ₁ ρ₂ : Env}
theorem walkTrace {s₁ s₂ : prog.State} {ρ₁ ρ₂ : Env}
(hjoin : joinForKey s₁ (result L prog) ρ₁)
(tr : Trace prog.graph s₁ s₂ ρ₁ ρ₂) :
(tr : Trace prog.cfg s₁ s₂ ρ₁ ρ₂) :
variablesAt s₂ (result L prog) ρ₂ := by
induction tr with
| single hbss => exact stepTrace hjoin hbss