NLA-lib Explorer

NLAlib.SpectralBisection.slotTree_map_agrees_idealTree

Library · theorem

Along reached paths, the indexed sample tree and the independent ideal tree agree on every seed and every leading block actually used by the node.

NLAlib.SpectralBisection.slotTree_map_agrees_idealTree {K : Type} (M : Ops.Machine K) (dec : K → ℝ)
  (mm : MatMulMap (K × K)) (qr : QRMap (K × K)) (unif : K → ℕ → K) (normal : ℕ → K × K)
  (unif' : K → ℝ → K) (normal' : ℂ → K × K) (ξ : Computation.Dist → ℕ → ℝ)
  (hu : ∀ (scale : K) (i : ℕ), unif scale i = unif' scale (ξ Computation.Dist.uniform i))
  (hn : ∀ (z : ℕ), normal z = normal' (eighIdealComplex ξ z)) (n fuel D : ℕ) (R0 beta : K)
  (a : List Bool) (d lo : ℕ) (x : EighNode K) (pre : List Bool) (y : EighNode K) :
  x.k ≤ n →
    d + a.length < D →
      (eighNodeAt (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif' normal') n fuel R0
            beta a x fun path ↦
            (ξ Computation.Dist.uniform
                (eighSlotTree (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal)
                    n fuel R0 beta d lo x path).1,
              fun side ↦
              ((eighSlotTree (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal)
                        n fuel R0 beta d lo x path).2
                    side).map
                (eighIdealComplex ξ))) =
          some y →
        ξ Computation.Dist.uniform
              (eighSlotTree (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal) n
                  fuel R0 beta d lo x a).1 =
            (eighIdealTree (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif' normal')
                n fuel D R0 beta ξ d lo (some x) pre a).1 ∧
          ∀ (side : Bool),
            leadingBlock y.k
                (((eighSlotTree
                          (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif normal) n
                          fuel R0 beta d lo x a).2
                      side).map
                  (eighIdealComplex ξ)) =
              leadingBlock y.k
                ((eighIdealTree
                      (M.toFloatMachine dec (fun {l m n} ↦ mm) (fun {m n} ↦ qr) unif' normal') n
                      fuel D R0 beta ξ d lo (some x) pre a).2
                  side)

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.IdealCoupling.