Equations
- l.finIdxOf hx = ⟨List.idxOf x l, ⋯⟩
@[simp]
theorem
List.rel_head_of_chain'_preorder
{α : Type u_1}
{l : List α}
[DecidableEq α]
{R : α → α → Prop}
[IsPreorder α R]
(h : Chain' R l)
(lh : l ≠ [])
(x : α)
:
theorem
List.rel_getLast_of_chain'_preorder
{α : Type u_1}
{l : List α}
[DecidableEq α]
{R : α → α → Prop}
[IsPreorder α R]
(h : Chain' R l)
(lh : l ≠ [])
(x : α)
: