Monotone finite sequences #
In this file we prove simp
lemmas that allow to simplify propositions like Monotone ![a, b, c]
.
@[simp]
theorem
strictMono_vecCons
{α : Type u_1}
[Preorder α]
{n : ℕ}
{f : Fin (n + 1) → α}
{a : α}
:
StrictMono (Matrix.vecCons a f) ↔ a < f 0 ∧ StrictMono f
@[simp]
theorem
strictAnti_vecCons
{α : Type u_1}
[Preorder α]
{n : ℕ}
{f : Fin (n + 1) → α}
{a : α}
:
StrictAnti (Matrix.vecCons a f) ↔ f 0 < a ∧ StrictAnti f
theorem
StrictMono.vecCons
{α : Type u_1}
[Preorder α]
{n : ℕ}
{f : Fin (n + 1) → α}
{a : α}
(hf : StrictMono f)
(ha : a < f 0)
:
StrictMono (Matrix.vecCons a f)
theorem
StrictAnti.vecCons
{α : Type u_1}
[Preorder α]
{n : ℕ}
{f : Fin (n + 1) → α}
{a : α}
(hf : StrictAnti f)
(ha : f 0 < a)
:
StrictAnti (Matrix.vecCons a f)