NLA-lib Explorer

NLAlib.eigh_congr_samples

Library · theorem

NLAlib.eigh reads only the samples of the nodes it reaches: two trees of samples that agree, at every path of length at most \ell (the nodes with a positive budget) that NLAlib.eighNodeAt follows, on the seed and on the leading k \times k blocks of the test matrices (k the node's size), give the same output. No printed source.

NLAlib.eigh_congr_samples.{u_1, u_2, u_3} {F : Type u_1} {Su : Type u_2} {Sg : Type u_3}
  [Inhabited Sg] (M : FloatMachine F Su Sg) (signFuel ℓ : ℕ) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) (F × F)) (R₀ ε β : F) {s s' : List Bool → EighSample Su Sg n}
  (h :
    ∀ (a : List Bool) (y : EighNode F),
      a.length ≤ ℓ →
        eighNodeAt M n signFuel R₀ β a { k := n, A := A, R := R₀, ε := ε, ℓ := ℓ } s = some y →
          (s a).1 = (s' a).1 ∧
            ∀ (b : Bool), leadingBlock y.k ((s a).2 b) = leadingBlock y.k ((s' a).2 b)) :
  eigh M signFuel ℓ A R₀ ε β s = eigh M signFuel ℓ A R₀ ε β s'

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisectionSamples.