The areas / V04. Order and lattices
Mathlib.Order.Fin.InsertNth
7 declarations. Mathlib docs · Source
theorem Fin.insertNth.hcongr_6 E1 #
∀ (n n' : ℕ),
n = n' →
∀ (α : Fin (n + 1) → Sort u_1) (α' : Fin (n' + 1) → Sort u_1),
α ≍ α' →
∀ (i : Fin (n + 1)) (i' : Fin (n' + 1)),
i ≍ i' →
∀ (x : α i) (x' : α' i'),
x ≍ x' →
∀ (p : (j : Fin n) → α (i.succAbove j)) (p' : (j : Fin n') → α' (i'.succAbove j)),
p ≍ p' → ∀ (j : Fin (n + 1)) (j' : Fin (n' + 1)), j ≍ j' → i.insertNth x p j ≍ i'.insertNth x' p' j'
theorem Fin.insertNth_zero_monotone E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
Monotone f → ∀ x ≤ f 0, Monotone (Fin.insertNth 0 x f)
theorem Fin.strictMono_insertNth_zero E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
StrictMono f → ∀ x < f 0, StrictMono (Fin.insertNth 0 x f)
theorem Fin.insertNth_monotone E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
Monotone f → ∀ (i : Fin n) (x : α), f i.castSucc ≤ x → x ≤ f i.succ → Monotone (i.castSucc.succ.insertNth x f)
theorem Fin.strictMono_insertNth E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
StrictMono f → ∀ (i : Fin n) (x : α), f i.castSucc < x → x < f i.succ → StrictMono (i.castSucc.succ.insertNth x f)
theorem Fin.insertNth_last_monotone E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
Monotone f → ∀ (x : α), f (Fin.last n) ≤ x → Monotone ((Fin.last (n + 1)).insertNth x f)
theorem Fin.strictMono_insertNth_last E1 #
∀ {n : ℕ} {α : Type u_1} [inst : Preorder α] {f : Fin (n + 1) → α},
StrictMono f → ∀ (x : α), f (Fin.last n) < x → StrictMono ((Fin.last (n + 1)).insertNth x f)