The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V23. Manifolds and bundles

Mathlib.Geometry.Manifold.Instances.Icc

17 declarations and 2 deprecated aliases. Mathlib docs ยท Source

Manifold structure on real intervals

The manifold structure on real intervals is defined in Mathlib.Geometry.Manifold.Instances.Real. We relate it to the manifold structure on the real line, by showing that the inclusion (contMDiff_subtypeVal_Icc) and projection (contMDiffOn_projIcc) are smooth, and showing that a function defined on the interval is smooth iff its composition with the projection is smooth on the interval in โ„ (see contMDiffOn_comp_projIcc_iff and friends).

We also define 1 : TangentSpace (๐“กโˆ‚ 1) z, and relate it to 1 in the real line.

  • isSmoothEmbedding_subtypeVal_Icc: the inclusion Icc x y โ†’ โ„ is a smooth embedding, and in particular smooth (contMDiff_subtypeVal_Icc)
  • contMDiff_iff_comp_subtypeVal_Icc: a function f : M โ†’ Icc x y is smooth iff its composition with the inclusion into โ„ is smooth

TODO

This file can be thoroughly rewritten once mathlib has a good theory of smooth submersions. Once this is done,

  • prove the projection โ„ โ†’ Icc x y is a smooth submersion, hence smooth
  • use this to simplify the proof that f : Icc x y โ†’ M is smooth iff the composition โ„ โ†’ M with the projection โ„ โ†’ Icc x y is

theorem Homeomorph.constVSub.congr_simp E1 #

โˆ€ {V : Type u_1} {P : Type u_2} [inst : AddGroup V] [inst_1 : TopologicalSpace V] [inst_2 : AddTorsor V P]
  [inst_3 : TopologicalSpace P] [inst_4 : IsTopologicalAddTorsor P] (p p_1 : P),
  p = p_1 โ†’ Homeomorph.constVSub p = Homeomorph.constVSub p_1

theorem Homeomorph.pointReflection.congr_simp E1 #

โˆ€ {V : Type u_4} {P : Type u_5} [inst : AddGroup V] [inst_1 : TopologicalSpace V] [inst_2 : AddTorsor V P]
  [inst_3 : TopologicalSpace P] [inst_4 : IsTopologicalAddTorsor P] (p p_1 : P),
  p = p_1 โ†’ Homeomorph.pointReflection p = Homeomorph.pointReflection p_1

theorem EuclideanHalfSpace.congr_simp E1 #

โˆ€ (n n_1 : โ„•) (e_n : n = n_1) [inst : NeZero n], EuclideanHalfSpace n = EuclideanHalfSpace n_1

instance instOneTangentSpaceRealModelWithCornersSelf E0 #

(x : โ„) โ†’ One (TangentSpace (modelWithCornersSelf โ„ โ„) x)

def oneTangentSpaceIcc E1 #

{x y : โ„} โ†’ [h : Fact (x < y)] โ†’ (z : โ†‘(Set.Icc x y)) โ†’ TangentSpace (modelWithCornersEuclideanHalfSpace 1) z

Unit vector in the tangent space to a segment, as the image of the unit vector in the real line under the canonical projection. It is also mapped to the unit vector in the real line through the canonical injection, see mfderiv_subtypeVal_Icc_one.

Note that one cannot abuse defeqs for this definition: this is not the same as the vector fun _ โ†ฆ 1 in EuclideanSpace โ„ (Fin 1) through defeqs, as one of the charts of Icc x y is orientation-reversing.

instance instOneTangentSpaceRealEuclideanSpaceFinOfNatNatEuclideanHalfSpaceModelWithCornersEuclideanHalfSpaceElemIcc E0 #

{x y : โ„} โ†’ [h : Fact (x < y)] โ†’ (z : โ†‘(Set.Icc x y)) โ†’ One (TangentSpace (modelWithCornersEuclideanHalfSpace 1) z)

theorem isImmersionOfComplement_subtypeVal_Icc E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] {n : WithTop โ„•โˆž},
  Manifold.IsImmersionOfComplement Unit (modelWithCornersEuclideanHalfSpace 1) (modelWithCornersSelf โ„ โ„) n fun z โ†ฆ โ†‘z

The inclusion map from a closed segment to โ„ is a smooth immersion

theorem isSmoothEmbedding_subtypeVal_Icc E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] {n : WithTop โ„•โˆž},
  Manifold.IsSmoothEmbedding (modelWithCornersEuclideanHalfSpace 1) (modelWithCornersSelf โ„ โ„) n fun z โ†ฆ โ†‘z

