Alphabeta Math
Session-authored (Fable 5 assisted)
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.

9 results · all verified · 5 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 4 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Ends Coends and Weighted Limits — Examples

1 · Prerequisites

2 · Summary

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The end formula checked by hand against natural transformations on the walking arrow

Example

Let J be the walking arrow, with objects 0 and 1 and one non-identity morphism u:01, and let F,G:JSet be

F(0)={p,q},F(1)={r},F(u)(p)=F(u)(q)=r; G(0)={a,b},G(1)={c,d},G(u)(a)=G(u)(b)=c.

The end jSet(Fj,Gj) is computed here twice, once from the equalizer description and once by listing the natural transformations FG, and the two answers are matched element for element.

Facts & Assumptions

Given: The walking arrow J and the two functors F,G displayed above.

[F3]

Sets as objects and functions as morphisms form a large locally small category Set (Sets and functions form the large locally small category Set).

[F1]

An end of T is a terminal object of the category of wedges over T and a coend an initial object of the category of cowedges under T; in short, an end is a terminal wedge and a coend an initial cowedge (The end and the coend of a functor Cop×CD).

[F2]

A natural transformation α:FG is a family αA:FAGA such that every f:AB satisfies the naturality equation GfαA=αBFf (Natural transformation and its components).

[L2]

For a small index category and a target where the two displayed products exist, an end is the equalizer of two products, the first indexed by the objects and the second by the morphisms, the two parallel maps being built from T(1c,f) and T(f,1c) (An end is the equalizer of two products, and a coend the coequalizer of two coproducts).

[L1]

For a small source category and a locally small target, the set of natural transformations is an end of the hom-bifunctor of the values, the terminal wedge being evaluation (For a small source category, the set of natural transformations is an end of the hom-bifunctor of the values).

Verification

technique · direct
1.1

The integrand is H(j1,j2)=Set(F(j1),G(j2)), with values H(0,0) of size four, H(1,1) of size two, H(0,1) of size four and H(1,0) of size two. The object-indexed product is Set(F(0),G(0))×Set(F(1),G(1)), with eight elements; the morphism-indexed product has one factor for each of 10, 11 and u, namely Set(F(0),G(0)), Set(F(1),G(1)) and Set(F(0),G(1)).

F3given
2.1

By [L2] the two parallel maps send a pair (ϕ0,ϕ1) to the families whose f-component is G(f)ϕdomf and ϕcodfF(f) respectively. At 10 and at 11 both components are ϕ0 and ϕ1, so those factors impose nothing; at u the condition is G(u)ϕ0=ϕ1F(u). Since G(u) sends both a and b to c, the left side is the constant function at c, and the right side is the constant function at ϕ1(r); so the condition holds exactly when ϕ1(r)=c. The equalizer is therefore the subset of the eight-element product on which ϕ1(r)=c, which leaves ϕ0 free: its elements are the four pairs with ϕ0 one of p,qa,a; a,b; b,a; b,b and ϕ1(r)=c.

F1L2step 1.1
3.1

Listing the natural transformations independently gives the same four. By [F2] a natural transformation α:FG is a pair α0:{p,q}{a,b} and α1:{r}{c,d} with G(u)α0=α1F(u), which as in step 2.1 says exactly α1(r)=c; there are four choices of α0 and each extends in exactly one way.

F2step 1.1
4.1

The two lists agree pair for pair, and by [L1] they must: the end of H is Nat(F,G) with the evaluation wedge, and by [L2] it is the equalizer computed in step 2.1. So the end has four elements on this diagram, and the identification is the identity on the four pairs.

L1step 2.1step 3.1

Remarks

The identity morphisms of J contribute factors to the morphism-indexed product and impose nothing, which is visible here rather than argued in general: their equalising condition is ϕj=ϕj.

Had G(u) been injective rather than constant, the condition of step 2.1 would have forced ϕ0 to be constant as well, and the end would have had fewer elements. Nothing in the equalizer description privileges one of the two parallel maps, and both were written out.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Evaluation of functions is dinatural in its argument set

Example

Fix a set Y and let S:Setop×SetSet be

S(B1,B2):=YB1×B2,

contravariant in B1 by precomposition and covariant in B2 (The set BA of all functions AB, The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}, Sets and functions form the large locally small category Set). The evaluation family

evB:YB×BY,evB(g,b)=g(b),

