Exact Lean source
CovariantAmplifierLeastNoiseParameters
formalization/Cloning/CovariantAmplifierLeastNoiseParameters.lean
Source hash: 29f565dbc9c155f7390798609422a7da82c0b32bdbf197674b0fd551fb6d3491
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
1import Cloning.CovariantAmplifierComposite
2
3/-! Exact parameter conversions from the composite gains to the literal
4negative-binomial idler channel. -/
5noncomputable section
6namespace Cloning.CovariantAmplifier
7open Cloning.Thermal
8
9lemma amplified_pos {γ q : ℝ} (hγ : 1<γ) (hq0 : 0≤q) (hq1 : q<1) :
10 0<amplified γ q := lt_of_le_of_lt hq0 (lt_amplified hγ hq1)
11
12lemma amplified_complement_inv {γ q : ℝ} (hγ : 1<γ) (hq1 : q<1) :
13 (1-amplified γ q)⁻¹=modeGain γ q := by
14 unfold amplified modeGain
15 rw [sub_sub_cancel, inv_div]
16
17lemma amplified_odds {γ q : ℝ} (hγ : 1<γ) (hq1 : q<1) :
18 amplified γ q/(1-amplified γ q)=modeGain γ q-1 := by
19 have hg : γ≠0 := ne_of_gt (lt_trans zero_lt_one hγ)
20 have hq : 1-q≠0 := ne_of_gt (sub_pos.mpr hq1)
21 unfold amplified modeGain
22 rw [sub_sub_cancel]
23 field_simp
24 <;> ring
25
26lemma amplified_sqrt_odds {γ q : ℝ} (hγ : 1<γ) (hq0 : 0≤q) (hq1 : q<1) :
27 Real.sqrt (amplified γ q)/Real.sqrt (1-amplified γ q)=
28 Real.sqrt (modeGain γ q-1) := by
29 rw [← Real.sqrt_div (amplified_nonneg hγ hq0 hq1), amplified_odds hγ hq1]
30
31lemma amplified_gaussian_exponent {γ q x : ℝ} (hγ : 1<γ) (hq1 : q<1) :
32 -x/(2*(1-amplified γ q))=-(modeGain γ q*x)/2 := by
33 rw [div_mul_eq_div_div, div_eq_mul_inv, amplified_complement_inv hγ hq1]
34 ring
35
36end Cloning.CovariantAmplifier