Repository navigation
Description
Task, tag or exercise
003U — Example 4.35.4: group homomorphisms fibred in groupoids.
A compiled, AI-assisted prototype is available for blueprint review:
implementation commit,
Lean source.
Target tier
StacksFrontier. The new module is StacksFrontier.CategoryTheory.FiberedInGroupoids.SingleObj, with an import added to StacksFrontier.lean.
Statement
Let G and H be arbitrary groups, possibly in different universes, and let p : G →* H.
- The induced functor
p.toFunctor : SingleObj G ⥤ SingleObj His fibred in groupoids if and only ifpis surjective. - Its fibre over the unique object of
SingleObj His equivalent toSingleObj p.ker. This holds without a surjectivity assumption, and the equivalence preserves the underlying group element of each morphism.
Proposed Lean statement
These signatures are implemented and compiled in the linked prototype. Names remain subject to review.
universe u v
namespace CategoryTheory.SingleObj
variable {G : Type u} {H : Type v} [Group G] [Group H]
@[stacks 003U "the criterion for being fibred in groupoids"]
theorem isFiberedInGroupoids_toFunctor_iff (p : G →* H) :
p.toFunctor.IsFiberedInGroupoids ↔ Function.Surjective p
@[stacks 003U "the fibre category is the category of the kernel"]
noncomputable def fiberToFunctorEquivKer (p : G →* H) :
p.toFunctor.Fiber (star H) ≌ SingleObj p.ker
@[simp]
theorem fiberToFunctorEquivKer_map_val (p : G →* H)
{X Y : p.toFunctor.Fiber (star H)} (φ : X ⟶ Y) :
((fiberToFunctorEquivKer p).functor.map φ).val = φ.1
end CategoryTheory.SingleObjExisting work
Checked open and closed issues/PRs before submission; none were present. The prototype is based on Stacks commit f8e70c5dd04bfabcb423d5e325461f527c85a5d6 and its pinned Mathlib revision 16edf57de7933555826307a3d81b4391a3657a09.
It reuses the existing definitions and APIs:
- Mathlib's
SingleObj,SingleObj.groupoid, andMonoidHom.toFunctor. - Mathlib's
Functor.IsHomLift, particularlyIsHomLift.eq_of_isHomLift, and the existingFunctor.Fibercategory. MonoidHom.kerandFunctor.asEquivalence.- The canonical
Functor.IsFiberedInGroupoidspredicate fromStacksCore.CategoryTheory.FiberedInGroupoids, with itsexists_liftandunique_liftfields.
Related work: StacksCore.CategoryTheory.Basic already characterizes fullness of SingleObj.mapHom by surjectivity. StacksFrontier.CategoryTheory.FiberedCategory.SplittingCounterexample treats the particular surjection from the cyclic group of order four to the cyclic group of order two. Neither supplies this general result. No existing declaration tagged 003U was found in the base revision.
Proof outline
- Identify
p.toFunctor.IsHomLift f gwithp g = f, using the existing lifting API and the unique objects of the one-object categories. - In the forward direction, apply
exists_liftto any element ofHto obtain its preimage. Conversely, surjectivity suppliesexists_lift. - For
unique_lift, the commuting condition isp φ * f = p ψ, sincea ≫ b = b * ainSingleObj. Chooseχ = φ⁻¹ * ψ; the homomorphism laws and cancellation prove existence and uniqueness. The argument applies to noncommutative groups. - Send a fibre morphism to its underlying kernel element. This functor is full and faithful by the description of fibre morphisms and subtype extensionality, and essentially surjective because the target has one object. Apply
asEquivalence. Its action on underlying morphisms is definitionally the identity.
No new mathematical prerequisites are needed.
Validation
Validated with pinned Lean v4.34.0-rc2 and the pinned Mathlib revision:
- The new module and its dependency closure build successfully.
- The configured Batteries linter passes for this module.
- Both main declarations register Stacks tag
003Uwith their respective part descriptions. #print axiomsreports[propext, Quot.sound]for the fibration criterion and[propext, Classical.choice, Quot.sound]for the equivalence and its map lemma.- No
sorry,admit,native_decide, or new axioms are introduced. - The unmodified pinned release compiler also compiles the completed source directly with the repository's implicit-variable settings.
The standard build and lint commands are:
lake build StacksFrontier.CategoryTheory.FiberedInGroupoids.SingleObj
lake lint -- --no-build StacksFrontier.CategoryTheory.FiberedInGroupoids.SingleObjOn the local macOS machine, Lake required a local allocator workaround for lean4#15087: the same pinned Lean/Lake code with mimalloc 3.4.5. That workaround is outside the contribution; the repository's toolchain and dependency pins are unchanged. The full Stacks library was not rebuilt.
References
Before submitting
- I checked the open claims and the library for existing work on this.
- I will wait for
blueprint-approvedbefore opening a pull request.
Activity