is a dinatural transformation from S to the constant functor at Y (Dinatural transformation between functors on Cop×C), that is, a cowedge under S with vertex Y (Wedges and cowedges, and the categories they form).

Facts & Assumptions

Given: A set Y, the functor S displayed above, and the family of evaluation functions.

[F3]

The functions AB form the set BA, and Thus fBA holds if and only if f:AB. (The set BA of all functions AB).

[F5]

The elements of A×B are exactly the ordered pairs: Thus zA×B holds if and only if z=(a,b) for some aA and some bB. (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[F4]

Sets as objects and functions as morphisms form a large locally small category Set (Sets and functions form the large locally small category Set).

[L1]

For every set A the product functor ×A is left adjoint to ()A, with Set(X×A,Y)Set(X,YA) naturally in X and Y; the bijection sends k to kˇ(x,a)=k(x)(a) (Currying gives the adjunction ×A()A in Set).

[F1]

A dinatural transformation α:PQ is a family αc:P(c,c)Q(c,c) such that every f:cc satisfies Q(1c,f)αcP(f,1c)=Q(f,1c)αcP(1c,f), the equation displayed by the hexagon (Dinatural transformation between functors on Cop×C).

[F2]

A cowedge from T to d is a dinatural transformation from T to a constant functor: a family ρc:T(c,c)d with ρcT(f,1c)=ρcT(1c,f) for every f:cc (Wedges and cowedges, and the categories they form).

Verification

technique · direct
1.1

The assignment S is a functor: for f:BB the contravariant slot acts by ggf from YB to YB and the covariant slot by f itself, and both actions preserve identities and composites because composition of functions does. The family evB is the transpose kˇ of the identity of YB under the bijection of [L1] with A=B and X=YB, so it is the counit of that adjunction at Y.

F3F4F5L1
2.1

Fix f:BB and chase an arbitrary element (g,b) of S(B,B)=YB×B through both legs of the hexagon. Since the target is the constant functor at Y, both outer actions on the target side are identities, and the two legs are evBS(f,1B) and evBS(1B,f). The first sends (g,b) to evB(gf,b)=g(f(b)) and the second sends it to evB(g,f(b))=g(f(b)). The two values agree for every (g,b), so the two legs are equal.

F1F5step 1.1
3.1

Since the target is the constant functor at Y, the equation verified in step 2.1 is exactly the cowedge equation of [F2], so the evaluation family is a cowedge under S with vertex Y, and in particular a dinatural transformation.

F2step 2.1

Remarks

The displayed evaluation family supplies only diagonal components. There is no canonical evaluation map YB1×B2Y for unrelated B1,B2, and no natural family of such maps extending evaluation in general; special cases such as singleton Y may admit constant maps. What the family always has is one component per object on the diagonal, tied together by the equation checked above, which is precisely the shape dinaturality was defined to capture.

The chase uses nothing about Y. If Y is empty then YB is empty unless B is, and the two legs are then functions with empty domain, which are equal for that reason; the computation above covers that case without a separate argument, since it verifies the two legs agree at every element of the domain.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

The twisted arrow category of the walking arrow is a cospan

Example

Let C be the walking arrow, with objects 0 and 1 and one non-identity morphism u:01. Then Tw(C) (The twisted arrow category and its projection to Cop×C) has the three objects 10, 11 and u, and exactly two non-identity morphisms, one 10u and one 11u; so it is a cospan.

Consequently, for any functor T:Cop×CD, the end of T is the pullback (Pullbacks and pushouts as limits and colimits of cospans and spans) of

T(0,0)  T(10,u)  T(0,1)  T(u,11)  T(1,1),

whenever that pullback exists.

Facts & Assumptions

Given: The walking arrow C and an arbitrary functor T on Cop×C.

[F1]

The objects of Tw(C) are the morphisms of C, and for f:cc and g:dd a morphism fg is a pair (a,b) with bfa=g, where a:dc and b:cd; the projection sends f:cc to (c,c) and (a,b) to (a,b) (The twisted arrow category and its projection to Cop×C).

[F2]

For a cospan XfZgY, a pullback is its limit, consisting of an object with two projections whose composites with f and g agree and through which every compatible pair factors by a unique u:WX×ZY with pu=a and qu=b. (Pullbacks and pushouts as limits and colimits of cospans and spans).

[L1]

The wedges over T are exactly the cones over Tπ, so an end is the limit over the twisted arrow category (An end is a limit over the twisted arrow category, and a coend is a colimit over its opposite).

Verification

technique · direct
1.1

The objects of Tw(C) are the three morphisms 10, 11 and u of C, by [F1].

F1given
2.1

The morphisms are enumerated by testing, for each ordered pair of objects, whether the required factorisation exists. A morphism 10u needs a:00 and b:01 with b10a=u, and the pair (10,u) works and is the only one available. A morphism 11u needs a:01 and b:11 with b11a=u, and the pair (u,11) works and is the only one available. A morphism out of u to either identity needs a component in C(1,0), which is empty, so there is none; a morphism 1011 needs a component in C(1,0) as well, and a morphism 1110 needs b:10. So apart from identities there are exactly the two morphisms named, both into u, and Tw(C) is a cospan.

F1step 1.1
3.1

The composite Tπ takes the value T(0,0) at 10, the value T(1,1) at 11 and the value T(0,1) at u, and it sends the morphism (10,u) to T(10,u) and the morphism (u,11) to T(u,11). By [L1] and [F3] the end of T is the limit of that diagram, which by [F2] is exactly the pullback of the displayed cospan.

F1F2F3L1step 2.1

Remarks

That no morphism runs out of u is the whole reason the shape is a cospan rather than something larger: a morphism out of u would need to move its codomain backwards, and the walking arrow has no morphism 10.

Read on the hom-bifunctor of the walking arrow, the pullback of step 3.1 is a pullback of one-element sets and has one element; that is consistent with the end of the hom-bifunctor being the set of natural endomorphisms of the identity functor, of which the walking arrow has only the identity.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26 rests on unproved material (inherited)Open item page →
Rests on 3 statements not proved in this library, by way of the results it cites. This item cites no such statement directly; it depends on results that do. The unproved premises it inherits are Cohen's first model: an infinite Dedekind-finite set of reals, Sierpiński 1947: the generalised continuum hypothesis implies the Axiom of Choice and The continuum hypothesis and its generalisation are independent of ZFC. Each is recorded with a citation to the literature and is not established here, because the track that would prove it has not yet been developed in this library. Everything else in this proof is proved here.

The tensor product of monoid sets as a coend

Example

Let M be a monoid (Semigroup and monoid) and let CM be the one-object category it determines (A monoid is a one-object category, and a group is a one-object category in which every morphism is invertible), whose only object is written and whose morphisms are the elements of M.

A presheaf P:CMopSet is a set X:=P() with a right action xm:=P(m)(x), and a covariant functor F:CMSet is a set Z:=F() with a left action mz:=F(m)(z). Then the functor tensor product (The tensor product of a presheaf and a covariant set-valued functor) is

PCMF  =  (X×Z)/ ⁣,

where is the least equivalence relation on the Cartesian product (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}) containing (xm,  z)(x,  mz) for all xX, zZ and mM.

