pith. machine review for the scientific record. sign in
def definition def or abbrev high

mockProgram

show as:
view Lean formalization →

The mock program definition supplies a constant BALANCE operation for cycle evaluation examples in the VM. It is referenced by cycle report constructions for smoke tests of commit boundaries. The definition is implemented as a direct constant function with no additional logic or computation.

claimDefine the mock program $M$ by $M(x) = s$ where $s$ is the state with opcode BALANCE, for arbitrary input $x$.

background

The VM module models program execution under a conservative COMMIT boundary predicate with the v2 flag. Programs are functions from inputs to opcode states, and the mock supplies a baseline augmented state for examples. It depends on the for structure from UniversalForcingSelfReference, which records all structural properties that would be required of a meta-realization instance and proves that the meta-theorem already supplies each one.

proof idea

The definition is a direct one-line construction of the constant function returning the BALANCE opcode.

why it matters in Recognition Science

This definition supports the cycleReport smoke-test for tooling, which evaluates lCycle on the mock and reports window index, winJ, and commit event. It provides simple inputs for testing cycle windows in the VM commit module and touches the self-reference axioms in the forcing chain by supplying baseline cases.

scope and limits

formal statement (Lean)

  16@[simp] def mockProgram : LProgram := fun _ => { op := Opcode.BALANCE }

proof body

Definition body.

  17
  18/-- Baseline augmented state for examples. -/

used by (1)

From the project-wide theorem graph. These declarations reference this one in their body.

depends on (1)

Lean names referenced from this declaration's body.