Skip to main content

giftpy

Python companion of K₇-Lean: the structural constants of the K₇ framework and the arithmetic relations that the Lean 4 development certifies.

Installation

pip install giftpy

Usage

from gift_core import B2, B3, H_STAR, RELATIONS_V36, get_relation_v36

print(B2, B3, H_STAR)             # 21 77 99

for r in RELATIONS_V36:           # the 33 relations A01 ... A33 of the paper, v3.6
    print(r.id, r.symbol, r.stated, float(r))

print(get_relation_v36("A13"))    # A13 sin^2(theta_23) PMNS = 6/11

What the package states

  • gift_core.relations_v36 holds the 33 relations of the K₇ paper, version 3.6 (concept DOI 10.5281/zenodo.16891489). Each value is computed from the package's constants and checked against the Lean certificate GIFT.Certificate.RelationsV36 by scripts/test_relations_v36.py.
  • These are arithmetic identities. They do not establish a physical identification, the choice of a formula among the many with the same value, or the mutual consistency of the relations. The comparison with experiment is in the paper and its dataset.
  • No twisted-connected-sum realisation of (b₂, b₃) = (21, 77) is claimed. The names M1_B2, QUINTIC, TCSManifold and the like are kept from version 3.2 as arithmetic witnesses.
  • Names that predate version 3.6 (THETA_23, PROVEN_RELATIONS, the modules experimental, monte_carlo, pipeline, scales) are kept for compatibility and are not the paper's current statements.

License

MIT

Metadata

Release files for giftpy 3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for giftpy 3.6
File Size Uploaded Provenance Actions
giftpy-3.6.tar.gz 92.1 kB With provenance Details for giftpy-3.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for giftpy 3.6
File Interpreter ABI Platform Actions
giftpy-3.6-py3-none-any.whl Python 3 none any Details for giftpy-3.6-py3-none-any.whl

Total release size: 198.5 kB

Release files / giftpy-3.6.tar.gz

Download URL giftpy-3.6.tar.gz
Size 92.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33c3f8600e91d05cc48180b02917d484fba82974aa5ae03ca12e934ca31decfc
BLAKE2b-256 checksum
How to use checksums
d0572bc8ac72527545e08b9faa6b9637374a38a5f35038b4cf07602916e54eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / giftpy-3.6-py3-none-any.whl

Download URL giftpy-3.6-py3-none-any.whl
Size 106.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c48c31f5bf67bd2c8656cfb28100c12bb774e99b22ea041bee67aed53f17a21
BLAKE2b-256 checksum
How to use checksums
e1c8ae5ddc97c3b112eb090eb5ef35648c79f0e01bac5830c146744de9866736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for giftpy 3.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for giftpy-3.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.6 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page