Cartesian-closedness of a stand-in for Rep(S) ([Decoupling] §4) #
Provenance: [Decoupling], §4.1 (objects/morphisms of Rep(S)),
§4.2 (products), §4.3 (exponentials — "this is where functions become data", the heart), §4.4
(the Rule-30 example), §4.5 (what is / isn't constructed). Built on Mathlib's MonoidalClosed
(cartesian-closed = monoidal-closed over the cartesian monoidal structure).
Status: PROVED. This is the CCC/exponential machinery Rep(S) needs, exhibited on a stand-in
(Type u) — the CCC conjunct for the eventual full-ReflectiveType assembly.
Stand-in status (read this — Type u is NOT Rep(S)) #
Rep(S)'s objects are finite types ⊆ {0,1}^|s_work| and its morphisms are s_code-implemented
computable functions (under program-equivalence). Mathlib's FintypeCat has no MonoidalCategory
instance, so a genuinely-finite CCC would be build-from-scratch — out of scope per §4.5. We use
Type u, which ships the cartesian-closed structure with the right shape (objects = types,
morphisms = functions, exponential = function object), and exhibit the §4.3/§4.5 content — not the
content-free bare instance. The Fin m/Fin n instantiation exhibits the finite-types /
finitely-many-programs flavor. This file establishes "the CCC/exponential machinery Rep(S) needs,
on a stand-in", which is the correct role for the CCC conjunct.
Superseded as the genuine carrier by RepFintype.lean (the finite-set CCC, FV-10) and
RealizabilityCCC.lean (the realizability CCC, FV-12); retained as the CCC stand-in that
Reflective.lean assembles.
What this DOES establish #
repS_cartesianClosed: Proposition 4.3 (stand-in) — the category is Cartesian closed (terminal, products, exponentials).expCurrying: §4.3 — the exponential's evaluation/currying universal property, as the bijection(A ⊗ Y ⟶ X) ≃ (Y ⟶ (A ⟹ X)).functionsAsDataType: §4.5 — morphismsA → Bcorrespond to the global elements of the exponential object(A ⟹ B), i.e. "morphisms of Rep(S) are described by elements of an object of Rep(S)".exp_finite_type: §4.4 (miniature of "[State ⇒ State] has ≈ 2²⁰⁰ elements") — for finite objects the exponential has finitely many global elements ("finitely many programs").
What this does NOT establish (flagged / other steps) #
- NOT full
Rep(S): nos_code/s_work, no program-equivalence classes, no computability / bounded-budget restriction on morphisms, no universal-evaluator construction (§4.5: it is per-architecture, out of scope). - NOT the §4.4 Rule-30 cellular-automaton construction.
- NOT the parameterized NNO (
ReflectiveSubsystems/ParameterizedNNO.lean) or the Gödel threshold (ReflectiveSubsystems/GodelThreshold.lean) — only the CCC/exponential structure. Type uis a stand-in, NOTRep(S)itself — objects/morphisms are unrestricted.
Hypotheses: paper-stated vs added #
- Paper-stated / faithful: Prop 4.3 (CCC); §4.3 exponential universal property; §4.5 functions-data; §4.4 exponential finiteness.
- Added / modeling:
Type uas stand-in (objects not restricted to finite types, morphisms not restricted tos_code-computable functions); finite flavor only via theFininstantiation.
Proposition 4.3 (stand-in): the category of types is Cartesian closed — terminal object,
binary products (the cartesian ⊗), and exponentials (ihom). Type u stands in for Rep(S).
§4.3, the exponential's universal property (evaluation + currying as a bijection): maps
A ⊗ Y → X correspond to maps Y → (A ⟹ X). The forward direction is currying; its inverse uses
evaluation. This is the categorical content of the functions-as-data architecture.
Equations
Instances For
§4.5, functions as data: morphisms A → B are in bijection with the global elements of the
exponential object (A ⟹ B) (maps from the unit 𝟙_, the terminal object). This is exactly
"morphisms of Rep(S) are described by elements of a specific object of Rep(S)".
Equations
- One or more equations did not get rendered due to their size.
Instances For
§4.4 (miniature of "[State ⇒ State] has ≈ 2²⁰⁰ elements"): for finite objects the exponential has finitely many global elements — finitely many "programs".