Coordinate partial derivatives on the edge-coupling space #
First-order calculus for functions ρ : (Edge V → ℝ) → ℝ of the
edge-coupling variables. Defines the coordinate update updateCoord, the
coordinate basis directions edgeBasis, the single-coordinate partial
derivative partialDeriv, iterated mixed partials along a list of edges
(mixedPartialList), and the unordered forest mixed partial mixedPartial
appearing in the integrand of the BKAR forest interpolation formula (see
BKAR.Formula).
Replace one BKAR edge coordinate in a parameter vector.
Equations
- BKAR.updateCoord x e t = Function.update x e t
Instances For
@[simp]
theorem
BKAR.updateCoord_self
{V : Type u_1}
[DecidableEq V]
(x : Edge V → ℝ)
(e : Edge V)
(t : ℝ)
:
theorem
BKAR.updateCoord_of_ne
{V : Type u_1}
[DecidableEq V]
(x : Edge V → ℝ)
{e e' : Edge V}
(t : ℝ)
(hne : e' ≠ e)
:
@[simp]
@[simp]
theorem
BKAR.updateCoord_update_same
{V : Type u_1}
[DecidableEq V]
(x : Edge V → ℝ)
(e : Edge V)
(s t : ℝ)
:
@[simp]
noncomputable def
BKAR.partialDeriv
{V : Type u_1}
[DecidableEq V]
(e : Edge V)
(ρ : (Edge V → ℝ) → ℝ)
(x : Edge V → ℝ)
:
Partial derivative of ρ along one edge coordinate.
Equations
- BKAR.partialDeriv e ρ x = deriv (fun (t : ℝ) => ρ (BKAR.updateCoord x e t)) (x e)
Instances For
theorem
BKAR.partialDeriv_eq_deriv
{V : Type u_1}
[DecidableEq V]
(e : Edge V)
(ρ : (Edge V → ℝ) → ℝ)
(x : Edge V → ℝ)
:
theorem
BKAR.partialDeriv_updateCoord_self
{V : Type u_1}
[DecidableEq V]
(e : Edge V)
(ρ : (Edge V → ℝ) → ℝ)
(x : Edge V → ℝ)
(s : ℝ)
:
Iterated mixed partial derivative along a list of edge coordinates.
Equations
- BKAR.mixedPartialList [] x✝ = x✝
- BKAR.mixedPartialList (e :: es) x✝ = BKAR.partialDeriv e (BKAR.mixedPartialList es x✝)
Instances For
@[simp]
@[simp]
theorem
BKAR.mixedPartialList_nil_apply
{V : Type u_1}
[DecidableEq V]
(ρ : (Edge V → ℝ) → ℝ)
(x : Edge V → ℝ)
:
@[simp]
theorem
BKAR.mixedPartialList_cons
{V : Type u_1}
[DecidableEq V]
(e : Edge V)
(es : List (Edge V))
(ρ : (Edge V → ℝ) → ℝ)
:
theorem
BKAR.mixedPartialList_append
{V : Type u_1}
[DecidableEq V]
(es₁ es₂ : List (Edge V))
(ρ : (Edge V → ℝ) → ℝ)
:
noncomputable def
BKAR.Forest.mixedPartial
{V : Type u_2}
[Fintype V]
[DecidableEq V]
(F : Forest V)
(ρ : (Edge V → ℝ) → ℝ)
:
The mixed partial derivative indexed by the edge set of a forest.
Equations
- F.mixedPartial ρ = BKAR.mixedPartialList F.edges.toList ρ
Instances For
theorem
BKAR.Forest.mixedPartial_def
{V : Type u_2}
[Fintype V]
[DecidableEq V]
(F : Forest V)
(ρ : (Edge V → ℝ) → ℝ)
: