Documentation

ReflectiveSubsystems.RealizerLength

Realizer-length non-closure ([Decoupling] §4.3 — categorical Kolmogorov / Shannon counting bound) #

FV-14 (exp_card_overflow) shows the exponential overflows capacity in element count (|α→α| = |α|^|α| > 2^s). This is the realizer-length half: by a counting bound, since #{codes of bit-length ≤ b} ≤ 2^b but there are |B|^|A| functions, once 2^b < |B|^|A| some morphism A → B has no realizer of bit-length ≤ b — it needs a code longer than b. At the capacity threshold b = s, the same object whose exponential overflows in cardinality has a genuine morphism (every function is realized, realizes_of_finite) whose every realizer exceeds s bits.

@[instance_reducible]

Every assembly has decidable equality — its encoding enc into ℕ is injective (Function.Injective.decidableEq), constructively. This is what makes the function space A.carrier → B.carrier a Fintype, so its cardinality (the count in the Shannon bound) is defined.

Equations

Bit-length of a code: Nat.size of its Gödel index (the paper's realizer length r).

Equations
Instances For

    r tracks f (the un-existentialized Realizes): Realizes f ↔ ∃ r, RealizesBy r f (defeq).

    Equations
    Instances For

      A code realizes at most one function (extensionally) — B.enc is injective.

      theorem ReflectiveSubsystems.realizer_length_overflow {A B : Realizability.Assembly} (b : ℕ) (hcard : 2 ^ b < Fintype.card (A.carrier → B.carrier)) :
      ∃ (f : A.carrier → B.carrier), ∀ (r : Nat.Partrec.Code), RealizesBy r f → b < bitlen r

      Shannon counting bound. More functions than short codes ⇒ some function needs a realizer of bit-length > b.

      A capacity-filling assembly (carrier Fin (2^s), enc = Fin.val), fitting in s bits.

      Equations
      Instances For

        Capacity form (sibling of exp_card_overflow): a fitting object whose exponential has a genuine morphism (Realizes f) every realizer of which exceeds capacity s bits.

        Explicit exponential magnitude ([Decoupling] §4.3). Sharpens exp_realizer_overflow from the linear > s-bit figure to the paper's literal ≈ 2^{|s_work|}-bit figure: the SAME fitting object fatAsm s (working carrier Fin (2^s), so |s_work| = s) carries a genuine morphism (Realizes f) every realizer of which has bit-length ≥ s · 2^s. The core is the Shannon counting bound at the threshold b = s·2^s − 1: with |α→α| = (2^s)^{2^s} = 2^{s·2^s} functions but only ≤ 2^b codes of length ≤ b, some morphism has no realizer of length ≤ b, i.e. length ≥ s·2^s.

        Almost-all form of the counting bound ([Decoupling] §4.3 / §7.2, FV-16) #

        Counting bound, cardinality form. At most 2 ^ b functions A → B admit a realizer of bit-length ≤ b. Each such function chooses a short realizer, whose Gödel code lands in Fin (2^b) (via Nat.size_le), and a code realizes at most one function (RealizesBy.unique), so the choice is injective.

        Almost-all form ([Decoupling] §4.3 / §7.2). All but at most 2 ^ b of the functions A → B have every realizer longer than b bits: the "long-realizer" set is the complement of the short-realizable set, whose cardinality is ≤ 2 ^ b by shortRealizable_card_le.

        theorem ReflectiveSubsystems.almost_all_fatAsm_overflow (s : ℕ) (hs : 1 ≤ s) :
        2 ^ (s * 2 ^ s) - 2 ^ (s * 2 ^ s - 1) ≤ Fintype.card { f : (fatAsm s).carrier → (fatAsm s).carrier // ∀ (r : Nat.Partrec.Code), RealizesBy r f → s * 2 ^ s ≤ bitlen r }

        Capacity instantiation ([Decoupling] §4.3, the "generic element"). For the capacity-filling fatAsm s (working carrier Fin (2^s), so |s_work| = s), all but at most 2^(s·2^s − 1) of the 2^(s·2^s) endomorphisms need a realizer of bit-length ≥ s·2^s: the generic morphism between capacity objects has no short realizer.