Okay nevermind. Just need to strengthen the inductive hypothesis to allow for further frames on the stack
lemma split_trace_call:
assumes ‹prg ⊢ x →* y›
assumes ‹fst x = cstk›
assumes ‹fst y = g @ f # cstk›
shows ‹∃ x' y'.
prg ⊢ x →* x' ∧
prg ⊢ x' → y' ∧
prg ⊢ y' →* y ∧
fst x' = cstk ∧
fst y' = f # cstk›
sadra has marked this topic as resolved.
Last updated: Jun 26 2026 at 21:20 UTC