Continuous nonabelian first cohomology and restriction
DefinitionLocalConjugacy_CohomologyContinuous nonabelian cocycles and the actual quotient by global coboundaries, with distinguished identity class. Defines stable classes using intersections with conjugate subgroups, ordinary and stable restriction, and simultaneous restriction to Sylow subgroups indexed by the prime divisors of the profinite group. All structural proofs needed to define these maps are included.
import Definitions.Def_LocalConjugacy_Groups
/-!
# Continuous nonabelian first cohomology
Mathlib's group-cohomology modules at this revision treat abelian/module
coefficients. Here coefficients may be nonabelian. We therefore construct the
actual quotient of continuous cocycles by a global coboundary relation, using
Mathlib's `Quotient`, `Continuous`, `MulDistribMulAction`, and semidirect product.
The left-action convention is `j • n = n^(j⁻¹)` in the paper's notation.
Stability on a nonnormal subgroup compares restrictions to its intersection
with each conjugate; it never presupposes a conjugation action on that subgroup.
Only elementary structural proofs needed to define the quotient maps occur here.
-/
namespace LocalConjugacy
/-- Continuous nonabelian 1-cocycles on a closed subgroup of `J`. -/
structure Cocycle {J N : Type*} [Group J] [Group N] [TopologicalSpace J]
[TopologicalSpace N] [MulDistribMulAction J N] (K : Subgroup J) where
toFun : K → N
continuous_toFun : Continuous toFun
map_mul : ∀ x y : K, toFun (x * y) = toFun x * ((x : J) • toFun y)
/-- The usual equivalence of nonabelian cocycles, with one global conjugator. -/
def Cohomologous {J N : Type*} [Group J] [Group N] [TopologicalSpace J]
[TopologicalSpace N] [MulDistribMulAction J N] {K : Subgroup J}
(f g : Cocycle (N := N) K) : Prop :=
∃ n : N, ∀ x : K, g.toFun x = n⁻¹ * f.toFun x * ((x : J) • n)
/-- Stable elements: equality up to a single coboundary on each intersection
`K ∩ j K j⁻¹`. This also makes sense for nonnormal `K`. -/
def InvariantUnder {J N : Type*} [Group J] [Group N] [TopologicalSpace J]
[TopologicalSpace N] [MulDistribMulAction J N]
(L K : Subgroup J) (f : Cocycle (N := N) K) : Prop :=
∀ j ∈ L, ∃ n : N, ∀ (x : J) (hx : x ∈ K) (hjx : j⁻¹ * x * j ∈ K),
j • f.toFun ⟨j⁻¹ * x * j, hjx⟩ = n⁻¹ * f.toFun ⟨x, hx⟩ * (x • n)
/-- The product topology on the semidirect product. -/
instance semidirectTopology {J N : Type*} [Group J] [Group N]
[TopologicalSpace J] [TopologicalSpace N] (a : J →* MulAut N) :
TopologicalSpace (N ⋊[a] J) :=
TopologicalSpace.induced (fun x => (x.left, x.right)) inferInstance
/-- The semidirect product attached to the left action on the coefficient group. -/
abbrev ActionProduct (J N : Type*) [Group J] [Group N] [MulDistribMulAction J N] :=
N ⋊[MulDistribMulAction.toMulAut J N] J
/-- Restriction of a continuous cocycle along subgroup inclusion. -/
def restrictCocycle {J N : Type*} [Group J] [Group N]
[TopologicalSpace J] [TopologicalSpace N] [MulDistribMulAction J N]
{K L : Subgroup J} (hKL : K ≤ L)
(f : Cocycle (N := N) L) : Cocycle (N := N) K where
toFun := fun x => f.toFun ⟨x, hKL x.property⟩
continuous_toFun := f.continuous_toFun.comp
(continuous_subtype_val.subtype_mk fun x => hKL x.property)
map_mul := fun x y => f.map_mul ⟨x, hKL x.property⟩ ⟨y, hKL y.property⟩
/-- Prime divisors of the supernatural order of a profinite group: those
occurring in at least one continuous finite quotient. -/
def PrimeDivisor (J : Type*) [Group J] [TopologicalSpace J] :=
{p : Nat.Primes // ∃ U : OpenNormalSubgroup J, p.val ∣ Nat.card (J ⧸ U.toSubgroup)}
variable {J N : Type*} [Group J] [Group N] [TopologicalSpace J]
[TopologicalSpace N] [MulDistribMulAction J N] {K : Subgroup J}
/-- The identity coefficient witnesses reflexivity of the coboundary relation. -/
theorem cohomologous_refl (f : Cocycle (N := N) K) : Cohomologous f f := by
exact ⟨1, by simp⟩
/-- Invert the single coefficient that witnesses cohomology; no pointwise choices occur. -/
theorem cohomologous_symm {f g : Cocycle (N := N) K}
(h : Cohomologous f g) : Cohomologous g f := by
-- Retain the same coefficient throughout the whole domain.
obtain ⟨n, hn⟩ := h
refine ⟨n⁻¹, fun x => ?_⟩
rw [hn x]
simp [mul_assoc, smul_inv']
/-- Multiply the two global coboundary witnesses to obtain transitivity. -/
theorem cohomologous_trans {f g h : Cocycle (N := N) K}
(hfg : Cohomologous f g) (hgh : Cohomologous g h) : Cohomologous f h := by
obtain ⟨n, hn⟩ := hfg
obtain ⟨m, hm⟩ := hgh
refine ⟨n * m, fun x => ?_⟩
rw [hm x, hn x]
simp [mul_assoc, smul_mul']
/-- The setoid defining continuous nonabelian first cohomology. -/
def cohomologySetoid (K : Subgroup J) : Setoid (Cocycle (N := N) K) where
r := Cohomologous
iseqv := ⟨cohomologous_refl, cohomologous_symm, cohomologous_trans⟩
/-- The actual quotient of continuous cocycles by coboundaries. -/
def H1 (K : Subgroup J) := Quotient (cohomologySetoid (N := N) K)
/-- Distinguished cocycle, whose class points `H1`. -/
def trivialCocycle (K : Subgroup J) : Cocycle (N := N) K where
toFun := fun _ => 1
continuous_toFun := continuous_const
map_mul := by simp
/-- The class of the constant identity cocycle is the distinguished point. -/
instance (K : Subgroup J) : Inhabited (H1 (N := N) K) :=
⟨Quotient.mk _ (trivialCocycle K)⟩
/-- A global coboundary witness still works after restricting the domain. -/
theorem restrict_cohomologous {K L : Subgroup J} (hKL : K ≤ L)
{f g : Cocycle (N := N) L} (h : Cohomologous f g) :
Cohomologous (restrictCocycle hKL f) (restrictCocycle hKL g) := by
-- Retain the same coefficient throughout the whole domain.
obtain ⟨n, hn⟩ := h
exact ⟨n, fun x => hn ⟨x, hKL x.property⟩⟩
/-- The restriction map on cohomology, with no choices of representatives. -/
def restrictH1 {K L : Subgroup J} (hKL : K ≤ L) : H1 (N := N) L → H1 (N := N) K :=
Quotient.map (restrictCocycle hKL) (fun _ _ => restrict_cohomologous hKL)
/-- A restricted global cocycle is stable on every intersection with a
conjugate subgroup; normality of that subgroup is unnecessary. -/
theorem invariant_restriction (K : Subgroup J)
(f : Cocycle (N := N) (⊤ : Subgroup J)) :
InvariantUnder ⊤ K (restrictCocycle le_top f) := by
intro j _
refine ⟨f.toFun ⟨j, trivial⟩, fun x hx hjx => ?_⟩
let t : (⊤ : Subgroup J) := ⟨j⁻¹ * x * j, trivial⟩
have hh : (⟨j, trivial⟩ : (⊤ : Subgroup J)) * t =
⟨x, trivial⟩ * ⟨j, trivial⟩ := by apply Subtype.ext; dsimp [t]; group
have h := congrArg f.toFun hh
rw [f.map_mul, f.map_mul] at h
change j • f.toFun t = (f.toFun ⟨j, trivial⟩)⁻¹ *
f.toFun ⟨x, trivial⟩ * (x • f.toFun ⟨j, trivial⟩)
have h' := congrArg (fun n => (f.toFun ⟨j, trivial⟩)⁻¹ * n) h
simpa only [Subgroup.coe_mk, inv_mul_cancel_left, mul_assoc] using h'
/-- The manuscript's `inv_L H¹(K,N)`: cohomology classes represented by
`L`-stable cocycles, using intersections when `K` is not normal. -/
def InvariantH1 (L K : Subgroup J) :=
{a : H1 (N := N) K // ∃ f : Cocycle (N := N) K,
Quotient.mk (cohomologySetoid K) f = a ∧ InvariantUnder L K f}
/-- The identity cocycle is stable under every conjugation. -/
theorem trivialCocycle_invariant (L K : Subgroup J) :
InvariantUnder L K (trivialCocycle (N := N) K) := by
intro j _
exact ⟨1, by intros; simp [trivialCocycle]⟩
/-- Stable cohomology classes have the same distinguished identity class. -/
instance invariantH1Inhabited (L K : Subgroup J) : Inhabited (InvariantH1 (N := N) L K) :=
⟨⟨default, trivialCocycle K, rfl, trivialCocycle_invariant L K⟩⟩
/-- Restriction `H¹(J,N) → inv_J H¹(K,N)`, with the actual quotient classes.
Here the ambient group `J` is represented by its top subgroup. -/
def stableRestriction (K : Subgroup J) : H1 (N := N) (⊤ : Subgroup J) →
InvariantH1 (N := N) ⊤ K := fun a =>
⟨restrictH1 le_top a, Quotient.inductionOn a (fun f =>
⟨restrictCocycle le_top f, rfl, invariant_restriction K f⟩)⟩
/-- The map in Lemma 1.2: simultaneous restriction to chosen Sylow subgroups,
indexed by the prime divisors of the supernatural order of `J`. -/
def primaryRestriction (P : PrimeDivisor J → Subgroup J) :
H1 (N := N) (⊤ : Subgroup J) →
((p : PrimeDivisor J) → InvariantH1 (N := N) ⊤ (P p)) :=
fun a p => stableRestriction (P p) a
/-- Restriction preserves the distinguished class, as required for pointed sets. -/
theorem restrictH1_distinguished {K L : Subgroup J} (hKL : K ≤ L) :
restrictH1 (N := N) hKL default = default := rfl
/-- The stable restriction map sends the identity class to the identity class. -/
theorem stableRestriction_distinguished (K : Subgroup J) :
stableRestriction (N := N) K default = default := Subtype.ext rfl
/-- All components of simultaneous restriction preserve the identity class. -/
theorem primaryRestriction_distinguished (P : PrimeDivisor J → Subgroup J) :
primaryRestriction (N := N) P default = default :=
funext (fun p => stableRestriction_distinguished (P p))
/-- The cocycle equation at the identity forces the identity value. -/
theorem cocycle_one (f : Cocycle (N := N) K) : f.toFun 1 = 1 := by
have h := f.map_mul 1 1
simpa using h
end LocalConjugacy
Read-back
What the Lean code literally says, in plain math · GPT-6 family (exact model variant not exposed)
Cocycle. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup , this structure consists of a map , a proof that is continuous for the subspace topology on , and a proof that for every , where the action is that of the underlying element of . The subgroup need not be closed or normal, and need not be abelian. The equality is not a separate field of the structure.
Cohomologous. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and any two continuous maps satisfying the cocycle identity for , this property says that there exists such that for every . The same must work for all ; the topology on is inherited from , and neither closedness nor normality of , nor commutativity of , is assumed.
InvariantUnder. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For arbitrary subgroups and a continuous map satisfying , this property says that for every there exists such that, for every for which both and , one has . Continuity uses the subspace topology on . The element may depend on but is uniform over all eligible . Neither an inclusion between and nor normalization of by is assumed. For a given , the equation is imposed only on ; if that intersection is trivial, only the automatic identity at is imposed.
semidirectTopology. For any groups with arbitrary topologies and any group homomorphism , this instance equips the semidirect product with the topology induced by its coordinate map into with the product topology. Equivalently, under the coordinate bijection, it is the product topology. The semidirect multiplication is . No continuity of , of the associated action, or of any group operations is required, and this declaration supplies a topology rather than a continuity assertion.
ActionProduct. For any groups and any action of on by group automorphisms, this abbreviation denotes the semidirect product for the homomorphism . Its elements are pairs and its multiplication is . This declaration itself has no topology or continuity assumptions, and neither group is required to be abelian.
restrictCocycle. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. A continuous cocycle on a subgroup is a continuous map , for the subspace topology on , satisfying for all . For any subgroups , a specified inclusion , and a continuous cocycle on , this definition returns the continuous cocycle on whose value at each is , viewing as an element of using that inclusion. It supplies the continuity and cocycle identities for this restriction. Neither subgroup is required to be closed or normal, and equality is allowed.
PrimeDivisor. For any group equipped with an arbitrary topology, this definition is the type of prime natural numbers for which there exists an open normal subgroup such that divides . This natural cardinality equals the ordinary size for a finite quotient and is zero for an infinite quotient. Thus any one infinite open-normal quotient makes every prime eligible; no finite-quotient condition is imposed. If no such divisor occurs, the type is empty, as it is for a trivial group. No continuity of group operations, compactness, or separation is assumed.
cohomologous_refl. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and any continuous cocycle , meaning that for all and that is continuous for the subspace topology, there exists with for every . Thus the explicitly defined cohomology relation is reflexive; is a witness. No closedness or normality of is assumed.
cohomologous_symm. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and continuous cocycles , where each is continuous for the subspace topology and satisfies , if there exists with for every , then there exists with for every . Thus the defined relation is symmetric; given such , one may take . No closedness or normality of is assumed.
cohomologous_trans. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and continuous cocycles , where each is continuous for the subspace topology and satisfies , assume there exists with for every , and there exists with for every . Then there exists with for every ; one may take . No closedness or normality of is assumed.
cohomologySetoid. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup , this definition equips the type of continuous cocycles on with an equivalence relation: these cocycles are continuous maps for the subspace topology satisfying , and two such maps are related exactly when there exists with for every . The definition includes proofs of reflexivity, symmetry, and transitivity of this relation. Neither closedness nor normality of , nor commutativity of , is assumed.
H1. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup , this definition returns the quotient set of all continuous maps , with the subspace topology on , satisfying , where and represent the same quotient element exactly when there exists such that for every . The definition supplies a quotient type; no group structure or topology on this quotient is part of the declaration. Neither closedness nor normality of , nor commutativity of , is assumed.
trivialCocycle. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup , this definition returns the continuous cocycle given by for every , with continuity for the subspace topology and the identity included in the construction. No closedness or normality of is assumed.
Anonymous inhabited instance for H1. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For every subgroup , this instance chooses the class of the constant cocycle as a default element of , and hence establishes that this quotient set is nonempty. It does not assert uniqueness of its elements, and need not be closed or normal.
restrict_cohomologous. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. A continuous cocycle on a subgroup is a continuous map , for the subspace topology on , satisfying for all . For any subgroups with a specified inclusion , and any continuous cocycles on , suppose there exists such that for every . Then there exists such that for every , so the restrictions to are related by the same defined cohomology relation. The original is a possible . Neither subgroup is required to be closed or normal.
restrictH1. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For any subgroups and a specified inclusion , this definition is the function sending the class of a cocycle to the class of its restriction . Its value is independent of the representative because the equivalence uses a single element of that also works on . Neither subgroup is required to be closed or normal.
invariant_restriction. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and any continuous cocycle on the whole group , meaning a continuous map from the full subgroup of to with , the restriction has this property: for every there exists such that for every with . One may take . The subgroup need not be closed or normal; the equality is required only when both arguments of belong to , rather than requiring conjugation to preserve .
InvariantH1. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For , a representative is invariant under in the defined sense if for every there exists such that for every with . The element may depend on but must work for all such ; normalization of by is not assumed. For arbitrary subgroups , this definition is the subtype of consisting of those classes for which there exists a continuous cocycle representative with class exactly that is invariant under in the stated sense. Membership is expressed by existence of such a representative. No inclusion between and , closedness, or normality is required.
trivialCocycle_invariant. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For arbitrary subgroups , the continuous cocycle given by is invariant in the following explicit sense: for each there exists such that whenever and . The witness works for each . There is no assumption that normalizes , that either subgroup is closed, or that one contains the other.
invariantH1Inhabited. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For , a representative is invariant under in the defined sense if for every there exists such that for every with . The element may depend on but must work for all such ; normalization of by is not assumed. For arbitrary subgroups , let the invariant subtype consist of classes in possessing at least one representative invariant under in the stated sense. This instance chooses the class of the constant cocycle , together with its proof of membership, as the default element of this subtype, and hence makes the subtype nonempty. It does not assert uniqueness, and imposes no inclusion, normality, or closedness conditions on .
stableRestriction. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For any subgroup , this definition maps a class to the class of a restricted representative in , together with a proof that this restricted class has a representative satisfying: for every there exists such that whenever and . Thus its codomain is precisely the subtype of with at least one such representative. The map is well-defined on cocycle classes, and need not be closed or normal. The full group in the domain is represented by its full subgroup.
primaryRestriction. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. Let be the type of prime natural numbers for which some open normal subgroup has , where infinite cardinality is encoded as zero. For any assignment of a subgroup to every , this definition maps to the family, indexed by , of its restriction classes in . Each component is accompanied by a proof that it has a representative for which, for every , some satisfies for all with . There is no requirement that be a Sylow subgroup, a group of prime-power order, closed, or normal. If an open-normal quotient is infinite, contains every prime; if is empty, the output is the unique empty family.
restrictH1_distinguished. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For any subgroups with a specified inclusion , the function sending a class to sends the distinguished class of the constant cocycle on to the distinguished class of the constant cocycle on . These distinguished classes are the defaults selected by the declared inhabited instances. No closedness or normality of either subgroup is assumed.
stableRestriction_distinguished. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. For any subgroup , consider the restriction map from into the subtype of whose classes have a representative such that, for every , there exists with for all with . This theorem says that the map sends the distinguished class of the constant cocycle on to the distinguished element of that subtype, namely the class of the constant cocycle on together with its membership proof. Equality is asserted in the subtype, and need not be closed or normal.
primaryRestriction_distinguished. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For , write for the set of continuous maps satisfying , modulo the equivalence if there exists a single with for every ; each subgroup carries the subspace topology. Let be the type of prime natural numbers dividing for some open normal subgroup , with infinite cardinality encoded as zero, and let assign an arbitrary subgroup to each . For each , the relevant invariant subtype of consists of classes admitting a representative for which every admits satisfying for all with . The theorem says that the family of restriction classes of the distinguished constant cocycle on , each equipped with membership in this subtype, equals the family of distinguished elements, each the constant-cocycle class on with its membership proof. No Sylow, prime-power, normality, or closedness condition is imposed on . If is empty, the equality is between the unique empty families.
cocycle_one. Let be groups with arbitrary topologies, and let act on by group automorphisms. No continuity of the group operations or of the action is assumed. For any subgroup and any continuous map for the subspace topology satisfying for every , this theorem says that . Neither closedness nor normality of , nor commutativity of , is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.