NLA-lib Explorer

NLAlib.Ops.Routine.Separated.ne

Library · theorem

Two operands that the interface requires apart are in different buffers. With the operands of a call named, h.ne (i := 1) (j := 2) (by decide) rfl rfl rfl is the fact for the second and third; it does not typecheck for a pair that need not be apart.

NLAlib.Ops.Routine.Separated.ne {Op Tst : Type} {R : Ops.Routine Op Tst} {args : List (ℕ × ℕ)}
  (h : R.Separated args) {i j : ℕ} (hij : i < j) (hne : R.apartAt i j = true) {a b : ℕ × ℕ}
  (ha : args[i]? = some a) (hb : args[j]? = some b) : a.1 ≠ b.1

Full source on GitHub

Import NLAlib.Ops.RoutineInterface.