Continuants and logarithmic derivatives of inverse prefixes
DefinitionBianchiIX_Statistics_GaussDistortionbianchi-ix-era-statisticsdynamical-systems
Let be positive integers and write and , with the identity. Define , , and . Set
The continuant pair is . For arbitrary real maps , define and . These quantities describe both the Gauss inverse compositions and the actual branch compositions compared with them.
Definition code
import Mathlib.Analysis.Calculus.Deriv.Inv
import Mathlib.Analysis.Calculus.Deriv.Add
import Mathlib.Analysis.SpecificLimits.Basic
import Mathlib.Data.List.Induction
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.Data.PNat.Basic
import Mathlib.MeasureTheory.Constructions.BorelSpace.Metrizable
import Mathlib.Data.Rat.Floor
import Mathlib.NumberTheory.Real.Irrational
import Mathlib.Order.OrderIsoNat
import Mathlib.Analysis.SpecialFunctions.Log.Deriv
/-! Finite-prefix distortion along the actual branch inputs, Section 3.3. -/
namespace BianchiIX
noncomputable section
open Set Finset
/-- The pair `(q_n, q_{n-1})`, with initial pair `(1, 0)`. -/
def gaussDenoms (a : ℕ → ℕ+) : ℕ → ℝ × ℝ
| 0 => (1, 0)
| n + 1 => ((a n : ℝ) * (gaussDenoms a n).1 + (gaussDenoms a n).2,
(gaussDenoms a n).1)
def gaussDenom (a : ℕ → ℕ+) (n : ℕ) (x : ℝ) : ℝ :=
(gaussDenoms a n).1 + (gaussDenoms a n).2 * x
def gaussPrefixLog (a : ℕ → ℕ+) (n : ℕ) (x : ℝ) : ℝ :=
-2 * Real.log (gaussDenom a n x)
def branchPrefix (h : ℕ → ℝ → ℝ) : ℕ → ℝ → ℝ
| 0, x => x
| n + 1, x => branchPrefix h n (h n x)
end
end BianchiIX
Source