Skip to content

feat(GroupTheory): coatoms of the subgroup lattice#41651

Open
xroblot wants to merge 3 commits into
leanprover-community:masterfrom
xroblot:cyclic_coatom_foundations
Open

feat(GroupTheory): coatoms of the subgroup lattice#41651
xroblot wants to merge 3 commits into
leanprover-community:masterfrom
xroblot:cyclic_coatom_foundations

Conversation

@xroblot

@xroblot xroblot commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

Add three group-theory results related to maximal subgroups:

  • isCyclic_of_isCoatom_subsingleton: a group with at most one maximal subgroup is cyclic.
  • CommGroup.isSimpleGroup_iff_isCoatom: a subgroup of a commutative group is maximal iff the quotient by it is simple (group analogue of isSimpleModule_iff_isCoatom).

QuotientGroup.comapMk'OrderIso': the correspondence theorem as an order isomorphism onto the interval Set.Ici N (interval-order variant of comapMk'OrderIso, whose codomain is the bare subtype), making the Set.Ici order API available, mirroring Submodule.comapMkQRelIso.

🤖 This PR was extracted from the SKW project by Claude.

Add three group-theory results:

* `QuotientGroup.comapMk'OrderIso'`: the correspondence theorem as an order isomorphism onto `Set.Ici N` (interval-order variant of `comapMk'OrderIso`).
* `isCyclic_of_isCoatom_subsingleton`: a group with at most one maximal subgroup is cyclic (only `IsCoatomic (Subgroup G)` needed).
* `CommGroup.isSimpleGroup_iff_isCoatom`: a subgroup of a commutative group is maximal iff the quotient by it is simple (group analogue of `isSimpleModule_iff_isCoatom`).
@github-actions

github-actions Bot commented Jul 12, 2026

Copy link
Copy Markdown

PR summary 9057cb64dd

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ CommGroup.isSimpleGroup_iff_isCoatom
+ isCyclic_of_isCoatom_subsingleton

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

Lean-aware diff — post-build, computed from the Lean environment (commit 9057cb6).

  • +4 new declarations
  • −0 removed declarations
+AddCommGroup.isSimpleAddGroup_iff_isCoatom
+CommGroup.isSimpleGroup_iff_isCoatom
+isAddCyclic_of_isCoatom_subsingleton
+isCyclic_of_isCoatom_subsingleton

No changes to strong technical debt.

No changes to weak technical debt.

Current commit 9057cb64dd
Reference commit 2800ac2bd3

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-group-theory Group theory label Jul 12, 2026
@xroblot xroblot added the WIP Work in progress label Jul 12, 2026
@xroblot xroblot changed the title feat(GroupTheory): maximal subgroups, quotients, and cyclicity feat(GroupTheory): coatoms of the subgroup lattice and the Set.Ici correspondence Jul 12, 2026
@xroblot xroblot changed the title feat(GroupTheory): coatoms of the subgroup lattice and the Set.Ici correspondence feat(GroupTheory): coatoms of the subgroup lattice Jul 13, 2026
Comment on lines +279 to +285
/-- A group with at most one maximal subgroup is cyclic. Maximal subgroups are the coatoms
`IsCoatom (· : Subgroup G)` of the subgroup lattice; only `IsCoatomic (Subgroup G)` is required
(automatic for finite `G`), with no finiteness, commutativity, or `p`-group hypothesis. -/
@[to_additive /-- An additive group with at most one maximal subgroup is cyclic. Maximal subgroups
are the coatoms `IsCoatom (· : AddSubgroup G)` of the subgroup lattice; only
`IsCoatomic (AddSubgroup G)` is required (automatic for finite `G`), with no finiteness,
commutativity, or `p`-group hypothesis. -/]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not mention what's not a hypothesis and instead only talk about what is a hypothesis?

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

Labels

t-group-theory Group theory WIP Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants