Apoth3osis
<_RESEARCH/PROJECTS

Dual-Differentiable: DiLL for SKY

VERIFIED0 SORRY5 MENTAT CERTSLean 4 + Mathlib
>_VERIFICATION.SEAL
FORMALLY VERIFIED • LEAN 4 • MACHINE-CHECKED • APOTH3OSIS¬QED0 SORRY

Formal Verification Certificate

All theorems formally verified in Lean 4 with zero sorry gaps.

0 SORRY

Dual-Differentiable • Lean 4 + Mathlib • Apoth3osis Labs

The Central Question

Can proof search be turned into gradient descent? Ehrhard and Regnier’s Differential Linear Logic shows that proofs can be differentiated. This project applies DiLL semantics to SKY combinators: terms become vectors (formal linear combinations), rewrite rules extend linearly with computable Jacobians, and a gradient descent loop searches for programs satisfying I/O specifications. The chain rule is proved exact, and codereliction is shown to be the derivative of the exponential — connecting proof differentiation to classical calculus.

Original Researchers

Thomas Ehrhard
Université Paris Cité
Co-creator of Differential Linear Logic. Pioneer of quantitative semantics of proofs.
Laurent Regnier
Université d’Aix-Marseille
Co-creator of the differential λ-calculus. Formal sums and resource-sensitive semantics.

Key Verified Results

chainRule

Exact chain rule for dual-number derivatives

Derivative.lean

codereliction_is_derivative

Codereliction = derivative of exponential

Codereliction.lean

nucleusLinear_idempotent

Linear extension preserves nucleus idempotence

NucleusDifferential.lean

stepEdgesList_sound

Enumerated edges are valid Step relations

SKYMultiway.lean

stepEdges_complete

All Step successors are enumerated

SKYMultiway.lean

>_MENTAT.JOIN

“Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them.”

Frank Herbert, Dune

A janitor who proves a theorem outranks a tenured professor who publishes noise.

Not as a slogan. As a structural fact of how the network operates. The only currency that matters is the quality of your contribution, measured not by committee but by mathematics.

ONTOLOGICAL ENGINEER8 designations
IDEA

A valid, original framing or conjecture

THEORY

Formal argument with paper-level rigor

APPLICATION

Connecting theory to observable outcomes

CODE

Working software the project depends on

EXPERIMENT

Reproducible research with methodology and data

PROOF

Machine-verified claim checked by a proof assistant

KERNEL

Foundational, load-bearing implementation

BRIDGE

Connecting subsystems or knowledge domains end-to-end

NOETIC ENGINEER8 designations
VISIONARY

Strategic direction & roadmaps

NARRATOR

Writing, documentation & papers

DESIGNER

Visual, UX & information design

EDUCATOR

Teaching, tutorials & workshops

CULTIVATOR

Community, outreach & events

DIPLOMAT

Partnerships, governance & policy

INTERPRETER

Translation, media & accessibility

SENTINEL

Ethics, review & quality assurance

Every accepted contribution receives a MENTAT Contribution Record — cryptographically signed, IPFS-pinned, permanently yours. No committee decides your worth. The type checker does.

APPLY TO MENTATEXPLORE PROJECTSMESH-ENCRYPTED NETWORK FOR TRUSTED AUTONOMOUS TRANSACTIONS
>_MENTAT.CERTIFICATES

Contribution Certificates

Immutable contribution records per MENTAT-CA-001. Each certificate is cryptographically anchored with IPFS CIDs.

MENTAT-CA-002|MCR-DD-001
2003-01-01

MENTAT Contribution Record

IDEA

Conceptual Contribution

CONTRIBUTION LEVEL: IDEA

Ontological Engineer

Differential Linear Logic: Differentiation of Proofs

Contributor

Thomas Ehrhard

Université Paris Cité

Core insight that proofs can be differentiated. In linear logic, the exponential modality (!) creates an analogue of the Taylor expansion, and the codereliction rule extracts the linear approximation — the derivative — of a proof. This connects proof theory to analysis via a denotational semantics in vector spaces.

MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-002|MCR-DD-002
2003-01-01

MENTAT Contribution Record

THEORY

Mathematical Foundation

CONTRIBUTION LEVEL: THEORY

Ontological Engineer

DiLL Semantics and Differential λ-Calculus

Contributor

Laurent Regnier

Université d’Aix-Marseille

Complete framework: differential λ-calculus with sums (formal linear combinations), differential application, and the chain rule. Resource-sensitive semantics where differentiation tracks how a proof uses its resources linearly vs. non-linearly. Foundation for quantitative semantics of proofs.

Builds Upon

MCR-DD-001
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-002|MCR-DD-003
2026-01-16

MENTAT Contribution Record

PROOF

Formally Verified

CONTRIBUTION LEVEL: PROOF

Ontological Engineer

Lean 4 Formalization — DiLL for SKY Combinators

Contributor

Apoth3osis Labs

R&D Division

Machine-checked Lean 4 formalization applying DiLL semantics to SKY combinators. Key results: chainRule (exact chain rule for dual-number derivatives), app_single_single (basis application), codereliction_is_derivative (codereliction = derivative of exponential), nucleusLinear_idempotent (linear extension preserves nucleus idempotence), stepEdges soundness and completeness. Executable gradient descent synthesis loop.

Builds Upon

MCR-DD-001MCR-DD-002
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-002|MCR-DD-004
2026-01-19

MENTAT Contribution Record

KERNEL

Computationally Verified

CONTRIBUTION LEVEL: KERNEL

Ontological Engineer

Dual-Differentiable Verified Kernel

Contributor

Apoth3osis Labs

R&D Division

All theorems kernel-checked by Lean 4. Guard-no-sorry passes. Standard axioms only.

Builds Upon

MCR-DD-003
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof
MENTAT-CA-002|MCR-DD-005
2026-01-19

MENTAT Contribution Record

BRIDGE

Cross-Level Connection

CONTRIBUTION LEVEL: BRIDGE

Ontological Engineer

Standalone Repository + Proof Maps

Contributor

Apoth3osis Labs

R&D Division

Published as standalone GitHub repository with interactive 2D/3D proof maps, executable gradient descent synthesis loop, and integration with the HeytingLean DifferentiableATP engine.

Builds Upon

MCR-DD-003MCR-DD-004
MENTAT · Mesh-Encrypted Network for Trusted Autonomous TransactionsImmutable · Content-Addressed · Tamper-Proof

Governed by MENTAT-CA-001 v1.0 · March 2026