Step * of Lemma mapfilter-as-reduce2

[L,p,f:Top].  (mapfilter(f;p;L) reduce(λx,a. if then [f a] else fi ;[];L))
BY
(RepUR ``mapfilter`` THEN ListIndSq `L' THEN RWO "map-ifthenelse" THEN Reduce THEN Auto) }


Latex:


Latex:
\mforall{}[L,p,f:Top].    (mapfilter(f;p;L)  \msim{}  reduce(\mlambda{}x,a.  if  p  x  then  [f  x  /  a]  else  a  fi  ;[];L))


By


Latex:
(RepUR  ``mapfilter``  0  THEN  ListIndSq  `L'  THEN  RWO  "map-ifthenelse"  0  THEN  Reduce  0  THEN  Auto)




Home Index