Step * 2 1 1 of Lemma strict-majority-property


1. Type
2. eq EqDecider(T)
3. List
4. T
5. (inl (fst(hd(filter(λp.||L|| <(snd(p));count-repeats(L,eq)))))) (inl x) ∈ (T?)
6. ¬(filter(λp.||L|| <(snd(p));count-repeats(L,eq)) [] ∈ ((Top × ℤList))
7. (fst(hd(filter(λp.||L|| <(snd(p));count-repeats(L,eq))))) x ∈ T
⊢ ||L|| < ||filter(λy.(eq x);L)||
BY
((RepeatFor (MoveToConcl  (-1)) THEN (GenConclAtAddrType ⌜(T × ℕ+List⌝ [1;1;2]⋅ THENA Auto))
   THEN -2
   THEN Reduce 0)⋅ }

1
1. Type
2. eq EqDecider(T)
3. List
4. T
5. (inl (fst(hd(filter(λp.||L|| <(snd(p));count-repeats(L,eq)))))) (inl x) ∈ (T?)
6. filter(λp.||L|| <(snd(p));count-repeats(L,eq)) [] ∈ ((T × ℕ+List)
⊢ ([] [] ∈ ((Top × ℤList)))  ((fst(hd([]))) x ∈ T)  ||L|| < ||filter(λy.(eq x);L)||

2
1. Type
2. eq EqDecider(T)
3. List
4. T
5. (inl (fst(hd(filter(λp.||L|| <(snd(p));count-repeats(L,eq)))))) (inl x) ∈ (T?)
6. T × ℕ+
7. (T × ℕ+List
8. filter(λp.||L|| <(snd(p));count-repeats(L,eq)) [u v] ∈ ((T × ℕ+List)
⊢ ([u v] [] ∈ ((Top × ℤList)))  ((fst(u)) x ∈ T)  ||L|| < ||filter(λy.(eq x);L)||


Latex:


Latex:

1.  T  :  Type
2.  eq  :  EqDecider(T)
3.  L  :  T  List
4.  x  :  T
5.  (inl  (fst(hd(filter(\mlambda{}p.||L||  <z  2  *  (snd(p));count-repeats(L,eq))))))  =  (inl  x)
6.  \mneg{}(filter(\mlambda{}p.||L||  <z  2  *  (snd(p));count-repeats(L,eq))  =  [])
7.  (fst(hd(filter(\mlambda{}p.||L||  <z  2  *  (snd(p));count-repeats(L,eq)))))  =  x
\mvdash{}  ||L||  <  2  *  ||filter(\mlambda{}y.(eq  y  x);L)||


By


Latex:
((RepeatFor  2  (MoveToConcl    (-1))  THEN  (GenConclAtAddrType  \mkleeneopen{}(T  \mtimes{}  \mBbbN{}\msupplus{})  List\mkleeneclose{}  [1;1;2]\mcdot{}  THENA  Auto))
  THEN  D  -2
  THEN  Reduce  0)\mcdot{}




Home Index