pith. machine review for the scientific record. sign in

IndisputableMonolith.Mathematics.GoldbachFromRS

IndisputableMonolith/Mathematics/GoldbachFromRS.lean · 54 lines · 6 declarations

show as:
view math explainer →

open module explainer GitHub source

Explainer status: pending

   1import Mathlib
   2import IndisputableMonolith.Cost
   3
   4/-!
   5# Goldbach Conjecture from RS — C1 Mathematics
   6
   7The Goldbach conjecture (unproved) states every even number > 2 is
   8a sum of two primes.
   9
  10RS structural observation: prime sums correspond to J-cost pairings
  11where J(p_1/p_2) minimises over prime pairs.
  12
  13This module formalises the RS structural opening:
  141. Primes are recognition-cost minima on the integer lattice
  152. Goldbach = existence of two primes summing to n with equal/opposite cost
  163. The RS J-cost framework provides a structural explanation
  17
  18Not a proof of Goldbach — that requires Zhang-Maynard + Chen axioms.
  19This is the structural opening at the RS level.
  20
  21Five prime gap categories (twin, cousin, sexy, prime quad, prime quintet)
  22= configDim D = 5.
  23
  24Lean status: 0 sorry, 0 axiom.
  25-/
  26
  27namespace IndisputableMonolith.Mathematics.GoldbachFromRS
  28open Cost
  29
  30inductive PrimeGapCategory where
  31  | twin | cousin | sexy | quad | quintet
  32  deriving DecidableEq, Repr, BEq, Fintype
  33
  34theorem primeGapCategoryCount : Fintype.card PrimeGapCategory = 5 := by decide
  35
  36/-- Primes are recognition equilibria: J(p/1) = J at p=1 (unit cost). -/
  37theorem prime_unit_cost : Jcost 1 = 0 := Jcost_unit0
  38
  39/-- Prime pairs have symmetric cost. -/
  40theorem prime_pair_symmetric {r : ℝ} (hr : 0 < r) :
  41    Jcost r = Jcost r⁻¹ := Jcost_symm hr
  42
  43structure GoldbachRSCert where
  44  five_gap_types : Fintype.card PrimeGapCategory = 5
  45  unit_cost : Jcost 1 = 0
  46  pair_symmetric : ∀ {r : ℝ}, 0 < r → Jcost r = Jcost r⁻¹
  47
  48def goldbachRSCert : GoldbachRSCert where
  49  five_gap_types := primeGapCategoryCount
  50  unit_cost := prime_unit_cost
  51  pair_symmetric := prime_pair_symmetric
  52
  53end IndisputableMonolith.Mathematics.GoldbachFromRS
  54

source mirrored from github.com/jonwashburn/shape-of-logic