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.

A monoid defines the writer monad by adjoining an accumulated output

Example

For a monoid (M,e,), define T(X)=X×M. The resulting writer monad carries a value together with an accumulated element of M.

Facts & Assumptions

Given: A monoid (M,e,).

[L1]

The element e is a two-sided identity and multiplication in M is associative (Semigroup and monoid).

[L2]

A monad consists of a functor, a natural unit, and a natural associative multiplication satisfying the unit laws (Monad on a category).

Verification

technique · direct
1.1

Define T(f)=f×1M, ηX(x)=(x,e), and μX((x,m),n)=(x,mn). These formulas have the required types.

L1L2
2.1

Naturality follows because the formulas do not change the M-coordinate except by multiplication. The two monad unit composites send (x,m) to (x,em) and (x,me), both equal to (x,m) by [L1].

L1L2step 1.1
3.1

On an element (((x,m),n),p), the two associativity composites produce (x,(mn)p) and (x,m(np)), equal by associativity in M.

L1L2step 1.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: 12 results over 8 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