Skip to content

[claim] 003U: group homomorphisms fibred in groupoids #1

Open

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.

  1. The induced functor p.toFunctor : SingleObj G ⥤ SingleObj H is fibred in groupoids if and only if p is surjective.
  2. Its fibre over the unique object of SingleObj H is equivalent to SingleObj 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.SingleObj

Existing 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, and MonoidHom.toFunctor.
  • Mathlib's Functor.IsHomLift, particularly IsHomLift.eq_of_isHomLift, and the existing Functor.Fiber category.
  • MonoidHom.ker and Functor.asEquivalence.
  • The canonical Functor.IsFiberedInGroupoids predicate from StacksCore.CategoryTheory.FiberedInGroupoids, with its exists_lift and unique_lift fields.

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

  1. Identify p.toFunctor.IsHomLift f g with p g = f, using the existing lifting API and the unique objects of the one-object categories.
  2. In the forward direction, apply exists_lift to any element of H to obtain its preimage. Conversely, surjectivity supplies exists_lift.
  3. For unique_lift, the commuting condition is p φ * f = p ψ, since a ≫ b = b * a in SingleObj. Choose χ = φ⁻¹ * ψ; the homomorphism laws and cancellation prove existence and uniqueness. The argument applies to noncommutative groups.
  4. 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 003U with their respective part descriptions.
  • #print axioms reports [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.SingleObj

On 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-approved before opening a pull request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions