Logarithmic strong and weak wall rates and their derivatives
DefinitionBianchiIX_Analysis_ConnectionAmplitudeDifferentialbianchi-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 wall rates are and . Their derivative arrays are the expanded expressions and .
Definition code
import Definitions.Def_BianchiIX_Algebra_Projective
import Definitions.Def_BianchiIX_Algebra_ConnectionBounds
import Definitions.Def_BianchiIX_Algebra_MatchingPhase
import Definitions.Def_BianchiIX_Analysis_MatchingPhaseWeighted
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
def connectionStrongClockRate (m u v w : ℝ) : ℝ :=
connectionStrongRate m u v w / connectionSpeed m u v w
def connectionWeakClockRate (m u v w : ℝ) : ℝ :=
-1 - 2 * (1 + coupling u v w) / connectionSpeed m u v w
/-- The four columns are J, log U, log V, log W, with J fixed in the last three. -/
def connectionStrongClockPartials (m u v w : ℝ) : Fin 4 → ℝ :=
let a := connectionStrongClockRate m u v w
let D := connectionSpeed m u v w
![-(m + a) / (D * matchingPhaseSlope m v w),
(u ^ 2 + a * u * (v + w - 2 * u)) / D,
(-(m + a) * matchingPhaseVVariation m v w - v * (v - w) + a * u * v) / D,
(-(m + a) * matchingPhaseWVariation m v w + w * (v - w) + a * u * w) / D]
def connectionWeakClockPartials (m u v w : ℝ) : Fin 4 → ℝ :=
let D := connectionSpeed m u v w
![2 * (1 + coupling u v w) / (D ^ 2 * matchingPhaseSlope m v w),
-(2 * m * u * (v + w - 2 * u)) / D ^ 2,
(2 * (1 + coupling u v w) * matchingPhaseVVariation m v w - 2 * m * u * v) / D ^ 2,
(2 * (1 + coupling u v w) * matchingPhaseWVariation m v w - 2 * m * u * w) / D ^ 2]
end BianchiIX
Source