Imports
/- Copyright (c) 2026 Juan Jose Fernandez Morales. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Juan Jose Fernandez Morales -/ module public import PhyslibAlpha.ClassicalFieldTheory.Local.JetPoint

Total derivatives on local jet-dependent functions

i. Overview

This module defines total derivatives of local jet-dependent functions by differentiating their evaluation along jets of fields.

For the first local stage, this keeps the operator close to the use made in the Euler-Lagrange formula, without yet introducing a separate coordinate-level derivative calculus on JetPoint.

ii. Key results

    ClassicalFieldTheory.Local.evalOnJet : evaluate a jet-dependent function along a field.

    ClassicalFieldTheory.Local.totalDerivative : total derivative in one coordinate direction.

    ClassicalFieldTheory.Local.iteratedTotalDerivative : iterated total derivative indexed by a multi-index.

iii. Table of contents

    A. Evaluation on jets

    B. Total derivatives

iv. References

@[expose] public section

A. Evaluation on jets

B. Total derivatives

@[simp] lemma evalOnJet_apply (k : ) (F : JetPoint d m k ) (f : Space d EuclideanSpace (Fin m)) (x : Space d) : evalOnJet k F f x = F (jetAt k f x) := rfl@[simp] lemma totalDerivative_eq (k : ) (i : Fin d) (F : JetPoint d m k ) (f : Space d EuclideanSpace (Fin m)) : totalDerivative k i F f = ∂[i] (fun x => F (jetAt k f x)) := rfl@[simp] lemma iteratedTotalDerivative_eq (k : ) (I : MultiIndex d) (F : JetPoint d m k ) (f : Space d EuclideanSpace (Fin m)) : iteratedTotalDerivative k I F f = ∂^[I] (fun x => F (jetAt k f x)) := rfllemma iteratedTotalDerivative_zero (k : ) (F : JetPoint d m k ) (f : Space d EuclideanSpace (Fin m)) : iteratedTotalDerivative k (0 : MultiIndex d) F f = evalOnJet k F f := d:m:k:F:JetPoint d m k f:Space d EuclideanSpace (Fin m)iteratedTotalDerivative k 0 F f = evalOnJet k F f All goals completed! 🐙lemma iteratedTotalDerivative_single (k : ) (i : Fin d) (F : JetPoint d m k ) (f : Space d EuclideanSpace (Fin m)) : iteratedTotalDerivative k (Physlib.MultiIndex.increment 0 i) F f = totalDerivative k i F f := d:m:k:i:Fin dF:JetPoint d m k f:Space d EuclideanSpace (Fin m)iteratedTotalDerivative k (MultiIndex.increment 0 i) F f = totalDerivative k i F f All goals completed! 🐙