Step
*
of Lemma
length-filter
∀[T:Type]. ∀[P:T ⟶ 𝔹]. ∀[L:T List].  (||filter(P;L)|| ≤ ||L||)
BY
{ (InductionOnList THEN Reduce 0 THEN Try (AutoSplit) THEN Auto) }
Latex:
Latex:
\mforall{}[T:Type].  \mforall{}[P:T  {}\mrightarrow{}  \mBbbB{}].  \mforall{}[L:T  List].    (||filter(P;L)||  \mleq{}  ||L||)
By
Latex:
(InductionOnList  THEN  Reduce  0  THEN  Try  (AutoSplit)  THEN  Auto)
Home
Index