Step
*
1
of Lemma
apply-alist-no_repeats
1. A : Type
2. T : Type
3. eq : EqDecider(T)
4. L : (T × A) List
5. no_repeats(T;map(λp.(fst(p));L))
6. x : T
7. a : A
8. i : ℕ
9. i < ||L||
10. <x, a> = L[i] ∈ (T × A)
11. apply-alist(eq;L;x) ~ ff supposing ¬(x ∈ map(λp.(fst(p));L))
12. ∀[i:ℕ||L||]
      (apply-alist(eq;L;x) ~ inl (snd(L[i]))) supposing (((fst(L[i])) = x ∈ T) and (∀j:ℕi. (¬((fst(L[j])) = x ∈ T))))
13. j : ℕi
⊢ ¬((fst(L[j])) = x ∈ T)
BY
{ (D 0 THENA Auto) }
1
1. A : Type
2. T : Type
3. eq : EqDecider(T)
4. L : (T × A) List
5. no_repeats(T;map(λp.(fst(p));L))
6. x : T
7. a : A
8. i : ℕ
9. i < ||L||
10. <x, a> = L[i] ∈ (T × A)
11. apply-alist(eq;L;x) ~ ff supposing ¬(x ∈ map(λp.(fst(p));L))
12. ∀[i:ℕ||L||]
      (apply-alist(eq;L;x) ~ inl (snd(L[i]))) supposing (((fst(L[i])) = x ∈ T) and (∀j:ℕi. (¬((fst(L[j])) = x ∈ T))))
13. j : ℕi
14. (fst(L[j])) = x ∈ T
⊢ False
Latex:
Latex:
1.  A  :  Type
2.  T  :  Type
3.  eq  :  EqDecider(T)
4.  L  :  (T  \mtimes{}  A)  List
5.  no\_repeats(T;map(\mlambda{}p.(fst(p));L))
6.  x  :  T
7.  a  :  A
8.  i  :  \mBbbN{}
9.  i  <  ||L||
10.  <x,  a>  =  L[i]
11.  apply-alist(eq;L;x)  \msim{}  ff  supposing  \mneg{}(x  \mmember{}  map(\mlambda{}p.(fst(p));L))
12.  \mforall{}[i:\mBbbN{}||L||]
            (apply-alist(eq;L;x)  \msim{}  inl  (snd(L[i])))  supposing 
                  (((fst(L[i]))  =  x)  and 
                  (\mforall{}j:\mBbbN{}i.  (\mneg{}((fst(L[j]))  =  x))))
13.  j  :  \mBbbN{}i
\mvdash{}  \mneg{}((fst(L[j]))  =  x)
By
Latex:
(D  0  THENA  Auto)
Home
Index