Documentation

Atlas.GeometryOfManifolds.code.EuclideanDFS

@[reducible, inline]
abbrev Eℝ (n : ) :

Shorthand for $n$-dimensional Euclidean space $\mathbb{R}^n$ with its standard inner product.

Instances For
    def EuclideanΩ (n p : ) :

    The space $\Omega^p(\mathbb{R}^n)$ of (not-necessarily-smooth) differential $p$-forms on $\mathbb{R}^n$: pointwise alternating $\mathbb{R}$-multilinear maps $(\mathbb{R}^n)^p \to \mathbb{R}$.

    Instances For
      def EuclideanVF (n : ) :

      The space of vector fields $\mathfrak{X}(\mathbb{R}^n)$ on Euclidean space: arbitrary maps $\mathbb{R}^n \to \mathbb{R}^n$.

      Instances For
        @[implicit_reducible]
        noncomputable instance EuclideanΩ.instAddCommGroup {n p : } :

        Pointwise abelian-group structure on $\Omega^p(\mathbb{R}^n)$.

        @[implicit_reducible]

        Pointwise $\mathbb{R}$-module structure on $\Omega^p(\mathbb{R}^n)$.

        theorem EuclideanΩ.ext {n p : } {α β : EuclideanΩ n p} (h : ∀ (x : Eℝ n), α x = β x) :
        α = β

        Extensionality for Euclidean $p$-forms: two forms agreeing pointwise are equal.

        theorem EuclideanΩ.ext_iff {n p : } {α β : EuclideanΩ n p} :
        α = β ∀ (x : Eℝ n), α x = β x
        @[simp]
        theorem EuclideanΩ.add_apply {n p : } (α β : EuclideanΩ n p) (x : Eℝ n) :
        (α + β) x = α x + β x

        Pointwise evaluation of an addition of forms.

        @[simp]
        theorem EuclideanΩ.neg_apply' {n p : } (α : EuclideanΩ n p) (x : Eℝ n) :
        (-α) x = -α x

        Pointwise evaluation of a negated form.

        @[simp]
        theorem EuclideanΩ.smul_apply' {n p : } (r : ) (α : EuclideanΩ n p) (x : Eℝ n) :
        (r α) x = r α x

        Pointwise evaluation of a scalar multiple.

        @[simp]
        theorem EuclideanΩ.zero_apply' {n p : } (x : Eℝ n) :
        0 x = 0

        Pointwise evaluation of the zero form.

        @[reducible, inline]

        Continuous-fibre version of EuclideanΩ: pointwise continuous alternating multilinear maps. This is the regularity needed for the differential to be defined via fderiv.

        Instances For
          noncomputable def EuclideanΩ.zeroFormScalar {n : } (α : EuclideanΩ n 0) :
          Eℝ n

          Identify a $0$-form $\alpha : \mathbb{R}^n \to \mathrm{Alt}^0(\mathbb{R}^n;\mathbb{R})$ with its underlying scalar function $x \mapsto \alpha(x)()$.

          Instances For
            noncomputable def EuclideanΩ.euclideanD0 {n : } (α : EuclideanΩ n 0) :

            Exterior derivative of a $0$-form: $d f$ as the $1$-form whose value at $x$ is the linear map $v \mapsto Df(x)(v)$.

            Instances For
              noncomputable def EuclideanΩ.fderivToAltMap {n p : } (α : CEuclideanΩ n p) (x : Eℝ n) :

              Auxiliary helper: the Fréchet derivative $D\alpha(x)$ of a continuous-fibre $p$-form viewed as a linear map $\mathbb{R}^n \to \mathrm{Alt}^p(\mathbb{R}^n; \mathbb{R})$.

              Instances For
                noncomputable def EuclideanΩ.fderivToMMap {n p : } (α : CEuclideanΩ n p) (x : Eℝ n) :

                Variant of fderivToAltMap landing in plain MultilinearMaps, used in the explicit uncurryMid construction of $d\alpha$.

                Instances For
                  noncomputable def EuclideanΩ.euclideanD_M0 {n p : } (α : CEuclideanΩ n p) (x : Eℝ n) :
                  MultilinearMap (fun (x : Fin (p + 1)) => Eℝ n)

                  Intermediate non-alternated $(p+1)$-multilinear map obtained by uncurrying the derivative $D\alpha(x)$ in the first slot.

                  Instances For
                    noncomputable def EuclideanΩ.euclideanD {n p : } (α : CEuclideanΩ n p) :
                    EuclideanΩ n (p + 1)

                    Exterior derivative $d : \Omega^p \to \Omega^{p+1}$ on continuous-fibre forms, defined pointwise as the antisymmetrisation of the uncurried Fréchet derivative.

                    Instances For

                      Every alternating multilinear form $f : (\mathbb{R}^n)^p \to \mathbb{R}$ is automatically continuous, since on the finite-dimensional Euclidean space $\mathbb{R}^n$ it is a finite polynomial in the coordinates of its arguments.

                      Lift an algebraic alternating map on $\mathbb{R}^n$ to its continuous counterpart, using the automatic continuity established above.

                      Instances For

                        Forget continuity of an alternating multilinear map.

                        Instances For
                          @[simp]

                          Round-trip identity: forgetting continuity after adding it returns the original map.

                          @[simp]

                          Round-trip identity: re-adding continuity after forgetting it recovers the original map.

                          @[simp]
                          theorem EuclideanΩ.toCAlt_apply {n p : } (f : Eℝ n [⋀^Fin p]→ₗ[] ) (v : Fin pEℝ n) :
                          (toCAlt f) v = f v

                          Evaluating the continuous lift of $f$ on a tuple gives the same value as evaluating $f$.

                          Pointwise lift of $\alpha \in \Omega^p(\mathbb{R}^n)$ to a continuous-fibre form.

                          Instances For

                            The continuous-fibre lift of any Euclidean $p$-form is smooth ($C^\infty$).

                            Corollary of smoothness: the continuous lift is in particular differentiable.

                            noncomputable def EuclideanΩ.CEuclideanΩ.toEuclideanΩ' {n p : } (α : CEuclideanΩ n p) :

                            Pointwise forgetful map from continuous-fibre forms back to algebraic ones.

                            Instances For

                              Round-trip: lifting back to continuous-fibre after forgetting gives the original form.

                              noncomputable def EuclideanΩ.euclideanD_lifted {n p : } (α : EuclideanΩ n p) :
                              EuclideanΩ n (p + 1)

                              Exterior derivative on $\Omega^p(\mathbb{R}^n)$: lift $\alpha$ to a continuous-fibre form, take $d$ there, and forget continuity. This is the exterior derivative used by the Euclidean differential form space instance.

                              Instances For
                                noncomputable def euclideanFMul {n p : } (f : EuclideanΩ n 0) (α : EuclideanΩ n p) :

                                Pointwise multiplication of a $p$-form by a $0$-form (scalar function): $(f \cdot \alpha)(x) = f(x) \cdot \alpha(x)$.

                                Instances For
                                  @[simp]
                                  theorem euclideanFMul_apply {n p : } (f : EuclideanΩ n 0) (α : EuclideanΩ n p) (x : Eℝ n) :
                                  euclideanFMul f α x = (f x) Fin.elim0 α x

                                  Definitional pointwise formula for function-form multiplication.

                                  noncomputable def dx_i {n : } (i : Fin n) :

                                  The constant coordinate $1$-form $dx_i$ on $\mathbb{R}^n$: at every point $x$ it sends $v \in \mathbb{R}^n$ to its $i$-th component $v_i$.

                                  Instances For
                                    noncomputable def euclideanIota {n : } (X : EuclideanVF n) {p : } (α : EuclideanΩ n (p + 1)) :

                                    Interior product (contraction) $\iota_X \alpha$ of a $(p+1)$-form with a vector field $X$: at each point $x$, it is the $p$-form $v \mapsto \alpha(x)(X(x), v_1, \ldots, v_p)$.

                                    Instances For
                                      theorem euclideanIota_add {n : } (X : EuclideanVF n) {p : } (α β : EuclideanΩ n (p + 1)) :

                                      Contraction is additive in the form argument: $\iota_X(\alpha + \beta) = \iota_X\alpha + \iota_X\beta$.

                                      theorem euclideanIota_smul {n : } (X : EuclideanVF n) {p : } (r : ) (α : EuclideanΩ n (p + 1)) :

                                      Contraction commutes with scalar multiplication: $\iota_X(r\,\alpha) = r\,\iota_X\alpha$.

                                      noncomputable def oneFormLinear {n : } (ω_x : Eℝ n [⋀^Fin 1]→ₗ[] ) :

                                      Identify a pointwise $1$-form with the underlying linear functional $\mathbb{R}^n \to \mathbb{R}$.

                                      Instances For
                                        noncomputable def wedgePointwise {n p : } (ω_x : Eℝ n [⋀^Fin 1]→ₗ[] ) (α_x : Eℝ n [⋀^Fin p]→ₗ[] ) :

                                        Pointwise wedge product $\omega \wedge \alpha$ where $\omega$ is a $1$-form and $\alpha$ is a $p$-form: antisymmetrise the tensor product $\omega \otimes \alpha$ via the uncurry-and-alternate construction.

                                        Instances For
                                          noncomputable def euclideanWedge1 {n : } (ω : EuclideanΩ n 1) {p : } (α : EuclideanΩ n p) :
                                          EuclideanΩ n (p + 1)

                                          Wedge product of a Euclidean $1$-form $\omega$ with a $p$-form $\alpha$, defined pointwise via wedgePointwise.

                                          Instances For
                                            theorem euclideanWedge1_add_right {n : } (ω : EuclideanΩ n 1) {p : } (α β : EuclideanΩ n p) :

                                            Wedge with a fixed $1$-form is additive on the right: $\omega \wedge (\alpha + \beta) = \omega \wedge \alpha + \omega \wedge \beta$.

                                            theorem euclideanWedge1_smul_right {n : } (ω : EuclideanΩ n 1) {p : } (r : ) (α : EuclideanΩ n p) :

                                            Wedge with a fixed $1$-form commutes with scalar multiplication on the right: $\omega \wedge (r\,\alpha) = r\,(\omega \wedge \alpha)$.

                                            noncomputable def cFMul {n p : } (g : Eℝ n) (α : EuclideanΩ.CEuclideanΩ n p) :

                                            Pointwise scalar-function multiplication on continuous-fibre forms: $(g \cdot \alpha)(x) = g(x) \cdot \alpha(x)$.

                                            Instances For
                                              noncomputable def CEuclideanΩ.toEΩ {n p : } (α : EuclideanΩ.CEuclideanΩ n p) :

                                              Forget the continuity data of a continuous-fibre form to get an algebraic Euclidean form.

                                              Instances For
                                                noncomputable def euclideanD_scalar {n : } (g : Eℝ n) :

                                                Exterior derivative of a raw scalar function $g : \mathbb{R}^n \to \mathbb{R}$, returning the $1$-form $dg$ with $dg(x)(v) = Dg(x)(v)$.

                                                Instances For
                                                  noncomputable def euclideanIotaC {n : } (X : EuclideanVF n) {p : } (α : EuclideanΩ.CEuclideanΩ n (p + 1)) :

                                                  Interior product $\iota_X$ on continuous-fibre forms (the same construction as euclideanIota but preserving continuity of the fibres).

                                                  Instances For
                                                    theorem euclideanIotaC_add {n : } (X : EuclideanVF n) {p : } (α β : EuclideanΩ.CEuclideanΩ n (p + 1)) :

                                                    Additivity of contraction on continuous-fibre forms.

                                                    theorem euclideanIotaC_smul {n : } (X : EuclideanVF n) {p : } (r : ) (α : EuclideanΩ.CEuclideanΩ n (p + 1)) :

                                                    Compatibility of contraction with scalar multiplication on continuous-fibre forms.

                                                    theorem EuclideanΩ.euclideanD_add {n p : } (α β : CEuclideanΩ n p) ( : Differentiable α) ( : Differentiable β) :

                                                    Additivity of the exterior derivative on continuous-fibre forms (assuming differentiability): $d(\alpha + \beta) = d\alpha + d\beta$.

                                                    theorem EuclideanΩ.euclideanD_smul {n p : } (r : ) (α : CEuclideanΩ n p) ( : Differentiable α) :

                                                    Scalar compatibility of the exterior derivative on continuous-fibre forms: $d(r\,\alpha) = r\,d\alpha$.

                                                    noncomputable def euclideanL {n : } (X : EuclideanVF n) {p : } (α : EuclideanΩ.CEuclideanΩ n (p + 1)) :
                                                    EuclideanΩ n (p + 1)

                                                    Lie derivative of a $(p+1)$-form along a vector field $X$ via Cartan's magic formula: $\mathcal{L}_X \alpha = d(\iota_X \alpha) + \iota_X(d\alpha)$.

                                                    Instances For
                                                      noncomputable def euclideanL0 {n : } (X : EuclideanVF n) (f : EuclideanΩ n 0) :

                                                      Lie derivative on $0$-forms: $\mathcal{L}_X f = Df \cdot X$, the directional derivative of the scalar function underlying $f$ in the direction $X(x)$.

                                                      Instances For
                                                        noncomputable def euclideanLie {n : } (X : EuclideanVF n) {p : } (α : EuclideanΩ n p) :

                                                        Lie derivative $\mathcal{L}_X : \Omega^p \to \Omega^p$ on Euclidean forms, defined via Cartan's magic formula. On $0$-forms it reduces to $\iota_X d\alpha$, and on $(p+1)$-forms to $d(\iota_X\alpha) + \iota_X(d\alpha)$.

                                                        Instances For
                                                          theorem euclideanFMul_add_left {n p : } (f g : EuclideanΩ n 0) (α : EuclideanΩ n p) :

                                                          Function-form multiplication is additive in the function: $(f + g)\,\alpha = f\,\alpha + g\,\alpha$.

                                                          theorem euclideanFMul_add_right {n p : } (f : EuclideanΩ n 0) (α β : EuclideanΩ n p) :

                                                          Function-form multiplication is additive in the form: $f\,(\alpha + \beta) = f\,\alpha + f\,\beta$.

                                                          theorem euclideanFMul_smul {n p : } (r : ) (f : EuclideanΩ n 0) (α : EuclideanΩ n p) :

                                                          Scalar multiplication of the function commutes with function-form multiplication: $(r\,f)\,\alpha = r\,(f\,\alpha)$.

                                                          theorem euclideanIota_fMul {n : } (X : EuclideanVF n) {p : } (f : EuclideanΩ n 0) (α : EuclideanΩ n (p + 1)) :

                                                          Contraction commutes with multiplication by a scalar function: $\iota_X(f \cdot \alpha) = f \cdot \iota_X \alpha$.

                                                          Additivity of the exterior derivative on Euclidean forms: $d(\alpha + \beta) = d\alpha + d\beta$.

                                                          theorem euclideanD_lifted_smul {n p : } (r : ) (α : EuclideanΩ n p) :

                                                          Scalar compatibility of the exterior derivative on Euclidean forms: $d(r\,\alpha) = r\,d\alpha$.

                                                          theorem euclideanLie_add {n : } (X : EuclideanVF n) {p : } (α β : EuclideanΩ n p) :

                                                          Additivity of the Lie derivative in the form argument: $\mathcal{L}_X(\alpha + \beta) = \mathcal{L}_X\alpha + \mathcal{L}_X\beta$.

                                                          theorem euclideanLie_smul {n : } (X : EuclideanVF n) {p : } (r : ) (α : EuclideanΩ n p) :

                                                          Compatibility of the Lie derivative with scalar multiplication: $\mathcal{L}_X(r\,\alpha) = r\,\mathcal{L}_X\alpha$.

                                                          The pointwise value of euclideanD α agrees with extDeriv α x after forgetting continuity. This bridges the local definition here with Mathlib's extDeriv.

                                                          The continuous-fibre lift of euclideanD α is exactly Mathlib's extDeriv α.

                                                          The fundamental identity $d \circ d = 0$ for the lifted Euclidean exterior derivative.

                                                          Technical identity describing how curryLeft interacts with the antisymmetrisation of L.smulRight β for a linear functional $L$ and an alternating $(m+1)$-multilinear map $\beta$. Used to prove the Cartan formula relating $\iota_X$ and wedge product.

                                                          theorem oneFormLinear_apply_eq {n : } (ω_x : Eℝ n [⋀^Fin 1]→ₗ[] ) (v : Eℝ n) :

                                                          Evaluation formula for oneFormLinear: applying it to $v$ equals applying the original $1$-form $\omega_x$ to the length-$1$ tuple containing $v$.

                                                          theorem euclideanIota_wedge1 {n : } (X : EuclideanVF n) {p : } (ω : EuclideanΩ n 1) (α : EuclideanΩ n (p + 1)) :

                                                          Leibniz rule for contraction across a wedge with a $1$-form (the degree-$1$ case of $\iota_X(\omega \wedge \alpha) = (\iota_X\omega) \wedge \alpha - \omega \wedge (\iota_X\alpha)$, with the leading wedge becoming function-form multiplication since $\iota_X\omega$ is a $0$-form).

                                                          theorem euclidean_form_fdα_generation {n p : } (β : EuclideanΩ n (p + 1)) :
                                                          ∃ (k : ) (f : Fin kEuclideanΩ n 0) (α : Fin kEuclideanΩ n p), β = i : Fin k, euclideanFMul (f i) (α i).euclideanD_lifted

                                                          Generation principle: every $(p+1)$-form $\beta$ on $\mathbb{R}^n$ can be written as a finite sum $\sum_i f_i \cdot d\alpha_i$ with $f_i$ a $0$-form and $\alpha_i$ a $p$-form. This is the local analogue of the fact that $\Omega^\bullet$ is generated by $f \cdot dx_{i_1} \wedge \cdots \wedge dx_{i_p}$.

                                                          Leibniz rule for the exterior derivative across function-form multiplication: $d(f \cdot \alpha) = df \wedge \alpha + f \cdot d\alpha$.

                                                          Leibniz rule for the Lie derivative across function-form multiplication: $\mathcal{L}_X(f \cdot \alpha) = (\mathcal{L}_X f) \cdot \alpha + f \cdot \mathcal{L}_X \alpha$.

                                                          @[implicit_reducible]
                                                          noncomputable instance euclideanDFS (n : ) :

                                                          The Euclidean differential form space instance for $\mathbb{R}^n$: collects the data $(\Omega^\bullet(\mathbb{R}^n), \mathfrak{X}(\mathbb{R}^n), \cdot, \wedge, d, \iota, \mathcal{L})$ together with all required compatibility identities (Leibniz, Cartan, $d^2 = 0$, anticommutativity of $\iota$, non-degeneracy). This is the concrete model on Euclidean space that scaffolds the abstract DifferentialFormSpace interface.