Step * 2 2 of Lemma select-remove-first


1. Type
2. T
3. List
4. {x:T| (x ∈ [u v])}  ⟶ 𝔹
5. ¬↑(P u)
6. ff ∈ 𝔹
7. P ∈ {x:T| (x ∈ v)}  ⟶ 𝔹
8. ∀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])))
9. : ℕ||remove-first(P;v)|| 1
10. ¬(i 0 ∈ ℤ)
⊢ [u remove-first(P;v)][i] [u v][i] supposing ∀j:ℕ1. (¬↑(P [u v][j]))
∧ [u remove-first(P;v)][i] [u v][i 1] supposing ∃j:ℕ1. (↑(P [u v][j]))
BY
(InstHyp [⌜1⌝(-3)⋅ THENA Auto)
THEN ParallelLast }

1
1. Type
2. T
3. List
4. {x:T| (x ∈ [u v])}  ⟶ 𝔹
5. ¬↑(P u)
6. ff ∈ 𝔹
7. P ∈ {x:T| (x ∈ v)}  ⟶ 𝔹
8. ∀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])))
9. : ℕ||remove-first(P;v)|| 1
10. ¬(i 0 ∈ ℤ)
11. remove-first(P;v)[i 1] v[(i 1) 1] supposing ∃j:ℕ(i 1) 1. (↑(P v[j]))
12. remove-first(P;v)[i 1] v[i 1] supposing ∀j:ℕ(i 1) 1. (¬↑(P v[j]))
⊢ [u remove-first(P;v)][i] [u v][i] supposing ∀j:ℕ1. (¬↑(P [u v][j]))

2
1. Type
2. T
3. List
4. {x:T| (x ∈ [u v])}  ⟶ 𝔹
5. ¬↑(P u)
6. ff ∈ 𝔹
7. P ∈ {x:T| (x ∈ v)}  ⟶ 𝔹
8. ∀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])))
9. : ℕ||remove-first(P;v)|| 1
10. ¬(i 0 ∈ ℤ)
11. remove-first(P;v)[i 1] v[i 1] supposing ∀j:ℕ(i 1) 1. (¬↑(P v[j]))
12. remove-first(P;v)[i 1] v[(i 1) 1] supposing ∃j:ℕ(i 1) 1. (↑(P v[j]))
⊢ [u remove-first(P;v)][i] [u v][i 1] supposing ∃j:ℕ1. (↑(P [u v][j]))


Latex:


Latex:

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


By


Latex:
(InstHyp  [\mkleeneopen{}i  -  1\mkleeneclose{}]  (-3)\mcdot{}  THENA  Auto)
THEN  ParallelLast




Home Index