Skip to main content

mttv-core

Fondations open-source du MTTV-FLP (Modèle Théorique Transductif du Vivant) en Python — bibliothèque minimale, explicite, au pied de la lettre.

sig:0x4D5454562D464C50 · Ψ-ack: carbon_sp3_tetra · Licence : CC-BY-NC-SA 4.0


Concepts

Le MTTV propose une lecture tétravalente du réel, ancrée dans la physico-chimie du carbone sp³ et articulée autour de la triade transductive Ψ → B → Φ (Champ pré-formel → Opérateur de différence → Forme stabilisée).

Brique Module Rôle
États diachroniques tétravalents (++, --, +-, -+) — géométrie sp³ matrices.py Classe EtatTetravalent + base tétraédrique
Opérateur de bascule Σ (singularité apériodique) — routage polyfocal operators.py operateur_sigma, routeur_polyfocal, HorlogeSigmaAperiodique
Structure poreuse B-gate — absorption du bruit textuel bgate.py Classe BGate

Les 4 pôles T⁴

Pôle Régime Sens
++ Affirmation — émergence forte Ψ → Φ
-- Négation — feedback fort Φ → Ψ
+- Simultanéité — émergence faible Ψ → ~Φ
-+ Indétermination — feedback faible ~Φ → Ψ

L'opérateur Σ (SPEC-048)

Singularité liminale à support temporel compact (instant critique τ) :

Σ_τ(|Ψ(t)⟩) = p(τ)   avec support compact en τ
Σ_t ≡ 0              ∀ t ≠ τ   (retrait fonctionnel)

Apériodique : l'instant τ émerge de l'accumulation de frottement (tâtonnements / clinamen), jamais d'une horloge périodique.


Installation

Aucune dépendance externe — stdlib uniquement (Python ≥ 3.9).

Paquet installable (recommandé) — pyproject.toml (PEP 621) :

git clone https://github.com/gaillard111/mttv-flp-core
cd mttv-flp-core
python -m pip install -e .      # développement (modifiable à chaud)
# ou : python -m pip install .  # installation figée
python -c "import mttv_core; print(mttv_core.__version__)"

Sans installation — ajouter la racine du dépôt au sys.path ou lancer les scripts depuis celle-ci (les tests gèrent ce cas automatiquement).


Exemple d'utilisation

from mttv_core import BGate, EtatTetravalent, operateur_sigma, routeur_polyfocal

# 1. B-gate : absorbe le bruit d'un extrait textuel, émet un Φ T⁴.
porte = BGate(seed=7)
res = porte.absorber(
    "Le vivant affirme sa force. Oui, l'eau émerge, le carbone circule. "
    "La résonance se propage, l'onde oscille."
)
phi = res["etat_tetravalent"]
print("T⁴ émis :", phi)
print("porosité :", round(res["porosite"], 3))

# 2. Bascule Σ : singularité apériodique au point de bascule.
psi = phi
evt = operateur_sigma(psi, tau=10.0, frottement=1.5, t_courant=10.0)
print("bascule :", evt.declenche, "p(τ) =", evt.impulsion)

# 3. Routage polyfocal avec quorum MPVR (Θ ≥ 3).
foyers = [
    EtatTetravalent.purement("++"),
    EtatTetravalent.purement("--"),
    EtatTetravalent.purement("+-"),
]
route = routeur_polyfocal(
    phi, foyers, [1.0, 1.0, 1.0],
    frottement=1.5, t_courant=10.0, tau=10.0,
)
print("foyer élu :", route["foyer_elu"], "— Φ stabilisé :", route["phi_stabilise"])

Tests

python tests/test_mttv_core.py                # 18 vérifications (briques)
python tests/test_mpvr_bridge.py              # 10 vérifications (pont MPVR)
python tests/test_integration_mpvr_cross.py   # 5 vérifications (MPVR réel)
python docs/verifier_invariants.py            # 20 invariants reproductibles

Vérifie la cohérence du couplage : géométrie sp³ (109,47°), invariance T⁴ par transduction Ψ→B→Φ, retrait fonctionnel de Σ, apériodicité, absorption du bruit, quorum MPVR, et l'accord avec le MPVR-v2-T4 réel.

Calibration sur corpus réel

python -m mttv_core.calibration              # corpus MTTV/FLP par défaut
python -m mttv_core.calibration --sources fichier.md --percentile 75

Mesure la signature T⁴ empirique du corpus (distribution des 4 pôles), recommande la tolérance de porosité (percentile des innovations) et les facteurs de normalisation du lexique. Rapport écrit dans rapports/calibration_mttv_core.json.

Invariants (notebook reproductible)

docs/notebook_mttv_core_invariants.ipynb documente et exécute les 8 invariants structurels : sp³, clôture Σ=1, invariance T⁴, retrait Σ, apériodicité, absorption de bruit, quorum MPVR, pont MPVR. Équivalent autonome : python docs/verifier_invariants.py.


Références théoriques

  • README_PHILOSOPHY.md §2 — logique tétravalente T⁴, invariance.
  • mttv_flp_core_2026/README.md — table dimensionnelle T⁴, triade Ψ→B→Φ.
  • PREPRINT_SPEC_048.md — opérateur Σ_τ, retrait fonctionnel, clinamen.
  • mttv_flp_core_2026/5 Benchmark ultime MTTV-FLP — MPVR_SCS_section.md — invariants de routage polyfocal (MPVR Θ ≥ 3, SCS σ).

« La pensée ne naît pas dans la tête. Elle passe à travers. » sig:0x4D5454562D464C50 — Transmission terminée. Le mycélium attend.

Metadata

Release files for mttv-core 0.1.0

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

Source distribution (sdist)

Source distribution for mttv-core 0.1.0
File Size Uploaded Provenance Actions
mttv_core-0.1.0.tar.gz 33.1 kB Without provenance Details for mttv_core-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mttv-core 0.1.0
File Interpreter ABI Platform Actions
mttv_core-0.1.0-py3-none-any.whl Python 3 none any Details for mttv_core-0.1.0-py3-none-any.whl

Total release size: 61.2 kB

Release files / mttv_core-0.1.0.tar.gz

Download URL mttv_core-0.1.0.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
305c9b55a8cc772b9cb67c3cfbed4ebaa8d51c60139dab3de6743c84940a26a5
BLAKE2b-256 checksum
How to use checksums
48d14a795b4832f60f168bb18b8c2ff5b1f6b867f80a34b43d3b5bbf5b883b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / mttv_core-0.1.0-py3-none-any.whl

Download URL mttv_core-0.1.0-py3-none-any.whl
Size 28.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3eb96dced559b06b973fd80bce6dc499b8817d77bd31ad8e9e0b328b1a975e4d
BLAKE2b-256 checksum
How to use checksums
be8892375df3b5208465b5aba1aebc24b9edc7d7e66f5605bbeb30b3160a4724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for mttv-core 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.1.0 This release

2 release files No 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