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 (Betti numbers)

b₀ = 1,  b₁ = 0,  b₂ = 21,  b₃ = 77
H* = b₂ + b₃ + 1 = 99
  • Hodge duality and Poincaré duality
  • 2-forms decomposition: Ω² = Ω²₇ ⊕ Ω²₁₄ (7 + 14 = 21)
  • 3-forms decomposition: Ω³ = Ω³₁ ⊕ Ω³₇ ⊕ Ω³₂₇ (1 + 7 + 27 = 35)

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. Exceptional Chain

dim(E₆) = 78  = 6 × 13 = b₃ + 1
dim(E₇) = 133 = 7 × 19 = b₃ + 8 × 7
dim(E₈) = 248 = 8 × 31
  • F₄ (52) → E₆ (78) → E₇ (133) → E₈ (248)
  • Jordan algebra: dim(J₃(𝕆)) = 27 = dim(E₆) - dim(F₄) - 1

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

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.1.12

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.1.12.tar.gz (257.8 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.1.12-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for giftpy-3.1.12.tar.gz
Algorithm Hash digest
SHA256 ab1b5f481d8a8e7405aa41da75d600bfd055a0e9212dcf664f73549938580f55
MD5 6986461979c41069ae37a76f07edf2fb
BLAKE2b-256 6f90d46a718ba93b869e19485f8560eda85aae0a8373b29b927a39ee58f6691f

See more details on using hashes here.

Provenance

The following attestation bundles were made for giftpy-3.1.12.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.1.12-py3-none-any.whl.

File metadata

  • Download URL: giftpy-3.1.12-py3-none-any.whl
  • Upload date:
  • Size: 117.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.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3783e6987fabea04feab1b444069b48890760a4a4ed54bd6cc68121d6ec180c3
MD5 ada7c280c7cdbf4fe6eee6526e48ef42
BLAKE2b-256 17d31642d2531ebee81493f18454e89abba9e5c2dc184f5c2e452b7ac5738fd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for giftpy-3.1.12-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