English
rtakeWhile p l = l if and only if p holds for every element of l.
Русский
rtakeWhile p l = l эквивалентно тому, что p выполняется для каждого элемента l.
LaTeX
$$$$ \mathrm{rtakeWhile}(p, l) = l \iff \forall x \in l,\ p(x) = \text{true}. $$$$
Lean4
/-- Property that an element `x : α` of `l : List α` can be found in the list more than once. -/
inductive Duplicate (x : α) : List α → Prop
| cons_mem {l : List α} : x ∈ l → Duplicate x (x :: l)
| cons_duplicate {y : α} {l : List α} : Duplicate x l → Duplicate x (y :: l)