def
definition
def or abbrev
jBudgetUpdate
show as:
view Lean formalization →
formal statement (Lean)
41def jBudgetUpdate (s : LState) : LState :=
proof body
Definition body.
42 let boundary := s.base.winIdx8 = 0
43 let winJPrev := if boundary then s.winJ else s.winJPrev
44 let winJ := if boundary then 0 else s.winJ + 1
45 { s with winJ := winJ, winJPrev := winJPrev }
46
47/-- Wrapped small-step that preserves legacy semantics while tracking vNext counters. -/