Step * of Lemma bag-map-member-wf

[A,B:Type]. ∀[bs:bag(A)]. ∀[f:{a:A| a ↓∈ bs}  ⟶ B].  (bag-map(f;bs) ∈ bag(B))
BY
((UnivCD THENA Auto)
   THEN InstLemma `bag-map_wf` [⌜B⌝;⌜{a:A| a ↓∈ bs} ⌝;⌜f⌝;⌜bs⌝]⋅
   THEN Auto
   THEN BLemma `bag-subtype`
   THEN Auto) }


Latex:


Latex:
\mforall{}[A,B:Type].  \mforall{}[bs:bag(A)].  \mforall{}[f:\{a:A|  a  \mdownarrow{}\mmember{}  bs\}    {}\mrightarrow{}  B].    (bag-map(f;bs)  \mmember{}  bag(B))


By


Latex:
((UnivCD  THENA  Auto)
  THEN  InstLemma  `bag-map\_wf`  [\mkleeneopen{}B\mkleeneclose{};\mkleeneopen{}\{a:A|  a  \mdownarrow{}\mmember{}  bs\}  \mkleeneclose{};\mkleeneopen{}f\mkleeneclose{};\mkleeneopen{}bs\mkleeneclose{}]\mcdot{}
  THEN  Auto
  THEN  BLemma  `bag-subtype`
  THEN  Auto)




Home Index