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 , define . The resulting writer monad carries a value together with an accumulated element of .
Facts & Assumptions
Given: A monoid .
The element is a two-sided identity and multiplication in is associative (Semigroup and monoid).
A monad consists of a functor, a natural unit, and a natural associative multiplication satisfying the unit laws (Monad on a category).
Verification
Define , , and . These formulas have the required types.
Naturality follows because the formulas do not change the -coordinate except by multiplication. The two monad unit composites send to and , both equal to by [L1].
On an element , the two associativity composites produce and , equal by associativity in .
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
- E. Riehl, Category Theory in Context, 2nd ed., Example 5.1.5(iii) (standard reference, not scraped)