Alphabeta Math
ExampleConstruction: Literature-sourcedVerification: Literature-sourcedSession-authored (Fable 5 assisted)precheck passjudge pass (deepseek-v4-pro + claude-sonnet-5)audited 2026-08-17
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The state monad threads a fixed state set through a computation

Example

Fix a set S. The product–exponential adjunction induces the state monad

T(X)=(X×S)S.

An element of T(X) takes an initial state and returns a value together with a new state.

Facts & Assumptions

Given: A fixed set S.

[L1]

The functor ×S is left adjoint to ()S on Set (Currying gives the adjunction ×A()A in Set).

[L2]

Every adjunction induces a monad on the domain of its left adjoint (Every adjunction induces a monad on the domain of its left adjoint).

Verification

technique · direct
1.1

Applying [L2] to [L1] gives T(X)=(X×S)S.

L1L2
2.1

The unit is ηX(x)(s)=(x,s). For kT(TX), write k(s)=(c,s) with c:SX×S and define μX(k)(s)=c(s): the outer computation selects the inner computation and intermediate state, then the inner computation runs at that state.

L1L2step 1.1
3.1

Evaluating at any initial state, either unit inserts a computation that returns its input without changing state, and either associativity bracketing runs the same outer, selected middle, and selected inner computations in order. If S=, every relevant function has empty domain and the same equations hold vacuously.

L2step 2.1

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 27 results over 16 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources