Definitions for Smooth Functors vs. Differential Forms
DefinitionQAlgorithms_Papers_Independent_Intake100_P15The objects the formalized statements of Smooth Functors vs. Differential Forms (arXiv:0802.0663) are stated in. Each was checked against the paper by a blind read-back and a moderator.
IsSittingPath: Section 4.1, PDF p. 50, and sitting instants on pp. 6–7. A sitting path is represented by its constant extension to the real line. Sitting at both ends makes this equivalent to the closed-interval convention. The existential sitting instant belongs to this path alone, not to a family.sittingPathConcat: Section 4.1, PDF p. 50: the usual half-speed concatenation, with gammaTwo traversed after gammaOne. The accepted same-short-name Information100.P69.concatenate tensors quantum channels and has a different type.SittingBigon: Definition 2.1, PDF p. 15: a smooth bigon, represented by its constant sitting extension to the plane. The same epsilon works on the whole square. No epsilon is required to work for a family of bigons.constantBigon: The constant identity bigon, Definition 2.3, PDF p. 16.manifoldDiffeology: Section 1.2, PDF p. 9: canonical manifold diffeology generated by smooth maps from Euclidean spaces. Locality supplies the open-domain plots; this uses Mathlib's full-Euclidean-domain convention for diffeology.bigonQuotientDiffeology: Section 1.2 and Lemma 2.4, PDF pp. 9,17: the quotient diffeology for the named projection p. Its generators are the images of jointly smooth families of sitting bigons. Diffeological generation includes locality, so plots may lift only locally. No global lift or family-wide sitting instant is required. The surjectivity of p is imposed at the theorem.CrossedModuleEquations: Definition A.7, PDF p. 66: the homomorphism, automorphic left action, and both Peiffer identities. Smoothness is added separately below.crossedCoordinateSource: Source of the actual arrow (g,h), Appendix A.2, PDF p. 66. Renew46.P18.crossedSource instead takes a bundled action and an H-first SemidirectProduct; this map is on the raw G-first product manifold.crossedCoordinateTarget: Target of the actual arrow (g,h), equation (A.5), PDF p. 67. The raw map t is not yet bundled as a homomorphism; the crossed-module hypothesis supplies its laws in the construction theorem.crossedCoordinateIdentity: Identity arrow at g, Appendix A.2, PDF p. 66.crossedVertical: Vertical composition b after a, equation (A.4), PDF p. 66. Its categorical domain is crossedCoordinateSource b = crossedCoordinateTarget t a; the displayed formula also gives a smooth extension off that domain.crossedVerticalInverse: Groupoid inverse, separate from tensor inverse, PDF pp. 66–67.crossedTensor: The tensor/semidirect product in the source's G-first coordinates, equation (A.3), PDF p. 66.crossedTensorInverse: The inverse functor on arrows, Appendix A.2, PDF p. 67.IsSmoothCrossedModule: Definition A.7, PDF p. 66: smooth crossed-module data on the specified Lie groups. Its laws are not consequences assumed of the strict Lie 2-group construction.IsConstructedStrictLieTwoGroup: Definitions A.6–A.7, PDF pp. 65–67, spelled out in the computed G-first arrow coordinates. Object tensor and inverse are the given group operations on G. The source and target are surjective submersions; the identity is a smooth embedding (including injective tangent maps). All arrow operations are smooth. Vertical composition is only asserted on matching arrows, while its extension is smooth on the ambient product. The remaining clauses give the full groupoid, strict tensor, interchange, and inverse-functor laws, including the strict inverse equations (A.2).
import Mathlib
/-!
Statements from Schreiber–Waldorf, arXiv:0802.0663v4.
New definitions are local to this paper. The remaining nodes and their precise
missing interfaces are inventoried in HARD.md and GAPS.json.
Compilation and independent moderation are pending batch handoff.
-/
namespace QAlgorithms.Papers.Independent.Intake100.P15
open scoped Manifold ContDiff
universe u v w z
/-- Section 4.1, PDF p. 50, and sitting instants on pp. 6–7.
A sitting path is represented by its constant extension to the real line.
Sitting at both ends makes this equivalent to the closed-interval convention.
The existential sitting instant belongs to this path alone, not to a family. -/
def IsSittingPath {X : Type u} [DiffeologicalSpace X] (gamma : ℝ → X) : Prop :=
Diffeology.DSmooth gamma ∧
∃ eps : ℝ, 0 < eps ∧ eps < 1 / 2 ∧
(∀ t : ℝ, t < eps → gamma t = gamma 0) ∧
(∀ t : ℝ, 1 - eps < t → gamma t = gamma 1)
/-- Section 4.1, PDF p. 50: the usual half-speed concatenation,
with gammaTwo traversed after gammaOne. The accepted same-short-name
Information100.P69.concatenate tensors quantum channels and has a different type. -/
noncomputable def sittingPathConcat {X : Type u} (gammaTwo gammaOne : ℝ → X) : ℝ → X :=
fun t => if t < 1 / 2 then gammaOne (2 * t) else gammaTwo (2 * t - 1)
/-- Sanity: every point supplies a constant sitting path. -/
example {X : Type u} [DiffeologicalSpace X] (x : X) :
IsSittingPath (fun _ : ℝ => x) := by
refine ⟨Diffeology.dSmooth_const, 1 / 4, by norm_num, by norm_num, ?_, ?_⟩
· intro t ht
rfl
· intro t ht
rfl
/-- Sanity: the joining parameter uses the source of the second path. -/
example {X : Type u} (gammaTwo gammaOne : ℝ → X) :
sittingPathConcat gammaTwo gammaOne (1 / 2) = gammaTwo 0 := by
norm_num [sittingPathConcat]
section BigonPlots
variable {E : Type w} [NormedAddCommGroup E] [NormedSpace ℝ E]
variable {X : Type u} [TopologicalSpace X] [ChartedSpace E X]
/-- Definition 2.1, PDF p. 15: a smooth bigon, represented by its
constant sitting extension to the plane. The same epsilon works on the
whole square. No epsilon is required to work for a family of bigons. -/
structure SittingBigon (E : Type w) [NormedAddCommGroup E] [NormedSpace ℝ E]
(X : Type u) [TopologicalSpace X] [ChartedSpace E X] where
map : ℝ × ℝ → X
smooth : ContMDiff ((𝓘(ℝ, ℝ)).prod (𝓘(ℝ, ℝ))) (𝓘(ℝ, E)) ∞ map
sitting : ∃ eps : ℝ, 0 < eps ∧ eps < 1 / 2 ∧
(∀ s t : ℝ, t < eps → map (s, t) = map (0, 0)) ∧
(∀ s t : ℝ, 1 - eps < t → map (s, t) = map (0, 1)) ∧
(∀ s t : ℝ, s < eps → map (s, t) = map (0, t)) ∧
(∀ s t : ℝ, 1 - eps < s → map (s, t) = map (1, t))
/-- The constant identity bigon, Definition 2.3, PDF p. 16. -/
def constantBigon (x : X) : SittingBigon E X where
map := fun _ => x
smooth := contMDiff_const
sitting := by
refine ⟨1 / 4, by norm_num, by norm_num, ?_, ?_, ?_, ?_⟩ <;>
intro s t ht <;> rfl
/-- Sanity: both boundary paths of a constant bigon have the same value. -/
example (x : X) (t : ℝ) :
(constantBigon (E := E) x).map (0, t) = x ∧
(constantBigon (E := E) x).map (1, t) = x := ⟨rfl, rfl⟩
/-- Section 1.2, PDF p. 9: canonical manifold diffeology generated by
smooth maps from Euclidean spaces. Locality supplies the open-domain plots;
this uses Mathlib's full-Euclidean-domain convention for diffeology. -/
noncomputable def manifoldDiffeology : DiffeologicalSpace X :=
DiffeologicalSpace.generateFrom
{p | ContMDiff (𝓘(ℝ, EuclideanSpace ℝ (Fin p.1))) (𝓘(ℝ, E)) ∞ p.2}
/-- Section 1.2 and Lemma 2.4, PDF pp. 9,17: the quotient diffeology
for the named projection p. Its generators are the images of jointly smooth
families of sitting bigons. Diffeological generation includes locality, so
plots may lift only locally. No global lift or family-wide sitting instant
is required. The surjectivity of p is imposed at the theorem. -/
noncomputable def bigonQuotientDiffeology {Q : Type v}
(p : SittingBigon E X → Q) : DiffeologicalSpace Q :=
DiffeologicalSpace.generateFrom
{q | ∃ c : EuclideanSpace ℝ (Fin q.1) → SittingBigon E X,
ContMDiff
((𝓘(ℝ, EuclideanSpace ℝ (Fin q.1))).prod
((𝓘(ℝ, ℝ)).prod (𝓘(ℝ, ℝ))))
(𝓘(ℝ, E)) ∞ (fun z : EuclideanSpace ℝ (Fin q.1) × (ℝ × ℝ) => (c z.1).map z.2) ∧
q.2 = p ∘ c}
/-- Sanity: constant maps are generating plots of the manifold diffeology. -/
example (x : X) (n : ℕ) :
@Diffeology.IsPlot X (manifoldDiffeology (E := E)) n
(fun _ : EuclideanSpace ℝ (Fin n) => x) := by
apply DiffeologicalSpace.isPlot_generatedFrom_of_mem
exact contMDiff_const
/-- Sanity: a constant bigon family gives a quotient plot even when
its projection is not injective. -/
example {Q : Type v} (p : SittingBigon E X → Q) (x : X) (n : ℕ) :
@Diffeology.IsPlot Q (bigonQuotientDiffeology p) n
(p ∘ (fun _ : EuclideanSpace ℝ (Fin n) => constantBigon (E := E) x)) := by
unfold bigonQuotientDiffeology
apply DiffeologicalSpace.isPlot_generatedFrom_of_mem
exact ⟨(fun _ : EuclideanSpace ℝ (Fin n) => constantBigon (E := E) x),
contMDiff_const, rfl⟩
end BigonPlots
section CrossedModuleCoordinates
variable {G : Type u} {H : Type v} [Group G] [Group H]
/-- Definition A.7, PDF p. 66: the homomorphism, automorphic left action,
and both Peiffer identities. Smoothness is added separately below. -/
def CrossedModuleEquations (t : H → G) (alpha : G × H → H) : Prop :=
t 1 = 1 ∧
(∀ h k, t (h * k) = t h * t k) ∧
(∀ g, alpha (g, 1) = 1) ∧
(∀ g h k, alpha (g, h * k) = alpha (g, h) * alpha (g, k)) ∧
(∀ h, alpha (1, h) = h) ∧
(∀ g k h, alpha (g * k, h) = alpha (g, alpha (k, h))) ∧
(∀ g h, t (alpha (g, h)) = g * t h * g⁻¹) ∧
(∀ h k, alpha (t h, k) = h * k * h⁻¹)
/-- Source of the actual arrow (g,h), Appendix A.2, PDF p. 66.
Renew46.P18.crossedSource instead takes a bundled action and an H-first
SemidirectProduct; this map is on the raw G-first product manifold. -/
def crossedCoordinateSource (a : G × H) : G := a.1
/-- Target of the actual arrow (g,h), equation (A.5), PDF p. 67.
The raw map t is not yet bundled as a homomorphism; the crossed-module
hypothesis supplies its laws in the construction theorem. -/
def crossedCoordinateTarget (t : H → G) (a : G × H) : G := t a.2 * a.1
/-- Identity arrow at g, Appendix A.2, PDF p. 66. -/
def crossedCoordinateIdentity (g : G) : G × H := (g, 1)
/-- Vertical composition b after a, equation (A.4), PDF p. 66.
Its categorical domain is crossedCoordinateSource b = crossedCoordinateTarget t a;
the displayed formula also gives a smooth extension off that domain. -/
def crossedVertical (b a : G × H) : G × H := (a.1, b.2 * a.2)
/-- Groupoid inverse, separate from tensor inverse, PDF pp. 66–67. -/
def crossedVerticalInverse (t : H → G) (a : G × H) : G × H :=
(t a.2 * a.1, a.2⁻¹)
/-- The tensor/semidirect product in the source's G-first coordinates,
equation (A.3), PDF p. 66. -/
def crossedTensor (alpha : G × H → H) (b a : G × H) : G × H :=
(b.1 * a.1, b.2 * alpha (b.1, a.2))
/-- The inverse functor on arrows, Appendix A.2, PDF p. 67. -/
def crossedTensorInverse (alpha : G × H → H) (a : G × H) : G × H :=
(a.1⁻¹, alpha (a.1⁻¹, a.2⁻¹))
/-- Sanity: vertical composition has the source of the first arrow
and multiplies H labels in traversal order. -/
example (b a : G × H) :
crossedCoordinateSource (crossedVertical b a) = a.1 ∧
(crossedVertical b a).2 = b.2 * a.2 := ⟨rfl, rfl⟩
/-- Sanity: horizontal composition acts by the source G-label of b. -/
example (alpha : G × H → H) (b a : G × H) :
(crossedTensor alpha b a).2 = b.2 * alpha (b.1, a.2) := rfl
/-- Sanity: the categorical inverse swaps source and target coordinates. -/
example (t : H → G) (a : G × H) :
crossedCoordinateSource (crossedVerticalInverse t a) = crossedCoordinateTarget t a := rfl
/-- Sanity: the tensor inverse uses the inverse G label to act. -/
example (alpha : G × H → H) (a : G × H) :
(crossedTensorInverse alpha a).1 = a.1⁻¹ ∧
(crossedTensorInverse alpha a).2 = alpha (a.1⁻¹, a.2⁻¹) := ⟨rfl, rfl⟩
end CrossedModuleCoordinates
section SmoothCrossedModules
variable {E : Type w} [NormedAddCommGroup E] [NormedSpace ℝ E]
variable {F : Type z} [NormedAddCommGroup F] [NormedSpace ℝ F]
variable {G : Type u} [Group G] [TopologicalSpace G] [ChartedSpace E G]
variable {H : Type v} [Group H] [TopologicalSpace H] [ChartedSpace F H]
/-- Definition A.7, PDF p. 66: smooth crossed-module data on the
specified Lie groups. Its laws are not consequences assumed of the
strict Lie 2-group construction. -/
def IsSmoothCrossedModule (t : H → G) (alpha : G × H → H) : Prop :=
ContMDiff (𝓘(ℝ, F)) (𝓘(ℝ, E)) ∞ t ∧
ContMDiff ((𝓘(ℝ, E)).prod (𝓘(ℝ, F))) (𝓘(ℝ, F)) ∞ alpha ∧
CrossedModuleEquations t alpha
/-- Definitions A.6–A.7, PDF pp. 65–67, spelled out in the computed
G-first arrow coordinates. Object tensor and inverse are the given group
operations on G. The source and target are surjective submersions; the
identity is a smooth embedding (including injective tangent maps).
All arrow operations are smooth. Vertical composition is only asserted
on matching arrows, while its extension is smooth on the ambient product.
The remaining clauses give the full groupoid, strict tensor, interchange,
and inverse-functor laws, including the strict inverse equations (A.2). -/
def IsConstructedStrictLieTwoGroup (t : H → G) (alpha : G × H → H) : Prop :=
let IG := 𝓘(ℝ, E)
let IH := 𝓘(ℝ, F)
let IA := IG.prod IH
let s : G × H → G := crossedCoordinateSource
let target : G × H → G := crossedCoordinateTarget t
let identity : G → G × H := crossedCoordinateIdentity
let vertical : (G × H) → (G × H) → (G × H) := crossedVertical
let verticalInv : G × H → G × H := crossedVerticalInverse t
let tensor : (G × H) → (G × H) → (G × H) := crossedTensor alpha
let tensorInv : G × H → G × H := crossedTensorInverse alpha
let unit : G × H := (1, 1)
ContMDiff (IG.prod IG) IG ∞ (fun p : G × G => p.1 * p.2) ∧
ContMDiff IG IG ∞ (fun g : G => g⁻¹) ∧
ContMDiff IA IG ∞ s ∧
ContMDiff IA IG ∞ target ∧
Function.Surjective s ∧ Function.Surjective target ∧
(∀ a, Function.Surjective (mfderiv IA IG s a)) ∧
(∀ a, Function.Surjective (mfderiv IA IG target a)) ∧
ContMDiff IG IA ∞ identity ∧ Topology.IsEmbedding identity ∧
(∀ g, Function.Injective (mfderiv IG IA identity g)) ∧
ContMDiff (IA.prod IA) IA ∞ (fun p : (G × H) × (G × H) => vertical p.1 p.2) ∧
ContMDiff IA IA ∞ verticalInv ∧
ContMDiff (IA.prod IA) IA ∞ (fun p : (G × H) × (G × H) => tensor p.1 p.2) ∧
ContMDiff IA IA ∞ tensorInv ∧
(∀ g, s (identity g) = g ∧ target (identity g) = g) ∧
(∀ b a, s b = target a →
s (vertical b a) = s a ∧ target (vertical b a) = target b) ∧
(∀ a, vertical (identity (target a)) a = a ∧
vertical a (identity (s a)) = a) ∧
(∀ c b a, s b = target a → s c = target b →
vertical c (vertical b a) = vertical (vertical c b) a) ∧
(∀ a, s (verticalInv a) = target a ∧ target (verticalInv a) = s a ∧
vertical (verticalInv a) a = identity (s a) ∧
vertical a (verticalInv a) = identity (target a)) ∧
(∀ b a, s (tensor b a) = s b * s a ∧
target (tensor b a) = target b * target a) ∧
(∀ b a, tensor (identity b) (identity a) = identity (b * a)) ∧
(∀ d c b a, s d = target c → s b = target a →
vertical (tensor d b) (tensor c a) = tensor (vertical d c) (vertical b a)) ∧
(∀ c b a, tensor c (tensor b a) = tensor (tensor c b) a) ∧
(∀ a, tensor unit a = a ∧ tensor a unit = a) ∧
(∀ a, s (tensorInv a) = (s a)⁻¹ ∧ target (tensorInv a) = (target a)⁻¹) ∧
(∀ g, tensorInv (identity g) = identity g⁻¹) ∧
(∀ b a, s b = target a →
tensorInv (vertical b a) = vertical (tensorInv b) (tensorInv a)) ∧
(∀ a, tensor a (tensorInv a) = unit ∧ tensor (tensorInv a) a = unit)
/-- Sanity: the identity crossed module uses actual smooth maps.
This also checks consistency of the action and both Peiffer identities. -/
example [LieGroup (𝓘(ℝ, E)) ∞ G] :
IsSmoothCrossedModule (E := E) (F := E)
(id : G → G) (fun p : G × G => p.1 * p.2 * p.1⁻¹) := by
refine ⟨contMDiff_id, ?_, ?_⟩
· exact (contMDiff_fst.mul contMDiff_snd).mul contMDiff_fst.inv
· simp [CrossedModuleEquations, mul_assoc]
end SmoothCrossedModules
end QAlgorithms.Papers.Independent.Intake100.P15
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P15.CrossedModuleEquations
For types and with the given multiplication, identity, and inverse operations, and maps and , this predicate is the conjunction of the following eight requirements, where and denote the respective identities:
QAlgorithms.Papers.Independent.Intake100.P15.IsConstructedStrictLieTwoGroup
Let be real normed vector spaces, and let be groups with topologies and charted-space structures modeled on , respectively. Given functions and , put , with product model , and define
The proposition defined here is the conjunction of the following requirements: multiplication and inversion are ; are and surjective, and at every their manifold derivatives and are surjective; is , is a topological embedding, and has injective manifold derivative at every ; and and are on their entire domains. In addition, all the following equations and implications hold, where range independently over , range independently over , and every displayed assertion is universally quantified over its variables:
The conditional equations assert nothing for inputs that fail their stated equalities, whereas the smoothness requirements for and concern all of .
QAlgorithms.Papers.Independent.Intake100.P15.IsSittingPath
For a type equipped with a diffeology and a map , this predicate means that is diffeologically smooth and there exists a real number with such that, for every ,
These conditions apply on the entire real line, including all negative times and all times greater than .
QAlgorithms.Papers.Independent.Intake100.P15.IsSmoothCrossedModule
Let be real normed vector spaces, and let be groups equipped with topologies and charted-space structures modeled on , respectively. For functions and , this defines a proposition asserting that is relative to those models, that is from the product model to , and that all the following equations hold:
This definition itself does not impose finite dimensionality, Hausdorffness, second countability, or smoothness of the group operations.
QAlgorithms.Papers.Independent.Intake100.P15.SittingBigon
Let be a real normed vector space and a topological space equipped with a charted-space structure modeled on . A value of this structure consists of a map , a proof that is with respect to the standard product model on and the model on , and a proof that there exists a real number with such that, for every ,
One common must satisfy all four conditions, which apply on the whole corresponding half-planes, not merely within the unit square.
QAlgorithms.Papers.Independent.Intake100.P15.bigonQuotientDiffeology
Let be a real normed vector space, a topological space equipped with a charted-space structure modeled on , any type, and any map from the following bigons to . Each such bigon is a map equipped with a real , , for which, for every real , if , if , if , and if . This definition gives the smallest diffeology containing every map for which there exists a family assigning such a bigon to each , with
jointly from to in the indicated standard real models and model , and with for every . All natural numbers , including , are allowed. The sitting witness may depend on the individual bigon, and is arbitrary, including maps that are not surjective.
QAlgorithms.Papers.Independent.Intake100.P15.constantBigon
For a real normed vector space , a topological space equipped with a charted-space structure modeled on , and a point , this defines a structure whose underlying map is for every . It includes a proof that this map is in the standard product model on and the model on , together with the sitting witness : for all real , implies , implies , implies , and implies .
QAlgorithms.Papers.Independent.Intake100.P15.crossedCoordinateIdentity
For types and , with the given identity element of , this defines the map sending every to .
QAlgorithms.Papers.Independent.Intake100.P15.crossedCoordinateSource
For types and , this defines the map sending every pair to its first coordinate .
QAlgorithms.Papers.Independent.Intake100.P15.crossedCoordinateTarget
For types and , with the given multiplication on , and any map , this defines the map sending every pair to , with the factor on the left.
QAlgorithms.Papers.Independent.Intake100.P15.crossedTensor
For groups , any function , and arbitrary , in , this defines
It applies to all such inputs, with no action axioms, smoothness assumptions, or composability conditions on .
QAlgorithms.Papers.Independent.Intake100.P15.crossedTensorInverse
For groups , any function , and any , this defines
There are no hypotheses here requiring to be an action or requiring this operation to satisfy any inverse laws.
QAlgorithms.Papers.Independent.Intake100.P15.crossedVertical
For a type , a group , and arbitrary pairs and in , this defines
The definition applies to every pair ; it imposes no composability condition and does not use .
QAlgorithms.Papers.Independent.Intake100.P15.crossedVerticalInverse
For groups , any function , and any , this defines
There is no assumption here that preserves multiplication, is smooth, or satisfies any further equations.
QAlgorithms.Papers.Independent.Intake100.P15.manifoldDiffeology
For a real normed vector space and a topological space equipped with a charted-space structure modeled on , this defines the smallest diffeology on containing every map that is with respect to the standard real model on the Euclidean space and the model on , for every natural number . Here denotes the Euclidean space with coordinates indexed by the -element set; , whose Euclidean space is a singleton, is included. The definition itself does not require to be finite-dimensional or to satisfy a manifold assumption.
QAlgorithms.Papers.Independent.Intake100.P15.sittingPathConcat
For an arbitrary type and any two maps , supplied in that order, this defines the map by
The formula applies to every real , and in particular . No smoothness, sitting condition, or agreement of endpoints is required to define this map.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.