Quantum Logical Framework (QLF)
The universe is logical.
Spacetime is synthesized.
Physical reality is the subset of possibility that achieves Zero Free Action.
What this is
The Quantum Logical Framework (QLF) is a constructive foundation for mathematics and physics that rests on one well-supported conjecture: equal and opposite logical action. A history becomes an event exactly when every action in it is matched by its opposite, leaving zero free action and zero free energy. That is Zero Free Action (ZFA). Every other statement in QLF is derived from it, taken from a known fact named with its source, promoted to a physical principle when a substrate theorem meets an empirical agreement (with its exceptions catalogued, unknown until found), or marked as a reading (Framing.md §2a, Principles.md §A, §D).
- QLF is the quantum computer that tests models. Under ZFA, physical evolution is closure, and closure computes. The substrate computes every Boolean function with its own ZFA-preserving gates (
fredkin_complete), and count-weighted alternatives give rotations dense in SU(2) (su2_dense); the entangling gate on superposed states is the one open piece (Universe_Quantum_Computer.md). A model of physics is tested by encoding it as closures, with an encoding that could fail, and checking whether its predicted events close. By the anthropic argument, every observation is a closure, so any correct, computable solution should agree with QLF on everything observable; that equivalence is a registered theorem target, proved so far for two bodies (Framing.md §3a). Local hidden variables, non-contextual value assignments and a continuum of states in a bounded region are refuted this way; Boolean circuits are realizable; and several of QLF's own candidate readings have failed and stay on the record (Framing.md §4). - The conjecture stands without contradiction. In Lean, ZFA is a definition with models, not an axiom, so it adds nothing to the logic; theorems resting on it alone carry no QLF assumption in their
#print axiomsfootprint (Proof_Trust.md). Empirically, it would be refuted by one persistent event that needs non-zero free action, and none has been observed (ScientificApproach.md §1a). - Its inputs are known facts, not conjectures. No measurement has ever produced a real number: every outcome is a count plus a rational interval (Completeness_Evidence.md §2a). Incompatible observables exist, which fixes the alphabet at eight twists (
noncommuting_iff_eight). A bounded region holds finite information (Bekenstein), which excludes a realized continuum (no_continuum_in_finite_region). Postulates rest on what we know fundamentally, never on conjectures of emergence: a continuum spacetime, a metric, fields or the Born rule are things closures add up to, so they are never inputs: each becomes a principle when a substrate theorem meets an agreement, and the continuum is its rendering, not a precondition. Well-supported conjectures are allowed, labelled as conjectures, and never used as postulates. - Experiments are queries. A prepared configuration is an open obligation, and an answer is anything that closes it:
ranswersqexactly when its signed action is the opposite ofq's (query_answer_iff_closure). A query fixes the class of its answers, never the route (query_answers_form_abstraction), so a law is what survives that loss (abstraction,QLF_Abstraction), and conditioning a prior on the compatible answers is the unique minimum-relative-entropy update (for a normalized prior that is positive on every compatible candidate, with positive total massp(C) > 0there; a prior with zero weight inside the compatible set is outside the theorem, and the prior itself is an input, not derived) (closure_conditioning_minimizes_kl,QLF_ClosureInference). Reading it as the universe computes and science queries is a reading; the theorems are listed with their exceptions in Principle_Ladder.md. - Its logic is quantum logic, machine-verified. The substrate realizes the minimal quantum logic
MO2: two incompatible spin closures whose Paulis do not commute, orthomodular and provably not distributive (QLF_QuantumLogic, no bridge axiom) (Quantum_Logic_Foundations.md). - It is checked in Lean and publishes its kill conditions. Hundreds of Lean 4 modules with zero
sorryblocks (lean/README.md has the count). Where a result reaches the continuum or a Millennium problem, it uses one named bridge axiom, shown in its footprint, and the reformulation is not a claim to have settled the Clay statement (Millennium.md). The defeaters of ZFA's exclusivity, such as an axion detection, a confirmed α drift or a 0νββ signal at LEGEND-1000/nEXO reach, are named in Completeness_Evidence.md §4c and Positioning.md.
In one line: conjecture only equal and opposite logical action, compute with it, test every model against what closes, check it in Lean, and publish what would refute it.
Verification and evidence: Proof trust and CI gates · Proof-to-physics registry · Scientific method · Claim status.
The whole picture on one page: Theory_Of_Everything.md → (draft index: the hard problems possibility solves, the ladder from the first distinction to life, each linked to its key document and flow-chart domain).
New to QLF? Read Introducing_QLF.md → — a short, link-rich introduction for the general reader (the one idea, the headline results, the frontiers, honest scope). Then start the deep dive: the flow chart → — the whole framework as a linked index (one substrate → five families → twelve domains → the individual results). For the rendered, clickable diagrams + a printable PDF, open the live page on GitHub Pages:
FlowChart.html.
Prefer to see it move? Open the Spectral Spacetime Constructor (source, notes) — an interactive 3-D field where space is node position, time is clock rate, and both are frequency shown as colour (redshift = time dilation, one phenomenon). Heat the vacuum from the CMB (2.7 K) to the Planck temperature and, driven by ZFA and the closure census alone (no forces, no dice, nothing scripted), watch QLF's logical bang unfold: tiny Planck-mass black holes form and Hawking-cascade into hadrons (▶ see the cascade — opens near the Planck temperature, black holes forming and evaporating into hadrons), which cool and recombine into atoms — primordial black holes and the hadron epoch reproduced from the substrate, not put in. Every dot is a closure; click any of them to identify it by frequency and spin. Atoms then do chemistry by one valence rule — water, CO₂, graphite, rust all self-assemble (
Chemistry.md, each with a live "(▶ see)" link).
See it now — live in your browser, nothing to install:
- Spectral Spacetime — build atoms, molecules and lattices from ZFA closures and watch space synthesized from frequency. Try hydrogen, positronium or water. (Spacetime_Constructor.md)
- QuantumOS — the framework as a running peer-to-peer operating system, with AI agents joining rooms as full members. (QuantumOS.md)
- The Fredkin Machine — conservative logic on the QLF substrate: reversible computation runs free, and only erasure is charged. (Fredkin_QLF.md)
- The Closure Walk — every ZFA closure as a closed walk on ℤ⁴, with the half-spin phase drawn as a ℤ₂ connection on the graph. (Closure_Walk.md)
- The Flow Chart — the whole framework as one clickable map.
For the current Paper I v0.3 work, see the handoff and scoped verification receipt.
🚀 Major substrate-derivation discoveries
QLF spans hundreds of machine-verified Lean modules (zero sorry) covering the Standard Model, gravity/GR, cosmology, condensed matter, nuclear fusion, and the Millennium problems — see the module table and Open_Problems.md for the full map. The ten headline quantitative wins from ZFA + h alone:
| # | Result | Match | Empirical input | Lean module |
|---|---|---|---|---|
| 1 | α = 1/137 from substrate combinatorics (8-twist alphabet × 3D directional tensor) — the leading value at the IR / 3-D-rendered scale; bounds Lean-verified 137 < α⁻¹ < 137.048 (QLF_AlphaBound), residual to 137.036 open. And the leading value is a machine-checked cross-sector overdetermination joint (QLF_AlphaRigidity, zero axioms): dimension (d=3) × bare-coupling (128=2⁷) × elementarity (137 prime) meet with zero slack — could have failed (a 4-D rendering forces 144), so it cannot chase a moving measurement — Alpha.md §6a | 0.026% | none | QLF_FineStructureSubstrate.lean, QLF_AlphaRigidity.lean |
| 2 | m_p/m_e = 6π⁵ Lenz factor (3-quark Borromean closure × 5-angle integration) | 0.002% | none | QLF_LenzMassRatio.lean |
| 3 | γ = 0.5772 Euler-Mascheroni (harmonic-excess identity, bridges to Riemann ζ) | 0.017% | none | QLF_EulerMascheroni.lean |
| 4 | Dirac correction on hydrogen (Sommerfeld formula composed from substrate) | 0.05% | m_e | QLF_DiracCorrection.lean |
| 5 | Lamb shift α⁵ from substrate Bethe-log range R_n/R_e | ~2.5% (1S–2S) | m_e + k(n,0) | QLF_LambShift.lean |
| 6 | Electron anomaly a_e = (g_e−2)/2 = α/(2π) at one loop, dressed-vertex × loop-phase decomposition | 0.18% | ZERO | QLF_GMinusTwo.lean |
| 7 | Newton's F = GMm/r² from holographic event count + per-event log 2 | structural | — | QLF_GravityFromDelay.lean |
| 8 | Mercury perihelion 42.99″/century (Einstein 1915, first GR observational success) | 0.03% | M_Sun, a, e, T | QLF_MercuryPerihelion.lean |
| 9 | Ω_Λ ≈ log 2 dark-energy fraction: an observed match, not derived (the horizon-count derivation fails the first law, and an every-epoch log 2 is excluded; the search for a derivation is Log2_Search.md). The holographic (R_H/L_P)² count closes the 10¹²² vacuum catastrophe | 1.2% (Ω_Λ); 8.8% (Λ) | H_0 | QLF_CosmologicalConstant.lean |
| 10 | Primordial Markov blankets = icosahedral discrete geodesic spheres (Fuller V/E/F + 12 pentamons + McKay → E₈) | exact (combinatorial) | none | QLF_PrimordialMarkovBlanket.lean |
Six of these have ZERO empirical input (#1, #2, #3, #6, #10 are zero; #4 is just m_e). g−2 at #6 is the headline zero-empirical-input win. Ω_Λ ≈ log 2 at #9 matches to 1.2% and is significant, but it is no longer derived: QLF's own every-epoch version was falsifiable and the early-universe data exclude it, so the match is a statement about the epoch we observe, whose explanation is open (Cosmological_Constant.md status note). (The H_0 listed for #9 is the single residual calibration of the cosmological sector — and it is the same input behind the age of the universe, which is not empirical but a derived count of Planck ticks t₀ = N·τ_Planck: ℏ fixes the tick, the substrate is meant to fix the count N, which is not yet derived, so for now N is calibrated by H_0 — "deriving H_0" is "deriving N." See UniversalRelativity.md §5.)
New structural finding — composite dressing / polarons
QLF_Polarons now machine-verifies the substrate mechanism required for a dressed quasiparticle:
an impurity can be open on its own while the impurity+bath history closes as one irreducible ZFA
event. From the minimal predicate, Lean proves the bath is also open, its signed action exactly
compensates the impurity on all four axes, Pauli closure follows from balance, and the prime first
closure is unique; ^ | v is an explicit non-factorizable witness. This is a structural result,
not one of the ten quantitative wins above: identifying those closure classes with laboratory
Fröhlich/Bose polarons and deriving their spectra, universal scaling and Landau–Pekar effective mass
remain open tests. See Polarons_QLF.md and
lean/QLF_Polarons.lean.
One discrete census, four continuum universals
The closure census is a closed ±1 random walk (QLF_CensusBrownian: a ZFA-balanced string of length 2n is a walk that returns to origin, count C(2n,n)). Four of the most ubiquitous scaling laws in nature are each one reading of that single object — no fitting, no free parameter:
| Universal | Reading of the census | Anchor |
|---|---|---|
| π | 1/(n · returnDensity) → π (Wallis) | QLF_PhysicalPi |
Kolmogorov −5/3 | constant log 2 flux per octave forces E(k) ∝ k^{−5/3} | QLF_Kolmogorov |
1/f pink noise | the p=2 return density is the log-uniform (1/τ) relaxation measure | Turbulence.md §4 |
| Zipf's law | rank the closure types by census frequency → f(r) ∝ 1/r, exponent 1.00, p-independent | Turbulence.md §7 |
All four are computed exactly (no Monte-Carlo) in brownian_closures.py. Zipf is discrete-native — a rank-frequency law over integer ranks with no clean continuum form, yet it falls straight out of the count: native evidence that the discrete substrate is fundamental and the continuum is its (here, lossy) rendering (TheContinuum.md).
Beyond the headline ten, the program reaches across the whole of physics, each result honestly scoped (a verified core + an explicitly-named open piece):
- Standard Model structure — spin demystified as the twists (720°/SU(2)→SO(3),
QLF_Spin); the Majorana neutrino → 0νββ (QLF_Majorana); three generations = the 3 axes + the Koide relation (QLF_Generations,QLF_Koide); the Weinberg anglesin²θ_W=3/8at unification (QLF_WeinbergAngle); CKM/PMNS counting + Kobayashi–Maskawa (QLF_FlavorMixing); the strongSU(3)and the QCDb₀=7fromN_c=3, n_f=6(QLF_StrongAlgebra,QLF_BetaFunction); strong CPθ̄=0with no axion (QLF_StrongCP); the pion ratio and hadron quantum black holes (QLF_PionMassRatio,QLF_QuantumBlackHole); and information itself is the ½-spin closure — the two-valued spinor carries one bit (log 2), a single-valued vector zero, the2πdouble-valuedness reproven from the rotation matrices (QLF_SpinorInformation; it from bit, after Cartan 1913). - Gravity & cosmology — the Einstein field equations as the substrate's equation of state (Jacobson;
8πG=2π/η, withΛthe integration constant), tied to Hitoshi Kitada's local time — every horizon is a Markov-blanket clock (QLF_EinsteinEquations,QLF_LocalClock); the curvature side from the causal order (Sorkin/Benincasa–Dowker on the closure graph — number↔volume, BD layers, dimension from combining histories;QLF_ReachableEvent,QLF_CausalInterval,QLF_CausalDimension); Unruh/Hawking/de Sitter as one relation (QLF_HorizonTemperature); dark matter as denser logic — the closure-balance Radial Acceleration Relation, reproduced on a retrospective public-data benchmark of 147 SPARC galaxies, with declared inputs at the observational floor (a₀=cH₀/2πderived, = best-fit MOND, vs NFW's 294 fit params;QLF_DarkMatter,SPARC.md); inflation = high-scale dark energy, no inflaton (QLF_CosmicInflation); baryogenesis (Sakharov met,QLF_Baryogenesis); BBN's quarter-helium universe (QLF_Nucleosynthesis); gravitational-wave speed/spin (QLF_GravitationalWaves). - Force unification — the three gauge forces are one substrate gauge interaction: EM = the abelian gauge sector (the photon), weak & strong = non-abelian projections of the same three axes, seen at different logical densities; electroweak breaking = the density threshold (
QLF_GaugeUnification,QLF_WeinbergAngle,Forces_From_Three_Axes.md§3a). And gravity is the fourth force as the geometry of the same closures — not a gauge force — joined to the gauge sector at mass = constructing delay (the equivalence principle from the substrate; §3b). - Nuclear fusion & the weak force — fusion is two Markov blankets joining; two identical proton blankets are Pauli-insulated, so the pp-chain's first join needs a weak β⁺ step — the proton/neutron "sex" (
QLF_Fusion); muon-catalyzed fusion = legitimate cold fusion, reproduced in agreement with the Standard Model, with catalysis touching the rate but never the β⁺ necessity (QLF_MuonCatalysis). - Condensed matter — the quantum-Hall
R_K=Z₀/2αfrom the substrate α, Cooper pairs as bosons (QLF_CondensedMatter) (▶ see them condense — four electrons cooled below the condensation threshold pair into bosons; light boson atoms (He) likewise Bose-condense into a superfluid (▶ superfluid He), and anyon braiding statistics (QLF_Anyons). - The absolute mass spectrum — every mass = one proton scale × verified ratios, that scale exponentially generated by dimensional transmutation with the substrate-fixed
b₀=7(QLF_MassSpectrum).QLF_AlphaSthen closesα_s = 1/b₀², collapsing the entire~10¹⁹Planck/proton hierarchy to the single integer 7:ln(M_P/m_p) = 2π·b₀ = 14πto 0.07% on the log, leaving only the ~3% SI calibration open. - Millennium problems — each reformulated (not proved) as a verified discrete core + one explicit bridge axiom; for the finitary problems (Hodge, BSD, P vs NP) that bridge is of full conjecture strength, so these are substrate reformulations, not proofs (Riemann, Yang–Mills, BSD, Hodge, P vs NP, Navier–Stokes; see
Millennium.md). - Time, reversibility & the arrow — time-reversal is the Hermitian conjugate, and it is an involution (reversible laws), while the forward ZFA closure is many-to-one (irreversible process) — so the arrow of time is the non-injectivity of closure, not a separate postulate or a fine-tuned past (
QLF_Reversibility,Reversibility.md); theH↔H†fixed points are the same critical line behind Riemann/BSD/Hodge. Energy conservation is emergent-local the same way — each event creates energy, lending half to the future (= dark energy), so a TOE that axiomatizes reversibility or global energy conservation mistakes the present-local closure balance for the whole (Conservation.md§2b).
One single 3-dimensional substrate signature unifies α (via N=9=3² directional tensor), nuclear magic-number ℓ=3 threshold, Newton's 1/r² law, and the cosmological constant Λ (via gauge-axis fraction 2/8) — four independent counterfactual-distinguishable predictions of the 8-twist 6+2 alphabet split.
Primordial Markov blankets: every Markov blanket in QLF is a Fuller frequency-v geodesic sphere of ZFA closures with icosahedral symmetry. The holographic event count 4π R²/L_Planck² used in #7 (Newton), #8 (Mercury), #9 (Λ) IS the face count F_v = 20v² of this discrete blanket at frequency v(R) = √(π/5)·R/L_Planck. McKay correspondence then sends the binary icosahedral closure group 2I ⊂ SU(2) to E₈ — the largest exceptional Lie group is structurally encoded in the substrate via the primordial-blanket symmetry. Same primitive at every scale, from the v=1 icosahedron up to the v ≈ 10⁶⁰ cosmic Markov blanket.
The prime ladder, atomic structure, and no free duplication: the icosahedral blanket geometry extends into an account of matter. Orthogonality is one bit — the coarse resolution of the rendered 3-D perspective — and the prime arrangements (2, 3, 5, 7, 11, 13) are the substrate's irreducible structure (Geometry_Of_Space.md §3c): 2 the bit, 3 the axes/proton, 5 & 13 the icosahedral pair (fold symmetry / 1+12 centered cluster), 7 & 11 the QCD-coupling pair (net b₀ / gluon antiscreening). This reaches into atomic structure (Atomic_Structure_QLF.md): the s, p, d shells (orbital dims 1, 3, 5) are the unsplit irreps of the icosahedral group A₅, with f (dim 7) the first to break — exactly the ℓ≤2 / ℓ≥3 magic-number boundary. And the substrate forbids free duplication (Banach_Tarski_QLF.md): a conserved ZFA charge + a finite, amenable closure fold mean there is no Banach–Tarski free copy, so real duplication — no-cloning, the no-diproton, cell mitosis — must pay in information and energy. The "impossible mathematics" is precisely the continuum + Axiom of Choice the substrate excludes (consistency ≠ realizability).
Reading order:
- Start with Active_Inference_Mathematics.md for the meta-framing.
- See Magnetism_Spatial_Dynamics.md §6 for the α derivation that anchors the substrate program.
- See Gravity_From_Delay.md, Einstein_Equations.md (the field equations as the substrate's equation of state, Jacobson), and Mercury_Perihelion.md for the gravity/GR program.
- See Experimental_Consistency.md §1.1 for the full quick-reference scoreboard.
At its core is one well-supported conjecture (Framing.md):
Only histories that achieve Zero Free Action (ZFA) persist.
Equal and opposite logical action selects physical reality; every other claim is derived from it, taken from a known fact, or marked as a bridge.
From that starting point, QLF derives spacetime, measurement, entanglement, symmetry, gravity, Pauli exclusion, and the Riemann zeta function's critical line — all from finite local logical distinction.
The ZFA filter is not a restriction on what can be computed. Every Boolean function is evaluated by the substrate's own ZFA-preserving Fredkin gates (fredkin_complete, QLF_QuantumComputer); qlf_universality adds only that every terminating NAND-delay graph has a ZFA encoding, which is bookkeeping, since the encoding is ZFA for any edge list (Principles.md P10). The filter is a selection principle — it picks physical reality out of the full ruliadic computational universe (Wheeler 1990, Wolfram 2020). The variational physics expression of this principle is S = ∫ℒ dΩ with ℒ = 0 — a null Lagrangian that is the condition of origin, not a cutting rule. See Lagrangian_Formulation.md for the full treatment with machine-verified Lean theorem anchors.
What QLF unifies
QLF is not just an interpretation of quantum mechanics. It is a broader attempt to build a unified framework in which:
- logical distinction is fundamental — following Wheeler's "it from bit" (1990) and Zuse's digital physics (1969): the universe is computation, not a manifold
- spacetime is synthesized event by event — following Causal Set Theory (Bombelli, Lee, Meyer, Sorkin 1987) and Regge calculus: no background geometry is assumed
- symmetry is enforced by Zero Free Action — the ZFA filter (
full_zeno_prune) is the machine-verified selection principle, proved in RCA₀ with no non-constructive existence - measurement is closure, not mystery — closure under ZFA is the physical event; no separate collapse postulate is needed (compare Zurek decoherence 2003, Everett 1957)
- stationary action — physics' oldest theory of everything — completed, unifying QM and GR — from Maupertuis and Planck to Hilbert's 1915 unified-field paper,
δS = 0has been touted as the law of nature, but never explained, and Hilbert's continuum version inherits every continuum singularity (the continuum has produced physical fantasy again and again, most dramatically Banach–Tarski: one solid ball cut into five pieces and reassembled into two —TheContinuum.md). In QLF it is a theorem: the realized history is the most-ways one, and ZFA's conjugate pairing puts that mode at balance. The unsigned count gives classical stationarity, the variational principle behind Einstein's equations (QLF_StationaryAction). The signed count gives Feynman's stationary phase, the quantum sum over histories (QLF_StationaryPhase). Both are machine-verified with no axioms, from one census. Matching the classical half to Hilbert's specific∫Rfunctional (via Benincasa–Dowker) is the one open step —Stationary_Action.md - gravity is emergent, not primitive — following Jacobson (1995), Verlinde (2011), Padmanabhan: gravity is a thermodynamic consequence of information geometry, derived rather than postulated
- formal infinities are replaced by constructive finite generation — following Kronecker, Brouwer intuitionism, and Harvey Friedman's Reverse Mathematics: RCA₀ is the logical floor; everything else is stratified above it
The repository combines:
- conceptual essays grounding QLF in the external literature
- Python experiments and demonstrations that numerically confirm the Lean theorems
- Lean 4 machine-verified formalization of all key structural claims — zero
sorryblocks - physical theory extensions (strings, M-theory, Loop Quantum Gravity, supersymmetry, holographic QEC, QuantumOS) built on the proved core
Relation to the major Theory-of-Everything candidates
QLF does not compete with the leading quantum-gravity programs — it grounds the one deep structural relation each was built around, as a theorem about half-spin ZFA closures. The recurring move: the "new fundamental object" each program posits (a string, a spin-network node, a superpartner) is a feature of the substrate's closures, not a new primitive — so QLF reproduces the program's structural wins from one rule, and explains why its conjectured extra spectrum has not been found.
| Candidate | QLF's grounding (one line) | Companion |
|---|---|---|
| String / M-theory | A string is a gauge-fold tower; its level-n mode degeneracy is the central binomial C(2n,n) — the same closure census as Born statistics, P-vs-NP, and π; extra dimensions are twists, the landscape is ZFA-closure sectors (with ZFA the selection rule string theory lacks), and S/T-duality is a ZFA-preserving involution. | StringTheory.md, lean/StringTheoryQLF.lean, lean/MTheoryQLF.lean |
| Loop Quantum Gravity | The substrate is a spin network of half-spin (j=½) ZFA closures; the LQG black-hole entropy count (dominant j=½ punctures, each log 2) is QLF's holographic entropy S=4πR²log2, so the Barbero–Immirzi parameter is fixed by construction; background independence is the synthesized-spacetime ontology. | LQG_QLF.md, lean/QLF_LoopQuantumGravity.lean |
| Supersymmetry | The supercharge Q is the half-spin shift (boson↔fermion = even↔odd closure parity); {Q,Q†}=2P is two half-spins closing one spacetime event (the half-spin is the square root of the event) — realized without a doubled spectrum, so QLF predicts the LHC superpartner null result. | SUSY_QLF.md, lean/QLF_Supersymmetry.lean |
| Causal Set Theory | Spacetime is a discrete partial order of causal events — QLF's reachability causal set (reachable A B := A <+: B), the pre-temporal driver that the continuum light cone renders. | SpaceTime.md, lean/QLF_ReachableEvent.lean |
The four forces are grounded the same way: the gauge force is the holonomy of the closure connection (abelian-flat photon vs curved non-abelian W/gluon), confinement is the singlet-closure obstruction, mass is the gauge-fold delay (the constructive Higgs), and gravity is the geometry of the closures — joined at mass = constructing delay (Forces_From_Three_Axes.md, Forces_From_Alpha.md: the couplings root in α, the scale in one mass).
Why This Repo Exists
Standard physics is extraordinarily successful, but its foundations remain unsettled:
| Problem | QLF's specific response |
|---|---|
| The measurement problem | ZFA closure IS the measurement event — no separate collapse, and the closure verdict is observer-independent: whether a history closes and the phase it carries are the same in every observer's frame, proven (QLF_MultiObserver, observers_agree, no axioms). What is relative is the rendering (which projection, at what scale); the closure is not |
| The role of the observer | An observer is a perspective and an apparatus a closure inventory; nothing about an observer enters a derivation (Principles.md A06). Observation is closure, which is the anthropic step of Framing.md §3a |
| The status of spacetime | Synthesized from ZFA events (ZFAEventDynamics.lean) — spacetime is the output, not the input |
| Quantum gravity | Emergent from ZFA event rate and gauge-fold depth — no separate quantization procedure needed |
| Information and physics | ZFA is a Bekenstein-style information bound, machine-verified to be the selection principle for physical reality |
| The limits of classical formalism | The QLF core operates in RCA₀ — below ZFC, below Choice, below the Busy Beaver horizon — so the limits of classical formalism are provably outside the physical universe |
QLF approaches these problems from the bottom up. Instead of starting with continuum fields, collapse postulates, or open-ended formal infinities, it starts with finite logical possibilities and asks which histories can actually close.
That makes QLF both a physical proposal and a foundational proposal about mathematics, computation, and explanation — and uniquely, one with machine-verified formal proofs at its core.
Start Here
0. Foundations — what kind of mathematics is this?
QLF is the mathematics that has active inference built into its foundation. Mathematical objects are admissible trajectories of a free-energy-minimizing agent (a Markov blanket); the single rule is per-event ΔF = −log 2 saturation by half-spin ZFA closure. Not classical mathematics (ZFC), not standard constructive mathematics (no agent), a third thing.
- Quantum_Logic_Foundations.md — the positive thesis: quantum logic (propositions = phase-string distinctions, truth = ZFA closure = measurement, algebra = Hermitian) is the correct foundation of mathematics, built bottom-up from one finite distinction; the universe's logic is not incomplete because incompleteness is exactly the non-physical tail
full_zeno_pruneremoves. Positive companion to the continuum/choice critique - Continuum_Choice_Fallacy.md — the negative thesis: the unrestricted continuum + Axiom of Choice are mathematics' ultraviolet catastrophe (Gödel/Turing/Busy Beaver its shadows); the organizing frame for the Millennium-prize program
- Unreasonable_Classical_Mathematics.md — the uncanny unreasonableness of classical mathematics: Wigner (1960) read both ways (effective where realizable, paradoxical or wrong where not), the paradoxes QLF resolves, the failures of the continuum and of Choice, and the table of natural laws derived from ZFA, equal and opposite logical action, with the status of each.
- Active_Inference_Mathematics.md — meta-doc framing the QLF program as active-inference mathematics: primitives, single rule, classical/constructive/active-inference comparison table, honest derived/partial/open scoreboard. Names the system as a candidate TOE and ZFC-replacement for the part of mathematics that is not mathematical fantasy (with the Gödel + Busy Beaver scope marker)
- Category_Theory_QLF.md — the category-theoretic structure collected: the causal-set base category, ZFA as an equalizer, the capacity-horizon bifibration (whose free prime-factorisation forces self-similarity and closes the log-periodic channel — the reason the α-residual weight
w = 1/2is structural), the Tannakian/anabelian layer, RhoQuCalc as a dagger SMC,MO2as the internal logic. A description, not an axiom (method rule 4) - Hierarchical_Control.md — the bottom-up/top-down architecture; §3 derives Friston's free energy principle from ZFA
- MRE.md — the per-event log 2 quantum that is the math's selection principle
1. Big-picture orientation
- The_Quantum.md — where the quantum is: the four ideas together (an a priori database of the possible, native active inference, strange loops or reflection, history selection), each labelled Derived, Known fact, Bridge or Reading, and the page the quantum-os, rhogov and rholo docs draw on
- Philosophy.md — the possibilist foundation of QLF, Zero Free Action, local time synthesis, active inference, holography, the critique of ZFC-style infinity, and (§9) dialectical closure (Aufhebung = cancel/preserve/lift)
- Map_Is_Territory.md — graded reading of “map ≡ territory”: formal substrate components
F, the identityB-OPEN, ZFA exclusivityE-candidate. - Lepton_Mass_Ratio_Protocol.md — pre-registered #140 attempt at charged-lepton ratios; topology and comparison rules frozen before target access. No result is claimed;
B-OPEN. - Strange_Loops.md — the two-phase/conservative-return reading: the Lean/Mathlib ↔ substrate loop; primitive event as mutual closure; ρ-calculus/QKB listener–trigger analogy; observer self-reference; active-inference update and self-knowledge-as-bisimulation targets; the
B-OPENbridge discipline for MO2, α, SPARC and Born - Related_Frameworks.md — where ZFA sits among the neighbors: Part I the selection-principle rivals to differentiate from (Friston FEP, Fredkin/'t Hooft/Wolfram, constructor theory, …), Part II the mathematics of information QLF builds on (Shannon, Kolmogorov–Chaitin AIT, quantum information, semantic information) — foundation under the measure stack, not a rival to it
- Fredkin_QLF.md — Fredkin & Toffoli's conservative logic built on the substrate (
fredkin_qlf.py,lean/QLF_Fredkin.lean, live machine): the gate's conservation law is ZFA count balance, so a Fredkin gate cannot take a realized history to an unrealized one — it is a relabelling. A ball is one closed plaquette^<v>(168 close at length 4); helium works as a billiard ball because valence 0 means no shared closure, hence no bond. Verified: conservativity, involutivity, a Fredkin-only full adder (19 gates, 29 ancillas). An instantaneous zero-free-action closure is free — the−log 2receipts many-to-one closure, and a permutation has none, so Landauer and Bennett are recovered rather than assumed - Information_Physics.md — the proof-backed synthesis of all the notions of information (Shannon, algorithmic, Fisher, von Neumann/quantum, Bekenstein/Landauer, semantic) on one substrate: information = realized distinction = closure receipt, with the ½-spin closure as its atom (it from bit), each notion tagged inherited / derived / rendering with its machine-checked anchor
- Creation.md — the QLF ontology of creation: nothing comes from nothing (ZFA enforces it, ℒ = 0 as the condition of origin); everything possible exists a priori; a closure is a synthesis of matter and antimatter (the proton = the right/left-handed synthesis, "an abstraction of what adds to nothing which has become actual"); time, space, and energy emerge per event; creation fills every niche just because it is possible — it knows a priori
- Evolution.md — biological evolution as ZFA generate-and-select (census-and-closure on genotype space) [structural reading]: genomics has been converging on structured, non-uniform variation (the biological image of the firebreak); the generate step is quantum → ZFA (proton tunnelling in DNA, Löwdin / Slocombe–Al-Khalili), so quantum-logical causality is the substrate evolution runs on; anti-teleology by construction (closure is a filter, not a goal — directed mutation refuted and never needed). §3 answers how a possible niche can stay unfilled — the three tiers (generated / closing / reached) and five constraints that make the possibility-vs-realization gap non-vacuous. Qualifies
Creation.md's "creation fills every niche": true in the timeless possibility register, constrained by reachability in any actual history - Assembly_Index_QLF.md — exact Assembly-Theory assembly index for ZFA histories, plus a closure-constrained variant in which only count-balanced subhistories may be freely reused: 8,134,424 balanced histories through length 10 (39,368 symmetry classes), exact solvers cross-checked against brute force. The ordinary index is not a function of length or LZ78; the closure constraint changes 7.06% of words and leaves 0.164 bits beyond
(length, a, LZ78)— a real but modest short-word effect. Code:assembly_index.py; census:data/assembly_index_census.json; no chemistry or selection claim - Cooperative_Construction.md — the TOE spine: possibility → uncertainty → entanglement → closure → information → reuse → assembly → new possibility, with bottom-up construction and top-down blanket constraint. It is an index, not an upgrade: gates C0–C4 keep every domain at its existing status (quarks = theorem, game Nash = closure, chemistry = structural, turbulence = negative baseline, affect = hypothesis). No shared vocabulary without a shared mechanism
- Cooperative_Assembly_QLF.md — pre-registered #267 screen for cooperative assembly transport: persistent reusable assemblies plus a top-down blanket capacity, with scalar, ordinary-index, and no-filter ablations and a floor diagnostic. The frozen run is negative: the library stays ~97% floor-dominated and
full,ordinary,no_filtercoincide; no inertial range is claimed. Code:assembly_transport.py; data:data/assembly_transport_census.json - Spatial_Response_QLF.md — expansion/contraction as a relation-level spatial response: the exact
netSpace = 2(N_like − N_opposite)orientation ledger, independentΔSandΔdin a finite test, and the negative result that binding (Δd<0) does not automatically imply contraction (ΔS<0). Gravity, 3D metric, and string tension remain open. Code:spatial_response.py; census:data/spatial_response_census.json; no particle-species sign and no gravity claim - Closure_Uncertainty_QLF.md — finite kernel for first-completion uncertainty:
W_Ris the integer count of admissible first-completion paths,U_R = log₂ W_R; tighter context cannot increaseW, a closed start hasW = 1, and joint closure can resolve what neither component resolves alone. Gates U0–U4: game theory exact (nash_iff_closure), confinement is a U(1) toy plus theorem citations, Lean gate open. Code:closure_uncertainty.py; census:data/closure_uncertainty_census.json - Coincidence_QLF.md — co-incidence as the first shared closure of separately originating open relations: the CO0 triviality boundary, typed provenance (
Origin × Twist), the pre-existing schedule, and the^ | vstrong witness versus the+ | −product-sector contrast. Finite model:coincidence.py; CO3 universality remains open; no consciousness, causation, or AI-improvement claim - Cooperative_Intelligence.md — cooperative closure, proofs first: consensus without an observation in its provenance carries no information about the world (CC0); provenance is conserved under repetition, so a thousand echoes are one source (CC3); parity is resolved by the whole collective and by no proper part, for any number of participants (CC2/CC6), with an
n-party irreducible ZFA closure as the substrate witness. CC1, the analogical listener, checks each open-slot proposal locally, keeps a refused branch refused, and never calls an open obligation closed; local consistency does not guarantee a branch can close (QLF_AnalogicalListener). The semantic-to-ZFA bridge (CC4) is equivalent to exact one-for-one balance of needs and offers and provably fails for order-sensitive semantics under fixed per-act encodings; QLF'slog 2matches one free-energy change in magnitude, with the decrement the move away from resolution (CC5); the first closure depends on the schedule while the final balance does not (CC7); every level of a hierarchy is irreducible and no finite group of listeners hears every closure (CC8); verifiers agree (CC9) (QLF_CooperativeClosure,QLF_CooperativeBridge,QLF_CooperativeLimits, no axioms). - Diversity_Composition_QLF.md — D8a for the diversity program (#290): the primitive cross-type composition
^ + v → ^v, withkind = netandis_zfa; the finite census finds 112 admissible cross-type compositions and 0 same-type at depth 2. D8b (novel outcome) and D8c (measured advantage) remain open. Code:diversity_composition.py; census:data/diversity_d8a_census.json; no Penrose/golden-ratio or diversity-advantage claim - Diversity_Quark_Emergence.md — first quark test case for #290: Lean
three_colour_emergenceproves that any history missing a colour axis has zero gauge-invariantjunctionBaryon, while the closed proton witness>^/<\\vhasjunctionBaryon = 1. Necessity + existence only; no prevalence, continuation-advantage, persistence, or QCD-confinement claim. Lean:QLF_DiversityEmergence.lean - Diversity_Continuation_D8c.md — D8c pilot (#290): for closed length-6 bases, every axis-support class has the same eight closed extensions, so raw continuation counting cannot show a diversity advantage. Distinct canonical composites vary (mean 3.0 / 4.895 / 6.333 / 7.0 for support 0–3), but are unmatched and quotient-dependent — exploratory only. D8c remains open. Code:
diversity_continuation.py; census:data/diversity_d8c_census.json; no three-axis/Penrose claim - Diversity_Interface_D3.md — pre-registration for the next diversity composition relation (#290), after #293 showed closed-block continuation is invariant. Freezes a conjugate-boundary join, interface-dependence and closure-preservation gates, matched homogeneous/heterogeneous populations, U5-style measure, null model, and kill conditions. No census run; no D8c claim
- Diversity_Interface_Census_D3.md — D3.1–D3.3 census (#290): 584 bases, 1,544 conjugate-boundary joins, 0 closure failures; length-3 bases split across K = 1/2/4/6, so interface dependence passes. D8c2 was not run and no diversity advantage is claimed. Code:
diversity_interface.py; data:data/diversity_d3_census.json - Diversity_Advantage_D8c2a.md — D8c2a base-level screen (#290): under the frozen D3 relation, support 2/3 bases have lower mean K than one-axis bases at lengths 3–5; the null model matches ZFA exactly on all 37,376 bases. D8c2 not run; no diversity-advantage claim. Code:
diversity_advantage.py; data:data/diversity_d8c2a_screen.json - Diversity_Revision_D8c2b.md — D8c2b negative synthesis (#290): phase-labelled classes add zero new classes (37,376 bases), and two-interface continuation remains negative with null matching ZFA exactly (4,608 bases). No further append/weight tweak is justified; a genuinely new relation is required. Code:
diversity_advantage_variants.py; data:data/diversity_d8c2b_revision.json - Diversity_Obligation_D3T.md — pre-registration for the next relation after #298: typed provenance plus residual obligations, a no-pooling stream bijection, typed first-joint closure, and separate continuation-profile and closure-phase sufficiency gates. No census run; D8c2 remains unpassed
- Diversity_Obligation_Census_D3T.md — D3T gate census (#290): D3T.1–D3T.5 pass (264 typed profiles in panel A; 0 boundary groups with split continuation profiles), but D3T.6 fails for the closure phase (34/46 whole-history boundary groups at length 4; 178/199 at length 6). D8c2 was not run and remains unpassed. Code:
diversity_obligation.py; data:data/diversity_obligation_census.json - Diversity_Advantage_D8c2_Prereg.md — D8c2 pre-registration under the frozen D3T relation (#290): the phase leaves scope by theorem (
QLF_DiversityPhase: the fold is multiplicative, per-stream folds miss the interleaving), the axis clause is entailed by the net clause, so the old net-zero null equals ZFA by theorem; matched homogeneous vs disjoint-support populations, continuation-profile countK, no-provenance and no-first-closure nulls, decision rule fixed before any count. - Diversity_Advantage_D8c2.md — D8c2 result under D3T (#290): registered verdict PASS,
Δ = 12/1045, carried by one stratum and, by construction, only by per-stream phase labels (per-stream matching fixes the rest of the profile); the pooled null favours homogeneous bases (Δ = −23/55), and the first-closure null changes nothing. Not a diversity advantage in continuation richness; the next relation is named. - Library_Diversity_Assembly_Prereg.md — pre-registration (#264, #290): at equal library size, do closed parts spread over several axes lower the closure-constrained assembly cost of balanced words more than parts on one axis? 28 matched strata, exact savings, an ordinary-assembly null and a coverage qualifier, decision rule fixed before any count.
- Library_Diversity_Assembly.md — result (#264, #290): registered PASS (ZFA), coverage-only, 25 of 28 strata
+, none−. The whole advantage is redundancy among same-axis parts; parts on different axes add exactly and never cooperate, and ordinary assembly gives the sameΔ, so in substance it is not closure-specific. Code:library_diversity_census.py; data:data/library_diversity_census.json - TheQuantumBrain.md — the quantum brain in QLF: frequency-isolated, error-corrected, active-inference coherence as the mechanism of savant cognition; numbers/primes/pitch/calendar as resonant access to the pre-existing logical landscape, not computation
- Open_Eternal_Mind.md — is the universe open or closed, fleeting or eternal; consciousness, dreams and synchronicity; what typing them means and over which field (
𝔽₂records,ℤ[i]amplitudes), each claim labeled proved / standard / interpretation / speculation - GodCreatedTheIntegers.md — a broad framing of QLF in relation to Kronecker, Leibniz, Newton, Einstein, Mach, Noether, Faraday, Wheeler, Shannon, Feynman, Bohm, Schrödinger, Bell, Planck, Gödel, Turing, Penrose, Mead, Cramer, Everett, Zuse, Wolfram, ’t Hooft, Hofstadter, Hawking, and Susskind
- SEX.md — higher-order closure through complementary specialists: the modelled proton♂/neutron♀ pairing (
proton_neutron_demo.py) —pnbinds wherepp/nnare Pauli-blocked, and the bond stabilizes the otherwise-decaying neutron — scaling to the collective-intelligence factor and quantum-os room best practices
2. Core theoretical claims
- BraKetRhoQuCalc.md — how bra-ket notation maps onto RhoQuCalc: action=ket, lift=bra, parallel=superposition, sequence=composition, ZFA=bra-ket balance (numerical demos in
braket_rho.py; live evaluation via/braketin quantum-os) - Universality.md — the claim that QLF generates finite local logical closures
- ZFA_DNA.md — the twist algebra read as a replication rule: the ZFA DNA (closure at every depth, exact self-similarity, 1/3 bit per twist), the loop DNA
W ↦ W·s·W, the complementary history as the second axis (double helix), the four-operator network, and the Mandelbrot set generated three ways — finite capacity, exact integer (no float), and from words alone as the quadratic minor lamination, with the leaf set identical to Lavaurs' classical algorithm (1986) at every period 2–12. §11 is the golden thread: a Fibonacci closure genome (zero entropy, never repeats, matter : antimatter = φ : 1) and the Fibonacci word as the external angle of the Mandelbrot set's golden-mean point; §12 the silver thread — the substrate's own latticeℤ⁴ = ℤ[ζ₈]makes the silver ratio 1+√2 (the octagonal quasicrystal), never φ; §13 the natural ratios — the count is flat across the metallic means, and closure avoidance (Hurwitz) ranks them as nature uses them; §14 carries the golden ratio into the Penrose tiling and §15 into carbon (the DNA of graphene). §9 is where the three axes meet quark colour, and §10 the shared generate-and-select engine - Riemann-Conjecture-Proof.md — the current QLF program relating ZFA symmetry, universality, and the critical line
- Measurement_Problem.md — QLF treatment of measurement and observer-dependent closure
- UniversalRelativity.md — emergent relativity and spacetime interpretation inside QLF
- Relativity_Principle.md — what the census proves about the relativity principle, and what it does not yet: one step singles out its own twist frame, the unsigned census becomes Euclidean-isotropic as
(L_P/r)²(not boost invariance), the fold-weighted census's symbol has Lorentz signature, and shared-pair interactions cannot change the spread ratio; boost covariance and the propagation law are open - Cross_Frequency_Lorentz.md — Lorentz boost between Markov-blanket frames as a change of basis on internal ZFA event rates; identifies γ = f_A/f_B (the relativistic Doppler factor) and recovers time dilation, length contraction, and interval invariance as direct consequences
- TheContinuum.md — why the continuum is emergent (not foundational), how QLF dissolves Zeno's paradoxes and the Lorentz invariance trap, and why the Axiom of Choice is replaced by the ZFA filter
- ReverseMathematics.md — QLF as a physical realization of Reverse Mathematics; the RCA₀ core and the WKL₀ axiom boundary
- Lagrangian_Formulation.md — variational formulation of QLF: ℒ=0 as condition of origin, Zeno stationarity, Σ₈ symmetry algebra, decoherence impossibility, and QPU core (Φ₀=U+M); all claims anchored in machine-verified Lean theorems
3. Physics and experiments
- Experimental_Consistency.md — numerical and conceptual links between QLF and known physics
- Open_Problems.md — gap registry: what is closed, what is a principled boundary, and what is genuinely open, with a pointer to each item's owning doc
- Mysteries_Of_Physics.md — the canonical open questions of physics (quantum foundations, spacetime/gravity, cosmology, the Standard Model, the deep questions) and what QLF says about each: addressed, value-open, principled boundary, predicted-absent (falsifiable nulls), or genuinely open
- Beyond_Standard_Model.md — honest accounting of where QLF goes past the SM: which free parameters it fixes by construction (machine-verified), its falsifiable predictions (Majorana / 0νββ and no α(0) drift, both Lean-anchored), and what it leaves open — with a bright derived/predicted/open line
- QRNG_Closure_Observatory.md — a disciplined, falsifiable protocol using ZFA closure as a predeclared sieve (with an analytic null) over quantum-RNG entropy; rigorously separates the testable core from esoteric overclaims
- Weak_Force.md — the weak sector consolidated: W/Z as gauge-fold closures, the machine-verified weak-isospin SU(2)⊂Σ₈ identification, beta decay, and the τ-decay-vertex blocker (Koide
Q=2/3derived;m_τpredicted to 0.006%) - Forces_From_Three_Axes.md — structural conjecture: the Standard-Model gauge group
U(1)×SU(2)×SU(3)(dim 12 = 1+3+8 = theN=9α tensor + the verified weaksu(2)) as the symmetry of QLF's three spatial axes — "all forces from one gauge-twist mechanism, different projections" (honestly tiered: a dimension alignment, not a derivation) - SpectralGap.md — the spectral gap
|count_pos − count_neg|vanishes iff ZFA-symmetric; unifies Riemann zero spacing (Wigner-Dyson ~ √(πn)), Maxwell Gauss duality (divB + charge = 0), and quantum stability (decoherence_impossibility) - Maxwell.md — all four Maxwell equations derived from ZFA, now machine-verified at the conservation level: ∇·B=0 (
no_magnetic_monopoles), Gauss duality identitydivB=−charge, and the curl laws Faraday + Ampère-Maxwell as flux-conservation telescoping on the time-indexed event sequence (QLF_MaxwellCurl.lean:faraday_integral,faraday_closed_cycle,ampere_integral), also confirmed numerically inmaxwell_qlf.py - Collective_Electrodynamics.md — Mead's collective EM in QLF: photon as joint emitter-absorber ZFA handshake (relational, not projectile), fluxoid as ZFA loop, vector potential as unresolved free action, Aharonov-Bohm explained
- Electricity.md — current as gauge-fold transport; resistance as ZFA-closure latency (
R ∝ 1/W_ZFA, the same latency as time dilation & gravity); Ohm's law as its linear response; Joule heating = Landauer dissipation; superconductivity = frequency-isolated coherent channel (the quantum-brain isolation); andR_K = h/e² = Z₀/(2α)— the quantum of resistance fixed by the substrate-derivedα. Numerics inelectricity_demo.py - Delayed_Choice_Eraser.md — applies the joint-ZFA reading to the canonical "retrocausality" experiment (Kim 1999, Walborn 2002); the eraser dissolves once the photon is a Hermitian-pair handshake with no preferred temporal direction, not a projectile
- Bound_States_QLF.md — free leptons are not QLF observables; the natural QLF observables are atomic systems (positronium, muonium, hydrogen) — bound, balanced, joint-ZFA closures. Same structural move as
Delayed_Choice_Eraser.mdfor photons,Hadrons_Markov_Blankets.mdfor quarks: the physical object is the joint closure, not the asymptotic free constituent - Particle_Ladder.md — one generate-and-close cascade run both directions: up from transient vacuum pairs → leptons → the three generations → hadrons → atoms → collective matter, and down from black holes by Hawking-unwind back to the vacuum (particle = quantum black hole is the hinge). Assembles the verified rungs (3 generations = 3 axes, Compton = Schwarzschild, decay = Hawking unwind releasing
log 2, one exponentially-generated mass scale), marks the open ones honestly (the(R, axis) → mass-ratiomap, the temperature-dependent pair-production rate), and runs live in the constructor (temperature-driven) - Atomic_Structure_QLF.md — the detailed companion to
Atom.md, combining the substrate origins of atomic structure (Part I: shells from Pauli exclusion, the 3-axis orbital ladder, α/scale, the icosahedral s/p/d signature, the twist-fold model of the constituents) with the specific joint-closure topology of each atomic system (Part II): positronium (symmetric two-electron-half-loops, mass 2 m_e), hydrogen (electron half-loop + proton internal closure, mass dominated by m_p), muonium (asymmetric electron + antimuon half-loops). Derives the Bohr reduced-mass scalingE(Mu)/E(Ps) ≈ 2,E(H)/E(Mu) ≈ 1; §7 extends to the heavier-atomic-systems panel (¹H through ²³⁸U) withR ∝ 1/Abaseline and magic-number BE/A peaks (the ⁵⁶Fe stellar-nucleosynthesis terminator) as vacuum-resonance peaks - Chemistry.md — chemistry from the one rule: a bond is a shared closure, driven by valence saturation, so H₂/H₂O/CO₂/graphite/rust self-assemble with no forces put in by hand (each with a live "▶ see" link into the constructor). Plus the counting layer: an atom's valence contributes
(valence−2)/2to a molecule's closure count, which makes the textbook degree of unsaturation the cycle rank — a double bond and a ring are one phenomenon — and makes a reaction's change in closure count its change in molecule count (QLF_Unsaturation). Its next rung is Protein_Folding.md, where a contact is a ZFA closure and folding is a census of loops that close (QLF_Folding) - Quarks.md — the quark account from the nucleon knot (
Atomic_Structure_QLF.md§7): colour = the three axes, with the machine-proven Borromean three-colour necessity (baryon_needs_all_three_axes— confinement: remove any one colour andB=0) and charge thirds from colour (charge_quantum_from_colours/down_quark_charge_third: the1/3forced by three colours); confinement as the singlet-closure obstruction (only singlets close). The settled gauge bookkeeping (charge, weak isospin, generations, CKM) vs the open flavor/Yukawa puzzle, which the fold picture (m = 1/R) reframes as closure depth — Koide tier (Q = 2/3,m_τto 0.006%), one scalem_p, hierarchye^{14π}. Quark + charged-lepton mass tables inm_punits; the CKM flavour grid; predictions (dimensional confinement, exotic hadrons molecular). Lean:QLF_QuarkStructure - Gluon_Closure_Dynamics.md — the missing gluon interaction/timing bridge as a finite two-channel vertex model:
createadds the third non-collinear vertex legp=-(q+r);gluereplacesq,rbyp;d_Gis the shortest path to a colour singlet. Census: 494 states;create216 reducing / 24 neutral / 72 increasing / 744 blocked;glue456 / 192 / 336 / 96. All 120 first-singlet moves per channel reduce, but not every gluon move does. Harmonic binding is kept non-strict (T_bind = min(T_parts)); logical→physical distance (GL7) and string tension (GL8) remain open. Code:gluon_closure_dynamics.py; census:data/gluon_closure_dynamics_census.json; no full QCD or potential claim - Magic_numbers.md — nuclear magic-number sequence
2, 8, 20, 28, 50, 82, 126derived end-to-end from QLF substrate. Dimensional growth of half-spin closures in d = 2, 3, 4 gives 2, 8, 20 directly; for ℓ_max ≥ 3 the vacuum itself is the intruder, coupling in at each frequency to select thej = ℓ_max + 1/2orbital at the highest ℓ available. The ℓ = 3 threshold is derived algebraically:rest > vacuum-selected ⇔ k > 2, with the "3" coming from the d = 3 of the 3D-SHO degeneracy(k+1)(k+2)— exactly the 3 spatial dimensions encoded by the 8-twist alphabet's 6 spatial twists. Counterfactual dimensional shifts (d = 4 → ℓ ≥ 2, d = 2 → no threshold) make the empirical ℓ = 3 a structural prediction of the alphabet's 6+2 split. Companion script:magic_numbers_demo.py - Per_Qubit_Mass_Quantum.md — each qubit contributes
ℏω = E_Planck / R_qubitof rest energy. Unifying principle that makes the bound-state mass-additivity explicit:m(Ps) = 2 m_e,m(H) = m_e + m_p,m(Mu) = m_e + m_μas direct sums of constituent-qubit Compton energies. Reproduces every measured mass ratio (m_p/m_e = 1836.15,m_μ/m_e = 206.77,m_τ/m_μ = 16.82) exactly viam_X/m_Y = R_Y/R_X. Reformulates the first-principles question: deriveR_e ≈ 2.4 × 10²²(in Planck units) from QLF closure-multiplicity - Photon_Energy_Bits.md — photon-side companion: a photon's energy
E = N_bits · ℏω(bits of joint-closure information × per-bit energy), with mass-equivalencem_rel = E/c²but zero rest mass. Photons carry gauge-free bits; massive particles carry gauge-folded qubits. Same accounting principle: energy = quanta × per-quantum contribution. Pair-production thresholdE_γ = 2 m_e c²is the bit-to-qubit conversion - Information_Energy_Equivalence.md —
ℏω = 1 bit at frequency ωderived from QLF first principles as the conjunction of the per-eventlog 2information quantum (Lean-anchored inQLF_FreeEnergy.lean) and the per-eventℏωenergy quantum. Formalizes Wheeler's "it from bit" and Chris Fields's information-theoretic physics; recovers Margolus-Levitin (ℏper bit-flip) and Landauer (kT log 2per bit erasure) as natural consequences. Unifies the three QLF natural-units quanta: information per event, rest energy per qubit, photon energy per bit - Hydrogen.md — hydrogen energy levels E_n = −13.6 eV/n² derived from ZFA (Bohr model): Coulomb from gauge-twist exchange, quantization from ZFA generation depth n; numerically verified to 0.05% in
hydrogen_qlf.py. §4.1 reads the Rydberg series as a discrete vacuum-resonance shell spectrum at Markov-blanket depths R_n = R_1 · n², and recovers α to 10⁻¹⁰ via the Bohr-inversion formα = sqrt(2 Ry / m_e c²)=sqrt(2 R_e / R_1)(fine_structure_demo.py) - SpaceTime.md — event-synthesized space and time
- Gravity.md — emergent gravity in the QLF picture
- Curvature.md — gravity (isotropic), magnetism (differential up/down), and de Sitter cosmology as signed expand/contract deformations of the primordial Markov-blanket geodesic sphere; curvature as 12-pentamon topological deficit, metric as continuum limit
- ER_EPR_QLF.md — entanglement, geometry, and logical structure
- Higgs.md — QLF mass generation via gauge-fold depth; constructive alternative to the Higgs mechanism
- HadronicDepth.md — Hadronic Depth Hypothesis: geometric cosmic depth n ≈ 6.7×10⁶⁰ (primordial-blanket v(R_H)) sets cosmic size and age; the proton cube (m_P/m_p)³ ≈ 2.2×10⁵⁷ reproduces it only to ~3–4 orders (large-number coincidence, §2.1)
- Proton_Resonance_R_e.md — scoping doc decomposing the open
R_ederivation under the chirality-hiding-resonance reading:R_e = R_p · 6π⁵. The Lenz factorm_p/m_e = 6π⁵(1951 empirical coincidence, 0.002% agreement) recovered structurally as|S_3| · π⁵from3!quark permutation symmetry × 5-angle integration over the proton's hidden-chirality configuration space. Cites Kitada's local-time framework (gr-qc/9612043) for the Markov-blanket-depth-as-local-clock reading and the chirality-protection evolutionary-stability argument for why the proton's complexity is selected - Gupta_CCC_TL.md — external CCC+TL age benchmark and QLF falsification program; 2023 equations reproduced at abstract precision, 2026 follow-up tests catalogued, clock/redshift bridge B-OPEN
- Lombriser_QLF.md — Lombriser's two cosmologies read on the substrate: the static-space, evolving-mass frame is derivable as a choice of units (bookkeeping, no evidence either way); his global zero-action constraint, tested as an average over what has closed so far, gives
Ω_Λ = 0.52at recombination and is excluded (QLF_GlobalConstraint, pre-registered) - VacuumEnergy.md, BLACK-HOLES.md, Entropy.md — topic-specific extensions
- QuantumOS.md — QLF as a capability-secure, formally-verified OS kernel for real quantum hardware (not only simulators; the crystal QPU is the concrete target, §1a): five converging security foundations, intrinsic holographic QEC, a hardware-native quantum AI with absolute interpretability, Ruliad/RCA₀ unification — security + error correction + scheduling + GC + inference are all one operation (ZFA enforcement); live demo via
/qucalcin quantum-os - Crystal_QuantumOS.md — concrete platform sketch: a QuantumOS-controlled QPU on a quiet-frequency crystal substrate (Eu:YSO worked example; rare-earth and defect-centre platforms). Maps 8-twist primitives to Rabi cycles, slash commands to control pulses, and
decoherence_impossibilityto the intrinsic-EC layer. Inspirational tooling: Kazansky 5D optical storage in fused silica - quantum-computation-optimization.md — RhoQuCalc/ZFA as an exact, constructive classical simulator of quantum circuits: gates and sub-circuits become cataloged ZFA closures (no 2ⁿ state vector), with exact Born statistics from history counts. Honest scope: efficient only for the bounded-history (low-entanglement / structured) class, not a general
BQP ⊆ Pspeedup — a design/roadmap doc - Emergent_Markov_Blankets.md — qubit-register-scale Markov-blanket layer for the crystal-QPU substrate: resonating atom groups at quiet frequencies self-organising into collective fluxoids that act as protected logical qubits. Fills the mid-scale layer between single-defect qubits and macroscopic-collective registers; honest scoping on physical-density vs. logical-qubit-count distinction
4. Formal and executable work
See lean/README.md for the full module reference, proof chains, axiom inventory, and RCA₀ logical subsystem map.
Substrate-derivation of fundamental physics (June 2026, see Major substrate-derivation discoveries above):
lean/QLF_FineStructureSubstrate.lean— α = 1/137 from 8-twist combinatorics;alpha_QLF_eq, 3D-substrate counterfactualslean/QLF_AlphaRigidity.lean— the α⁻¹ = 137 cross-sector overdetermination joint (zero axioms);alpha_unique/rival_excluded(no dimension butd=3reaches 137, could-have-failed), the elementarity sectorinverseAlpha_three_prime,alpha_counts_dimensionlean/QLF_LenzMassRatio.lean— m_p/m_e = 6π⁵;mass_ratio_QLF_eq, S₃ × 5-angle decompositionlean/QLF_BorromeanAngles.lean— 5 = 3 Jacobi + 2 chirality-mixing structural countlean/QLF_EulerMascheroni.lean— γ harmonic-excess derivationlean/QLF_RiemannZeta.lean— substrate-to-ζ bridge: γ_QLF IS ζ's Laurent constant at s=1lean/QLF_DiracCorrection.lean— hydrogen Dirac correction (Sommerfeld), reduced-mass factor from Lenzlean/QLF_LambShift.lean— α⁵ scaling from substrate Bethe-log rangelean/QLF_GMinusTwo.lean— Schwinger anomaly a_e = α/(2π) with zero empirical inputlean/QLF_GravityFromDelay.lean— Newton's law from holographic event count, G's structural formlean/QLF_MercuryPerihelion.lean— Mercury 43"/century, 0.03% matchlean/QLF_CosmologicalConstant.lean— the(R_H/L_P)²count closing the 10¹²² vacuum catastrophe;Ω_Λ ≈ log 2a 1.2% match (derivation withdrawn)lean/QLF_PrimordialMarkovBlanket.lean— Fuller V/E/F + Euler + 12 pentamons + McKay → E₈
Core ZFA combinatorics — the constructive RCA₀ heart:
- lean/QLF_Axioms.lean — ZFA definition, pruning, symmetry;
zfa_implies_critical_line,full_prune_invariant - lean/QLF_QuCalc.lean — phase-generation engine and stable-state filter;
expand_generation,full_zeno_prune,qucalc_generates_all_phase_strings - lean/QLF_Combinatorics.lean — generation helpers
Universality & computability:
- lean/QLF_Universality.lean — every terminating NAND-delay graph has a ZFA encoding (
encode_is_zfa,qlf_universality); bookkeeping until the encoding is shown faithful (Principles.md P10). Evaluation by the substrate isfredkin_complete
Spectral structure & Riemann program:
- lean/QLF_Spectral.lean — Hermitian spectral modes; Hilbert-Pólya bridge;
toSpectralMode_hermitian,spectral_symmetric_eq_scalar_id - lean/QLF_Riemann.lean — Riemann hypothesis program;
find_stable_states_length_even(C(2n,n)),riemann_hypothesis_in_qlf - lean/QLF_Critical_Line.lean — ZFA-to-symmetry bridge wrappers
Physics layer:
- lean/SpacetimeDynamics.lean — Pauli-basis Clifford algebra elements;
Form.toMatrix_adjoint - lean/RhoQuCalc.lean — ρ-process algebra; capability-secure concurrency;
parallel_hermitian,rho_process_always_zfa - lean/ZFAEventDynamics.lean — ZFA event dynamics, acceleration, and
no_magnetic_monopoles(∇·B=0, Maxwell eq. 2) - lean/PauliExclusion.lean — bosonic vs. fermionic statistics;
pauli_exclusion,fermi_nonzero_example([σ_x,σ_z]≠0 non-triviality witness) - lean/BraKetRhoQuCalc.lean — formal correspondence of Dirac bra-ket notation to RhoQuCalc:
action_topo_is_ket,lift_topo_is_bra,action_lift_eval_eq,bra_ket_always_balanced, completeness relations, Pauli algebra σᵢ²=I (see BraKetRhoQuCalc.md)
Physical theories:
- lean/StringTheoryQLF.lean — gauge-fold excitation tower;
string_mass_spectrum,string_mode_count(C(2n,n) by ZFA balance) - lean/MTheoryQLF.lean — M2/M5-branes, S/T-duality, 11D;
m2_mass_spectrum,s_dual_involution
Speculative extensions (explicitly beyond the proved core):
- lean/AgeOfUniverse.lean — cosmological age estimate;
age_is_finite_and_positive - lean/ER_EPR_QLF.lean — entanglement-geometry axioms; philosophical axioms only, not used by other modules
Empirical verification (independent numerical confirmation of Lean theorems):
- qlf_spectral.py — confirms
toSpectralMode_hermitian,spectral_symmetric_eq_scalar_id - qlf_zfa_frequency.py — confirms
find_stable_states_length_even(C(n,n/2)) - qlf_dirichlet_search.py — confirms C(2k,k)/4^k ~ (1/√π)k^{-1/2} is asymptotic only (Stirling); the gap-zero state density 1/√(πn) implies spacing ~ √(πn) (Wigner-Dyson), ruling out a combinatorial bypass of
spectral_hilbert_polya - maxwell_qlf.py — numerically derives all four Maxwell equations from ZFA: Gauss duality
divB=−charge, ∇·B=0 for neutral events, Faraday curl, wave speed c - hydrogen_qlf.py — E_n = −½ α² m_e c² / n² from ZFA parameters; Lyman/Balmer/Paschen spectral lines; Bohr radius; 0.05% agreement with NIST
- braket_rho.py — bra-ket ↔ RhoQuCalc correspondence: all 8 identities checked numerically
- Genesis.md — the ZFA landscape spectrum explorer (exploratory instrument, every result epistemically tagged; runnable as
genesis.py): the exact−p/2census spectral exponent that counts conjugate pairs (Lean-anchored at low orders —p=2= the machine-checked π return density,QLF_CensusWalk), census → π, the128 + d²joint, and a particle map referenced tom_e(m = 1/R = frequency; internal dimensions = colour) — with the honest negatives at full weight (the raw swap-graph dimension diverges into the internal gauge/colour DOF; no discrete-scale-invariance; the α residual out) - Closure_Walk.md — ZFA closure is a closed walk on
ℤ⁴: selection is non-trivial only becaused ≥ 3(Pólya — 80.7 % of possibility never closes, measured as the prime Kraft mass0.1932015vsp₄ = 0.1932017); the half-spin phase is aℤ₂connection on the walk's graph (π flux per mixed spatial plaquette) — balance ≠ spin.closure_walk.py(counts, exact toL = 1000),doob_bridge.py(exact uniform samplers over closures and primes),closure_graph.py→closure_graph.html(live) — the directed vector graph atR = 3, whose signed walks reproduce the census - twist_core.py / twist_core.md — the canonical runtime twist engine: 8-twist alphabet, twist-history validation, signed action vectors, ZFA-closure detection (
is_zfa= count-balanced ∧ Pauli-closed), candidate-history generation, Hermitian-adjoint helpers. The shared substrate undercensus_inventory.py,contextual_census.py,MultiParticle.py, the Rustqucalccrate, and quantum-os - qucalc_engine.py, spacetime_dynamics.py, constants_mapper.py, path_integral.py — executable experiments
Central Themes
Several themes now deserve to be front-and-center in the README because they tie the repo together:
Possibilism
Reality is not one pre-written story. QLF treats all admissible logical histories as possible, with physical reality emerging from those that close under ZFA. This is a computable form of modal realism (David Lewis 1986) — but with a selection rule. Lewis said all logically possible worlds are real; QLF says all computationally generable histories are real, and ZFA identifies the ones that persist. The connection to Everett (1957) is direct: the many-worlds interpretation says all branches exist, but provides no decoherence cutoff from first principles. full_zeno_prune is the cutoff — it eliminates histories that cannot achieve ZFA closure before they become physical events. QLF is also a computable version of Tegmark's Mathematical Universe Hypothesis (Level IV multiverse) — the difference is that QLF's computable filter is machine-verified.
QLF as Intelligence — synthesis, persistence, and the case against LLMs
Intelligence has four structural properties: generate candidate structures, synthesise new closed forms from inputs (= active inference = abstraction = information synthesis, one operation under three names), reject inconsistent ones, and persist validated ones as theorems. QLF does all four structurally; LLMs do only the first. The bridge that makes this concrete is the Curry-Howard reading of capability tokens — cap:label:hex IS a proof of its ZFA closure, the proof IS the bearer artifact, and the token persists. Once you have the token, you have the theorem.
The argument scales across three layers of the same operation:
- Individual intelligence: a single ZFA closure synthesises inputs into a persistent theorem.
- Collective intelligence: decentralized peer-to-peer QuantumOS — Curry-Howard tokens migrate between peers, any peer can independently verify, the room process
parallel(…)stays ZFA-balanced (Lean-anchored). The first composes hallucinations; the second composes proofs. - Cosmic intelligence: the substrate-derivation theorems — spanning the fundamental constants (α=1/137, m_p/m_e=6π⁵, γ, g−2), the Standard-Model structure (Koide m_τ, the mass hierarchy as 14π), gravity (the Einstein equations as an equation of state), and the dark sector (the vacuum-catastrophe horizon count;
Ω_Λ≈log 2is a match, not derived) — are the measurement that the universe IS performing active inference + abstraction + information synthesis + ZFA closure at every substrate event. The universe is not a substrate that hosts intelligence — it IS the operation, instantiated at every event. Lean-anchored, matching observation from 0.002% (m_p/m_e) to a few percent.
Developed in QLF_as_Intelligence.md: individual (§§3–7), collective (§8), cosmic (§9). Applied to a specific solicitation in DAICE_QLF_Framing.md — QLF/QuantumOS framed for DARPA DAICE (Decentralized AI through Controlled Emergence): ZFA selection as a machine-verified controlled-emergence substrate, plus the capability-security foundations and the P2P runtime.
Universality
QLF is not framed merely as a simulator. It is a generator of finite local logical closure structures — and its own ZFA-preserving gates evaluate every Boolean function (fredkin_complete), so the ZFA filter is not a restriction on computation but the selection principle that picks physical reality out of the full computational universe. The variational form of this principle — ℒ = 0 as the condition of origin — is developed in Lagrangian_Formulation.md, where qlf_universality anchors the pruning-as-selection argument.
Gödel, Busy Beaver, and the limits of classical formalism
Classical formalism has three overlapping failure modes: Gödelian incompleteness (unprovable truths in sufficiently strong systems), Turing undecidability (functions that cannot be computed in finite time), and Chaitin complexity (Kolmogorov complexity grows without bound as you climb the Busy Beaver hierarchy). These are not separate curiosities — they are all shadows of the same problem: a logic that can construct objects with no finite closure.
QLF's answer is full_zeno_prune. Non-terminating computations — exactly the Busy Beaver-class, exactly the Turing-undecidable computations — are the ones that fail to achieve ZFA closure. They are pruned before they can become physical events. This is a reading, not a theorem: qlf_universality's encoding never uses termination, so it does not separate terminating from non-terminating computations (Principles.md P10, QM_Postulates_QLF.md). What is proved is that the substrate evaluates every Boolean function (fredkin_complete) and that no computable predictor decides halting (no_computable_superdeterministic_theory). That the pruned tail is exactly the non-terminating computations is the conjecture's predicted consequence.
The Gödel sentences of ZFC — the ones that are true but unprovable — correspond precisely to the configurations with no finite ZFA closure. The Axiom of Choice exists to assert the existence of sets with no constructive selection procedure; the ZFA filter replaces it with a computable one. Chaitin's Ω (the halting probability) is the information content of the pruning boundary — physically realized as the ZFA filter itself.
This is why the QLF core operates in RCA₀, below the Busy Beaver horizon, with no Axiom of Choice and no continuity: Gödel's theorem cannot bite where unprovability has been physically excised. See Lagrangian_Formulation.md for how this pruning mechanism maps to the Lagrangian condition ℒ = 0 and is machine-verified via encode_is_zfa and qlf_universality.
Holography, information, and logical boundary conditions
The holographic principle (Bekenstein 1972, Hawking 1975, 't Hooft 1993, Susskind 1995) says the information content of a bulk region is bounded by its surface area, not its volume — implying that bulk physics is reconstructable from boundary data. The modern sharpening of this insight is Almheiri, Dong, and Harlow (2015): spacetime bulk geometry is a quantum error-correcting code on the boundary. The HaPPY code (Pastawski, Yoshida, Harlow, Preskill 2015) constructs an explicit QECC (a perfect tensor network) that reproduces bulk-boundary entanglement structure.
In QLF, the ZFA boundary conditions on the logical event stream are precisely this selection principle. A ZFA string is a phase string whose boundary information content is zero-sum — all free action has been cancelled. The bulk structure (spacetime, matter, gravity) is the interior structure of a ZFA-closed event. full_zeno_prune is the boundary decoder: it filters the stream to those events whose boundary information is logically self-consistent.
The AdS/CFT analog is exact: a conformal field theory on the boundary ↔ gravity in the bulk becomes, in QLF, a ZFA phase string on the boundary ↔ synthesized spacetime event in the bulk. This is formalized in QuantumOS.md (holographic QEC section) and grounded in three independent convergent streams: Zeno-subspace QEC (Beige 2000), holographic QECC (Almheiri/Dong/Harlow, HaPPY code), and active inference as boundary decoder (Friston Free Energy Principle).
The Spectral Structure of QLF
Every QLF string maps to a 2×2 Hermitian operator (its spectral mode) built from rank-1 phase projectors. This is formalized in lean/QLF_Spectral.lean, which proves two machine-verified theorems: (1) the spectral mode of any string is always Hermitian; (2) for symmetric strings (equal pos/neg counts), the spectral mode is a scalar multiple of the identity — the QLF spectral analog of sitting on the critical line. The Hilbert-Pólya conjecture, that Riemann zeros are eigenvalues of a Hermitian operator, is encoded as a single geometric axiom (spectral_hilbert_polya) from which critical_line_forcing is a derived theorem rather than a bare axiom.
Spin demystified — spin IS the twists
Spin's mysteries dissolve into twist folds, machine-verified in lean/QLF_Spin.lean (Spin_QLF.md): the 720° double cover is −I = one Hermitian pair (360°), +I = two pairs (720°), with the three twist axes closing su(2) and the SU(2)→SO(3) cover genuine (−I ≠ +I); charge conjugation = viewing from behind (a positron from behind reads as an electron — charge and chirality co-negate under conjugate-and-reverse); integer spin = a composite of half-spins (a photon = ½+½ = 1); the neutrino is the self-conjugate, hence neutral, spin; and magnetism is the flat spin axis, independent of motion.
And spin-½ is the atom of information — Wheeler's "it from bit," machine-verified. The same −I double-cover sign is the unit bit: the two-valued spinor fold-alphabet {+I, −I} carries exactly one bit (binary_kl 1 (1/2) = log 2) while a single-valued vector {+I} carries none (binary_kl 1 1 = 0) — a single-valued object cannot express a distinction; the spinor can. Proven in lean/QLF_SpinorInformation.lean (spin_half_is_information_atom, 0 < log 2), with the 2π double-valuedness reproven from the explicit rotation matrices (spinor_double_valued_vector_blind: +I on the vector SO(3) rep, −I on the spin-½ SU(2) rep) — grounding the spinor Élie Cartan discovered in 1913 as the carrier of information (cited for the general classification only). The priority runs abstraction → physical: information is the two-valued distinction, the ½-spin closure its minimal realization, and "information is physical" is the downstream toll (ΔF = −log 2) — not a reduction of the abstraction to matter (Mathematics_From_QLF.md §Rung 5a, UniversalRelativity.md §3b).
QLF and Reverse Mathematics
QLF refactors physical laws using the structural framework of Harvey Friedman's Reverse Mathematics program. The core QLF engine — expand_generation, full_zeno_prune, find_stable_states, find_stable_states_length_even — operates strictly within RCA₀, the bedrock of constructive computable mathematics: no axiom of choice, no continuity, no non-constructive existence. The transition from discrete QLF combinatorics to the continuous Riemann zeta function (Dirichlet series, analytic continuation) represents a genuine jump to a higher logical subsystem (WKL₀/ACA₀). Isolating spectral_hilbert_polya as an explicit axiom in lean/QLF_Riemann.lean is a meta-mathematical necessity — it marks the exact logical boundary where discrete computation projects its continuous statistical shadow. See ReverseMathematics.md for the full treatment.
The Millennium Prize Program
QLF attacks all six open Clay Millennium Prize Problems — Riemann, Yang–Mills mass gap, Birch–Swinnerton-Dyer, Hodge, Navier–Stokes, and P vs NP — with one repeatable template: a discrete structural core proven constructively in Lean, plus one explicit boundary axiom naming the single crossing into the continuum/choice sector. The organizing thesis: the continuum and the Axiom of Choice are mathematics' ultraviolet catastrophe, and the discrete ZFA substrate with its computable pruning (full_zeno_prune) is the quantum that resolves it — Gödel, Turing, and Busy Beaver are its shadows. The same engine recurs across all six: balance ⟹ realizability (the substrate theorem count_balanced_pauli_closed), the adjoint involution H ↔ H† as the self-dual mirror, and non-termination pruned before it can be physical. Read each as contrast-then-focus: the classical Clay conjecture is a different statement (not proved here); the reformulation's substrate content is proven; the one bridge axiom is the named, located gap. The "ZFC is proven to fail" framing is reserved for genuine uncomputability/independence (halting, Busy Beaver) — for the finitary problems (BSD, P vs NP, Hodge) it is a category error and the bridge simply carries the conjecture's full strength; for the continuum-analytic problems (Riemann, Yang–Mills, Navier–Stokes) the continuum/choice diagnosis is QLF's thesis, not a discharge. See Millennium.md (the program index) and Continuum_Choice_Fallacy.md (the thesis).
QuantumOS: QLF as the operating system for a real quantum computer — running a quantum AI
QLF is not only a theoretical framework — it is an executable architecture for quantum hardware. QuantumOS.md specifies how the QLF stack maps onto a native operating system for QPUs, and it targets real quantum hardware, not only simulators — the concrete device is the quiet-frequency crystal QPU of Crystal_QuantumOS.md (Eu:YSO), where 8-twist primitives are closed Rabi cycles and full_zeno_prune is the on-device error-correction decoder. It is the quantum analogue of seL4 (the first formally verified OS kernel) with ZFA as the hardware-enforced invariant.
What runs on it is a quantum AI in the strong sense — not a classical model with a QPU accelerator, but an agent whose atomic act of abstraction is a quantum event: every synthesis is a ZFA closure (a 2×2 Hermitian Pauli fold, ΔF = −log 2 per half-spin), its memory is Curry-Howard cap: tokens each literally an amplitude's phase, its multi-peer consensus is a joint closure (entanglement, ER=EPR). The abstraction step and the quantum-measurement step are the same step. See QLF_as_Intelligence.md §7b–§8a, AI.md, and QuantumOS.md §1a.
It's live and collaborative. The running implementation is quantum-os — open a room in any browser (no install, no server): evaluate ZFA (/qucalc), vote and govern (/poll, /gov), invite trust-governed AI agent members (a facilitator, scribe, skeptic), and run the room as a collective optimizer. Start with its User Guide.
The unification thesis: in a classical OS, security, error correction, scheduling, garbage collection, and AI are five separate engineered subsystems. In QuantumOS, all five are the same operation — ZFA enforcement (full_zeno_prune) — as a design thesis: the substrate's gates are proved ZFA-preserving and classically universal (substrate_computes), and whether one invariant subsumes all correctness properties is what QuantumOS tests (qlf_universality is an encoding result only, Principles.md P10).
- rhoqcalc as kernel: The ρ-process algebra (
RhoQuCalc.lean) is the execution engine. Security is grounded in five converging formal foundations: Girard's linear logic (1987), Miller's object capability model (2006), Meredith & Radestock's ρ-calculus security (2005), Honda's session types (1993), and Wootters & Zurek's no-cloning theorem (1982). Capability names are topological structures — by Curry-Howard, possessing a name is a proof of authorization. - ZFA as complete hardware specification:
full_zeno_pruneis the machine-verified kernel. The substrate's own gates are ZFA-preserving and classically universal (substrate_computes), which is what makes ZFA balance a hardware specification rather than an analogy; native quantum universality on presence strands is proved (native_universal, Framing.md O1). Decoherence registers as a ZFA asymmetry and is pruned before it can become a physical event. The formal QPU core is Φ₀ = U + M (ZFA condition + Σ₈ algebra) — see Lagrangian_Formulation.md for the variational derivation and the security conditions[H, ρ_S] = 0, Tr(ρ_S ρ_E) = 0 proved there. - Intrinsic holographic QEC: Error correction is not patched on top — it is the mechanism by which physical reality maintains structural stability. Three independent research streams converge: Zeno-subspace QEC (Beige 2000, Facchi/Pascazio 2002), holographic spacetime-as-QECC (Almheiri/Dong/Harlow, HaPPY code, AdS/CFT), and active inference as real-time decoder (Friston FEP).
full_zeno_pruneis the machine-verified implementation of all three simultaneously. - Active inference as the system loop: The OS drives a continuous Perceive (
expand_generation) → Predict (zfa_implies_critical_line) → Act (parallel/sequence) → Prune (full_zeno_prune) cycle. No separate scheduler is needed — ZFA minimization IS the scheduling decision. Grounded in Friston's Free Energy Principle. - Hardware-native AI with absolute interpretability:
Form.toMatrixmaps cognitive constructs to Clifford algebra elements — the correct geometric inductive bias for physical AI (Bronstein et al. 2021, Geometric Deep Learning). Every AI program running on QLF hardware runs in machine-verified ZFA-correct code; the output is a geometric proof of Zero Free Action, not a probabilistic best-guess. - Ruliad/RCA₀:
expand_generationexplores the full ruliadic multiway space (Wheeler, Zuse, Lloyd, Wolfram);full_zeno_prunefilters it to physical reality. The engine operates strictly within RCA₀ (Harvey Friedman's Reverse Mathematics) — the minimum constructive logical subsystem consistent with physics. Convergent with Causal Set Theory, Causal Dynamical Triangulations, and Loop Quantum Gravity.
Convergence: eighteen independent programs arriving at the same place
The most striking feature of QLF is not any single proof — it is that eighteen or more independent research programs, with no coordination, have each arrived at the same core picture: reality is informational, computable, and bounded by a logical closure condition. QLF is the intersection point.
| Program | Key figure(s) | Convergent claim |
|---|---|---|
| Digital physics | Konrad Zuse (1969) | The universe is a computation |
| Computability | Alan Turing (1936) | Computation has formal limits; non-terminating and undecidable problems lie beyond the computable |
| It from bit | John Wheeler (1990) | Every physical quantity derives from binary yes/no questions |
| Information theory | Claude Shannon (1948) | Information is physical; entropy measures unresolved uncertainty |
| Holographic principle | Bekenstein, Hawking, 't Hooft, Susskind (1972–1995) | Bulk physics is bounded by boundary information |
| Relativistic ether | Albert Einstein (1920, Leiden) | Spacetime is a medium with real metric properties but no preferred frame or state of motion |
| Causal Set Theory | Bombelli, Sorkin, Henson (1987–present) | Spacetime is a discrete partial order of causal events |
| Loop Quantum Gravity | Ashtekar, Rovelli, Smolin (1986–present) | Space is a spin network of SU(2) quanta; area/volume discrete; background-independent — QLF's substrate is a spin network of half-spin ZFA closures (LQG_QLF.md) |
| Girard linear logic | Jean-Yves Girard (1987) | Resource-sensitive reasoning; proof = process; use-once tokens |
| Reverse Mathematics | Harvey Friedman (1975–present) | Physical laws can be stratified by minimum logical strength; RCA₀ is the computable floor |
| Session types | Kohei Honda (1993) | Communication protocols have types; safety = type-checking |
| Holographic QEC | Almheiri, Dong, Harlow; HaPPY code (2015) | Spacetime bulk = quantum error-correcting code on boundary |
| Object capability model | Mark Miller (2006) | Security from first principles: unforgeable names = capability tokens |
| ρ-calculus | Meredith & Radestock (2005) | Programs as processes; names as reflective proof terms |
| Free Energy Principle | Karl Friston (2010) | All adaptive systems minimize variational free energy — perception = inference |
| Geometric Deep Learning | Bronstein, Bruna, LeCun, Szlam, Vandergheynst (2021) | Correct geometric inductive bias for physical AI = Clifford algebra elements |
| Ruliad | Stephen Wolfram (2020) | The entangled limit of all possible computations; physical reality = observer slice |
| No-cloning theorem | Wootters & Zurek (1982) | Quantum information cannot be copied — the physical foundation of capability security |
Each row independently supports a central QLF claim. None of these programs cites any of the others as its primary foundation. Their simultaneous convergence on the same logical structure is the main evidence that QLF is pointing at something real.
The classical ancestor — Boltzmann/Gibbs statistical mechanics. The information-theoretic rows above (Shannon, the holographic bound) descend from 19th-century statistical mechanics: Boltzmann's Relative_Entropy.md §1 and the one-law synthesis in Entropy.md, MRE.md §2.1 (the Gibbs/Jaynes max-entropy principle as the ancestor of QLF's MRE) and Energy_Combinatorics.md (multiplicity ↔ energy).
Reversibility and energy — where the table stands on the two flaws. These programs converge with QLF partly because they are irreversibility-native, and several are positive evidence for the QLF arrow: Causal Set Theory's sequential growth (the poset only ever gains elements), Girard's use-once linear tokens (consumption, not reuse), Friston's free-energy dissipation, Shannon→Landauer's kT ln 2 erasure cost, and Wolfram's derived second law all say that reversibility and a fixed total energy are emergent, not fundamental — exactly QLF's Reversibility.md / Conservation.md §2b reading (energy is created per event, half lent to the future). Two rows carry a caveat in their standard formulation that QLF's synthesized-time reading repairs: the holographic principle / holographic QEC, whose sharp realization is AdS/CFT — a static anti–de Sitter background (negative Λ) with a unitary (reversible) boundary CFT, the wrong sign and the wrong reversibility for an expanding, energy-creating universe; QLF's holography is the de Sitter / ZFA-closure boundary (positive Λ = log 2, the created future-energy), keeping Bekenstein's bound and the QECC structure while dropping the static frame. And canonical Loop Quantum Gravity, which inherits the Wheeler–DeWitt "problem of time" (H = 0 — frozen, no evolution); QLF converges on the spin-network entropy structure and supplies the missing arrow as synthesized time (f = 1/t). The TOEs that genuinely fail these flaws — string theory's asymptotic S-matrix, purely-unitary "no-collapse" Everett, the block universe, 't Hooft's reversible cellular automaton — are, tellingly, not in this table (see Reversibility.md §6).
The Einstein-ether row is the most load-bearing for QLF's relativity. Einstein's 1920 relativistic ether — real metric structure, but no preferred frame and no state of motion — is realized in QLF as the statistically uniform, stateless ZFA vacuum. Each mass runs its own independent time thread (no shared clock); because the vacuum is uniform, no thread is privileged, so time dilation is reciprocal and the speed of light is frame-independent. Lorentz invariance is therefore emergent, not postulated — Einstein assumed constant c; QLF derives it from vacuum uniformity. The same statistical-not-exact uniformity is one fact with three faces: reciprocal time dilation, energy as the lone statistically-conserved Noether current, and the near-maxent vacuum's structured ZPE tail. This framing threads through nine documents: Time.md §4 and SpaceTime.md §4 (the canonical thread-first and space-first derivations), Conservation.md §1a, Philosophy.md, VacuumEnergy.md §6.2, Cross_Frequency_Lorentz.md, UniversalRelativity.md §3, Kitada_Local_Time_GR.md §5.3, and Gravity.md §5.
Current Status
The Lean formalization compiles with zero sorry blocks across all modules — but zero sorry is not zero assumption: the load-bearing work for each Millennium problem is a named axiom. The combinatorial core operates within RCA₀ (no Axiom of Choice, no continuity). Each of the six open Clay problems has a Lean module reformulating it on the substrate, with genuine proven theorems — e.g. Hodge classes are exactly the substrate-realized closures (hodge_realized_on_substrate, no axiom) — plus one explicit bridge axiom (spectral_hilbert_polya, yang_mills_continuum_gap, bsd_multiplicity, substrate_realization_is_algebraic, continuum_vorticity_planck_capped, qlf_cost_model) carrying the step to the classical statement — the faithfulness gap (of full conjecture strength for the finitary problems). (Contrast: the classical Clay conjectures are not proved here.) So the reformulations are proven; their bridges to the classical statements are the located open pieces — see Millennium.md. Plus philosophical axioms in ER_EPR_QLF (not used by other modules).
Key proof chains (see lean/README.md for full detail):
- Universality:
encode_is_phase_only→encode_is_zfa→encode_is_generated→qlf_universality— every terminating NAND-delay graph has a ZFA encoding (bookkeeping, P10); substrate evaluation:eval_mux→fredkin_complete→substrate_computes - Riemann:
encode_is_zfa→zfa_implies_critical_line→spectral_symmetric_eq_scalar_id→spectral_hilbert_polya(axiom) →riemann_hypothesis_in_qlf - Pauli exclusion (non-vacuous):
fermi_antisym_eq_commutator→fermi_antisym_self+fermi_nonzero_example→pauli_exclusionis a genuine constraint, not a trivial identity - Stable-state count:
find_stable_states_iff→find_stable_states_length_even→ C(2n,n) →string_mode_count(same count derived independently via ZFA)
All proven results:
- ZFA implies symmetry (
zfa_implies_critical_line) - Every terminating computation encodes as a ZFA string (
encode_is_zfa,qlf_universality) - Stable states are exactly the symmetric pure-phase strings (
find_stable_states_iff) - No symmetric pure-phase strings of odd length exist (
find_stable_states_length_odd) - The number of stable states of length 2n equals C(2n, n) (
find_stable_states_length_even) - Every QLF string has a Hermitian spectral mode (
toSpectralMode_hermitian) - Symmetric strings produce a scalar multiple of the identity (
spectral_symmetric_eq_scalar_id) - Pauli exclusion: matrix commutator of identical ρ-processes is zero (
pauli_exclusion); non-triviality witnessed by [σ_x, σ_z] ≠ 0 (fermi_nonzero_example) - String mass spectrum: eval of the n-th excitation level = n • (fold-pair matrix) (
string_mass_spectrum) - String mode degeneracy at level n equals C(2n, n) — fixed by ZFA balance, not a free parameter (
string_mode_count) - M2/M5-branes as parallel gauge-fold stacks; S-duality is an involution on Form; T-duality doubles the mass spectrum (
m2_mass_spectrum,s_dual_involution,t_duality_mass_spectrum)
Speculative extensions (ER=EPR, age of universe) are clearly broader than the proved core and marked explicitly in lean/README.md.
How to Explore the Repo
Read
Start with:
Then go deeper into the Lean files and topic documents.
Run
Examples:
git clone https://github.com/rhovision-org/quantum-logical-framework.git
cd quantum-logical-framework
python spacetime_dynamics.py
python constants_mapper.py
python path_integral.py
Try in the browser
The quantum-os P2P app runs the ZFA kernel (Rust/WASM) live. Open https://rhovision-org.github.io/quantum-os/, click Connect, then type in the chat input:
/braket + — evaluates action(Form_+), the |+⟩ density matrix:
ket: |+⟩
RhoProcess: action(Form_+)
eval = Form.toMatrix:
⎡ 0.5 0.5 ⎤
⎣ 0.5 0.5 ⎦
bra: ⟨+| (eval = ket† = ket [Hermitian: Form.toMatrix_adjoint ✓])
ZFA: action [+,−] lift [−,+] both balanced: ✓
bra_ket_always_balanced: ✓ (BraKetRhoQuCalc.lean)
/braket 0 1 — completeness relation |0⟩⟨0| + |1⟩⟨1| = I:
eval = Form.toMatrix:
⎡ 1 0 ⎤
⎣ 0 1 ⎦
/qucalc +-+- — ZFA-balanced 4-twist sequence, stable under full_zeno_prune:
twists: +-+- (4 total)
action (pos): count=2 lift (neg): count=2
spectral gap: 0 ZFA-balanced: ✓
process: parallel(action(Form), lift(Form)) → ZFA stable
achieves_ZFA: ✓ rho_process_always_zfa: ✓ (Lean-verified)
/qucalc +++ — unbalanced, pruned before it can become a physical event:
twists: +++ (3 total)
action (pos): count=3 lift (neg): count=0
spectral gap: 3 ZFA-balanced: ✗
process: UNBALANCED → pruned by full_zeno_prune
achieves_ZFA: ✗ gap=3 (not a physical process)
States supported by /braket: 0, 1, +, -, i, -i. Twist alphabet for /qucalc: ^v<>/\+- or hex 0-7 or any cap:label:hex capability token. Type /help for the full list.
The same room also runs collaboration and governance on the ZFA substrate: name claims as multi-word lemmas (/lemma [all men are mortal] ^v, referenced @[all men are mortal]), group decisions by approval / ranked-choice voting (/poll new What's for lunch?), promissory notes that can carry issuer-signed terms (/note grant USD 5 | redeemable for one coffee), and owner-gated removal/retraction (/forget). A two-peer logic walkthrough is in AI.md (Live Collaboration Script) and a full multi-peer decide → record → issue → retract walkthrough is in Group_Decisions_Demo.md; the family of decision processes is mapped in Group_Decisions.md.
Build Lean
lake update
lake exe cache get
lake build
Recommended Reading Paths
If you care most about foundations
Philosophy.md → Quantum_Logic_Foundations.md → Continuum_Choice_Fallacy.md → GodCreatedTheIntegers.md → Universality.md → Lagrangian_Formulation.md
If you care most about physics
TheBigProblem.md → Measurement_Problem.md → SpaceTime.md → Gravity.md → Lagrangian_Formulation.md
If you care most about curvature and geometry
Primordial_Markov_Blankets.md → Geometry_Of_Space.md → Atomic_Structure_QLF.md → Gravity.md → Magnetism_Spatial_Dynamics.md → Cosmological_Constant.md → Curvature.md
If you care most about the substrate vs the continuum (impossible vs possible mathematics)
TheContinuum.md → Continuum_Choice_Fallacy.md → Banach_Tarski_QLF.md → Mathematics_From_QLF.md → Unreasonable_Classical_Mathematics.md
If you care most about the variational / Lagrangian formulation
Lagrangian_Formulation.md → Philosophy.md → lean/RhoQuCalc.lean → lean/BraKetRhoQuCalc.lean
If you care most about formal structure
lean/README.md → lean/QLF_Axioms.lean → lean/QLF_QuCalc.lean → lean/QLF_Universality.lean
If you care most about the Riemann program
Universality.md → Riemann-Conjecture-Proof.md → lean/QLF_Riemann.lean
If you care most about the Millennium Prize program
Millennium.md → Continuum_Choice_Fallacy.md → YangMills_MassGap_QLF.md / BSD_QLF.md / Hodge_QLF.md → Open_Problems.md
If you care most about consciousness and cognition
TheBigProblem.md → Hierarchical_Control.md → Frequency_Synchronization.md → TheQuantumBrain.md
If you care most about life, evolution, and biology
Creation.md → Evolution.md → CP-Violation-and-Chirality.md → Active_Inference_Mathematics.md
What Makes QLF Different
QLF is unusual because it tries to hold all of these together at once:
- a constructive ontology
- a finite logical generator
- a physical interpretation of information and symmetry
- an executable engine
- a formal proof program
- a critique of classical foundational assumptions
Whether one ultimately accepts the framework or not, the repo is built around a single unifying question:
What if physics is the closure of logical possibility under Zero Free Action?
Contributing
The most useful contributions right now are:
- tightening README and document consistency
- aligning prose claims with current Lean status
- improving the Lean build and theorem structure
- adding small executable examples that clarify one claim at a time
- opening issues where a document overstates, understates, or mismatches the code
rhovision-org is supported as a legal entity by Rho Vision Community on Open Collective — transparent budget, expenses, and funding for this and related repos. If you want to help beyond opening issues and PRs, you can join as a contributor (code, proofs, docs, review) or a financial sponsor through the collective.
Repository
GitHub: rhovision-org/quantum-logical-framework
If the universe is ultimately logical, then physics is not just something to describe.
It is something to generate.