Documentation

LeanPool.MetricCodes.Binary

Binary-code asymptotics #

Asymptotic Johnson-scheme estimates and the binary-code variational bound.

The shell weight used in the Johnson-code argument.

Equations
Instances For

    The support degree used in the Johnson-code argument.

    Equations
    Instances For

      The complement degree used in the Johnson-code argument.

      Equations
      Instances For

        The terminal degree used in the Johnson-code argument.

        Equations
        Instances For
          theorem MetricCodes.Johnson.Asymptotics.tendsto_add_degree_ratio {f g : } {a b : } (hf : Filter.Tendsto (fun (n : ) => (f n) / n) Filter.atTop (nhds a)) (hg : Filter.Tendsto (fun (n : ) => (g n) / n) Filter.atTop (nhds b)) :
          Filter.Tendsto (fun (n : ) => ↑(f n + g n) / n) Filter.atTop (nhds (a + b))
          theorem MetricCodes.Johnson.Asymptotics.eventually_degree_lt_of_ratio {f g : } {a b : } (hf : Filter.Tendsto (fun (n : ) => (f n) / n) Filter.atTop (nhds a)) (hg : Filter.Tendsto (fun (n : ) => (g n) / n) Filter.atTop (nhds b)) (hab : a < b) :
          ∀ᶠ (n : ) in Filter.atTop, f n < g n
          theorem MetricCodes.Johnson.Asymptotics.tendsto_sub_degree_ratio {f g : } {a b : } (hf : Filter.Tendsto (fun (n : ) => (f n) / n) Filter.atTop (nhds a)) (hg : Filter.Tendsto (fun (n : ) => (g n) / n) Filter.atTop (nhds b)) (hgf : ∀ᶠ (n : ) in Filter.atTop, g n f n) :
          Filter.Tendsto (fun (n : ) => ↑(f n - g n) / n) Filter.atTop (nhds (a - b))
          theorem MetricCodes.Johnson.Asymptotics.scaled_binomialEntropy_identity {a b : } (ha : 0 < a) (hb : 0 < b) (hba : b < a) :
          (a * Real.log a - b * Real.log b - (a - b) * Real.log (a - b)) / Real.log 2 = a * binaryEntropy (b / a)
          theorem MetricCodes.Johnson.Asymptotics.tendsto_logb_choose_of_ratio {N K : } {a b : } (hN : Filter.Tendsto (fun (n : ) => (N n) / n) Filter.atTop (nhds a)) (hK : Filter.Tendsto (fun (n : ) => (K n) / n) Filter.atTop (nhds b)) (hb : 0 < b) (hba : b < a) (hKN : ∀ᶠ (n : ) in Filter.atTop, K n N n) :
          Filter.Tendsto (fun (n : ) => Real.logb 2 ((N n).choose (K n)) / n) Filter.atTop (nhds (a * binaryEntropy (b / a)))
          theorem MetricCodes.Johnson.Asymptotics.tendsto_logb_booleanHarmonicDimension_of_ratio {N K : } {a b : } (hN : Filter.Tendsto (fun (n : ) => (N n) / n) Filter.atTop (nhds a)) (hK : Filter.Tendsto (fun (n : ) => (K n) / n) Filter.atTop (nhds b)) (hb : 0 < b) (hba : b < a) (hhalf : ∀ᶠ (n : ) in Filter.atTop, 2 * K n N n) (hNle : ∀ᶠ (n : ) in Filter.atTop, N n n) :
          Filter.Tendsto (fun (n : ) => Real.logb 2 (booleanHarmonicDimension (N n) (K n)) / n) Filter.atTop (nhds (a * binaryEntropy (b / a)))
          theorem MetricCodes.Johnson.Asymptotics.tendsto_complementShellWeight_ratio {a : } (ha : 0 a) (ha' : a 1) :
          Filter.Tendsto (fun (n : ) => ↑(n - shellWeight a n) / n) Filter.atTop (nhds (1 - a))
          noncomputable def MetricCodes.Johnson.Asymptotics.windowFibreQuotient (a b g u : ) (n : ) :

          The window fibre quotient used in the Johnson-code argument.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            The bassalygo factor used in the Johnson-code argument.

            Equations
            Instances For

              The bassalygo window fibre quotient used in the Johnson-code argument.

              Equations
              Instances For
                theorem MetricCodes.Johnson.Asymptotics.centered_diagonal_limit_algebra {a m sigma eta z : } (hz : z 0) (hm : 1 - m ^ 2 0) (hcenter : 1 - m ^ 2 = 4 * a * (1 - a)) :
                (m * sigma * eta / (4 * z ^ 2) - (m / 2) ^ 2) / (a * (1 - a)) = m * (sigma * eta - m * z ^ 2) / (z ^ 2 * (1 - m ^ 2))
                theorem MetricCodes.Johnson.splitTensor_isLevel {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (r s : ) :
                theorem MetricCodes.Johnson.splitTensor_orthonormal {n w p q r s : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (hr : 2 * p + r w) (hs : 2 * q + s n - w) (a b : HarmonicFibreIndex n w p q) :
                theorem MetricCodes.Johnson.splitTensor_cross_orthogonal {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a b : HarmonicFibreIndex n w p q) (r s r' s' : ) (hrr' : r r') :
                theorem MetricCodes.Johnson.coupledTensor_isLevel {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (t : ) :
                noncomputable def MetricCodes.Johnson.coupledHarmonic {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (t : ) :

                The coupled harmonic used in the Johnson-code argument.

                Equations
                Instances For
                  theorem MetricCodes.Johnson.coupledHarmonic_isLevel {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (t : ) :
                  Boolean.IsLevel (p + q + t) (coupledHarmonic x hp hq a t)
                  theorem MetricCodes.Johnson.dot_fintype_weighted_sum {n : } {ι : Type u_1} {κ : Type u_2} [Fintype ι] [Fintype κ] (c : ι) (d : κ) (f : ιBoolean.Function n) (g : κBoolean.Function n) :
                  (Boolean.dot (fun (S : Finset (Fin n)) => i : ι, c i * f i S) fun (S : Finset (Fin n)) => j : κ, d j * g j S) = i : ι, j : κ, c i * d j * Boolean.dot (f i) (g j)
                  theorem MetricCodes.Johnson.coupledTensor_dot {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a b : HarmonicFibreIndex n w p q) :
                  theorem MetricCodes.Johnson.coupledHarmonic_dot {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a b : HarmonicFibreIndex n w p q) :
                  Boolean.dot (coupledHarmonic x hp hq a t) (coupledHarmonic x hp hq b t) = if a = b then 1 else 0
                  theorem MetricCodes.Johnson.lower_fintype_weighted_sum {n : } {ι : Type u_1} [Fintype ι] (c : ι) (f : ιBoolean.Function n) :
                  (Boolean.lower fun (S : Finset (Fin n)) => i : ι, c i * f i S) = fun (S : Finset (Fin n)) => i : ι, c i * Boolean.lower (f i) S
                  theorem MetricCodes.Johnson.coupledTensor_lower_eq_zero {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) :
                  theorem MetricCodes.Johnson.coupledHarmonic_isHarmonic {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) :
                  Boolean.IsHarmonic (p + q + t) (coupledHarmonic x hp hq a t)
                  theorem MetricCodes.Johnson.AdmissibleDegrees.supportResidual_bound {n w p q L : } (h : AdmissibleDegrees n w p q L) (i : Index p q L) :
                  2 * p + i w
                  theorem MetricCodes.Johnson.AdmissibleDegrees.complementResidual_bound {n w p q L : } (h : AdmissibleDegrees n w p q L) (i : Index p q L) :
                  2 * q + i n - w
                  theorem MetricCodes.Johnson.AdmissibleDegrees.window_degree_le_weight {n w p q L : } (h : AdmissibleDegrees n w p q L) (i : Index p q L) :
                  p + q + i w

                  The global harmonic vector used in the Johnson-code argument.

                  Equations
                  Instances For
                    theorem MetricCodes.Johnson.AdmissibleDegrees.window_degree_half {n w p q L : } (h : AdmissibleDegrees n w p q L) (i : Index p q L) :
                    2 * (p + q + i) n
                    noncomputable def MetricCodes.Johnson.coupledDegreeVector {n w p q L : } (h : AdmissibleDegrees n w p q L) (x : JohnsonSphere n w) (i : Index p q L) (a : HarmonicFibreIndex n w p q) :

                    The coupled degree vector used in the Johnson-code argument.

                    Equations
                    Instances For
                      noncomputable def MetricCodes.Johnson.coupledDegreeCoordinates {n w p q L : } (h : AdmissibleDegrees n w p q L) (x : JohnsonSphere n w) (i : Index p q L) (a : HarmonicFibreIndex n w p q) (b : Fin (booleanHarmonicDimension n (p + q + i))) :

                      The coupled degree coordinates used in the Johnson-code argument.

                      Equations
                      Instances For
                        theorem MetricCodes.Johnson.coupledDegreeCoordinates_pairing {n w p q L : } (h : AdmissibleDegrees n w p q L) (x : JohnsonSphere n w) (i : Index p q L) (a b : HarmonicFibreIndex n w p q) :
                        u : Fin (booleanHarmonicDimension n (p + q + i)), coupledDegreeCoordinates h x i a u * coupledDegreeCoordinates h x i b u = if a = b then 1 else 0
                        noncomputable def MetricCodes.Johnson.johnsonWindowFibreMatrix {n w p q L : } (h : AdmissibleDegrees n w p q L) (v : Space p q L) (x : JohnsonSphere n w) :

                        The johnson window fibre matrix used in the Johnson-code argument.

                        Equations
                        Instances For
                          theorem MetricCodes.Johnson.johnsonWindowFibreMatrix_transpose_mul {n w p q L : } (h : AdmissibleDegrees n w p q L) (v : Space p q L) (hv : ∀ (i : Index p q L), 0 < v.ofLp i) (x : JohnsonSphere n w) :
                          noncomputable def MetricCodes.Johnson.johnsonFibreMatrix {n w p q L : } (h : AdmissibleDegrees n w p q L) (v : Space p q L) (x : JohnsonSphere n w) :

                          The johnson fibre matrix used in the Johnson-code argument.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            theorem MetricCodes.Johnson.johnsonFibreMatrix_transpose_mul {n w p q L : } (h : AdmissibleDegrees n w p q L) (v : Space p q L) (hv : ∀ (i : Index p q L), 0 < v.ofLp i) (x : JohnsonSphere n w) :
                            noncomputable def MetricCodes.Johnson.johnsonProjectionFamily {n w p q L : } (h : AdmissibleDegrees n w p q L) (v : Space p q L) (hv : ∀ (i : Index p q L), 0 < v.ofLp i) :

                            The johnson projection family used in the Johnson-code argument.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For
                              theorem MetricCodes.Johnson.johnsonCoordinateDot_smul {n : } (c d : ) (f g : Boolean.CoordinateFunction n) :
                              (Boolean.coordinateDot (fun (a : Fin n) => c f a) fun (a : Fin n) => d g a) = c * d * Boolean.coordinateDot f g
                              noncomputable def MetricCodes.Johnson.johnsonAdjacentChannel (n w p q L : ) (target source : Index p q L) (f : Boolean.Function n) :

                              The johnson adjacent channel used in the Johnson-code argument.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For
                                def MetricCodes.Johnson.johnsonChannelActive (p q L : ) (target source : Index p q L) :

                                The johnson channel active used in the Johnson-code argument.

                                Equations
                                Instances For
                                  theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_eq_zero_of_not_active {n w p q L : } (source target : Index p q L) (hinactive : ¬johnsonChannelActive p q L target source) :
                                  johnsonSourceChannelCoefficient n w p q L source target = 0
                                  theorem MetricCodes.Johnson.johnsonAdjacentChannel_eq_zero_of_not_active {n w p q L : } (target source : Index p q L) (f : Boolean.Function n) (hinactive : ¬johnsonChannelActive p q L target source) :
                                  johnsonAdjacentChannel n w p q L target source f = 0
                                  theorem MetricCodes.Johnson.johnsonAdjacentChannel_isHarmonic {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (a : Fin n) :
                                  Boolean.IsHarmonic (p + q + target) (johnsonAdjacentChannel n w p q L target source f a)
                                  theorem MetricCodes.Johnson.johnsonAdjacentChannel_isometry {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hactive : johnsonChannelActive p q L target source) (f g : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (hg : Boolean.IsHarmonic (p + q + source) g) :
                                  Boolean.coordinateDot (johnsonAdjacentChannel n w p q L target source f) (johnsonAdjacentChannel n w p q L target source g) = Boolean.dot f g
                                  theorem MetricCodes.Johnson.johnsonAdjacentChannel_orthogonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source other : Index p q L) (hne : source other) (f g : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (hg : Boolean.IsHarmonic (p + q + other) g) :
                                  Boolean.coordinateDot (johnsonAdjacentChannel n w p q L target source f) (johnsonAdjacentChannel n w p q L target other g) = 0

                                  The johnson axis tensor used in the Johnson-code argument.

                                  Equations
                                  Instances For
                                    theorem MetricCodes.Johnson.sum_geometricAxis {n w : } (hn : 0 < n) (x : JohnsonSphere n w) :
                                    a : Fin n, (geometricAxis x).ofLp a = 0
                                    theorem MetricCodes.Johnson.sum_geometricAxis_on_subset {n w : } (x : JohnsonSphere n w) (S : Finset (Fin n)) :
                                    (∑ a : Fin n, if a S then (geometricAxis x).ofLp a else 0) = (n / (w * ↑(n - w))) * (((MetricCodes.Johnson.coordinateSplitEquiv✝ x) S).1.card - w / n * S.card)
                                    theorem MetricCodes.Johnson.johnsonAxisMembership_splitTensor {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (r s : ) :
                                    MetricCodes.Johnson.johnsonAxisMembership✝ x (MetricCodes.Johnson.splitTensor✝ x hp hq a r s) = ((n / (w * ↑(n - w))) * (↑(p + r) - w / n * ↑(p + r + (q + s)))) MetricCodes.Johnson.splitTensor✝ x hp hq a r s
                                    theorem MetricCodes.Johnson.johnsonDot_fintype_weighted_sum_right {n : } {ι : Type u_1} [Fintype ι] (f : Boolean.Function n) (c : ι) (g : ιBoolean.Function n) :
                                    (Boolean.dot f fun (S : Finset (Fin n)) => i : ι, c i * g i S) = i : ι, c i * Boolean.dot f (g i)
                                    theorem MetricCodes.Johnson.johnsonAxisMembership_coupledTensor {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (t : ) :
                                    MetricCodes.Johnson.johnsonAxisMembership✝ x (MetricCodes.Johnson.coupledTensor✝ x hp hq a t) = fun (S : Finset (Fin n)) => r : Fin (t + 1), MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q t r * ((n / (w * ↑(n - w))) * (↑(p + r) - w / n * ↑(p + q + t))) * MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r) S
                                    theorem MetricCodes.Johnson.johnsonAxisMembership_coupledHarmonic_dot {n w p q : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (t : ) (f : Boolean.Function n) :
                                    Boolean.dot f (MetricCodes.Johnson.johnsonAxisMembership✝ x (coupledHarmonic x hp hq a t)) = ((MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q t))⁻¹ * (n / (w * ↑(n - w))) * r : Fin (t + 1), MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q t r * (↑(p + r) - w / n * ↑(p + q + t)) * Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r))
                                    theorem MetricCodes.Johnson.raise_splitTensor_eq {n w p q r s : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (hsupport : 2 * p + (r + 1) w) (hcomplement : 2 * q + (s + 1) n - w) (a : HarmonicFibreIndex n w p q) :
                                    theorem MetricCodes.Johnson.johnsonHarmonic_dot_splitTensor_succ_mul {n w p q t r : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) (hr : r < t) :
                                    theorem MetricCodes.Johnson.johnsonHarmonic_dot_splitTensor_eq_clebschCoefficient {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) (r : ) (hr : r t) :
                                    theorem MetricCodes.Johnson.johnsonHarmonic_dot_coupledHarmonic {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) :
                                    theorem MetricCodes.Johnson.sum_coordinateIndicator_mul_function {n w : } (x : JohnsonSphere n w) (F : Fin n) :
                                    i : Fin n, coordinateIndicator (↑x) i * F i = i : SupportCoordinates x, F i
                                    theorem MetricCodes.Johnson.johnsonSupportRaise_fintype_weighted_sum {n w : } {ι : Type u_1} [Fintype ι] (x : JohnsonSphere n w) (c : ι) (f : ιBoolean.Function n) :
                                    (MetricCodes.Johnson.johnsonSupportRaise✝ x fun (S : Finset (Fin n)) => i : ι, c i * f i S) = fun (S : Finset (Fin n)) => i : ι, c i * MetricCodes.Johnson.johnsonSupportRaise✝ x (f i) S
                                    theorem MetricCodes.Johnson.johnsonSupportLower_fintype_weighted_sum {n w : } {ι : Type u_1} [Fintype ι] (x : JohnsonSphere n w) (c : ι) (f : ιBoolean.Function n) :
                                    (MetricCodes.Johnson.johnsonSupportLower✝ x fun (S : Finset (Fin n)) => i : ι, c i * f i S) = fun (S : Finset (Fin n)) => i : ι, c i * MetricCodes.Johnson.johnsonSupportLower✝ x (f i) S
                                    theorem MetricCodes.Johnson.johnsonSupportRaise_splitTensor {n w p q r s : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (hsupport : 2 * p + (r + 1) w) (a : HarmonicFibreIndex n w p q) :
                                    theorem MetricCodes.Johnson.johnsonSupportRaise_coupledTensor {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (hsupport : 2 * p + (t + 1) w) (a : HarmonicFibreIndex n w p q) :
                                    theorem MetricCodes.Johnson.johnsonSupportLower_coupledTensor_succ {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (hsupport : 2 * p + (t + 1) w) (a : HarmonicFibreIndex n w p q) :
                                    MetricCodes.Johnson.johnsonSupportLower✝ x (MetricCodes.Johnson.coupledTensor✝ x hp hq a (t + 1)) = fun (S : Finset (Fin n)) => r : Fin (t + 1), MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q (t + 1) (r + 1) * (Boolean.harmonicCoefficient w p (r + 1)) * MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r) S
                                    theorem MetricCodes.Johnson.johnsonAxisRaise_coupledHarmonic_dot {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + (t + 1)) f) :
                                    theorem MetricCodes.Johnson.johnsonAxisLower_coupledHarmonic_dot {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) :
                                    theorem MetricCodes.Johnson.clebschCoefficient_sq_succ_mul {w N p q t r : } (hsupport : 2 * p + (r + 1) w) (hcomplement : 2 * q + t N) :
                                    theorem MetricCodes.Johnson.clebschCoefficient_sq_harmonic_balance {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) :
                                    theorem MetricCodes.Johnson.clebschFirstMoment_mul {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) :
                                    (w - 2 * p + (N - 2 * q) - 2 * t + 2) * MetricCodes.Johnson.clebschFirstMoment✝ w N p q t = t * (N - 2 * q - t + 1) * MetricCodes.Johnson.clebschNormSq✝ w N p q t
                                    theorem MetricCodes.Johnson.clebschFirstMoment_eq {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) :
                                    MetricCodes.Johnson.clebschFirstMoment✝ w N p q t = t * (N - 2 * q - t + 1) * MetricCodes.Johnson.clebschNormSq✝ w N p q t / (w - 2 * p + (N - 2 * q) - 2 * t + 2)
                                    theorem MetricCodes.Johnson.clebschCoefficient_sq_weighted_harmonic_balance {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) :
                                    r : Fin (t + 1), (r - 1) * (MetricCodes.Johnson.clebschCoefficient✝ w N p q t r ^ 2 * Boolean.harmonicCoefficient w p r) = r : Fin (t + 1), r * (MetricCodes.Johnson.clebschCoefficient✝ w N p q t r ^ 2 * Boolean.harmonicCoefficient N q (t - r))
                                    theorem MetricCodes.Johnson.clebschSecondMoment_mul {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) :
                                    (w - 2 * p + (N - 2 * q) - 2 * t + 3) * MetricCodes.Johnson.clebschSecondMoment✝ w N p q t = (w - 2 * p + (N - 2 * q) * t - t ^ 2 + t + 1) * MetricCodes.Johnson.clebschFirstMoment✝ w N p q t
                                    theorem MetricCodes.Johnson.clebschCoefficient_sq_cross_degree_mul {w N p q t r : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + (t + 1) N) (hr : r t) :
                                    theorem MetricCodes.Johnson.clebschNormSq_cross_degree_harmonic_balance {w N p q t : } (hsupport : 2 * p + (t + 1) w) (hcomplement : 2 * q + (t + 1) N) :
                                    theorem MetricCodes.Johnson.clebschNormSq_succ_mul {w N p q t : } (hsupport : 2 * p + (t + 1) w) (hcomplement : 2 * q + (t + 1) N) :
                                    MetricCodes.Johnson.clebschNormSq✝ w N p q t * ((w - 2 * p + (N - 2 * q) - 2 * t + 1) * (w - 2 * p + (N - 2 * q) - 2 * t)) = MetricCodes.Johnson.clebschNormSq✝ w N p q (t + 1) * ((w - 2 * p + (N - 2 * q) - t + 1) * (w - 2 * p - t))
                                    theorem MetricCodes.Johnson.clebschNormSq_div_succ {w N p q t : } (hsupport : 2 * p + (t + 1) w) (hcomplement : 2 * q + (t + 1) N) :
                                    MetricCodes.Johnson.clebschNormSq✝ w N p q t / MetricCodes.Johnson.clebschNormSq✝ w N p q (t + 1) = (w - 2 * p + (N - 2 * q) - t + 1) * (w - 2 * p - t) / ((w - 2 * p + (N - 2 * q) - 2 * t + 1) * (w - 2 * p + (N - 2 * q) - 2 * t))
                                    theorem MetricCodes.Johnson.clebschCenteredExpectation_eq_johnsonDiagonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (source : Index p q L) :
                                    p + MetricCodes.Johnson.clebschFirstMoment✝ w (n - w) p q source / MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q source - w / n * ↑(p + q + source) = johnsonDiagonal n w p q (p + q + source) * (w * ↑(n - w) * (n - 2 * ↑(p + q + source)) / (n * (n - 2 * w)))
                                    theorem MetricCodes.Johnson.clebschClosedCenteredExpectation_eq_johnsonDiagonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (source : Index p q L) :
                                    p - w / n * ↑(p + q + source) + source * (↑(n - w) - 2 * q - source + 1) / (w - 2 * p + (↑(n - w) - 2 * q) - 2 * source + 2) = johnsonDiagonal n w p q (p + q + source) * (w * ↑(n - w) * (n - 2 * ↑(p + q + source)) / (n * (n - 2 * w)))
                                    theorem MetricCodes.Johnson.johnsonMiddleNormalization_sq_eq_inv_zonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (source : Index p q L) (hsource : 0 < p + q + source) :
                                    (((MetricCodes.Johnson.johnsonMiddleScale✝ n (p + q + source)))⁻¹ * (n / (w * ↑(n - w))) * (w * ↑(n - w) * (n - 2 * ↑(p + q + source)) / (n * (n - 2 * w)))) ^ 2 = (johnsonZonalDiagonal n w (p + q + source))⁻¹
                                    theorem MetricCodes.Johnson.johnsonMiddleSignedScalar_eq_sqrt_hattedDiagonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (source : Index p q L) (hsource : 0 < p + q + source) :
                                    MetricCodes.Johnson.johnsonDiagonalChannelSign✝ n w p q (p + q + source) * (((MetricCodes.Johnson.johnsonMiddleScale✝ n (p + q + source)))⁻¹ * (n / (w * ↑(n - w))) * (p - w / n * ↑(p + q + source) + source * (↑(n - w) - 2 * q - source + 1) / (w - 2 * p + (↑(n - w) - 2 * q) - 2 * source + 2))) = (johnsonHattedDiagonal n w p q (p + q + source))
                                    theorem MetricCodes.Johnson.booleanHarmonicDimension_mul_degreeComplement (n j : ) (hhalf : 2 * j n) :
                                    (booleanHarmonicDimension n j) * (n - j + 1) = (n.choose j) * (n - 2 * j + 1)
                                    theorem MetricCodes.Johnson.booleanHarmonicDimension_succ_div {n j : } (hhalf : 2 * (j + 1) n) :
                                    (booleanHarmonicDimension n (j + 1)) / (booleanHarmonicDimension n j) = (n - 2 * j - 1) * (n - j + 1) / ((j + 1) * (n - 2 * j + 1))
                                    theorem MetricCodes.Johnson.clebschCenteredAxis_sum (w N p q t : ) (c : ) :
                                    r : Fin (t + 1), MetricCodes.Johnson.clebschCoefficient✝ w N p q t r ^ 2 * (↑(p + r) - c * ↑(p + q + t)) = (p - c * ↑(p + q + t)) * MetricCodes.Johnson.clebschNormSq✝ w N p q t + MetricCodes.Johnson.clebschFirstMoment✝ w N p q t
                                    theorem MetricCodes.Johnson.clebschCenteredAxis_sum_eq {w N p q t : } (hsupport : 2 * p + t w) (hcomplement : 2 * q + t N) (c : ) :
                                    r : Fin (t + 1), MetricCodes.Johnson.clebschCoefficient✝ w N p q t r ^ 2 * (↑(p + r) - c * ↑(p + q + t)) = MetricCodes.Johnson.clebschNormSq✝ w N p q t * (p - c * ↑(p + q + t) + t * (N - 2 * q - t + 1) / (w - 2 * p + (N - 2 * q) - 2 * t + 2))
                                    theorem MetricCodes.Johnson.clebschSignedAdjacentCross_sum {w N p q t : } (hsupport : 2 * p + (t + 1) w) (_hcomplement : 2 * q + (t + 1) N) :
                                    theorem MetricCodes.Johnson.johnsonAxisRaise_coupledHarmonic_dot_closed {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + (t + 1)) f) :
                                    theorem MetricCodes.Johnson.johnsonLowerChannel_coupled_axis_inner_closed {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + (t + 1)) f) :
                                    Boolean.coordinateDot (MetricCodes.Johnson.johnsonLowerChannel✝ (p + q + (t + 1)) f) (johnsonAxisTensor x (coupledHarmonic x hp hq a t)) = -(↑(p + q + (t + 1)))⁻¹ * (n / (w * ↑(n - w))) * (Boolean.harmonicCoefficient (n - w) q (t + 1)) * ((MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q t) / (MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q (t + 1))) * Boolean.dot f (coupledHarmonic x hp hq a (t + 1))
                                    theorem MetricCodes.Johnson.clebschSignedAdjacentCross_sum_comm {w N p q t : } (hsupport : 2 * p + (t + 1) w) (hcomplement : 2 * q + (t + 1) N) :
                                    theorem MetricCodes.Johnson.johnsonAxisLower_coupledHarmonic_dot_closed {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) :
                                    theorem MetricCodes.Johnson.johnsonUpperChannel_coupled_axis_inner_closed {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + (t + 1) w) (htcomplement : 2 * q + (t + 1) n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) :
                                    theorem MetricCodes.Johnson.coupledHarmonic_dot_of_split_proportional {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hpair : ∀ (r : Fin (t + 1)), Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r)) = MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q t r * Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a 0 t)) :
                                    theorem MetricCodes.Johnson.johnsonAxisMembership_coupledHarmonic_dot_of_split_proportional {n w p q t : } (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hpair : ∀ (r : Fin (t + 1)), Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r)) = MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q t r * Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a 0 t)) :
                                    Boolean.dot f (MetricCodes.Johnson.johnsonAxisMembership✝ x (coupledHarmonic x hp hq a t)) = (n / (w * ↑(n - w))) * (p - w / n * ↑(p + q + t) + t * (↑(n - w) - 2 * q - t + 1) / (w - 2 * p + (↑(n - w) - 2 * q) - 2 * t + 2)) * Boolean.dot f (coupledHarmonic x hp hq a t)
                                    theorem MetricCodes.Johnson.johnsonMiddleChannel_coupled_axis_inner_of_split_proportional {n w p q t : } (hn : 0 < n) (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hpair : ∀ (r : Fin (t + 1)), Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a (↑r) (t - r)) = MetricCodes.Johnson.clebschCoefficient✝ w (n - w) p q t r * Boolean.dot f (MetricCodes.Johnson.splitTensor✝ x hp hq a 0 t)) :
                                    Boolean.coordinateDot (MetricCodes.Johnson.johnsonMiddleChannel✝ (p + q + t) f) (johnsonAxisTensor x (coupledHarmonic x hp hq a t)) = ((MetricCodes.Johnson.johnsonMiddleScale✝ n (p + q + t)))⁻¹ * (n / (w * ↑(n - w))) * (p - w / n * ↑(p + q + t) + t * (↑(n - w) - 2 * q - t + 1) / (w - 2 * p + (↑(n - w) - 2 * q) - 2 * t + 2)) * Boolean.dot f (coupledHarmonic x hp hq a t)
                                    theorem MetricCodes.Johnson.johnsonMiddleChannel_coupled_axis_inner_closed {n w p q t : } (hn : 0 < n) (x : JohnsonSphere n w) (hp : 2 * p w) (hq : 2 * q n - w) (htsupport : 2 * p + t w) (htcomplement : 2 * q + t n - w) (a : HarmonicFibreIndex n w p q) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + t) f) :
                                    Boolean.coordinateDot (MetricCodes.Johnson.johnsonMiddleChannel✝ (p + q + t) f) (johnsonAxisTensor x (coupledHarmonic x hp hq a t)) = ((MetricCodes.Johnson.johnsonMiddleScale✝ n (p + q + t)))⁻¹ * (n / (w * ↑(n - w))) * (p - w / n * ↑(p + q + t) + t * (↑(n - w) - 2 * q - t + 1) / (w - 2 * p + (↑(n - w) - 2 * q) - 2 * t + 2)) * Boolean.dot f (coupledHarmonic x hp hq a t)
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_diagonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (source : Index p q L) :
                                    johnsonSourceChannelCoefficient n w p q L source source = johnsonHattedDiagonal n w p q (p + q + source)
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_reverse_mul_upperScale {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    johnsonSourceChannelCoefficient n w p q L target source * MetricCodes.Johnson.johnsonUpperScale✝ n (p + q + target) = johnsonSourceChannelCoefficient n w p q L source target * (↑(p + q + target) + 1)
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_reverse_eq_upperScale {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    johnsonSourceChannelCoefficient n w p q L target source = johnsonSourceChannelCoefficient n w p q L source target * (↑(p + q + target) + 1) / MetricCodes.Johnson.johnsonUpperScale✝ n (p + q + target)
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_reverse_sqrt_eq_upperScale {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    (johnsonSourceChannelCoefficient n w p q L target source) = (johnsonSourceChannelCoefficient n w p q L source target) * (↑(p + q + target) + 1) / (MetricCodes.Johnson.johnsonUpperScale✝ n (p + q + target))
                                    theorem MetricCodes.Johnson.johnsonMiddleChannel_signed_axis_inner {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (x : JohnsonSphere n w) (source : Index p q L) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (a : HarmonicFibreIndex n w p q) (hsource : 0 < p + q + source) :
                                    theorem MetricCodes.Johnson.johnsonAdjacentChannel_axis_inner_of_not_active {n w p q L : } (h : AdmissibleDegrees n w p q L) (x : JohnsonSphere n w) (target source : Index p q L) (f : Boolean.Function n) (a : HarmonicFibreIndex n w p q) (hinactive : ¬johnsonChannelActive p q L target source) :
                                    Boolean.coordinateDot (johnsonAdjacentChannel n w p q L target source f) (johnsonAxisTensor x (coupledHarmonic x a target)) = (johnsonSourceChannelCoefficient n w p q L source target) * Boolean.dot f (coupledHarmonic x a source)
                                    theorem MetricCodes.Johnson.johnsonAdjacentChannel_axis_inner_diagonal {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (x : JohnsonSphere n w) (source : Index p q L) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (a : HarmonicFibreIndex n w p q) :
                                    Boolean.coordinateDot (johnsonAdjacentChannel n w p q L source source f) (johnsonAxisTensor x (coupledHarmonic x a source)) = (johnsonSourceChannelCoefficient n w p q L source source) * Boolean.dot f (coupledHarmonic x a source)
                                    theorem MetricCodes.Johnson.johnsonOffDiagonal_fourthPower_grouped_algebra {N W C G j A B E F : } (hN : N 0) (hW : W 0) (hC : C 0) (hWj : W - j 0) (hCj : C - j 0) (hG : G 0) (hGminus : G - 1 0) (hGplus : G + 1 0) (hjone : j + 1 0) (hlast : N - j + 1 0) :
                                    (N * A * B * E * F) ^ 2 / (W * C * G * (G + 1)) ^ 2 / (j + 1) ^ 2 = (N ^ 2 * ((W - j) * (C - j) * A * B * E * F) / ((W * C) ^ 2 * G ^ 2 * ((G - 1) * (G + 1)))) ^ 2 / (N ^ 2 * ((W - j) ^ 2 * (C - j) ^ 2 * (j + 1) * (N - j + 1)) / ((W * C) ^ 2 * G ^ 2 * ((G - 1) * (G + 1)))) * ((G - 1) * (N - j + 1) / ((j + 1) * (G + 1)))
                                    theorem MetricCodes.Johnson.johnsonAdjacentRawSquare_compact_algebra {N W C P Q T : } (hNC : N = W + C) (hW : W 0) (hC : C 0) (hgap : N - 2 * (P + Q + T) 0) (hgapplus : N - 2 * (P + Q + T) + 1 0) :
                                    N / (W * C) * ((T + 1) * (C - 2 * Q - T)) * ((W - 2 * P + (C - 2 * Q) - T + 1) * (W - 2 * P - T) / ((W - 2 * P + (C - 2 * Q) - 2 * T + 1) * (W - 2 * P + (C - 2 * Q) - 2 * T))) = N * (W - (P + Q + T) - P + Q) * (C - (P + Q + T) + P - Q) * (P + Q + T - P - Q + 1) * (N - P - Q - (P + Q + T) + 1) / (W * C * (N - 2 * (P + Q + T)) * (N - 2 * (P + Q + T) + 1))
                                    theorem MetricCodes.Johnson.johnsonNu_radicand_factor {n w p q j : } (hwn : w n) :
                                    (johnsonJ n j ^ 2 - johnsonM n w ^ 2) * (johnsonJ n j ^ 2 - johnsonDelta n w p q ^ 2) * ((johnsonSigma n w p q + 1) ^ 2 - johnsonJ n j ^ 2) = (w - j) * (↑(n - w) - j) * (w - j - p + q) * (↑(n - w) - j + p - q) * (j - p - q + 1) * (n - p - q - j + 1)
                                    theorem MetricCodes.Johnson.johnsonNu_denominator_factor (n j : ) :
                                    (2 * johnsonJ n j - 1) * (2 * johnsonJ n j + 1) = (n - 2 * j - 1) * (n - 2 * j + 1)
                                    theorem MetricCodes.Johnson.johnsonNu_radicand_pos {n w p q L j : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (hfirst : p + q j) (hlast : j < johnsonLastDegree n w p q) :
                                    0 < (johnsonJ n j ^ 2 - johnsonM n w ^ 2) * (johnsonJ n j ^ 2 - johnsonDelta n w p q ^ 2) * ((johnsonSigma n w p q + 1) ^ 2 - johnsonJ n j ^ 2)
                                    theorem MetricCodes.Johnson.johnsonNu_denominator_pos {n w p q L j : } :
                                    AdmissibleDegrees n w p q L∀ (hstrict : 2 * w < n) (hlast : j < johnsonLastDegree n w p q), 0 < (2 * johnsonJ n j - 1) * (2 * johnsonJ n j + 1)
                                    theorem MetricCodes.Johnson.johnsonEdge_sq_factored {n w p q L j : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (hfirst : p + q j) (hlast : j < johnsonLastDegree n w p q) :
                                    johnsonEdge n w p q j ^ 2 = n ^ 2 * ((w - j) * (↑(n - w) - j) * (w - j - p + q) * (↑(n - w) - j + p - q) * (j - p - q + 1) * (n - p - q - j + 1)) / ((w * ↑(n - w)) ^ 2 * (n - 2 * j) ^ 2 * ((n - 2 * j - 1) * (n - 2 * j + 1)))
                                    theorem MetricCodes.Johnson.johnsonZonalEdge_sq_factored {n w p q L j : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (hjw : j < w) :
                                    johnsonZonalEdge n w j ^ 2 = n ^ 2 * ((w - j) ^ 2 * (↑(n - w) - j) ^ 2 * (j + 1) * (n - j + 1)) / ((w * ↑(n - w)) ^ 2 * (n - 2 * j) ^ 2 * ((n - 2 * j - 1) * (n - 2 * j + 1)))
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_sq {n w p q L : } (h : AdmissibleDegrees n w p q L) (source target : Index p q L) :
                                    johnsonSourceChannelCoefficient n w p q L source target ^ 2 = matrix n w p q L source target ^ 2 * ((booleanHarmonicDimension n (p + q + source)) / (booleanHarmonicDimension n (p + q + target)))
                                    theorem MetricCodes.Johnson.johnsonAdjacentRawScalar_sq {n w p q t : } (hw : 0 < w) (hwn : w < n) :
                                    2 * p + (t + 1) w∀ (hcomplement : 2 * q + (t + 1) n - w), MetricCodes.Johnson.johnsonAdjacentRawScalar✝ n w p q t ^ 2 = n / (w * ↑(n - w)) * Boolean.harmonicCoefficient (n - w) q (t + 1) * (MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q t / MetricCodes.Johnson.clebschNormSq✝ w (n - w) p q (t + 1))
                                    theorem MetricCodes.Johnson.johnsonAdjacentRawScalar_sq_factored {n w p q t : } (hw : 0 < w) (hwn : w < n) (hsupport : 2 * p + (t + 1) w) (hcomplement : 2 * q + (t + 1) n - w) :
                                    MetricCodes.Johnson.johnsonAdjacentRawScalar✝ n w p q t ^ 2 = n / (w * ↑(n - w)) * ((t + 1) * (↑(n - w) - 2 * q - t)) * ((w - 2 * p + (↑(n - w) - 2 * q) - t + 1) * (w - 2 * p - t) / ((w - 2 * p + (↑(n - w) - 2 * q) - 2 * t + 1) * (w - 2 * p + (↑(n - w) - 2 * q) - 2 * t)))
                                    theorem MetricCodes.Johnson.johnsonAdjacentRawScalar_pos {n w p q t : } (hw : 0 < w) (hwn : w < n) :
                                    2 * p + (t + 1) w∀ (hcomplement : 2 * q + (t + 1) n - w), 0 < MetricCodes.Johnson.johnsonAdjacentRawScalar✝ n w p q t
                                    theorem MetricCodes.Johnson.johnsonSourceChannelCoefficient_lower_sq {n w p q L : } (h : AdmissibleDegrees n w p q L) (target source : Index p q L) (hadj : target + 1 = source) :
                                    johnsonSourceChannelCoefficient n w p q L source target ^ 2 = johnsonHattedEdge n w p q (p + q + target) ^ 2 * ((booleanHarmonicDimension n (p + q + source)) / (booleanHarmonicDimension n (p + q + target)))
                                    theorem MetricCodes.Johnson.johnsonAdjacentRawScalar_sq_degree_factored {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    MetricCodes.Johnson.johnsonAdjacentRawScalar✝ n w p q target ^ 2 = n * (w - ↑(p + q + target) - p + q) * (↑(n - w) - ↑(p + q + target) + p - q) * (↑(p + q + target) - p - q + 1) * (n - p - q - ↑(p + q + target) + 1) / (w * ↑(n - w) * (n - 2 * ↑(p + q + target)) * (n - 2 * ↑(p + q + target) + 1))
                                    theorem MetricCodes.Johnson.johnsonLowerOffDiagonalScalar_fourthPower {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    theorem MetricCodes.Johnson.johnsonLowerOffDiagonalScalar_eq_sqrt_source {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    theorem MetricCodes.Johnson.johnsonUpperOffDiagonalScalar_eq_sqrt_source {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (target source : Index p q L) (hadj : target + 1 = source) :
                                    theorem MetricCodes.Johnson.johnsonAdjacentChannel_axis_inner {n w p q L : } (h : AdmissibleDegrees n w p q L) (hstrict : 2 * w < n) (x : JohnsonSphere n w) (target source : Index p q L) (f : Boolean.Function n) (hf : Boolean.IsHarmonic (p + q + source) f) (a : HarmonicFibreIndex n w p q) :
                                    Boolean.coordinateDot (johnsonAdjacentChannel n w p q L target source f) (johnsonAxisTensor x (coupledHarmonic x a target)) = (johnsonSourceChannelCoefficient n w p q L source target) * Boolean.dot f (coupledHarmonic x a source)