Definitions for Principal 2-bundles and their gauge 2-groups
DefinitionQAlgorithms_Papers_Independent_Bridge50_P08The objects the formalized statements of Principal 2-bundles and their gauge 2-groups (arXiv:0803.3692) are stated in. Each was checked against the paper by a blind read-back and a moderator.
sourceKernelAction: Remark II.4, PDF p. 10: identity-arrow conjugation on the actual source kernel. The section equation ensures that conjugation stays in it. These are tensor group operations, not categorical arrow composition.IsDirectionalLieGroup: Definition A.1, PDF p. 35: compatible directional atlas and smooth group operations. Hausdorff and locally convex model assumptions are explicit in the theorem binders below. No norm or completeness is used.HasLeftVelocity: Definition A.3, PDF pp. 35–36: the left logarithmic velocity of a curve equals x. The identity chart identifies T_1 G with E. Translating by gamma(t) inverse before differentiating is exactly the equation gamma'(t) = T(leftTranslation_gamma(t))(1) x. The chart centre is subtracted explicitly; identity charts need not send 1 to zero.IsExponentialFunction: Definition A.3, PDF pp. 35–36: a smooth exponential function is the time-one value of a global smooth solution of the left invariant ODE for every identity tangent x. This requires actual solutions on all of R, not local exponentiality or an arbitrary map called an exponential.identityDifferential: Lemma A.4, PDF pp. 35–36: the induced differential in the actual identity charts. The slope is computed on chartE(1) + h x and then mapped through the homomorphism and the target identity chart. For the smooth maps between Hausdorff locally convex manifolds used below this limit exists and is unique; no freely supplied tangent map is used.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P18
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P22
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P35
/-!
Statements from Wockel, arXiv:0803.3692v4.
The algebraic forward construction is reused, without restating its theorem.
All new definitions are local to this paper. The appendix uses arbitrary
Hausdorff locally convex real models and the accepted directional calculus.
The remaining nodes are explicitly inventoried in HARD.md and GAPS.json.
Compilation and independent moderation are pending batch handoff.
-/
namespace QAlgorithms.Papers.Independent.Bridge50.P08
open Set Filter Topology
open QAlgorithms.Papers.Independent.Renew46.P18
open QAlgorithms.Papers.Independent.Claimed50.P22
open QAlgorithms.Papers.Independent.Next46.P35
universe u v w z
/-- Remark II.4, PDF p. 10: identity-arrow conjugation on the actual
source kernel. The section equation ensures that conjugation stays in it.
These are tensor group operations, not categorical arrow composition. -/
def sourceKernelAction {G : Type u} {K : Type v} [Group G] [Group K]
(s : K →* G) (identity : G →* K)
(hSection : ∀ g, s (identity g) = g) : G →* MulAut s.ker where
toFun g :=
{ toFun := fun h => ⟨identity g * h.val * (identity g)⁻¹, by
change s (identity g * h.val * (identity g)⁻¹) = 1
have hh : s h.val = 1 := h.property
simp [hSection, hh]⟩
invFun := fun h => ⟨(identity g)⁻¹ * h.val * identity g, by
change s ((identity g)⁻¹ * h.val * identity g) = 1
have hh : s h.val = 1 := h.property
simp [hSection, hh]⟩
left_inv := by
intro h
apply Subtype.ext
simp [mul_assoc]
right_inv := by
intro h
apply Subtype.ext
simp [mul_assoc]
map_mul' := by
intro h k
apply Subtype.ext
simp [mul_assoc] }
map_one' := by
ext h
simp
map_mul' := by
intro g k
ext h
simp [mul_assoc]
/-- Sanity: at the identity object, kernel conjugation is the identity. -/
example {G : Type u} {K : Type v} [Group G] [Group K]
(s : K →* G) (identity : G →* K)
(hSection : ∀ g, s (identity g) = g) (h : s.ker) :
(sourceKernelAction s identity hSection 1 h : K) = h.val := by
simp [sourceKernelAction]
/-- Product charts, used only to express smoothness of multiplication. -/
local instance productCharts
(E F M N : Type*) [TopologicalSpace E] [TopologicalSpace F]
[TopologicalSpace M] [TopologicalSpace N]
[ChartedSpace E M] [ChartedSpace F N] : ChartedSpace (E × F) (M × N) :=
prodChartedSpace E M F N
section LocallyConvexCalculus
variable {E : Type u} [AddCommGroup E] [Module ℝ E] [TopologicalSpace E]
variable {G : Type v} [Group G] [TopologicalSpace G] [ChartedSpace E G]
/-- Definition A.1, PDF p. 35: compatible directional atlas and smooth
group operations. Hausdorff and locally convex model assumptions are
explicit in the theorem binders below. No norm or completeness is used. -/
def IsDirectionalLieGroup : Prop :=
BastianiAtlas (E := E) (M := G) ∧
DirectionalManifoldSmooth (E := E × E) (F := E)
(fun p : G × G => p.1 * p.2) ∧
DirectionalManifoldSmooth (E := E) (F := E) (fun g : G => g⁻¹)
/-- Definition A.3, PDF pp. 35–36: the left logarithmic velocity of a
curve equals x. The identity chart identifies T_1 G with E. Translating
by gamma(t) inverse before differentiating is exactly the equation
gamma'(t) = T(leftTranslation_gamma(t))(1) x. The chart centre is
subtracted explicitly; identity charts need not send 1 to zero. -/
def HasLeftVelocity (gamma : ℝ → G) (t : ℝ) (x : E) : Prop :=
Tendsto (fun h : ℝ => h⁻¹ •
(chartAt E (1 : G) ((gamma t)⁻¹ * gamma (t + h)) -
chartAt E (1 : G) 1))
(𝓝[≠] (0 : ℝ)) (𝓝 x)
/-- Definition A.3, PDF pp. 35–36: a smooth exponential function is the
time-one value of a global smooth solution of the left invariant ODE
for every identity tangent x. This requires actual solutions on all of R,
not local exponentiality or an arbitrary map called an exponential. -/
def IsExponentialFunction (expMap : E → G) : Prop :=
DirectionalManifoldSmooth (E := E) (F := E) expMap ∧
∀ x : E, ∃ gamma : ℝ → G,
DirectionalManifoldSmooth (E := ℝ) (F := E) gamma ∧
gamma 0 = 1 ∧ (∀ t : ℝ, HasLeftVelocity gamma t x) ∧
gamma 1 = expMap x
/-- Sanity: in the zero-dimensional group, all group operations are smooth
and the unique map is an ODE-defined exponential, including x = 0. -/
example : IsDirectionalLieGroup (E := PUnit.{1}) (G := PUnit.{1}) ∧
IsExponentialFunction (E := PUnit.{1}) (G := PUnit.{1})
(fun _ => PUnit.unit) := by
have hs : ∀ {A : Type} [AddCommGroup A] [Module ℝ A] [TopologicalSpace A]
(U : Set A) (f : A → PUnit.{1}), DirectionalSmoothOn U f := by
intro A a m t U f
refine ⟨fun _ _ _ => 0, ?_, ?_, ?_⟩
· intro x hx
exact Subsingleton.elim _ _
· intro n
exact continuousOn_const
· intro n x hx a h
simpa only [sub_self, smul_zero] using
(tendsto_const_nhds : Tendsto (fun _ : ℝ => (0 : PUnit.{1}))
(𝓝[≠] (0 : ℝ)) (𝓝 (0 : PUnit.{1})))
have smoothTarget : ∀ {A M : Type} [TopologicalSpace A] [AddCommGroup A]
[Module ℝ A] [TopologicalSpace M] [ChartedSpace A M]
(f : M → PUnit.{1}),
DirectionalManifoldSmooth (E := A) (F := PUnit.{1}) f := by
intro A M a b c d e f
refine ⟨?_, ?_⟩
· have hf : f = fun _ => PUnit.unit := funext (fun _ => Subsingleton.elim _ _)
rw [hf]
exact continuous_const
· intro c hc e he
exact hs _ _
constructor
· refine ⟨?_, smoothTarget _, smoothTarget _⟩
intro c hc e he
change DirectionalSmoothOn _ _
exact hs _ _
· refine ⟨smoothTarget _, ?_⟩
intro x
refine ⟨fun _ => PUnit.unit, smoothTarget _, rfl, ?_, rfl⟩
intro t
change Tendsto _ _ (𝓝 x)
have ht : ∀ f : ℝ → PUnit.{1}, Tendsto f (𝓝[≠] (0 : ℝ)) (𝓝 x) := by
intro f
have hf : f = fun _ => x := funext (fun _ => Subsingleton.elim _ _)
rw [hf]
exact tendsto_const_nhds
exact ht _
end LocallyConvexCalculus
/-- Lemma A.4, PDF pp. 35–36: the induced differential in the actual
identity charts. The slope is computed on chartE(1) + h x and then
mapped through the homomorphism and the target identity chart. For the
smooth maps between Hausdorff locally convex manifolds used below this
limit exists and is unique; no freely supplied tangent map is used. -/
noncomputable def identityDifferential
{E : Type u} {F : Type v}
[AddCommGroup E] [Module ℝ E] [TopologicalSpace E]
[AddCommGroup F] [Module ℝ F] [TopologicalSpace F]
{G : Type w} {K : Type z}
[Group G] [TopologicalSpace G] [ChartedSpace E G]
[Group K] [TopologicalSpace K] [ChartedSpace F K]
(alpha : G →* K) (x : E) : F :=
Filter.limUnder (𝓝[≠] (0 : ℝ)) (fun h : ℝ => h⁻¹ •
(chartAt F (1 : K)
(alpha ((chartAt E (1 : G)).symm (chartAt E (1 : G) 1 + h • x))) -
chartAt F (1 : K) 1))
/-- Sanity: the actual differential on the trivial group has zero value. -/
example (x : PUnit.{1}) :
identityDifferential (E := PUnit.{1}) (F := PUnit.{1})
(MonoidHom.id PUnit.{1}) x = 0 := by
exact Subsingleton.elim _ _
end QAlgorithms.Papers.Independent.Bridge50.P08
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P08.HasLeftVelocity
For a real vector space with its specified topology, a group with its specified topology and charts modeled on , an arbitrary function , a real number , and a vector , this predicate means that, writing for the selected chart at ,
in the topology of . The chart is evaluated through its total underlying function, with no explicit condition that lie in its source. The definition assumes neither continuity nor smoothness of , places no restriction on , and excludes from the limiting filter.
QAlgorithms.Papers.Independent.Bridge50.P08.IsDirectionalLieGroup
For a real vector space with its specified topology and a group with its specified topology and charts modeled on , this predicate asserts the following three conditions, using the specified product charts on . To state them explicitly, for topological real vector spaces , a subset , and a total function , write for the existence of total functions , one for every integer , such that for every , each function is continuous on , and, for every , , , and ,
The predicate requires for every pair of charts in the specified atlas of ; it also requires multiplication , , to be continuous and to satisfy for every source chart in the specified atlas of and target chart in that of ; finally, it requires inversion , , to be continuous and to satisfy the same chart condition for every pair of charts of . Chart inverses in these expressions are their total underlying functions. The derivative conditions include , with the empty tuple of directions, and use all sufficiently small nonzero real increments without restricting to ; no linearity in the direction arguments is separately required, and the conditions defining are vacuous when is empty.
QAlgorithms.Papers.Independent.Bridge50.P08.IsExponentialFunction
For a real vector space with its specified topology and a group with its specified topology and charts modeled on , this predicate on a function asserts that has the smoothness property described below and that, for every , including , there exists a function with that smoothness property such that , , and, for every ,
where is the selected chart of at . The smoothness property for a map , with the specified charts modeled on real vector spaces , means that is continuous and, for every source atlas chart and target atlas chart , the total coordinate function admits functions , for every , on the coordinate set , satisfying for , continuity of on , and
for every , , , and . This property is applied with for and for each , using the specified charts on and . All coordinate functions and charts are evaluated as total functions, the derivative limits do not restrict to , and an empty imposes no coordinate conditions. The witnessing curve may depend on ; no homomorphism identity or uniqueness condition for that curve is part of this predicate.
QAlgorithms.Papers.Independent.Bridge50.P08.identityDifferential
Let and be real vector spaces, each equipped with an additive commutative group structure and an arbitrary topology, and let and be groups with arbitrary topologies and specified charted-space structures modeled on and , respectively. For any group homomorphism and any , this noncomputable definition produces an element of by applying the filter operation that chooses a limit to the function
as tends to through nonzero real values, where and are the selected charts at and . If this function has a limit, the operation chooses a limit; if it has no limit, it still returns an unspecified element of . The topologies need not be Hausdorff, so a limit need not be unique. No continuity or smoothness of , compatibility of the vector-space operations with the topologies, or existence of the displayed limit is assumed. The charts and inverse chart are total underlying functions, and no condition is imposed that their arguments lie in their chart domains.
QAlgorithms.Papers.Independent.Bridge50.P08.sourceKernelAction
For arbitrary groups and , group homomorphisms and , and a hypothesis for every , this defines a group homomorphism from to the group of group automorphisms of . The automorphism assigned to sends to , and its inverse sends to . These formulas take values in , preserve multiplication there, and are inverse to each other; the automorphism assigned to is the identity, and the automorphism assigned to is the composition of those assigned to and . No topology or nontriviality assumption is imposed on either group.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.