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.
Monadicity and Beck's Theorem — Examples
1 · Prerequisites
- Adjunctions Units and Counits
- Binary Operations, Monoids, Groups and Subgroups
- Categories, Functors and Natural Transformations
- Compactness
- Compactness in Metric Spaces
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Free Groups and Presentations
- Group Homomorphisms and the Isomorphism Theorems
- Limits and Colimits
- Metric Spaces
- Monadicity and Beck's Theorem
- Monads Comonads and Their Algebras
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Ordinals, Cardinals, and Transfinite Recursion
- Relations, Functions, and Quotients
- Sequences and Limits
- Subspaces, Products, and Quotients
- Suprema and Infima
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Universal Properties, Representables and the Yoneda Lemma
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A split coequalizer on a two-element set
Example
Let and . Define , let be constant at , let be the unique map, and put . Then
with and is a split coequalizer in .
Facts & Assumptions
Given: The displayed finite sets and functions.
A split coequalizer satisfies , , , and (Split coequalizer diagrams).
Every split coequalizer is a coequalizer and an absolute colimit (Every split coequalizer is a coequalizer and an absolute colimit).
Verification
The maps are , , , , , and .
Both and are the unique map to ; ; is the identity on and ; and both and are constant at . Thus all four equations in [L1] hold on both elements.
By [L2], the displayed fork is a coequalizer.
Directly, if satisfies , then for both , so is constant and factors uniquely through . This independently checks the universal property.
The canonical free-algebra presentation of a two-element idempotent monoid
Example
Let be the monoid with as identity and . For the free-monoid monad, its canonical presentation is
where evaluates a word in , evaluates each inner word, and concatenates the inner words.
Facts & Assumptions
Given: The two-element monoid and the three displayed word maps.
Every -algebra is the coequalizer of its canonical pair of free algebras (Every algebra is the coequalizer of its canonical pair of free algebras).
The free-monoid monad inserts letters as one-letter words and flattens words of words by concatenation (The free-monoid monad has monoids as its Eilenberg–Moore algebras).
Verification
The multiplication table is , , and , so is a monoid and evaluates every finite word to its product.
On a word of words , the map gives , while gives the concatenated word , as in [L1] and [L2].
Evaluating either result multiplies the same letters in the same order, so for every finite word of words, including the empty one and words containing empty inner words.
The theorem [L1] now gives the coequalizer universal property. On underlying sets the sections are the one-letter-word maps and , and the monad unit and naturality equations verify the split presentation.
The comparison functor for the free-group adjunction
Example
For the free-group adjunction, the comparison sends a group to the algebra whose carrier is and whose structure map evaluates a reduced word in elements of to its product. It sends each group homomorphism to its underlying function.
For , the word evaluates to , while every adjacent inverse pair and every occurrence of the identity may be removed before evaluation.
Facts & Assumptions
Given: The free-group adjunction and a group .
The Eilenberg–Moore category of the free-group monad is isomorphic over to the category of groups (The free-group monad has groups as its Eilenberg–Moore algebras).
The comparison sends to and sends a morphism to its image under (The comparison functor to the Eilenberg–Moore category exists and is unique).
The quotient group is with addition of congruence classes (For every , the congruence-class group is the quotient group ).
Choosing a free group on every set makes left adjoint to the underlying-set functor , the adjunction bijection sending to (The free-group functor is left adjoint to the underlying-set functor).
An algebra homomorphism is a map commuting with the two algebra structure maps (Algebra and algebra homomorphism for a monad).
Verification
By [L2], the structure map is the underlying counit of the free-group adjunction. Under [L4] the counit corresponds to the identity of , so is the unique group homomorphism carrying each basis element to ; a homomorphism out of a free group is determined by its values on the basis, so it evaluates a reduced word in to its product in .
By [L5] the algebra-homomorphism equation says that a function commutes with evaluation of every word. Evaluating the words , the empty word and makes such a function preserve product, identity and inverse, and conversely a group homomorphism preserves the value of every word; so the comparison morphisms are exactly group homomorphisms, in agreement with [L1] and with in [L2].
Evaluating a one-letter word returns its letter, and evaluating after substitution of words agrees with evaluating the flattened word by associativity of group multiplication. These are the algebra unit and multiplication laws.
In the group [L3], one has and , so the displayed three-letter word evaluates to .
The Kleisli adjunction for the maybe monad is monadic but not strictly monadic
Example
For the maybe monad on , the comparison from its Kleisli category to its Eilenberg–Moore category is an equivalence but not an isomorphism under the fixed concrete coproduct encoding. Hence the Kleisli right adjoint is monadic but not strictly monadic.
Facts & Assumptions
Given: The maybe monad with unit the inclusion and multiplication collapsing either occurrence of .
A Kleisli arrow is an ordinary map (Kleisli category of a monad).
An equivalence consists of quasi-inverse functors and natural isomorphisms between their composites and the identity functors (Equivalence, quasi-inverse, and adjoint equivalence of categories).
An isomorphism of categories is bijective on objects and morphisms (A functor is an isomorphism of categories exactly when its object and morphism maps are bijective).
A right adjoint with induced monad is monadic when its comparison functor is an equivalence of categories, and strictly monadic when is an isomorphism of categories (Monadic and strictly monadic functors).
The comparison functor is the unique with , and , namely and (The comparison functor to the Eilenberg–Moore category exists and is unique).
For a monad on there is an adjunction whose induced monad is on the nose (The Kleisli adjunction induces the given monad).
For a monad on the canonical comparison sends to the free algebra and is fully faithful, and its strict image is exactly the full subcategory of free -algebras (The comparison from the Kleisli category is fully faithful with image the free algebras).
Verification
A map is a partial function from to , with marking undefined values, so [L1] identifies the Kleisli category with sets and partial functions.
A maybe-monad algebra chooses a point as the value of and fixes every by the unit law; the multiplication law adds no further data. Algebra homomorphisms are precisely basepoint-preserving maps, so the Eilenberg–Moore category is the category of pointed sets.
By [L6] the Kleisli adjunction induces the maybe monad on the nose, so [L5] applies to it and its comparison is the canonical one of [L7]. That comparison sends a Kleisli object to the free algebra , which step 1.2 identifies with the free pointed set based at , and sends a Kleisli arrow to its underlying function. A quasi-inverse sends a pointed set to ; adjoining and deleting the basepoint give the natural isomorphisms required by [L2], including the empty Kleisli object and the one-point algebra.
Thus the comparison is an equivalence, and by [L6] the Kleisli right adjoint induces the maybe monad, so it is monadic by [L4].
By [L7] the strict image of the comparison is the full subcategory of free algebras. Under the fixed tagged-coproduct encoding, the pointed singleton is isomorphic to but not literally equal to the free pointed set on the empty set, whose point is the distinguished tag , so it is not in that image. The comparison is therefore not surjective on objects and is not an isomorphism by [L3], so strict monadicity fails by [L4].
A reflexive coequalizer of sets not preserved by
Statement refuted
The covariant representable functor need not preserve reflexive coequalizers. There is a reflexive coequalizer of sets whose image under this functor is not a coequalizer.
Facts & Assumptions
Given: The successor map on and the coproduct with injections .
A reflexive pair has a common section satisfying (Reflexive parallel pairs and reflexive coequalizers).
A coequalizer universally identifies the two maps of a parallel pair (Equalizers and coequalizers as limits and colimits of a parallel pair).
The functions form the set (The set of all functions ).
Counterexample
Define and . The second injection is a common section because , so the pair is reflexive by [L1].
The unique map is the coequalizer: the relation connects every natural to , and any map coequalizing is therefore constant and factors uniquely through .
Applying gives a pair . For a function , the two resulting sequences and differ at each coordinate by either or .
Every finite zigzag generated by pairs from step 2.2 has a uniform coordinatewise difference bound, namely its number of zigzag edges, by repeated use of the triangle inequality on natural-number differences.
The zero sequence and identity sequence have unbounded coordinatewise difference, so step 3.1 shows that no finite zigzag identifies them.
Both sequences map under to the unique element of , yet they remain distinct in the coequalizer of the image pair. Therefore is not the coequalizer required by [L2], and does not preserve this reflexive coequalizer.
The ultrafilter algebra on a finite discrete space
Example
Let be a finite set with the discrete topology. Every ultrafilter on is principal at a unique point, so the principal-unit map is a bijection. Its inverse is the ultrafilter algebra structure and the unique-limit map of the finite discrete space.
For , the only ultrafilters are and , and returns the corresponding point.
Facts & Assumptions
Given: A finite set with the discrete topology.
An ultrafilter contains exactly one of and for every (Characterisation of ultrafilters: every set or its complement).
The principal unit is (The ultrafilter endofunctor with principal unit and flattening multiplication).
The discrete topology is (The discrete, indiscrete, cofinite, cocountable, particular-point and Sierpinski topologies).
The ultrafilter endofunctor with principal unit and multiplication is a monad, so (The ultrafilter endofunctor with principal unit and flattening multiplication is a monad).
Verification
If an ultrafilter on a nonempty finite set contained no singleton, [L1] would put the complement of every singleton into it; their finite intersection is empty, impossible for a filter. Thus it contains some singleton and is principal.
It cannot contain two distinct singletons because their intersection is empty, so the principal point is unique.
By [L2], is therefore a bijection and . In the discrete topology [L3], an ultrafilter converges precisely to the point whose singleton it contains, so is the unique-limit map.
The equation is immediate. Since is bijective by step 3.1, is bijective with inverse . The monad unit law in [L4] says , so uniqueness of the inverse gives . Composing with yields , and is an algebra.
If , no ultrafilter exists, so and the unique empty map is an algebra. For , steps 1.1 and 2.1 give exactly and step 3.1 gives their displayed values.
as the free ultrafilter algebra
Example
The free algebra on for the ultrafilter monad has carrier and structure map
For and ,
Facts & Assumptions
Given: The ultrafilter monad on .
The free -algebra on an object is (Free algebra for a monad).
Ultrafilter multiplication is the displayed flattening membership formula (The ultrafilter endofunctor with principal unit and flattening multiplication).
The ultrafilter endofunctor with principal unit and flattening multiplication is a monad (The ultrafilter endofunctor with principal unit and flattening multiplication is a monad).
The ultrafilter extension principle says that every filter on a set is contained in an ultrafilter on that set (The ultrafilter extension principle (UL/BPI)).
Verification
Applying [L1] and [L3] at gives the free algebra . Its unit includes every natural, including and , as the corresponding principal ultrafilter.
Specializing the multiplication formula [L2] to gives the displayed membership equivalence.
The algebra unit equation and associativity equation are exactly the monad unit and associativity laws in [L3].
Assuming UL/BPI, apply [L4] to extend the cofinite filter on to an ultrafilter. It is free: if it were principal at , it would contain both and the cofinite set . Thus contains both the principal ultrafilters from step 1.1 and free ultrafilters, but no free ultrafilter is claimed without UL/BPI.
Sources
- E. Riehl, Category Theory in Context, 2nd ed., Example 5.1.4(iv) and Section 5.3
- E. Riehl, Category Theory in Context, 2nd ed., Examples 5.1.4(i), 5.2.11(i), and 5.3.2
- J. Adámek, V. Koubek, and J. Velebil, A duality between infinitary varieties and algebraic theories, Definition 4.2 and Example 4.3
- J. Goubault-Larrecq, Algebras of filter-related monads: I. Ultrafilters and Manes' theorem