Model vocabulary — Two-context model with supplied read probabilities
DefinitionAPFB06_turned_context_world_Vocabularyapfapf-referencepullbacks-v46-2026-11
Data, predicates and immediate constructor helpers for this reviewed model. Its substantive results are published as separate proved theorem nodes.
A finite supplied model defines read probabilities 0, 1/2, 1, a connection value and a four-cycle turn. It proves the specified read, cost and repeatability identities. The probabilities and read rule are definitions; this file does not instantiate the eight inputs or derive Born probabilities or continuous rotations.
Supplied data and hypotheses
- Every parameter and hypothesis in the exact source declaration remains exposed; no author input is adopted.
Limits
This is conditional reference mathematics. The supplied model and its hypotheses are not adopted Foundation inputs, and this node does not establish K1, K3 or K4 closure.
Definition code
import Definitions.Def_APFB06_moving_world_Vocabulary
import Theorems.Thm_APFB06_MovingWorld_available
import Theorems.Thm_APFB06_MovingWorld_cost_eq_card
import Theorems.Thm_APFB06_MovingWorld_cost_subadditive
import Theorems.Thm_APFB06_MovingWorld_eight_hold
import Theorems.Thm_APFB06_MovingWorld_meets_B02_r2
import Theorems.Thm_APFB06_MovingWorld_alignments_hold_relation
import Theorems.Thm_APFB06_MovingWorld_sum_holds
import Theorems.Thm_APFB06_MovingWorld_keep_holds
import Theorems.Thm_APFB06_MovingWorld_after_holds
import Theorems.Thm_APFB06_MovingWorld_capacity_holds
import Theorems.Thm_APFB06_MovingWorld_empty_keeps_nothing
import Theorems.Thm_APFB06_MovingWorld_prefix_restriction_holds
import Theorems.Thm_APFB06_MovingWorld_identity_holds
import Theorems.Thm_APFB06_MovingWorld_subword_heredity_holds
import Theorems.Thm_APFB06_MovingWorld_hold_acts
import Theorems.Thm_APFB06_MovingWorld_hold_admitted
import Theorems.Thm_APFB06_MovingWorld_turn_ne
import Theorems.Thm_APFB06_MovingWorld_turn_turn_ne
import Theorems.Thm_APFB06_MovingWorld_turn_one_opposition
import Theorems.Thm_APFB06_MovingWorld_hold_erases_no_record
import Theorems.Thm_APFB06_MovingWorld_word_acts
import Theorems.Thm_APFB06_MovingWorld_nothing_drawn
import Theorems.Thm_APFB06_MovingWorld_still_held_after
import Theorems.Thm_APFB06_MovingWorld_every_word_meets_the_hold_readings
import Mathlib.Data.Real.Basic
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.NormNum
set_option autoImplicit false
namespace APFB06.TurnedContextWorld
/-- The two contexts. `false` is the context of the first mark; `true` is the context of the second
mark, an eighth of a turn away. Each context has one mark. -/
abbrev Ctx : Type := Bool
/-- A state of the object: the context on whose mark it has a side, and the side. -/
abbrev St : Type := Ctx × Bool
/-- Record form on the mark of `c`: the state has a side there. -/
def HasSide (c : Ctx) (x : St) : Prop := x.1 = c
/-- Raw form on the mark of `c`: the state has no side there. -/
def NoSide (c : Ctx) (x : St) : Prop := x.1 ≠ c
/-- A read of the mark of `c` takes `x` to `y`: `y` has a side on that mark, and if `x` already had one
nothing changes. -/
def Reads (c : Ctx) (x y : St) : Prop := y.1 = c ∧ (x.1 = c → y = x)
/-- The counted number of side `b` of the mark of `c`, at the state `x`. -/
noncomputable def chance (c : Ctx) (x : St) (b : Bool) : ℝ :=
if x.1 = c then (if x.2 = b then 1 else 0) else 1 / 2
/-- The number on the connection between the two sides of the mark of `c`, at the state `x`. -/
noncomputable def conn (c : Ctx) (x : St) : ℝ :=
if x.1 = c then 0 else (if x.2 = true then 1 / 2 else -(1 / 2))
/-- The turn: an eighth of a full turn. -/
def turn (x : St) : St := (!x.1, if x.1 = true then !x.2 else x.2)
/-- The records a state keeps: the one record of the side it has. -/
def kept (x : St) : Finset St := {x}
/-- The bill: `eps` for each record kept. -/
def bill (eps : ℝ) (x : St) : ℝ := eps * ((kept x).card : ℝ)
end APFB06.TurnedContextWorld
namespace APFB06.MovingWorld
end APFB06.MovingWorld
Source
Theorems.Thm_APFB06_turned_context_world; Pullbacks v46, SHA-256 60d56c59d2bbcfe46fc62ec5323ef776bf22fd94dd3cb9919fb7ccd432a2330c. Theorems.Thm_APFB06_turned_context_world; pullbacks v46; SHA-256 60d56c59d2bbcfe46fc62ec5323ef776bf22fd94dd3cb9919fb7ccd432a2330c