Facts & Assumptions

Given: A monoid M, a right M-set X and a left M-set Z, presented as a presheaf and a covariant functor on the one-object category of M.

[F4]

A monoid is a set with an associative operation and a two-sided identity (Semigroup and monoid).

[L2]

Every monoid is a one-object category, and under this identification the monoid is a group exactly when every morphism is invertible (A monoid is a one-object category, and a group is a one-object category in which every morphism is invertible).

[F5]

The elements of A×B are exactly the ordered pairs: Thus zA×B holds if and only if z=(a,b) for some aA and some bB. (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[F1]

The tensor product of a presheaf P and a covariant set-valued functor F is the coend of the product of a presheaf and a covariant set-valued functor, the integrand being T(c1,c2)=P(c1)×F(c2) (The tensor product of a presheaf and a covariant set-valued functor).

[F3]

An end of T is a terminal object of the category of wedges over T and a coend an initial object of the category of cowedges under T; in short, an end is a terminal wedge and a coend an initial cowedge (The end and the coend of a functor Cop×CD).

[L1]

For small C and a set-valued integrand the coend is the disjoint union of the diagonal values modulo the dinaturality relation, generated by the pairs (c,T(f,1c)(x)) and (c,T(1c,f)(x)) for f:cc and xT(c,c) (A set-valued coend is the disjoint union of the diagonal values modulo the dinaturality relation).

Verification

technique · direct
1.1

The category CM has one object and its morphism collection is the set M, so it is small; by [F1] the integrand is T(,)=X×Z, and every value of T, on or off the diagonal, is that same set. The disjoint union over the objects therefore has one summand and is X×Z itself.

F1F4F5L2given
2.1

The generating pairs of [L1] are indexed by a morphism m of CM, that is by an element of M, and by an element of the off-diagonal value, that is by a pair (x,z)X×Z. The first leg T(m,1) acts by P(m) in the contravariant slot and by the identity in the covariant one, giving (xm,z); the second leg T(1,m) acts by the identity in the contravariant slot and by F(m) in the covariant one, giving (x,mz). So the generating pairs are exactly (xm,z) against (x,mz).

F5L1step 1.1
3.1

By [L1] and [F3] the coend is the quotient of the single summand X×Z by the least equivalence relation containing those pairs, which is the displayed description of PCMF. At m the identity of M the two legs agree, so the identity contributes only reflexive pairs.

F3L1step 2.1

Remarks

The relation is exactly the one used to define the tensor product of a right and a left module over a ring, with the additive structure removed: an element of M may be moved across the pair from the right-hand factor to the left-hand one. What the coend adds is that this relation is not imposed by hand but is forced by the cowedge equation, whose two legs are the two actions.

The one-object case is where the coproduct of the general description collapses to a single summand, which is why the answer is a quotient of X×Z rather than of a disjoint union. For a category with more objects the same computation gives one summand per object and identifications running along every morphism.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-26 rests on unproved material (inherited)Open item page →
Rests on 3 statements not proved in this library, by way of the results it cites. This item cites no such statement directly; it depends on results that do. The unproved premises it inherits are Cohen's first model: an infinite Dedekind-finite set of reals, Sierpiński 1947: the generalised continuum hypothesis implies the Axiom of Choice and The continuum hypothesis and its generalisation are independent of ZFC. Each is recorded with a citation to the literature and is not established here, because the track that would prove it has not yet been developed in this library. Everything else in this proof is proved here.

The coend of the hom-bifunctor

Example

Let C be a small category (Category, object, morphism, domain, codomain, identity, composition, and hom-collection, Small, locally small, and large categories) and let C(,) be its hom-bifunctor (The covariant and contravariant hom-assignments and the hom-bifunctor of a locally small category, The hom-assignment C(,):Cop×CSet is a bifunctor). Then

cC(c,c)=(cC(c,c))/ ⁣,

where is the least equivalence relation (Equivalence relation, equivalence class, and the quotient set A/) containing (c,  xf)(c,  fx) for every f:cc and every x:cc (The end and the coend of a functor Cop×CD).

Two evaluations: on the walking arrow the coend has two elements, and on the one-object category of a monoid M (A monoid is a one-object category, and a group is a one-object category in which every morphism is invertible) it is the quotient of M by the least equivalence relation containing xffx, which when M is a group is the set of conjugacy classes.

Facts & Assumptions

Given: A small category C and its hom-bifunctor as the integrand.

[F5]

A category is small when both Ob(C) and Mor(C) are sets. (Small, locally small, and large categories).

[F4]

Composition in a category is associative and unital: h(gf)=(hg)f,1Bf=f=f1A (Category, object, morphism, domain, codomain, identity, composition, and hom-collection).

[F2]

The hom-assignment sends (a,b) to C(a,b), and a morphism of the product category consisting of h:aa and u:bb acts by C(h,u):C(a,b)C(a,b),fufh (The covariant and contravariant hom-assignments and the hom-bifunctor of a locally small category).

[L2]

For every locally small category C, the hom-assignment C(,):Cop×CSet is a functor (The hom-assignment C(,):Cop×CSet is a bifunctor).

[F3]

A binary relation on a set is an equivalence relation when it is reflexive, symmetric and transitive; the quotient set is the set of its classes (Equivalence relation, equivalence class, and the quotient set A/).

[F1]

An end of T is a terminal object of the category of wedges over T and a coend an initial object of the category of cowedges under T; in short, an end is a terminal wedge and a coend an initial cowedge (The end and the coend of a functor Cop×CD).

[L3]

Every monoid is a one-object category, and under this identification the monoid is a group exactly when every morphism is invertible (A monoid is a one-object category, and a group is a one-object category in which every morphism is invertible).

[L1]

For small C and a set-valued integrand the coend is the disjoint union of the diagonal values modulo the dinaturality relation, generated by the pairs (c,T(f,1c)(x)) and (c,T(1c,f)(x)) for f:cc and xT(c,c) (A set-valued coend is the disjoint union of the diagonal values modulo the dinaturality relation).

Verification

technique · direct
1.1

Take T=C(,), a functor into Set by [L2], with T(c,c)=C(c,c) and off-diagonal value T(c,c)=C(c,c). By [F2] the two legs act on xC(c,c) as T(f,1c)(x)=1cxf=xf and T(1c,f)(x)=fx1c=fx, using [F4]. So the generating pairs of [L1] are exactly the displayed ones, and the description of the coend follows from [L1] and [F3].

F2F3F4F5L1L2given
2.1

On the walking arrow, with objects 0 and 1 and one non-identity morphism u:01, the disjoint union is {(0,10),(1,11)}. A generating pair needs a morphism f:cc together with an element x of C(c,c); the only non-identity morphism is u:01 and C(1,0) is empty, so it contributes none, while an identity f=1c gives x1c=1cx and hence only reflexive pairs. The relation is therefore equality and the coend has two elements.

F1F4step 1.1
2.2

On the one-object category CM of a monoid M, the disjoint union has one summand and is M itself, every value of the integrand being M; and by step 1.1 the generating pairs are xf against fx for x,fM. So the coend is M modulo the least equivalence relation containing xffx. Nothing further is claimed for a general monoid.

F1F3L3step 1.1
3.1

If M is a group, that quotient is the set of conjugacy classes. Each generating pair is a conjugation, since fx=f(xf)f1, and conjugacy is an equivalence relation, so the least equivalence relation containing the generators is contained in conjugacy; conversely, for g and h in M the choice x:=gh1 and f:=h gives xf=g and fx=hgh1, so every conjugate pair is a generating pair and conjugacy is contained in the relation. The two therefore agree. Without inverses this second half is unavailable, which is why the general case of step 2.2 is stated only as the quotient by that relation.

F3L3step 2.2

Remarks

On the walking arrow the coend is larger than the end, which is a one-element set: nothing is identified, because the identification would have to be indexed by an element of an empty hom-set. This is the same emptiness that makes the convention for which category computes a coend worth stating carefully.

The monoid clause is where the temptation to overstate lies. "Conjugacy class" is the right name only when every element has an inverse. For a general monoid the quotient is still defined by the same generators, but the monoid supplies no conjugation action whose orbits are those classes; calling them conjugacy classes would assert more than the computation gives. Abstractly, as for every equivalence relation, some subgroup of a symmetric group can be chosen to have the classes as its orbits.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

Fubini checked by hand on a product of two walking arrows

Example

Let C and D both be the walking arrow, with objects 0 and 1 and one non-identity morphism u:01 (Product category and its projection functors). Let F:CSet be given by F(0)={a,b}, F(1)={} and F(u) the only function between them (Sets and functions form the large locally small category Set), and let

T(c1,d1,c2,d2):=F(c2)×F(d2),

an integrand on (C×D)op×(C×D) that ignores both of its contravariant variables. All three objects named by Fubini: an end over a product index category and the two iterated ends exist together and agree are computed here by hand and each has four elements:

(c,d)T(c,d,c,d)  =  cdT(c,d,c,d)  =  dcT(c,d,c,d)  =  F(0)×F(0).

Facts & Assumptions

Given: The two walking arrows, the functor F and the integrand T displayed above.

[F5]

Sets as objects and functions as morphisms form a large locally small category Set (Sets and functions form the large locally small category Set).

[F3]

The product category has objects the pairs, componentwise identities, and componentwise composition (f,g)(f,g)=(ff,gg) (Product category and its projection functors).

[F2]

A limit of a diagram is a terminal cone: explicitly, for every cone (X,ξ) there exists a unique morphism u:XL such that λju=ξj for every j (Limits and colimits as terminal cones and initial cocones, with existence and uniqueness in their universal properties).

[F1]

An end of T is a terminal object of the category of wedges over T and a coend an initial object of the category of cowedges under T; in short, an end is a terminal wedge and a coend an initial cowedge (The end and the coend of a functor Cop×CD).

[F4]

A parametrised end is a choice, for every object of the parameter category, of an end taken in the two dinatural variables with the remaining variables held fixed (Ends and coends with parameters).

[L2]

For G:KM and G(k1,k2):=G(k2), the end of a functor made mute in its contravariant variable is the ordinary limit of that functor (The end of a functor made mute in its contravariant variable is the ordinary limit of that functor).

[L1]

Under a chosen family of inner ends in each order, an end over a product index category and the two iterated ends exist together and agree, any two being joined by the unique isomorphism commuting with every component (Fubini: an end over a product index category and the two iterated ends exist together and agree).

Verification

technique · direct
1.1

Since T ignores its two contravariant variables, [L2] applies with K=C×D and G(c,d)=F(c)×F(d): the end over the product index category is the ordinary limit of G. A limit of a diagram on the walking arrow is the value at 0, since a cone (λ0,λ1) over AB satisfies λ1=hλ0 and is therefore determined by λ0.

F1F3F5L2
2.1

The limit of G is F(0)×F(0), with four elements. Writing a cone with apex X as λ(c,d)=(μ(c,d),ν(c,d)), the cone condition at (1c,u) gives μ(c,1)=μ(c,0) and ν(c,1)=F(u)ν(c,0), the condition at (u,1d) gives ν(1,d)=ν(0,d) and μ(1,d)=F(u)μ(0,d), and the condition at (u,u) then holds automatically, both sides being (F(u)μ(0,0),F(u)ν(0,0)). So a cone is exactly a pair of functions XF(0), and by [F2] the terminal one has apex F(0)×F(0).

F2F3step 1.1
3.1

The iterated ends give the same object. Holding the two C-variables fixed at (c1,c2) leaves the integrand (d1,d2)F(c2)×F(d2), again mute in its contravariant variable, so by [L2] the inner end is the limit over the walking arrow of dF(c2)×F(d), which by step 1.1 is the value at 0, namely F(c2)×F(0). That chosen family is itself mute in c1, so the outer end is the limit of cF(c)×F(0), which is F(0)×F(0). Exchanging the roles of C and D runs the same two computations in the other order and gives F(0)×F(0) again, since the integrand is symmetric in the two pairs of variables.

F4L2step 1.1step 2.1
4.1

The three objects therefore agree elementwise, and the identification is the identity of F(0)×F(0): an element (z,w) has wedge component at (c,d) equal to (F0c(z),F0d(w)), where F00 is the identity and F01=F(u), and the same pair names the corresponding element of each iterated end. This is the conclusion [L1] predicts, computed here rather than quoted.

F1L1step 2.1step 3.1

Remarks

The integrand is deliberately mute in its contravariant variables, which is what makes every end here an ordinary limit and lets all three objects be listed by hand. The example therefore exhibits the three objects and the isomorphisms between them; it does not exercise the part of the Fubini argument that handles a genuinely two-sided integrand.

The condition at the diagonal morphism (u,u) is checked rather than skipped. It is implied by the other two, and seeing that it is implied is the point: the separate-variable conditions really do generate the joint one on this index category.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

A weighted limit computing a kernel pair

Example

Let J be the walking arrow, with objects 0 and 1 and one non-identity morphism u:01, let F:JSet be any diagram (Sets and functions form the large locally small category Set) and let W:JSet be the weight with W(0)={p,q}, W(1)={} and W(u) the only function between them.

Then the weighted limit (Set-weighted limits and colimits) is the kernel pair of F(u), that is the pullback of F(u) along itself (Pullbacks and pushouts as limits and colimits of cospans and spans):

{W,F}=F(0)×F(1)F(0)={(s,t)F(0)×F(0)  :  F(u)(s)=F(u)(t)}.

Facts & Assumptions

Given: The walking arrow J, a diagram F:JSet and the two-element weight W displayed above.

[F4]

Sets as objects and functions as morphisms form a large locally small category Set (Sets and functions form the large locally small category Set).

[F5]

A natural transformation α:FG is a family αA:FAGA such that every f:AB satisfies the naturality equation GfαA=αBFf (Natural transformation and its components).

[F3]

The covariant hom-assignment sends u:bc to u:C(a,b)C(a,c),fuf (The covariant and contravariant hom-assignments and the hom-bifunctor of a locally small category).

[F1]

A weighted limit {W,F} is an object that represents the functor sending an object to the set of natural transformations from the weight (Set-weighted limits and colimits).

[F6]

The category of elements G has objects (c,x) with cC and xG(c); and a morphism (c,x)(d,y) given by a morphism f:cd in C satisfying G(f)(x)=y (The category of elements of a covariant functor or a presheaf).

[F2]

For a cospan XfZgY, a pullback is its limit, an object with projections p,q satisfying fp=gq through which every compatible pair factors uniquely (Pullbacks and pushouts as limits and colimits of cospans and spans).

[L1]

For a small J and set-valued W and D, a weighted limit of a set-valued diagram is the set of natural transformations from the weight (A weighted limit of a set-valued diagram is the set of natural transformations from the weight).

[L2]

A weighted limit is an ordinary limit over the category of elements of the weight, and a weighted colimit an ordinary colimit over it (A weighted limit is an ordinary limit over the category of elements of the weight, and a weighted colimit an ordinary colimit over it).

Verification

technique · direct
1.1

By [L1] the weighted limit is the set of natural transformations WF. By [F5] such a transformation is a pair of functions α0:{p,q}F(0) and α1:{}F(1) whose naturality equation at u reads F(u)α0=α1W(u) as functions {p,q}F(1); the right-hand side is constant at α1(), so the equation says F(u)(α0(p))=α1()=F(u)(α0(q)).

F1F3F4F5L1
2.1

So a natural transformation is exactly a pair (s,t):=(α0(p),α0(q)) of elements of F(0) with F(u)(s)=F(u)(t), the remaining datum α1() being determined as their common image. That set is the displayed pullback of F(u) along itself, and by [F2] it carries the two projections and the universal property of a pullback.

F2F5step 1.1
3.1

The same answer comes from the category of elements. By [F6] the objects of W are (0,p), (0,q) and (1,), and its non-identity morphisms are the two arising from u, one (0,p)(1,) and one (0,q)(1,), since W(u) sends both p and q to ; so W is a cospan. By [L2] the weighted limit is the limit of F composed with the projection, which is the limit of F(0)F(1)F(0), the pullback again.

F2F6L2step 2.1

Remarks

The weight duplicates the object 0 of the index category, one copy for each of its two elements, and it is that duplication that turns the ordinary limit of F, which is F(0), into a pullback of F(u) along itself. The number of copies is exactly the number of elements of the weight at that object.

Nothing about F is used beyond its being a diagram of sets on the walking arrow. In particular the same weight computes the kernel pair of any function, and it computes the ordinary limit only when F(u) is injective, in which case the pullback is the diagonal.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (deepseek-v4-pro + gpt-5.6-terra)audited 2026-08-26Open item page →

Powers and copowers of a set by a set

Example

Let S and Y be sets. In Set the power of Y by S is the function set YS, and the copower of Y by S is the Cartesian product S×Y:

YS=Set(S,Y),SY=S×Y.

The defining bijections can be written down directly, and the finite cases show what happens at the empty and singleton weights.

Facts & Assumptions

Given: Sets S and Y, and an arbitrary set X.

[F1]

The power of Y by S is the weighted limit of the one-object diagram at the constant weight S, and the copower is the corresponding weighted colimit (The power and the copower of an object by a set).

[L1]

A power by a set is the product of that many copies and a copower is the coproduct (A power by a set is the product of that many copies and a copower is the coproduct).

[F2]

Sets as objects and functions as morphisms form a large locally small category Set (Sets and functions form the large locally small category Set).

[F3]

The function set BA consists exactly of the functions AB (The set BA of all functions AB).

[F4]

The Cartesian product A×B consists exactly of the ordered pairs (a,b) with aA and bB (The Cartesian product A×B:={zP(P(AB)):aA bB z=(a,b)}).

[F5]

A set is finite when it is in bijection with {0,1,,n1} for some natural number n (The cardinality A of a finite set).

Verification

technique · direct
1.1

For every set X, a function f:XYS is exactly a family of functions fx:SY indexed by xX, and hence exactly a function Φ(f):SSet(X,Y) given by Φ(f)(s)(x):=f(x)(s); conversely, from α:SSet(X,Y) one recovers Ψ(α):XYS by Ψ(α)(x)(s):=α(s)(x). These two constructions are inverse, so Set(X,YS)Set(S,Set(X,Y)), which is the defining bijection of the power of Y by S.

F1F2F3
1.2

For every set X, a function g:S×YX is exactly a function Φ(g):SSet(Y,X) given by Φ(g)(s)(y):=g(s,y); conversely, from β:SSet(Y,X) one recovers Ψ(β):S×YX by Ψ(β)(s,y):=β(s)(y). These two constructions are inverse, so Set(S×Y,X)Set(S,Set(Y,X)), which is the defining bijection of the copower of Y by S.

F1F3F4
2.1

Steps 1.1 and 1.2 identify the two objects explicitly, and [L1] says the same objects are, in general, the product and the coproduct of S copies of Y. So in Set the power is the function set and the copower is the Cartesian product.

L1step 1.1step 1.2
3.1

The finite checks agree with those formulas: if S={0,1} and Y={a,b,c} then YS has 32=9 elements while S×Y has 23=6; if S={} then both objects identify with Y; if S= then Y is a one-element set while ×Y=; and if Y= then S= for nonempty S, but is again a one-element set.

L1F5step 2.1

Remarks

The empty exponent is the standard trap: a power by is terminal, not initial. The hom-set bijection fixes the direction, and it fixes it the same way as the published empty product and empty coproduct do.

This example is the set-level shadow of the general theorem. The A page proves that a power is a product of copies and a copower a coproduct of copies in an arbitrary locally small category; here the copies can be named explicitly as functions out of S and ordered pairs with S.

ExampleConstruction: AI-adaptedVerification: AI-generatedprecheck passaudited 2026-08-26Open item page →

A module-valued coend computed as a quotient of a direct sum

Example

Let C be the walking arrow with objects 0 and 1 and one non-identity morphism u:01, and work in Z-Mod. Define a functor T:Cop×CZ-Mod by

T(0,0)=T(1,1)=T(1,0)=Z,T(0,1)=0,

with T(u,10):ZZ multiplication by 2, T(11,u):ZZ multiplication by 3, and every map whose codomain is 0 the zero homomorphism.

Then the coend is computed by one generator:

cT(c,c)    (ZZ)/(2,3)    Z,

and under this identification the two cowedge components are multiplication by 3 from T(0,0) and multiplication by 2 from T(1,1).

Facts & Assumptions

Given: The walking-arrow index category and the functor T displayed above.

[L1]

A module-valued coend is the direct sum of the diagonal values modulo the dinaturality submodule (A module-valued coend is the direct sum of the diagonal values modulo the dinaturality submodule).

[F1]

A direct sum is formed with coordinate inclusions, and the empty direct sum is the zero module (The direct sum of an indexed family of modules).

[F2]

For a submodule NM, the quotient module M/N has cosets as elements and scalar multiplication r(m+N):=rm+N (Quotient module M/N with scalar multiplication on additive cosets).

[F3]

For a fixed ring R, left R-modules and module homomorphisms form a large locally small category R-Mod (Left modules over a fixed ring and module homomorphisms form the large locally small category R-Mod).

[F4]

An end is a terminal wedge and a coend an initial cowedge (The end and the coend of a functor Cop×CD).

Verification

technique · direct
1.1

The displayed data define a functor into Z-modules: the only non-identity square in Cop×C with nontrivial source factors through the slot (1,0), and its codomain is (0,1), where every structure map is the zero homomorphism, so the square commutes automatically.

F3given
2.1

By [L1] the coend is the direct sum of the two diagonal values modulo the submodule generated by the dinaturality differences coming from the off-diagonal value T(1,0)=Z. Here the direct sum is ZZ, and for nZ the generator contributed by u is ȷ0(T(u,10)(n))ȷ1(T(11,u)(n))=(2n,3n); the identity morphisms contribute only (0,0). So the coend is Q:=(ZZ)/(2,3).

L1F1step 1.1
3.1

The homomorphism q:ZZZ, (a,b)3a+2b, kills (2,3) and so descends, by [F2], to a homomorphism qˉ:QZ. If 3a+2b=0, then 3a=2b, so 3 divides b and 2 divides a; writing a=2k and b=3k shows kerq=(2,3). Hence qˉ is an isomorphism, and under it the two quotient cowedge components are multiplication by 3 and by 2.

L1F2step 2.1
4.1

On the nontrivial test module Z, a cowedge λ0,λ1:ZZ is determined by the integers a:=λ0(1) and b:=λ1(1), and the cowedge equation at u is 2a=3b. So a=3t and b=2t for a unique tZ, and multiplication by t on QZ is the unique homomorphism factoring the cowedge through the displayed quotient. This is exactly the initial-cowedge property on that test module.

F4step 3.1

Remarks

Richter's module example is general; this one chooses the maps 2 and 3 so that the quotient can be identified explicitly with Z. The point is not the particular integers but the shape of the computation: the coend is a quotient of a direct sum by the dinaturality submodule.

The off-diagonal zero slot keeps the functoriality check finite. It makes every square landing in (0,1) trivial, so the whole example reduces to one off-diagonal module and one generator of the relation.

Sources