A second concrete learner → CCC/NNO instance: the modular counter #
Provenance: [Decoupling], §4 (Rep(S) as a CCC), §4.4 (the Rule-30
cellular-automaton worked example), §4.5 / Conjecture 4.4 (the general functor
DecoupledLearner → CCC_NNO is OPEN). This file is a supporting win toward it: a SECOND concrete
decoupled-learner instance beyond Rule-30 — the modular counter (state ZMod (n+1), update =
successor) — exhibiting its rules-as-data object, its iteration, its finiteness, and the fact that
its iterated-successor dynamics realize the cyclic parameterized NNO already built in
ReflectiveSubsystems/ParameterizedNNO.lean.
Status: PROVED as concrete ZMod arithmetic. A supporting instance, not the functor.
What this DOES establish #
State/step/Rules/stepAsData/applyRule: a concrete decoupled learner — stateZMod (n+1), update = successor, the update held as a first-class datum (§4.5 functions-as-data).apply_stepAsData: the learner applies its own rule-as-data.step_iterate: multi-step prediction by iterating the rule-as-data advances the counter byk.rules_card: the rules-as-data object is finite, with(n+1)^(n+1)elements (§4.4 concretely).step_eq_nno_succ+nno_orbit: the counter's successor IS the successor ofcyclicParamNNO (n+1), and its iterated dynamics realize that NNO's orbit (succ^[k] zero = k) — so the parameterized NNO represents this iterating learner.
What this does NOT establish (flagged) #
- INSTANCE, not the functor. A second concrete instance (the modular counter) beyond Rule-30 — it
demonstrates generality; Conjecture 4.4 (the general
DecoupledLearner → CCC_NNOfunctor) remains OPEN. - The representation category is still the
TypeCCC stand-in (ReflectiveSubsystems.repS_cartesianClosed), NOT a bespoke per-learnerRep(S).Rules n = State n → State nis its (Type-level) exponential object;ReflectiveSubsystems/CartesianClosed.leanexhibits the abstract exponential's universal property (expCurrying/functionsAsDataType) and its finiteness (exp_finite_type). This file CROSS-REFERENCES that file in prose rather than re-deriving the categorical exponential (Mathlib'sihomobject is abstract, not defeq to→). - "Decoupled" is modeled minimally here (the rule
stepheld as a separate datumstepAsDataapplied to state), NOT the full D1–D4 decoupling of [Decoupling] §3. - Reuses
cyclicParamNNOand (in prose) theTypeCCC; proves NO new categorical machinery.
Hypotheses: paper-stated vs added #
- Paper-stated / faithful: §4.5 functions-as-data (rules held as a first-class object), §4.4 finiteness, the parameterized NNO as the representation of an iterating learner.
- Added / modeling: the concrete modular-counter instance (
ZMod (n+1), successor); theTypeCCC stand-in as the ambient category.
A concrete decoupled learner (second instance, distinct from the Rule-30 CA): state =
ZMod (n+1), one-step update = successor (a modular counter).
Equations
Instances For
The one-step update: advance the counter by one.
Equations
Instances For
The update rule held as a first-class datum.
Equations
Instances For
Applying a rule-as-data to a state.
Equations
Instances For
The learner applies its own rule-as-data (functions-as-data, §4.5).
The functions-as-data object is finite ([Decoupling] §4.4 exp_finite_type, concretely).
Its cardinality: (n+1)^(n+1) one-step rules over a state space of n+1 configurations.
NNO tie (the centerpiece): the counter's successor step IS the successor map of
cyclicParamNNO n on ZMod (n+1).
The counter's iterated-successor dynamics realize the parameterized NNO's orbit: the
k-th iterate of succ from zero is k. (Depth (cyclicParamNNO n).depth = n, so the orbit
zero, …, succ^n zero is the full (n+1)-cycle of State n.)