Explanation of CardinalitySpectrumCert
(1) In plain English: CardinalitySpectrumCert is a Lean record type that packages a set of equalities and list properties. It certifies that a fixed list of 20 natural numbers (the RS spectrum) decomposes exactly into expressions built from the generators Dspatial := 3, Dconfig := 5, gap45, eightTick := 2^3, and cubeFaces := 2·3. Each field is a proof obligation that is discharged by rfl or by one of the module's decide theorems.
(2) Why it matters in Recognition Science: The module docstring states that RS produces a structured numerical spectrum rather than an arbitrary collection of integers. By exhibiting explicit decompositions (e.g., 8 = 2^Dspatial, 45 = Dspatial²·Dconfig, 125 = Dconfig³, 70 = C(8,4)), the certificate supplies concrete witnesses that every listed cardinality is reachable from the small set of RS primitives {2,3,5}. This supports the broader claim that the framework yields a non-random arithmetic structure.
(3) How to read the formal statement: The structure declaration lists 12 fields, each a proposition:
Dspatial_is_3 : Dspatial = 3Dconfig_is_5 : Dconfig = 5gap_as_D : gap45 = Dspatial^2 * DconfigeightTick_as_D : eightTick = 2 ^ DspatialcubeFaces_as_D : cubeFaces = twoFace * Dspatialfull_turn : 360 = eightTick * gap45choose_central : 70 = Nat.choose 8 4D_cubed : 125 = Dconfig^3D_fifth : 3125 = Dconfig^5spectrum_length : rsSpectrum.length = 20spectrum_pairwise : rsSpectrum.Pairwise (· < ·)spectrum_bounded : ∀ n ∈ rsSpectrum, n ≤ 3125The termcardinalitySpectrumCertsupplies a concrete inhabitant whose fields are filled by the module's equality theorems anddecidetactics.
(4) Visible dependencies or certificates in the supplied source: The structure directly references the definitions Dspatial, Dconfig, gap45, eightTick, cubeFaces, twoFace, rsSpectrum and the theorems eightTick_eq, gap45_eq, cubeFaces_eq, rsSpectrum_length, rsSpectrum_pairwise_lt, rsSpectrum_bounded, threeSixty_is_tick_gap, seventy_is_choose_8_4, oneTwentyFive_is_Dcubed, and threeOne25_is_D_fifth. It also uses Nat.choose and List operations from Mathlib.
(5) What this declaration does not prove: It collects only structural witnesses for the listed cardinalities; it does not derive the generators from any forcing-chain theorem, does not prove physical significance of the spectrum members, and does not connect to modules outside this file (e.g., no reference to Alexander duality or recognition-cost results).