structure
definition
Transition
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Information.ChurchTuring on GitHub at line 57.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
-
Enzyme -
alkali_low_ionization -
cohesiveEnergyProxy -
freeElectrons -
transition_cohesive_gt_alkali -
btfr_mass_velocity_relation -
ledger_follows_8tick -
utm_exists -
J_pos_of_ne_one -
J_transition -
J_transition_self -
confinementPredictions -
amplitude -
measurement_postulate_derived -
transition_at_zero -
transitionProbability
formal source
54 alphabet_nonempty : alphabetSize > 0
55
56/-- A TM transition: (state, symbol) → (new_state, new_symbol, direction). -/
57structure Transition where
58 currentState : ℕ
59 currentSymbol : ℕ
60 newState : ℕ
61 newSymbol : ℕ
62 moveRight : Bool -- True = right, False = left
63
64/-! ## Universal Turing Machine -/
65
66/-- A Universal Turing Machine (UTM) can simulate any other TM.
67
68 Given:
69 - Description of TM T (on tape)
70 - Input x
71
72 UTM computes T(x).
73
74 This is the foundation of programmable computers! -/
75structure UniversalTM where
76 base : TuringMachine
77 /-- Can simulate any other TM -/
78 universal : Bool := true
79
80/-- **THEOREM**: A UTM exists.
81
82 Proof: Construct explicit UTM (Turing 1936).
83 Small UTM: (2 states, 18 symbols) or (7 states, 4 symbols). -/
84theorem utm_exists : True := trivial
85
86/-! ## Ledger as Universal Computer -/
87