Documentation

ReflectiveSubsystems.RealizabilityRecursor

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:

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 #

@[reducible, inline]

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
    Instances For

      The zero morphism (global element) terminalAsm ⟶ recursorAsm M of Asm.

      Equations
      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.

        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
            theorem ReflectiveSubsystems.ReflectiveAsm.representsUnderivableTruth {Sentence : Type u_1} (gnum : Sentence → ℕ) (Derivable True_ : Sentence → Prop) (gTS : ℕ) (R : ReflectiveAsm gTS) (hInc : Incompleteness gnum Derivable True_ gTS) :
            ∃ (M : ℕ), RepresentsUnderivableTruth gnum Derivable True_ M

            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.