Step
*
1
of Lemma
member-fpf-vals
1. [A] : Type
2. eq : EqDecider(A)
3. [B] : A ⟶ Type
4. P : A ⟶ 𝔹
5. d : A List
6. f1 : x:{x:A| (x ∈ d)}  ⟶ B[x]
7. x : A
8. v : B[x]
9. L : A List
10. remove-repeats(eq;d) = L ∈ (A List)
⊢ (<x, v> ∈ zip(filter(P;L);map(f1;filter(P;L)))) 
⇐⇒ {((↑x ∈b L) ∧ (↑(P x))) ∧ (v = (f1 x) ∈ B[x])}
BY
{ (GenConcl ⌜f1 = g ∈ (x:{x:A| (x ∈ L)}  ⟶ B[x])⌝⋅ THENA Auto) }
1
.....wf..... 
1. [A] : Type
2. eq : EqDecider(A)
3. [B] : A ⟶ Type
4. P : A ⟶ 𝔹
5. d : A List
6. f1 : x:{x:A| (x ∈ d)}  ⟶ B[x]
7. x : A
8. v : B[x]
9. L : A List
10. remove-repeats(eq;d) = L ∈ (A List)
⊢ f1 ∈ x:{x:A| (x ∈ L)}  ⟶ B[x]
2
1. [A] : Type
2. eq : EqDecider(A)
3. [B] : A ⟶ Type
4. P : A ⟶ 𝔹
5. d : A List
6. f1 : x:{x:A| (x ∈ d)}  ⟶ B[x]
7. x : A
8. v : B[x]
9. L : A List
10. remove-repeats(eq;d) = L ∈ (A List)
11. g : x:{x:A| (x ∈ L)}  ⟶ B[x]
12. f1 = g ∈ (x:{x:A| (x ∈ L)}  ⟶ B[x])
⊢ (<x, v> ∈ zip(filter(P;L);map(g;filter(P;L)))) 
⇐⇒ {((↑x ∈b L) ∧ (↑(P x))) ∧ (v = (g x) ∈ B[x])}
Latex:
Latex:
1.  [A]  :  Type
2.  eq  :  EqDecider(A)
3.  [B]  :  A  {}\mrightarrow{}  Type
4.  P  :  A  {}\mrightarrow{}  \mBbbB{}
5.  d  :  A  List
6.  f1  :  x:\{x:A|  (x  \mmember{}  d)\}    {}\mrightarrow{}  B[x]
7.  x  :  A
8.  v  :  B[x]
9.  L  :  A  List
10.  remove-repeats(eq;d)  =  L
\mvdash{}  (<x,  v>  \mmember{}  zip(filter(P;L);map(f1;filter(P;L))))  \mLeftarrow{}{}\mRightarrow{}  \{((\muparrow{}x  \mmember{}\msubb{}  L)  \mwedge{}  (\muparrow{}(P  x)))  \mwedge{}  (v  =  (f1  x))\}
By
Latex:
(GenConcl  \mkleeneopen{}f1  =  g\mkleeneclose{}\mcdot{}  THENA  Auto)
Home
Index