Order properties on tuples #
theorem liftFun_vecCons {α : Type u_1} {n : ℕ} (r : α → α → Prop) [IsTrans α r] {f : Fin (n + 1) → α} {a : α} :
Relator.LiftFun (fun (x1 x2 : Fin (n + 1).succ) => x1 < x2) r (Matrix.vecCons a f) (Matrix.vecCons a f) ↔ r a (f 0) ∧ Relator.LiftFun (fun (x1 x2 : Fin (n + 1)) => x1 < x2) r f 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 StrictMono.removeNth {α : Type u_1} [Preorder α] {n : ℕ} {f : Fin (n + 1) → α} (hf : StrictMono f) (i : Fin (n + 1)) :
StrictMono (i.removeNth 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)
The space of functions Fin 2 → α is order equivalent to α × α. See also
OrderIso.piFinTwoIso.
Instances For
def Fin.insertNthOrderIso {n : ℕ} (α : Fin (n + 1) → Type u_2) [(i : Fin (n + 1)) → LE (α i)] (p : Fin (n + 1)) :
Order isomorphism between tuples of length n + 1 and pairs of an element and a tuple of length
n given by separating out the p-th element of the tuple.
This is Fin.insertNth as an OrderIso.
Instances For
@[simp]
Note this lemma can only be written about non-dependent tuples as insertNth (last n) = snoc is
not a definitional equality.
@[simp]