NLA-lib Explorer

NLAlib.Ops.Examples.divSpec_pre

Library · theorem

NLAlib.Ops.Examples.divSpec_pre {K : Type} {dec : K → ℝ} {ε : ℝ} {md : Ops.Mode} {d : List ℕ}
  {ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m : Ops.Mem K} :
  ((Ops.Examples.divSpec dec ε).on md d ins outs τ m).pre m ↔
    ∃ x y z,
      d = [] ∧
        ins = [x, y] ∧
          outs = [z] ∧
            md.Needs
              (∃ a b,
                m.store.get x.1 x.2 = some a ∧
                  m.store.get y.1 y.2 = some b ∧ dec b ≠ 0 ∧ z.2 < m.store.len z.1)

Full source on GitHub

Import NLAlib.Ops.Examples.Liberal.