Definitions for Parallel Transport and Functors
DefinitionQAlgorithms_Papers_Independent_Intake100_P87The objects the formalized statements of Parallel Transport and Functors (arXiv:0705.0452) are stated in. Each was checked against the paper by a blind read-back and a moderator.
SmoothManifold: An ordinary finite-dimensional real smooth manifold, including the empty manifold. The Hausdorff and second-countability conventions are those of Sections 1–2, PDF pp. 3–11.manifoldModel: The boundaryless real model of a paper-local manifold.SittingPath: Definition 2.1, PDF p. 7: a sitting-instant path, extended constantly outside the unit interval. The extension is canonical because the path is already constant near each endpoint.constantSittingPath: The constant path of Definition 2.1, PDF p. 7.PathExpression: Expressions for actual sitting paths, using exactly constant paths, half-speed concatenation, and reversal from PDF pp. 7–8. Expressions retain representatives before taking thin classes.PathExpression.eval: Evaluation of path expressions by the source's formulas, PDF pp. 7–8. Incompose later earlier, the earlier path is traversed first.ThinHomotopy: Definition 2.2, PDF p. 8: a smooth square with both uniform collars and differential rank ≤ 1. Sitting instants allow the square to be extended constantly across its four boundary faces. The rank restriction is imposed at every point of the closed unit square.ThinPathClass: Thin classes of the evaluated expressions, Definition 2.2, PDF p. 8.Quottakes the equivalence relation generated by the stated geometric thin homotopies.pathClass: Projection of a representative expression to its thin class, PDF p. 8.SmoothFunction: Smooth functions between the ordinary manifolds, Section 7.1, PDF pp. 48–49.SmoothSurjectiveSubmersion: A smooth surjective submersion, PDF p. 11. For these finite-dimensional manifolds, submersion means a surjective derivative at every point. No global smooth section is included.identityCover: The identity cover, permitted by the degree-zero local-trivialization definition, PDF p. 48.ZeroDescent: Degree-zero descent condition (7.3), PDF p. 49. The target is only a set.ZeroTrivialization: Degree-zero locally trivialized maps, PDF pp. 48–49. Smoothness is not imposed here.zeroExtract: The actual extraction map Ex_pi of Section 7.1, PDF p. 49.SmoothZeroDescent: Smooth degree-zero descent data, Section 7.1, PDF p. 49.zeroSmoothPullback: The specified local-descent comparison: pull a global smooth function back along pi, Section 7.1, PDF p. 49.IsZeroTransport: Degree-zero transport, Section 7.1, PDF pp. 48–49: a set-valued map has a smooth local G-lift on some smooth surjective submersion. Neither T nor i has smooth structure.ZeroTransport: Transport 0-functors as the actual set of locally smoothly lifted maps, PDF p. 49.zeroTransportOfSmooth: The canonical comparison sends a smooth G-valued function f to i composed with f, Section 7.1, PDF p. 49.
import Mathlib
/-!
Paper-local definitions for Schreiber–Waldorf, arXiv:0705.0452v5.
Only the three target declarations below have omitted proofs.
The remaining planned targets are explicitly inventoried in HARD.md and GAPS.json.
-/
noncomputable section
open scoped ContDiff Manifold
namespace QAlgorithms.Papers.Independent.Intake100.P87
universe u v
/-- An ordinary finite-dimensional real smooth manifold, including the empty manifold.
The Hausdorff and second-countability conventions are those of Sections 1–2, PDF pp. 3–11. -/
structure SmoothManifold where
carrier : Type u
dimension : ℕ
[topology : TopologicalSpace carrier]
[charted : ChartedSpace (EuclideanSpace ℝ (Fin dimension)) carrier]
[smooth : IsManifold (𝓘(ℝ, EuclideanSpace ℝ (Fin dimension))) ∞ carrier]
[hausdorff : T2Space carrier]
[secondCountable : SecondCountableTopology carrier]
attribute [instance] SmoothManifold.topology SmoothManifold.charted
SmoothManifold.smooth SmoothManifold.hausdorff SmoothManifold.secondCountable
/-- The boundaryless real model of a paper-local manifold. -/
abbrev manifoldModel (M : SmoothManifold.{u}) :=
𝓘(ℝ, EuclideanSpace ℝ (Fin M.dimension))
/-- Definition 2.1, PDF p. 7: a sitting-instant path, extended constantly outside the unit interval.
The extension is canonical because the path is already constant near each endpoint. -/
structure SittingPath (M : SmoothManifold.{u}) (x y : M.carrier) where
toFun : ℝ → M.carrier
smooth : ContMDiff (𝓘(ℝ, ℝ)) (manifoldModel M) ∞ toFun
epsilon : ℝ
epsilon_pos : 0 < epsilon
epsilon_lt : epsilon < 1 / 2
source_collar : ∀ t, t ≤ epsilon → toFun t = x
target_collar : ∀ t, 1 - epsilon ≤ t → toFun t = y
/-- The constant path of Definition 2.1, PDF p. 7. -/
def constantSittingPath (M : SmoothManifold.{u}) (x : M.carrier) : SittingPath M x x where
toFun := fun _ => x
smooth := contMDiff_const
epsilon := 1 / 4
epsilon_pos := by norm_num
epsilon_lt := by norm_num
source_collar := by intros; rfl
target_collar := by intros; rfl
example (M : SmoothManifold.{u}) (x : M.carrier) (t : ℝ) :
(constantSittingPath M x).toFun t = x := rfl
/-- Expressions for actual sitting paths, using exactly constant paths, half-speed concatenation,
and reversal from PDF pp. 7–8. Expressions retain representatives before taking thin classes. -/
inductive PathExpression (M : SmoothManifold.{u}) : M.carrier → M.carrier → Type u
| path {x y : M.carrier} (gamma : SittingPath M x y) : PathExpression M x y
| constant (x : M.carrier) : PathExpression M x x
| compose {x y z : M.carrier} (later : PathExpression M y z)
(earlier : PathExpression M x y) : PathExpression M x z
| reverse {x y : M.carrier} (gamma : PathExpression M x y) : PathExpression M y x
/-- Evaluation of path expressions by the source's formulas, PDF pp. 7–8.
In `compose later earlier`, the earlier path is traversed first. -/
def PathExpression.eval {M : SmoothManifold.{u}} {x y : M.carrier} :
PathExpression M x y → ℝ → M.carrier
| .path gamma => gamma.toFun
| .constant x => fun _ => x
| .compose later earlier => fun t =>
if t ≤ 1 / 2 then earlier.eval (2 * t) else later.eval (2 * t - 1)
| .reverse gamma => fun t => gamma.eval (1 - t)
example (M : SmoothManifold.{u}) (x : M.carrier) (t : ℝ) :
(PathExpression.reverse (PathExpression.constant (M := M) x)).eval t = x := rfl
/-- Definition 2.2, PDF p. 8: a smooth square with both uniform collars and differential rank ≤ 1.
Sitting instants allow the square to be extended constantly across its four boundary faces.
The rank restriction is imposed at every point of the closed unit square. -/
def ThinHomotopy {M : SmoothManifold.{u}} {x y : M.carrier}
(gamma delta : PathExpression M x y) : Prop :=
∃ h : ℝ × ℝ → M.carrier,
ContMDiff (𝓘(ℝ, ℝ × ℝ)) (manifoldModel M) ∞ h ∧
∃ epsilon : ℝ, 0 < epsilon ∧ epsilon < 1 / 2 ∧
(∀ s t, t ≤ epsilon → h (s, t) = x) ∧
(∀ s t, 1 - epsilon ≤ t → h (s, t) = y) ∧
(∀ s t, s ≤ epsilon → h (s, t) = gamma.eval t) ∧
(∀ s t, 1 - epsilon ≤ s → h (s, t) = delta.eval t) ∧
(∀ s t : ℝ, 0 ≤ s → s ≤ 1 → 0 ≤ t → t ≤ 1 →
Module.finrank ℝ
(LinearMap.range
(mfderiv (𝓘(ℝ, ℝ × ℝ)) (manifoldModel M) h (s, t)).toLinearMap) ≤ 1)
example (M : SmoothManifold.{u}) (x : M.carrier) :
ThinHomotopy (PathExpression.constant (M := M) x) (.constant x) := by
refine ⟨(fun _ => x), contMDiff_const, 1 / 4, by norm_num, by norm_num,
?_, ?_, ?_, ?_, ?_⟩
· intros; rfl
· intros; rfl
· intros; rfl
· intros; rfl
· intro s t hs0 hs1 ht0 ht1
have hzero : mfderiv (𝓘(ℝ, ℝ × ℝ)) (manifoldModel M)
(fun _ : ℝ × ℝ => x) (s, t) = 0 := mfderiv_const
change Module.finrank ℝ (LinearMap.range
(mfderiv (𝓘(ℝ, ℝ × ℝ)) (manifoldModel M)
(fun _ : ℝ × ℝ => x) (s, t)).toLinearMap) ≤ 1
rw [hzero, ContinuousLinearMap.toLinearMap_zero]
rw [LinearMap.range_zero]
rw [finrank_bot]
exact Nat.zero_le 1
/-- Thin classes of the evaluated expressions, Definition 2.2, PDF p. 8.
`Quot` takes the equivalence relation generated by the stated geometric thin homotopies. -/
def ThinPathClass (M : SmoothManifold.{u}) (x y : M.carrier) :=
Quot (fun gamma delta : PathExpression M x y => ThinHomotopy gamma delta)
/-- Projection of a representative expression to its thin class, PDF p. 8. -/
def pathClass {M : SmoothManifold.{u}} {x y : M.carrier}
(gamma : PathExpression M x y) : ThinPathClass M x y := Quot.mk _ gamma
/-- Smooth functions between the ordinary manifolds, Section 7.1, PDF pp. 48–49. -/
def SmoothFunction (M N : SmoothManifold.{u}) :=
{f : M.carrier → N.carrier // ContMDiff (manifoldModel M) (manifoldModel N) ∞ f}
/-- A smooth surjective submersion, PDF p. 11.
For these finite-dimensional manifolds, submersion means a surjective derivative at every point.
No global smooth section is included. -/
structure SmoothSurjectiveSubmersion (Y M : SmoothManifold.{u}) where
toFun : Y.carrier → M.carrier
smooth : ContMDiff (manifoldModel Y) (manifoldModel M) ∞ toFun
surjective : Function.Surjective toFun
derivative_surjective : ∀ y, Function.Surjective
(mfderiv (manifoldModel Y) (manifoldModel M) toFun y)
/-- The identity cover, permitted by the degree-zero local-trivialization definition, PDF p. 48. -/
def identityCover (M : SmoothManifold.{u}) : SmoothSurjectiveSubmersion M M where
toFun := id
smooth := contMDiff_id
surjective := Function.surjective_id
derivative_surjective := by
intro x
rw [mfderiv_id]
intro v
exact ⟨v, rfl⟩
example (M : SmoothManifold.{u}) (x : M.carrier) : (identityCover M).toFun x = x := rfl
/-- Degree-zero descent condition (7.3), PDF p. 49. The target is only a set. -/
def ZeroDescent {Y M G : SmoothManifold.{u}} {T : Type v}
(pi : SmoothSurjectiveSubmersion Y M) (i : G.carrier → T) :=
{triv : Y.carrier → G.carrier //
∀ y z, pi.toFun y = pi.toFun z → i (triv y) = i (triv z)}
/-- Degree-zero locally trivialized maps, PDF pp. 48–49. Smoothness is not imposed here. -/
def ZeroTrivialization {Y M G : SmoothManifold.{u}} {T : Type v}
(pi : SmoothSurjectiveSubmersion Y M) (i : G.carrier → T) :=
{data : (M.carrier → T) × (Y.carrier → G.carrier) //
∀ y, data.1 (pi.toFun y) = i (data.2 y)}
/-- The actual extraction map Ex_pi of Section 7.1, PDF p. 49. -/
def zeroExtract {Y M G : SmoothManifold.{u}} {T : Type v}
(pi : SmoothSurjectiveSubmersion Y M) (i : G.carrier → T)
(data : ZeroTrivialization pi i) : ZeroDescent pi i :=
⟨data.val.2, by
intro y z h
rw [← data.property y, ← data.property z, h]⟩
/-- Smooth degree-zero descent data, Section 7.1, PDF p. 49. -/
def SmoothZeroDescent {Y M G : SmoothManifold.{u}} {T : Type v}
(pi : SmoothSurjectiveSubmersion Y M) (i : G.carrier → T) :=
{data : ZeroDescent pi i //
ContMDiff (manifoldModel Y) (manifoldModel G) ∞ data.val}
/-- The specified local-descent comparison: pull a global smooth function back along pi,
Section 7.1, PDF p. 49. -/
def zeroSmoothPullback {Y M G : SmoothManifold.{u}} {T : Type v}
(pi : SmoothSurjectiveSubmersion Y M) (i : G.carrier → T)
(f : SmoothFunction M G) : SmoothZeroDescent pi i :=
⟨⟨f.val ∘ pi.toFun, by
intro y z h
change i (f.val (pi.toFun y)) = i (f.val (pi.toFun z))
rw [h]⟩,
f.property.comp pi.smooth⟩
/-- Degree-zero transport, Section 7.1, PDF pp. 48–49: a set-valued map has a smooth local
G-lift on some smooth surjective submersion. Neither T nor i has smooth structure. -/
def IsZeroTransport {M G : SmoothManifold.{u}} {T : Type v}
(i : G.carrier → T) (f : M.carrier → T) : Prop :=
∃ (Y : SmoothManifold.{u}) (pi : SmoothSurjectiveSubmersion Y M)
(triv : SmoothFunction Y G), ∀ y, f (pi.toFun y) = i (triv.val y)
/-- Transport 0-functors as the actual set of locally smoothly lifted maps, PDF p. 49. -/
def ZeroTransport (M G : SmoothManifold.{u}) {T : Type v} (i : G.carrier → T) :=
{f : M.carrier → T // IsZeroTransport i f}
/-- The canonical comparison sends a smooth G-valued function f to i composed with f,
Section 7.1, PDF p. 49. -/
def zeroTransportOfSmooth {M G : SmoothManifold.{u}} {T : Type v}
(i : G.carrier → T) (f : SmoothFunction M G) : ZeroTransport M G i :=
⟨i ∘ f.val, ⟨M, identityCover M, f, by intro y; rfl⟩⟩
example {M G : SmoothManifold.{u}} {T : Type v} (i : G.carrier → T)
(f : SmoothFunction M G) (x : M.carrier) :
(zeroTransportOfSmooth i f).val x = i (f.val x) := rfl
end QAlgorithms.Papers.Independent.Intake100.P87
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P87.IsZeroTransport
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions; let be any type, any map, and any map. This predicate holds precisely when there exist another finite-dimensional Hausdorff, second-countable smooth real manifold in the same universe as and , a smooth surjection whose differential is surjective at every point, and an infinitely differentiable map , such that
The manifold may also be empty or have dimension zero; no topology or smoothness structure on , or injectivity condition on , is required.
QAlgorithms.Papers.Independent.Intake100.P87.PathExpression.eval
For any Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, and any , evaluation assigns a function to each formal path expression from to . Such expressions are generated by primitive sitting paths, formal constants, endpoint-compatible compositions, and reversals; a primitive sitting path is a globally function with a specified , equal to its source for all and its target for all . Evaluation uses itself on a primitive expression, gives for the formal constant at any , and, writing for the formal composition with earlier and later, is defined recursively by
These formulas apply to every real , including times outside , and at the earlier branch is used.
QAlgorithms.Papers.Independent.Intake100.P87.PathExpression
For every Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, PathExpression is an inductively generated family of types in universe , indexed by a source and a target in . Its constructors are: for any , a primitive expression from to for each function equipped with a real width and satisfying whenever and whenever ; for each , a formal constant expression from to ; for any , a formal composite from to , supplied with a later expression from to and an earlier expression from to ; and, for any , a formal reversal from to of an expression from to . These are formal inductive expressions, with no equations imposed between the constructors.
QAlgorithms.Papers.Independent.Intake100.P87.SittingPath
For any Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, and any points , a SittingPath from to consists of a function , a witness that is on all of using the standard real and Euclidean manifold models, and a specified real number satisfying , such that for every real and for every real . Both collar conditions apply on entire half-lines, including times outside ; the endpoints may coincide.
QAlgorithms.Papers.Independent.Intake100.P87.SmoothFunction
For any two Hausdorff, second-countable smooth real manifolds , each equipped with its topology and charts, with carriers in the same universe and respective dimensions , is the type of functions equipped with a witness that is relative to the standard full-space Euclidean models and . The dimensions may differ or be zero, and neither carrier is required to be nonempty; an element still requires an actual function with the stated smoothness.
QAlgorithms.Papers.Independent.Intake100.P87.SmoothManifold
A SmoothManifold consists of a carrier type in universe , a natural number called its dimension, a topology on the carrier, a charted-space structure modeled on the real Euclidean space , and witnesses that this charted space is for the standard full-space Euclidean model, Hausdorff, and second-countable. The dimension is allowed, and the carrier is not required to be nonempty.
QAlgorithms.Papers.Independent.Intake100.P87.SmoothSurjectiveSubmersion
For any Hausdorff, second-countable smooth real manifolds , each equipped with its topology and charts, with carriers in the same universe and respective dimensions , a SmoothSurjectiveSubmersion from to consists of a function , a witness that it is relative to the standard full-space Euclidean models, a witness that it is surjective, and a witness that its manifold derivative is surjective at every . Explicitly, every has some with , and for each , every tangent vector has some with . Zero dimensions are allowed. Both carriers may be empty, in which case the surjectivity condition and the condition quantified over are vacuous.
QAlgorithms.Papers.Independent.Intake100.P87.SmoothZeroDescent
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions. For any type , any smooth surjection with surjective differential everywhere, and any map , this defines the type of maps equipped both with the property that whenever , and with the property that is infinitely differentiable relative to the specified manifold structures. No injectivity or smoothness condition is imposed on .
QAlgorithms.Papers.Independent.Intake100.P87.ThinHomotopy
For any Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, any , and any formal path expressions from to , means that there exist a globally map , using the standard full-space smooth models, and a real number , such that, for all real ,
and the real dimension of the image of the manifold derivative is at most whenever and . Here formal expressions are generated by primitive sitting paths, constants, endpoint-compatible compositions, and reversals: a primitive sitting path is a globally smooth real-parameter function equal to its source on and its target on , for a specified ; its evaluation is that function, a constant evaluates to its point, for and otherwise, and . The four collar conditions hold on all of ; only the derivative bound is restricted to the closed unit square.
QAlgorithms.Papers.Independent.Intake100.P87.ThinPathClass
For any Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, and any , is the quotient of formal path expressions from to by the equivalence relation generated by the following relation. Formal expressions are generated by primitive sitting paths, constants, endpoint-compatible compositions, and reversals; a primitive sitting path is a globally function with a specified width , equal to its source for and its target for . Evaluation uses this function on primitive expressions, the constant function on constants, when and otherwise, with earlier and later, and , all for real . Two expressions are related when there exist a globally map and a real such that, for every real , if , if , if , and if , and such that the image of has real dimension at most at every . All smoothness is measured using the standard Euclidean manifold models; the collar conditions extend beyond the unit square, whereas the derivative bound is imposed only on that square.
QAlgorithms.Papers.Independent.Intake100.P87.ZeroDescent
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions. For any type , any smooth surjection whose differential is surjective at every , and any map , this defines the type of maps equipped with the property
No smoothness is required of , and need not be injective.
QAlgorithms.Papers.Independent.Intake100.P87.ZeroTransport
For finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions, any type , and any map , this defines the type of maps equipped with the following existence property: there are a finite-dimensional Hausdorff, second-countable smooth real manifold in the same universe as , a smooth surjection with surjective differential everywhere, and an infinitely differentiable map such that for every . Empty and dimension zero are allowed; neither injectivity of nor a topology or smoothness structure on is required.
QAlgorithms.Papers.Independent.Intake100.P87.ZeroTrivialization
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions. For any type , any smooth surjection with surjective differential at every point, and any map , this defines the type of pairs of maps and equipped with the property
Neither nor is required to be smooth, and need not be injective.
QAlgorithms.Papers.Independent.Intake100.P87.constantSittingPath
For every Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, and every point , is the sitting path from to whose function is for every and whose specified collar width is . This function is , the width satisfies , and the required equalities hold for every and every .
QAlgorithms.Papers.Independent.Intake100.P87.identityCover
For every finite-dimensional Hausdorff, second-countable smooth real manifold , with its specified Euclidean model, allowing dimension zero and an empty underlying space, this defines a smooth surjective submersion from to itself. Its underlying map is ; it is smooth and surjective, and at each its differential is the identity on , hence surjective.
QAlgorithms.Papers.Independent.Intake100.P87.manifoldModel
For any smooth manifold whose carrier lies in universe , with its specified topology and charts, Hausdorff and second-countable topology, and dimension , is the standard identity model with corners on the full real Euclidean space . In particular, is allowed; this definition selects the Euclidean smooth model associated with the specified dimension.
QAlgorithms.Papers.Independent.Intake100.P87.pathClass
For any Hausdorff, second-countable smooth real manifold with specified topology and charts modeled on , carrier in universe , and possibly zero, any , and any formal path expression from to , is the image of under the canonical quotient map to the quotient by the equivalence relation generated by thin homotopies. Here formal expressions are generated by primitive sitting paths, constants, endpoint-compatible compositions, and reversals; a primitive sitting path is a globally map with a specified , equal to its source for and its target for . Their evaluations use the underlying primitive function, the constant function for a constant, for and otherwise, with earlier and later, and , for all real . A thin homotopy from an expression to an expression , both from to , consists of a globally map and a real such that, for every real , when , when , when , and when , with the real dimension of the image of at most for every . Smoothness uses the standard Euclidean models, the collar conditions hold globally, and the derivative bound is restricted to the closed square.
QAlgorithms.Papers.Independent.Intake100.P87.zeroExtract
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions; let be any type, a smooth surjection with surjective differential everywhere, and any map. Given maps and satisfying for every , this construction returns , equipped with the property that whenever . No smoothness of or , or injectivity of , is assumed.
QAlgorithms.Papers.Independent.Intake100.P87.zeroSmoothPullback
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions. For any type , any smooth surjection with surjective differential everywhere, any map , and any infinitely differentiable map , this construction returns the infinitely differentiable map given by , equipped with the property
No injectivity condition is imposed on .
QAlgorithms.Papers.Independent.Intake100.P87.zeroTransportOfSmooth
Let be finite-dimensional Hausdorff, second-countable smooth real manifolds with specified Euclidean models, allowing empty underlying spaces and zero dimensions; let be any type, any map, and an infinitely differentiable map. This construction returns the map given by , equipped with the property that there exist a finite-dimensional Hausdorff, second-countable smooth real manifold , a smooth surjection with surjective differential everywhere, and an infinitely differentiable map satisfying for every . The witnesses used are , , and . No injectivity condition is imposed on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.