Skip to main content

GIFT mathematical core - Formally verified constants (Lean 4 + Coq)

Project description

GIFT Core

Formal Verification Python Tests PyPI Lean 4 Coq

Formally verified mathematical relations from the GIFT framework. All theorems proven in Lean 4 and Coq.

Certificate Structure

The GIFT Certificate proves 180+ mathematical identities organized in five foundational pillars:

1. E₈ Root System (248 dimensions)

dim(E₈) = 248 = 240 roots + 8 rank
        = 8 × 31 (Mersenne structure)
        = 120 + 128 (SO(16) decomposition)
  • Complete root enumeration: 112 (D₈) + 128 (half-integer)
  • Weyl group order: 2¹⁴ × 3⁵ × 5² × 7 = 696,729,600
  • Weyl reflection preserves E₈ lattice

2. G₂ Holonomy (14 dimensions)

dim(G₂) = 14 = 12 roots + 2 rank
             = GL(7) orbit stabilizer: 49 - 35
  • 7D cross product with Lagrange identity: ‖u × v‖² = ‖u‖²‖v‖² - ⟨u,v⟩²
  • Fano plane structure (7 lines ↔ 7 octonion imaginaries)
  • Bilinearity, antisymmetry, octonion structure proven

3. K₇ Manifold via TCS (v3.2)

M₁ = Quintic in CP⁴:    b₂ = 11,  b₃ = 40
M₂ = CI(2,2,2) in CP⁶:  b₂ = 10,  b₃ = 37
─────────────────────────────────────────
K₇ = M₁ #_TCS M₂:       b₂ = 21,  b₃ = 77  (BOTH DERIVED!)

H* = b₂ + b₃ + 1 = 99
  • TCS (Twisted Connected Sum) construction from Corti-Haskins-Nordström-Pacini
  • Both Betti numbers now derived from building blocks (was: b₃ input)
  • Hodge duality and Poincaré duality verified

4. Joyce Existence Theorem

K₇ admits torsion-free G₂ structure
‖T‖ < 0.00141 vs threshold 0.0288 (20× margin)
  • Banach fixed-point formalization
  • Sobolev embedding H⁴ -> C⁰ (4 > 7/2)
  • Implicit function theorem conditions verified

5. Structural Identities (v3.2)

Weyl Triple Identity: 3 independent paths to Weyl = 5
  (dim_G₂ + 1) / N_gen = 5
  b₂ / N_gen - p₂ = 5
  dim_G₂ - rank_E₈ - 1 = 5

PSL(2,7) = 168: Fano plane symmetry
  (b₃ + dim_G₂) + b₃ = 168
  rank_E₈ × b₂ = 168
  N_gen × (b₃ - b₂) = 168

Physical Relations

The Certificate derives Standard Model parameters from topology:

Relation Formula Value
Weinberg angle sin²θ_W = 3(b₃+dim_G₂)/(13×b₂) 3/13
Koide parameter Q = 2×dim_G₂/(3×b₂) 2/3
Generation count N_gen 3
κ_T denominator b₃ - dim_G₂ - p₂ 61
γ_GIFT (2×rank_E₈ + 5×H*)/(10×dim_G₂ + 3×dim_E₈) 511/884
Ω_DE (b₂ + b₃)/H* 98/99
m_τ/m_e (b₃ - b₂) × 62 + 5 3477

See Lean/GIFT/Certificate.lean for complete theorem statements.


Extensions

  • Sequence Embeddings: Fibonacci F₃–F₁₂ and Lucas L₀–L₉ map to GIFT constants
  • Prime Atlas: 100% coverage of primes < 200 via three generators (b₃, H*, dim_E₈)
  • Monstrous Moonshine: 196883 = 47 × 59 × 71, j-invariant 744 = 3 × dim_E₈
  • McKay Correspondence: E₈ ↔ Binary Icosahedral ↔ Golden Ratio

Installation

pip install giftpy

Quick Start

from gift_core import *

# Certified constants
print(SIN2_THETA_W)   # Fraction(3, 13)
print(KAPPA_T)        # Fraction(1, 61)
print(GAMMA_GIFT)     # Fraction(511, 884)

Building Proofs

# Lean 4
cd Lean && lake build

# Coq
cd COQ && make

Documentation

Acknowledgments

Blueprint structure inspired by KakeyaFiniteFields.

License

MIT


GIFT Core v3.2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

giftpy-3.2.0.tar.gz (274.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

giftpy-3.2.0-py3-none-any.whl (136.1 kB view details)

Uploaded Python 3

File details

Details for the file giftpy-3.2.0.tar.gz.

File metadata

  • Download URL: giftpy-3.2.0.tar.gz
  • Upload date:
  • Size: 274.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for giftpy-3.2.0.tar.gz
Algorithm Hash digest
SHA256 2eff112ac4a12849caa630c784b32fa617e154ba158048ccb91e9d31701d305f
MD5 bc05163d5b073089ba301d367f607445
BLAKE2b-256 ff35b6ec9d1aa4cabe33599eb8f8231543d9d2032614a7faa06d19c493bd8eed

See more details on using hashes here.

Provenance

The following attestation bundles were made for giftpy-3.2.0.tar.gz:

Publisher: publish.yml on gift-framework/core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file giftpy-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: giftpy-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 136.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for giftpy-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5e1f181767bdf8c1952936380f57985f2b8fa00d03c294f083c13b5071d46ea
MD5 77380096e5d0f4ccfdb22a7b5f26bc92
BLAKE2b-256 7fdfe5f79dc93d0a51c64ab14f9dc1dd520e938b5a661b2ef795181d92b78b02

See more details on using hashes here.

Provenance

The following attestation bundles were made for giftpy-3.2.0-py3-none-any.whl:

Publisher: publish.yml on gift-framework/core

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page