Skip to main content

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

Project description

GIFT Core

Formal Verification Python Tests Publish to PyPI PyPI Lean 4 Coq

Formally verified mathematical constants from the GIFT framework.

Install

pip install giftpy

Usage

from gift_core import *

print(SIN2_THETA_W)  # Fraction(3, 13)
print(B2, B3)        # 21 77
print(DET_G)         # Fraction(65, 32)

# All 13 proven relations
for r in PROVEN_RELATIONS:
    print(f"{r.symbol} = {r.value}")

What's inside

Constant Value Proven
sin^2(theta_W) 3/13 Lean + Coq
tau 3472/891 Lean + Coq
det(g) 65/32 Lean + Coq
kappa_T 1/61 Lean + Coq
delta_CP 197 Lean + Coq
m_tau/m_e 3477 Lean + Coq
m_s/m_d 20 Lean + Coq
Q_Koide 2/3 Lean + Coq
lambda_H_num 17 Lean + Coq
H* 99 Lean + Coq
p2 2 Lean + Coq
N_gen 3 Lean + Coq
dim(E8xE8) 496 Lean + Coq

13 relations total, all proven in both Lean 4 and Coq.

Verification

# Lean
cd Lean && lake build

# Coq
cd COQ && make

Links

MIT License | gift-framework

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-1.0.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

giftpy-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for giftpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 33dfc6cdfcff3e96b95974540e289e5c1d47fa73e50cf8dd730384a790b84427
MD5 06118cd21da50d2ac2e27223bfa824b0
BLAKE2b-256 70874b06ec9835f62a1ef0e3f46a9856850fe71c669856fa4ffc9d6be9214d67

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: giftpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1679aca9d84735840269655eb28dd9c59c023ec795213569ff6c1efb1d8e07e1
MD5 dafc6b06ade2acbb3b171cd37fb9341e
BLAKE2b-256 f68eb6af4a95cfee0800bc3d21f488d68b3ea4cc6376f2199f492f05669330ed

See more details on using hashes here.

Provenance

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