Step * 1 2 of Lemma select-remove-first


1. Type
2. T
3. List
4. {x:T| (x ∈ [u v])}  ⟶ 𝔹
5. u ∈ 𝔹
6. P ∈ {x:T| (x ∈ v)}  ⟶ 𝔹
7. ∀i:ℕ||remove-first(P;v)||
     (remove-first(P;v)[i] v[i] supposing ∀j:ℕ1. (¬↑(P v[j]))
     ∧ remove-first(P;v)[i] v[i 1] supposing ∃j:ℕ1. (↑(P v[j])))
8. ↑(P u)
9. : ℕ||v||
10. ∃j:ℕ1. (↑(P [u v][j]))
⊢ v[i] [u v][i 1]
BY
RWO "select_cons_tl_sq" 0
THEN Auto⋅ }


Latex:


Latex:

1.  T  :  Type
2.  u  :  T
3.  v  :  T  List
4.  P  :  \{x:T|  (x  \mmember{}  [u  /  v])\}    {}\mrightarrow{}  \mBbbB{}
5.  P  u  \mmember{}  \mBbbB{}
6.  P  \mmember{}  \{x:T|  (x  \mmember{}  v)\}    {}\mrightarrow{}  \mBbbB{}
7.  \mforall{}i:\mBbbN{}||remove-first(P;v)||
          (remove-first(P;v)[i]  \msim{}  v[i]  supposing  \mforall{}j:\mBbbN{}i  +  1.  (\mneg{}\muparrow{}(P  v[j]))
          \mwedge{}  remove-first(P;v)[i]  \msim{}  v[i  +  1]  supposing  \mexists{}j:\mBbbN{}i  +  1.  (\muparrow{}(P  v[j])))
8.  \muparrow{}(P  u)
9.  i  :  \mBbbN{}||v||
10.  \mexists{}j:\mBbbN{}i  +  1.  (\muparrow{}(P  [u  /  v][j]))
\mvdash{}  v[i]  \msim{}  [u  /  v][i  +  1]


By


Latex:
RWO  "select\_cons\_tl\_sq"  0
THEN  Auto\mcdot{}




Home Index