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 . The product–exponential adjunction induces the state monad
An element of takes an initial state and returns a value together with a new state.
Facts & Assumptions
Given: A fixed set .
The functor is left adjoint to on (Currying gives the adjunction in ).
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
Applying [L2] to [L1] gives .
The unit is . For , write with and define : the outer computation selects the inner computation and intermediate state, then the inner computation runs at that state.
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 , every relevant function has empty domain and the same equations hold vacuously.
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
- E. Riehl, Category Theory in Context, 2nd ed., Example 5.2.11(iii) (standard reference, not scraped)