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 Kleisli category of the maybe monad is the category of sets and partial functions
Example
Let . With insertion as unit and multiplication that collapses either occurrence of , this is the maybe monad. Its Kleisli arrows are precisely partial functions.
Facts & Assumptions
Given: The assignment on sets.
A monad has natural unit and multiplication satisfying two unit laws and associativity (Monad on a category).
A Kleisli arrow is an ordinary arrow , and its composition uses the monad multiplication (Kleisli category of a monad).
Verification
Define to act by on and fix , let be the inclusion of , and let fix elements of and send both the inner and outer undefined values to . Direct inspection of the defined and undefined cases proves the unit and associativity laws in [L1].
A function determines the partial function with domain and value there. Conversely, a partial function on extends uniquely by assigning outside .
These constructions are inverse. Expanding Kleisli composition shows that is defined exactly where is defined and is defined at , with value ; this is the usual maximal-domain composition of partial functions.
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: 8 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., Examples 5.1.4(i) and 5.2.11(i) (standard reference, not scraped)