Slope and weight derivatives at fixed matching phase
DefinitionBianchiIX_Analysis_MatchingPhaseWallDifferentialbianchi-ix-era-statisticsdynamical-systems
For the positive reflected phase variable , put
Write , , , and
The four coordinate differential operators, in the order , are
Subscripts below denote the rational expressions obtained by these rules, with total real-field division. On the regular positive-wall region they are the corresponding coordinate partial derivatives. Set
The coefficient matrix has rows , and .
The two derivative arrays are and , expanded using the phase compensation factors .
Definition code
import Definitions.Def_BianchiIX_Algebra_MatchingPhase
import Definitions.Def_BianchiIX_Analysis_MatchingPhaseWeighted
import Definitions.Def_BianchiIX_Analysis_MatchingPhaseWeightDifferential
import Mathlib.Analysis.Calculus.Deriv.Pow
import Mathlib.Analysis.Calculus.Deriv.Mul
import Mathlib.Analysis.Calculus.Deriv.Add
import Mathlib.Analysis.Real.Sqrt
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.Analysis.Calculus.Deriv.Inv
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.LinearCombination
import Mathlib.Analysis.SpecialFunctions.Sqrt
import Mathlib.Analysis.Calculus.ImplicitContDiff
import Mathlib.Analysis.Calculus.Deriv.Prod
import Mathlib.Analysis.SpecialFunctions.ExpDeriv
noncomputable section
namespace BianchiIX
open Filter
open scoped Topology
def matchingPhaseSlopePartials (m v w : ℝ) : Fin 4 → ℝ :=
![matchingPhaseSlopeDm m v w / matchingPhaseSlope m v w, 0,
-(m + 1) * v ^ 2 / phaseNorm (m + 1) v ^ 3 + matchingPhaseVVariation m v w * matchingPhaseSlopeDm m v w,
-(m - 1) * w ^ 2 / phaseNorm (m - 1) w ^ 3 + matchingPhaseWVariation m v w * matchingPhaseSlopeDm m v w]
def matchingPhaseWeightPartials (m v w : ℝ) : Fin 4 → ℝ :=
![matchingPhaseWeightDm m v w / matchingPhaseSlope m v w, 0,
(m + 1) * v ^ 2 / phaseNorm (m + 1) v ^ 3 +
matchingPhaseVVariation m v w * (matchingPhaseWeightDm m v w - matchingPhaseSlope m v w),
-(m - 1) * w ^ 2 / phaseNorm (m - 1) w ^ 3 +
matchingPhaseWVariation m v w * (matchingPhaseWeightDm m v w - matchingPhaseSlope m v w)]
end BianchiIX
Source