Step
*
of Lemma
swap-filter-filter
No Annotations
∀[T:Type]. ∀[P1,P2:T ⟶ 𝔹]. ∀[L:T List].  (filter(P2;filter(P1;L)) ~ filter(P1;filter(P2;L)))
BY
{ ((UnivCD THENA Auto)
   THEN (RWO "filter-filter" 0 THENA Auto)
   THEN ListInd (-1)
   THEN Reduce 0
   THEN Auto
   THEN AutoBoolCase ⌜P1 u⌝⋅
   THEN AutoBoolCase ⌜P2 u⌝⋅) }
Latex:
Latex:
No  Annotations
\mforall{}[T:Type].  \mforall{}[P1,P2:T  {}\mrightarrow{}  \mBbbB{}].  \mforall{}[L:T  List].    (filter(P2;filter(P1;L))  \msim{}  filter(P1;filter(P2;L)))
By
Latex:
((UnivCD  THENA  Auto)
  THEN  (RWO  "filter-filter"  0  THENA  Auto)
  THEN  ListInd  (-1)
  THEN  Reduce  0
  THEN  Auto
  THEN  AutoBoolCase  \mkleeneopen{}P1  u\mkleeneclose{}\mcdot{}
  THEN  AutoBoolCase  \mkleeneopen{}P2  u\mkleeneclose{}\mcdot{})
Home
Index