Rep(S) unified on ONE carrier: the bounded recursor as an object of the realizability CCC (FV-13) #
Provenance: [Decoupling] §4 + §6.1 (Definition 6.1 — ONE Rep(S)
that is Cartesian closed AND contains the bounded recursor). This file closes the "stand-in
mismatch" the earlier formalizations recorded:
ReflectiveSubsystems/Reflective.lean(FV-5) bundled a CCC onType(MonoidalClosed Type, trivially true) with a recursor on a separateZMod— two disjoint stand-ins.ReflectiveSubsystems/RepFintype.lean(FV-10) improved the CCC to genuine finite sets, but itsReflectivepredicate still conjoined a (true-by-inferInstance) finite-closurePropwith a separately existing recursor — not one categorical object carrying both.
Here both live on the same category: the genuine Cartesian-closed realizability category Asm
of Realizability/RealizabilityCCC.lean (FV-12: terminal, products, exponential with the transpose
universal property exp_universal, over Kleene's first PCA on Nat.Partrec.Code). The bounded
recursor of §5 is exhibited as an object recursorAsm M : Asm (carrier ZMod (M+1)), with its
zero/succ genuine Asm-morphisms (zeroMor/succMor, realized by codes — functions as
data), and the §5 ParamNNO orbit structure living on that object's carrier. The unified
ReflectiveAsm gTS thus asserts Definition 6.1 on ONE carrier, and reflectiveAsmSatisfiable
discharges it for every gTS.
Boundary #
This is the un-capacitated realizability CCC (no s_work size bound); the capacity filtration
("up to capacity", Rep(S) as the finite full subcategory) is
ReflectiveSubsystems/CapacityLayer.lean (FV-14). The recursor successor is realized concretely;
its iterates' distinctness (the depth bound) is the ParamNNO.orbit_injective of cyclicParamNNO,
reused here on the same carrier.
The bounded recursor as an object of the realizability CCC Asm #
The bounded-recursor object N_M as an assembly of the CCC Asm: carrier ZMod (M+1), each
element realized by its own value-code. The SAME category Asm that is Cartesian closed (FV-12).
abbrev (reducible) so the carrier's ZMod (M+1) Add/OfNat/Fintype instances and the
realizes relation are visible at use sites — the same pattern as FV-11's counterAssembly.
Equations
Instances For
The successor z ↦ z+1 on recursorAsm M is tracked by a code (functions as data): the
realizer is exists_code_tracks_succ, bridged to ap by ap_encode.
Zero ⋆ ↦ 0 is tracked, by the constant code Code.const 0.
The successor morphism recursorAsm M ⟶ recursorAsm M of the CCC Asm.
Equations
- ReflectiveSubsystems.succMor M = ⟨fun (z : (ReflectiveSubsystems.recursorAsm M).carrier) => z + 1, ⋯⟩
Instances For
The zero morphism (global element) terminalAsm ⟶ recursorAsm M of Asm.
Equations
- ReflectiveSubsystems.zeroMor M = ⟨fun (x : RealizabilityCCC.terminalAsm.carrier) => 0, ⋯⟩
Instances For
Definition 6.1, unified on ONE carrier (the CCC Asm ∧ a recursor object) #
Definition 6.1 on one carrier. The SAME realizability category Asm is Cartesian closed —
terminal object, binary products, and the exponential transpose universal property (all cited from
FV-12) — AND it contains a bounded-recursor object recursorAsm depth of depth > gTS, whose
zero/succ are genuine Asm-morphisms equal (pointwise) to the §5 ParamNNO structure maps on
the SAME carrier ZMod (depth+1). Unlike Reflective (a trivially-true finite-closure
Prop plus a separate recursor), every conjunct here is about one categorical object.
- terminal (A : RealizabilityCCC.Asm) : RealizabilityCCC.Trackable A RealizabilityCCC.terminalAsm fun (x : A.carrier) => PUnit.unit
(i-a) terminal object of
Asm. - fst (A B : RealizabilityCCC.Asm) : RealizabilityCCC.Trackable (RealizabilityCCC.prodAsm A B) A Prod.fst
(i-b) binary products of
Asm(projections). - snd (A B : RealizabilityCCC.Asm) : RealizabilityCCC.Trackable (RealizabilityCCC.prodAsm A B) B Prod.snd
- eval_tracks (A B : RealizabilityCCC.Asm) : RealizabilityCCC.Trackable (RealizabilityCCC.prodAsm (RealizabilityCCC.expAsm A B) A) B fun (p : (RealizabilityCCC.prodAsm (RealizabilityCCC.expAsm A B) A).carrier) => ↑p.1 p.2
(i-c) the exponential: evaluation and the transpose universal property (Cartesian closure).
- exp_univ (C A B : RealizabilityCCC.Asm) (g : RealizabilityCCC.prodAsm C A ⟶ B) : ∃! t : C ⟶ RealizabilityCCC.expAsm A B, ∀ (c : C.carrier) (a : A.carrier), ↑(↑t c) a = ↑g (c, a)
- depth : ℕ
(ii) a bounded-recursor OBJECT of depth
> gTSin the SAME category. the basepoint, as a morphism out of the terminal object — "
0" named categorically.the successor, as an endomorphism of the recursor object.
the recursor object's own depth parameter is the structure depth, so the §5 depth bound (
orbit.orbit_injective) witnessesgTS < orbit.depth— exactly the Level-1 indexing precondition the §6 Consequence needs (used inReflectiveAsm.representsUnderivableTruth).
Instances For
Definition 6.1 is satisfiable on one carrier, for every gTS (FV-13). The CCC conjuncts are
the FV-12 universal properties of Asm; the recursor object is recursorAsm (gTS+1) with
zeroMor/succMor, and the orbit is cyclicParamNNO (gTS+1) on the same carrier ZMod (gTS+2).
The successor/zero morphisms equal the orbit maps definitionally (rfl), so this is genuinely ONE
object that is both Cartesian closed and a bounded recursor — not two disjoint stand-ins.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The genuine single-carrier object yields the §6 Consequence (closes the seam that the
consequence previously flowed only through ReflectiveSubsystems/Reflective.lean's trivially-true
Type-CCC stand-in, FV-5). From a ReflectiveAsm gTS — Definition 6.1 on the ONE Cartesian-closed
realizability category Asm (FV-12/FV-13), carrying a bounded-recursor object of depth > gTS —
together with imported incompleteness for the subsystem's theory at gTS, the subsystem represents
a sentence that is true-but-underivable in its internal logic. The recursor object's ParamNNO
(whose orbit_injective is the §5 depth bound) supplies the Level-1 indexing threshold via
reflective_of_depth. Unlike
ReflectiveType.representsUnderivableTruth, the CCC here is genuine and on the same
carrier as the recursor — no trivially-true unused conjunct.