Halts With Result iff eval
Cslib.URM.haltsWithResult_iff_eval
Plain-language statement
A program halts with result a iff evaluation returns Part.some a.
Source project: Lean Computer Science Library
Person-level attribution pending.
Source-pinned research
Search theorem names, mathematical ideas, modules, topics, projects, and role-labelled researchers. Open a result for its complete indexed Lean declaration and source record.
This index contains 136 research declarations. Search 10,000 more complete Mathlib declarations.
136 results
Clear filtersCslib.URM.haltsWithResult_iff_eval
Plain-language statement
A program halts with result a iff evaluation returns Part.some a.
Source project: Lean Computer Science Library
Person-level attribution pending.
Cslib.URM.isHalted_iff_normal
Plain-language statement
A state is halted iff it is normal (has no successor) in the reduction system.
Source project: Lean Computer Science Library
Person-level attribution pending.
Cslib.URM.Step.from_toStandardForm
Plain-language statement
Reverse step correspondence: if p.toStandardForm steps from s to s', then either: (1) p steps from s to s' (same step), or (2) s' is halted in p.toStandardForm, and p steps to a state that is also halted with the same registers (this only happens for jumps with unbounded targets).
Source project: Lean Computer Science Library
Person-level attribution pending.
Cslib.URM.Step.toStandardForm
Plain-language statement
Forward step correspondence: if p steps from s to s', then either: (1) p.toStandardForm steps from s to s' (same step), or (2) s' is halted in p, and p.toStandardForm steps to a state that is also halted with the same registers (this only happens for jumps with unbounded targets).
Source project: Lean Computer Science Library
Person-level attribution pending.
Cslib.URM.Steps.eq_of_halts
Plain-language statement
If two halted states are reachable from the same start, they are equal. This follows from confluence: since Step p is confluent and both s₁ and s₂ are normal forms reachable from init, they must be equal.
Source project: Lean Computer Science Library
Person-level attribution pending.
Cslib.URM.Steps.from_toStandardForm_halts
Plain-language statement
Reverse halting: if p.toStandardForm reaches a halted state, p reaches a halted state with the same registers.
Source project: Lean Computer Science Library
Person-level attribution pending.