NLA-lib Explorer

NLAlib.eighChild_cases

Library · theorem

The two children of a node: none, one child of the same size (at least 2), or a proper split.

NLAlib.eighChild_cases.{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) (N signFuel : ℕ) (R₀ β : F) (x : EighNode F) (s : EighSample Su Sg N) :
  eighChild M N signFuel R₀ β x s true = none ∧ eighChild M N signFuel R₀ β x s false = none ∨
    (∃ y,
        eighChild M N signFuel R₀ β x s true = some y ∧
          eighChild M N signFuel R₀ β x s false = none ∧ y.k = x.k ∧ 2 ≤ x.k) ∨
      (∃ y,
          eighChild M N signFuel R₀ β x s true = none ∧
            eighChild M N signFuel R₀ β x s false = some y ∧ y.k = x.k ∧ 2 ≤ x.k) ∨
        ∃ y y',
          eighChild M N signFuel R₀ β x s true = some y ∧
            eighChild M N signFuel R₀ β x s false = some y' ∧ 1 ≤ y.k ∧ 1 ≤ y'.k ∧ y.k + y'.k = x.k

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisectionSamples.