Definitions for The Classifying Space of a Topological 2-Group
DefinitionQAlgorithms_Papers_Independent_Intake100_P03The objects the formalized statements of The Classifying Space of a Topological 2-Group (arXiv:0801.3843) are stated in. Each was checked against the paper by a blind read-back and a moderator.
IsKSpace: PDF p. 5: a compactly generated weak Hausdorff space. Weak Hausdorff means that every continuous image of a compact Hausdorff space is closed. The compact test spaces and all spaces in the statement lie in universe u.KContinuousTwo: PDF pp. 5, 8: continuity of a binary map on the k-product. Compact Hausdorff probes into the ordinary product are pairs of continuous maps. This does not demand continuity on the ordinary product of arbitrary spaces.IsKGroup: PDF pp. 5, 8: a group object in compactly generated weak Hausdorff spaces, with multiplication continuous on the k-product.TopologicalCrossedModule: PDF pp. 8--9, equations (4),(5): topological crossed-module data. The homomorphism rho supplies an action by automorphisms; continuity is joint k-product continuity. No condition on injectivity of boundary is added.OpenCover: PDF p. 12: an arbitrary indexed open cover; the index type may be empty. In that case the coverage condition forces the base space to be empty.overlapTwo: PDF pp. 12--15: the double overlap with its subspace topology.overlapThree: PDF pp. 13--15: the triple overlap with its subspace topology.CechCocycle: PDF pp. 13--14: normalized continuous weak 2-functor coordinates. The tetrahedron follows equation (6) using vertical composition hprime*h from PDF p. 12, correcting the reversed factor order in printed equation (2). The source explicitly normalizes h to one whenever any two indices agree.trivialCocycle: PDF p. 16: the actual trivial cocycle on any open cover.CechTransformation: PDF pp. 14--15, equation (3) and prism (7): an actual continuous weak natural isomorphism between the given cocycles. The prism is written with the same later-factor-on-the-left vertical composition as the source. The unit law is k_ii=1; this is not an equivalence closure.Cohomologous: PDF p. 15: cohomologousness is existence of continuous f_i and k_ij satisfying the square, prism, and unit. No quotient is presumed to exist.identityTransformation: PDF pp. 14--15: the identity weak natural isomorphism, used as a sanity check of the square, prism orientation, and repeated-index unit.
import Mathlib
/-!
Statements from Baez--Stevenson, arXiv:0801.3843v2.
Only the fixed-cover equivalence-relation node is stated. All other planned
nodes are accounted for in this unit's HARD.md and GAPS.json.
New definitions implement the complete fixed-cover crossed-module coordinates.
Binary continuity is tested on compact Hausdorff spaces, so it is continuity
on the k-product, without an extra ordinary-product continuity assumption.
The tetrahedron equation follows the diagrams and the vertical composition
rule on PDF p. 12; the printed scalar equation has its factors reversed.
Correction E2 was independently checked in moderation round 1. Compilation
is pending handoff; review-record edits require a fresh moderation round.
-/
namespace QAlgorithms.Papers.Independent.Intake100.P03
universe u
/-- PDF p. 5: a compactly generated weak Hausdorff space. Weak Hausdorff
means that every continuous image of a compact Hausdorff space is closed.
The compact test spaces and all spaces in the statement lie in universe u. -/
def IsKSpace (X : Type u) [TopologicalSpace X] : Prop :=
CompactlyGeneratedSpace X ∧
∀ (S : CompHaus.{u}) (f : C(S, X)), IsClosed (Set.range f)
/-- PDF pp. 5, 8: continuity of a binary map on the k-product. Compact
Hausdorff probes into the ordinary product are pairs of continuous maps.
This does not demand continuity on the ordinary product of arbitrary spaces. -/
def KContinuousTwo {X Y Z : Type u}
[TopologicalSpace X] [TopologicalSpace Y] [TopologicalSpace Z]
(f : X → Y → Z) : Prop :=
∀ (S : CompHaus.{u}) (a : C(S, X)) (b : C(S, Y)),
Continuous (fun s => f (a s) (b s))
/-- Sanity: the first k-product projection is continuous. -/
example (X Y : Type u) [TopologicalSpace X] [TopologicalSpace Y] :
KContinuousTwo (fun (x : X) (_ : Y) => x) := by
intro S a b
exact a.continuous
/-- PDF pp. 5, 8: a group object in compactly generated weak Hausdorff
spaces, with multiplication continuous on the k-product. -/
def IsKGroup (G : Type u) [Group G] [TopologicalSpace G] : Prop :=
IsKSpace G ∧ KContinuousTwo (fun (a b : G) => a * b) ∧
Continuous (fun a : G => a⁻¹)
/-- PDF pp. 8--9, equations (4),(5): topological crossed-module data.
The homomorphism rho supplies an action by automorphisms; continuity is
joint k-product continuity. No condition on injectivity of boundary is added. -/
structure TopologicalCrossedModule (G H : Type u)
[Group G] [Group H] [TopologicalSpace G] [TopologicalSpace H] where
boundary : H →* G
rho : G →* MulAut H
objectGroup : IsKGroup G
arrowKernelGroup : IsKGroup H
boundaryContinuous : Continuous boundary
actionContinuous : KContinuousTwo (fun g h => rho g h)
equivariance : ∀ g h, boundary (rho g h) = g * boundary h * g⁻¹
peiffer : ∀ h k, rho (boundary h) k = h * k * h⁻¹
/-- PDF p. 12: an arbitrary indexed open cover; the index type may be empty.
In that case the coverage condition forces the base space to be empty. -/
structure OpenCover (M I : Type u) [TopologicalSpace M] where
opens : I → Set M
isOpen : ∀ i, IsOpen (opens i)
covers : ∀ x : M, ∃ i, x ∈ opens i
/-- PDF pp. 12--15: the double overlap with its subspace topology. -/
abbrev overlapTwo {M I : Type u} [TopologicalSpace M] (U : OpenCover M I)
(i j : I) :=
{x : M // x ∈ U.opens i ∧ x ∈ U.opens j}
/-- PDF pp. 13--15: the triple overlap with its subspace topology. -/
abbrev overlapThree {M I : Type u} [TopologicalSpace M] (U : OpenCover M I)
(i j k : I) :=
{x : M // x ∈ U.opens i ∧ x ∈ U.opens j ∧ x ∈ U.opens k}
/-- PDF pp. 13--14: normalized continuous weak 2-functor coordinates.
The tetrahedron follows equation (6) using vertical composition hprime*h
from PDF p. 12, correcting the reversed factor order in printed equation (2).
The source explicitly normalizes h to one whenever any two indices agree. -/
structure CechCocycle {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] (C : TopologicalCrossedModule G H)
(U : OpenCover M I) where
g : ∀ i j, C(overlapTwo U i j, G)
h : ∀ i j k, C(overlapThree U i j k, H)
triangle : ∀ i j k (x : M) (hi : x ∈ U.opens i)
(hj : x ∈ U.opens j) (hk : x ∈ U.opens k),
C.boundary (h i j k ⟨x, hi, hj, hk⟩) *
g i j ⟨x, hi, hj⟩ * g j k ⟨x, hj, hk⟩ = g i k ⟨x, hi, hk⟩
tetrahedron : ∀ i j k l (x : M) (hi : x ∈ U.opens i)
(hj : x ∈ U.opens j) (hk : x ∈ U.opens k) (hl : x ∈ U.opens l),
h i k l ⟨x, hi, hk, hl⟩ * h i j k ⟨x, hi, hj, hk⟩ =
h i j l ⟨x, hi, hj, hl⟩ *
C.rho (g i j ⟨x, hi, hj⟩) (h j k l ⟨x, hj, hk, hl⟩)
unitG : ∀ i (x : M) (hi : x ∈ U.opens i), g i i ⟨x, hi, hi⟩ = 1
unitH : ∀ i j k (x : M) (hi : x ∈ U.opens i)
(hj : x ∈ U.opens j) (hk : x ∈ U.opens k),
(i = j ∨ j = k ∨ i = k) → h i j k ⟨x, hi, hj, hk⟩ = 1
/-- PDF p. 16: the actual trivial cocycle on any open cover. -/
def trivialCocycle {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] (C : TopologicalCrossedModule G H)
(U : OpenCover M I) : CechCocycle C U where
g := fun _ _ => ⟨fun _ => 1, continuous_const⟩
h := fun _ _ _ => ⟨fun _ => 1, continuous_const⟩
triangle := by intros; simp
tetrahedron := by intros; simp
unitG := by intros; rfl
unitH := by intros; rfl
/-- Sanity: the distinguished cocycle has identity transition functions. -/
example {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] (C : TopologicalCrossedModule G H)
(U : OpenCover M I) (i j : I) (x : overlapTwo U i j) :
(trivialCocycle C U).g i j x = 1 := rfl
/-- PDF pp. 14--15, equation (3) and prism (7): an actual continuous
weak natural isomorphism between the given cocycles. The prism is written
with the same later-factor-on-the-left vertical composition as the source.
The unit law is k_ii=1; this is not an equivalence closure. -/
structure CechTransformation {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] {C : TopologicalCrossedModule G H}
{U : OpenCover M I} (a b : CechCocycle C U) where
f : ∀ i, C({x : M // x ∈ U.opens i}, G)
k : ∀ i j, C(overlapTwo U i j, H)
square : ∀ i j (x : M) (hi : x ∈ U.opens i) (hj : x ∈ U.opens j),
C.boundary (k i j ⟨x, hi, hj⟩) * a.g i j ⟨x, hi, hj⟩ * f j ⟨x, hj⟩ =
f i ⟨x, hi⟩ * b.g i j ⟨x, hi, hj⟩
prism : ∀ i j l (x : M) (hi : x ∈ U.opens i)
(hj : x ∈ U.opens j) (hl : x ∈ U.opens l),
k i l ⟨x, hi, hl⟩ * a.h i j l ⟨x, hi, hj, hl⟩ =
C.rho (f i ⟨x, hi⟩) (b.h i j l ⟨x, hi, hj, hl⟩) *
k i j ⟨x, hi, hj⟩ *
C.rho (a.g i j ⟨x, hi, hj⟩) (k j l ⟨x, hj, hl⟩)
unit : ∀ i (x : M) (hi : x ∈ U.opens i), k i i ⟨x, hi, hi⟩ = 1
/-- PDF p. 15: cohomologousness is existence of continuous f_i and k_ij
satisfying the square, prism, and unit. No quotient is presumed to exist. -/
def Cohomologous {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] {C : TopologicalCrossedModule G H}
{U : OpenCover M I} (a b : CechCocycle C U) : Prop :=
Nonempty (CechTransformation a b)
/-- PDF pp. 14--15: the identity weak natural isomorphism, used as a
sanity check of the square, prism orientation, and repeated-index unit. -/
def identityTransformation {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] {C : TopologicalCrossedModule G H}
{U : OpenCover M I} (a : CechCocycle C U) : CechTransformation a a where
f := fun _ => ⟨fun _ => 1, continuous_const⟩
k := fun _ _ => ⟨fun _ => 1, continuous_const⟩
square := by intros; simp
prism := by intros; simp
unit := by intros; rfl
/-- Sanity: the raw relation contains the actual identity witness. -/
example {M I G H : Type u}
[TopologicalSpace M] [TopologicalSpace G] [TopologicalSpace H]
[Group G] [Group H] {C : TopologicalCrossedModule G H}
{U : OpenCover M I} (a : CechCocycle C U) : Cohomologous a a :=
⟨identityTransformation a⟩
end QAlgorithms.Papers.Independent.Intake100.P03
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P03.CechCocycle
Let be types in a common universe , with topologies on and group structures on . Let consist of group homomorphisms and satisfying the following conditions: each of is compactly generated, every continuous map from a compact Hausdorff space in universe into either group has closed image, inversion on each group is continuous, and products of any two continuous maps from the same such compact Hausdorff space into either group are continuous; is continuous; is continuous for every such space and continuous , ; and and for all , . Here denotes the group of group automorphisms of . Let be open subsets covering . A cocycle consists of continuous maps for every and for every , using the subspace topologies, with the following identities at every point of the indicated intersections:
All indices are universally quantified, including repeated indices. Empty open sets and intersections are allowed, and identities with no points in their stated domain are vacuous; empty and empty compact Hausdorff test spaces are also allowed.
QAlgorithms.Papers.Independent.Intake100.P03.CechTransformation
Let be types in a common universe , with topologies on and group structures on . Fix group homomorphisms and , where is the group of group automorphisms of , with these conditions: each of is compactly generated, every continuous map into either group from a compact Hausdorff space in universe has closed image, inversion on each group is continuous, and products of two continuous maps from the same such space into either group are continuous; is continuous; is continuous for every such space and continuous , ; and and for all , . Fix open sets covering and two cocycles . Explicitly, for each these have continuous maps and , with
where each identity holds at every point of the intersection of the open sets indexed in it. A transformation from to consists of continuous maps for every and for every , together with the identities
All domains carry their subspace topologies, all displayed indices are universally quantified, and repeated indices are included. Empty , open sets, intersections, and compact Hausdorff test spaces are allowed; pointwise identities on empty domains are vacuous.
QAlgorithms.Papers.Independent.Intake100.P03.Cohomologous
Let be types in a common universe , with topologies on and group structures on . Fix group homomorphisms and , where is the group of group automorphisms of , such that each of is compactly generated, every continuous map into either group from a compact Hausdorff space in universe has closed image, inversion on each group is continuous, and products of two continuous maps from the same such space into either group are continuous; is continuous; is continuous for every such space and continuous , ; and and for all , . Fix open sets covering and two cocycles , meaning that for each there are continuous maps and satisfying
at every point of the respective intersections. The proposition that and are cohomologous means that there exists a family of continuous maps and satisfying
All domains have their subspace topologies, and all indices and points in these identities are universally quantified, including repeated indices. The assertion is existence, with no uniqueness requirement. Empty open sets and intersections are permitted, making their pointwise conditions vacuous; if is empty, the required families of empty functions exist and the proposition holds.
QAlgorithms.Papers.Independent.Intake100.P03.IsKGroup
For a type in universe equipped with a group structure and a topology, this property means that is compactly generated; every continuous map from a compact Hausdorff space in universe has closed image; for every such and all continuous maps , the map is continuous; and the inversion map is continuous on . The spaces may be empty, in which case their images are empty and the corresponding continuity requirements hold.
QAlgorithms.Papers.Independent.Intake100.P03.IsKSpace
For a type in universe equipped with a topology, this property means that is compactly generated and that, for every compact Hausdorff space in universe and every continuous map , the image is closed in . The quantifiers allow and to be empty; an empty image is closed.
QAlgorithms.Papers.Independent.Intake100.P03.KContinuousTwo
For types in a common universe , each equipped with a topology, and a function , this property means that for every compact Hausdorff space in universe and every pair of continuous maps and , the map from to is continuous. Both input maps have the same domain . Empty spaces are allowed, and the condition for a given quantifies only over pairs of continuous maps that exist.
QAlgorithms.Papers.Independent.Intake100.P03.OpenCover
For types in a common universe , with a topology on , this structure consists of an indexed family of subsets of , a condition that every is open, and a condition that every belongs to at least one . The indexing type has no additional structure or nonemptiness assumption, and the open sets may be empty or repeated. If is empty, the covering condition can hold only when is empty; when is empty, the covering condition is vacuous.
QAlgorithms.Papers.Independent.Intake100.P03.TopologicalCrossedModule
For types in a common universe , each equipped with a group structure and a topology, this structure consists of a group homomorphism and a group homomorphism , where is the group of group automorphisms of , together with the following conditions. For each , the space is compactly generated, every continuous map from a compact Hausdorff space in universe to has closed image, inversion on is continuous, and is continuous for every such and continuous . The map is continuous, and for every compact Hausdorff in universe and continuous maps and , the map is continuous. Finally, for all and ,
The compact Hausdorff test spaces may be empty; the group homomorphisms and all the stated conditions are part of the structure.
QAlgorithms.Papers.Independent.Intake100.P03.identityTransformation
Let be types in a common universe , with topologies on and group structures on . Fix group homomorphisms and , where is the group of group automorphisms of , satisfying these conditions: each of is compactly generated, every continuous map into either group from a compact Hausdorff space in universe has closed image, inversion on each group is continuous, and products of two continuous maps from the same such space into either group are continuous; is continuous; is continuous for every such space and continuous , ; and and for all , . Fix open sets covering and a cocycle , consisting of continuous maps and satisfying
at every point of the respective intersections. This definition constructs a transformation from to itself by taking the continuous maps to be constantly and to be constantly . It supplies the transformation identities
All domains have their subspace topologies, all indices are universally quantified and may repeat, and empty , open sets, and intersections are allowed; maps on empty domains are empty functions and their pointwise identities are vacuous.
QAlgorithms.Papers.Independent.Intake100.P03.overlapThree
For types in a common universe , a topology on , an indexed family of open subsets covering , and indices , this abbreviation denotes the type of points together with proofs that , , and ; its underlying set is . Any of the indices may coincide, and the intersection may be empty. The cover means that each is open and every point of belongs to some ; neither nor is assumed nonempty.
QAlgorithms.Papers.Independent.Intake100.P03.overlapTwo
For types in a common universe , a topology on , an indexed family of open subsets covering , and indices , this abbreviation denotes the type of points together with proofs that and ; its underlying set is . The indices may coincide, giving the points of , and the intersection may be empty. The cover means that each is open and every point of belongs to some ; neither nor is assumed nonempty.
QAlgorithms.Papers.Independent.Intake100.P03.trivialCocycle
For types in a common universe , with topologies on and group structures on , suppose supplies group homomorphisms and , where is the group of group automorphisms of . Its conditions are that each of is compactly generated, every continuous map into either group from a compact Hausdorff space in universe has closed image, inversion on each group is continuous, and products of two continuous maps from any one such space into either group are continuous; is continuous; the map is continuous for every such space and continuous , ; and and for all , . Given open sets covering , this definition constructs a cocycle whose continuous maps on the subspace intersections are on every and on every . It supplies the identities on triple intersections, on quadruple intersections, on , and whenever any two of coincide. These conditions range over all indices and all points of the respective intersections. Empty , empty open sets, and empty intersections are allowed; functions on empty intersections are the corresponding empty functions, and their pointwise identities are vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.