The inclusion map from a closed segment to โ„ is a smooth embedding

theorem contMDiff_subtypeVal_Icc E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] {n : WithTop โ„•โˆž},
  ContMDiff (modelWithCornersEuclideanHalfSpace 1) (modelWithCornersSelf โ„ โ„) n fun z โ†ฆ โ†‘z

The inclusion map from of a closed segment to โ„ is smooth in the manifold sense.

theorem contMDiff_iff_comp_subtypeVal_Icc E1 #

โˆ€ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners โ„ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M] {x y : โ„}
  [h : Fact (x < y)] {n : WithTop โ„•โˆž} {f : M โ†’ โ†‘(Set.Icc x y)},
  ContMDiff I (modelWithCornersEuclideanHalfSpace 1) n f โ†”
    Continuous f โˆง ContMDiff I (modelWithCornersSelf โ„ โ„) n ((fun z โ†ฆ โ†‘z) โˆ˜ f)

A function f : M โ†’ Icc x y is smooth iff its composition with the inclusion into โ„ is smooth.

theorem contMDiffOn_projIcc E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] {n : WithTop โ„•โˆž},
  ContMDiffOn (modelWithCornersSelf โ„ โ„) (modelWithCornersEuclideanHalfSpace 1) n (Set.projIcc x y โ‹ฏ) (Set.Icc x y)

The projection from โ„ to a closed segment is smooth on the segment, in the manifold sense.

theorem contMDiffOn_comp_projIcc_iff E0 #

โˆ€ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners โ„ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M] {x y : โ„}
  [h : Fact (x < y)] {n : WithTop โ„•โˆž} {f : โ†‘(Set.Icc x y) โ†’ M},
  ContMDiffOn (modelWithCornersSelf โ„ โ„) I n (f โˆ˜ Set.projIcc x y โ‹ฏ) (Set.Icc x y) โ†”
    ContMDiff (modelWithCornersEuclideanHalfSpace 1) I n f

theorem contMDiffWithinAt_comp_projIcc_iff E0 #

โˆ€ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners โ„ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M] {x y : โ„}
  [h : Fact (x < y)] {n : WithTop โ„•โˆž} {f : โ†‘(Set.Icc x y) โ†’ M} {w : โ†‘(Set.Icc x y)},
  ContMDiffWithinAt (modelWithCornersSelf โ„ โ„) I n (f โˆ˜ Set.projIcc x y โ‹ฏ) (Set.Icc x y) โ†‘w โ†”
    ContMDiffAt (modelWithCornersEuclideanHalfSpace 1) I n f w

theorem mdifferentiableWithinAt_comp_projIcc_iff E0 #

โˆ€ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners โ„ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M] {x y : โ„}
  [h : Fact (x < y)] {f : โ†‘(Set.Icc x y) โ†’ M} {w : โ†‘(Set.Icc x y)},
  MDiffAt[Set.Icc x y] (f โˆ˜ Set.projIcc x y โ‹ฏ) โ†‘w โ†” MDiffAt f w

theorem mfderivWithin_projIcc_one E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] {z : โ„}, z โˆˆ Set.Icc x y โ†’ (mfderiv[Set.Icc x y] (Set.projIcc x y โ‹ฏ) z) 1 = 1

theorem mfderivWithin_comp_projIcc_one E1 #

โˆ€ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace โ„ E] {H : Type u_2} [inst_2 : TopologicalSpace H]
  {I : ModelWithCorners โ„ E H} {M : Type u_3} [inst_3 : TopologicalSpace M] [inst_4 : ChartedSpace H M] {x y : โ„}
  [h : Fact (x < y)] {f : โ†‘(Set.Icc x y) โ†’ M} {w : โ†‘(Set.Icc x y)},
  (mfderiv[Set.Icc x y] (f โˆ˜ Set.projIcc x y โ‹ฏ) โ†‘w) 1 = (mfderiv% f w) 1

theorem mfderiv_subtypeVal_Icc_one E1 #

โˆ€ {x y : โ„} [h : Fact (x < y)] (z : โ†‘(Set.Icc x y)), (mfderiv% Subtype.val z) 1 = 1

Deprecated aliases

NameNew nameSince
contMDiff_subtype_coe_IcccontMDiff_subtypeVal_Icc2026-07-22
mfderiv_subtype_coe_Icc_onemfderiv_subtypeVal_Icc_one2026-07-22