Step * 2 1 1 of Lemma priority-select-ff


1. Type
2. as List
3. T ⟶ 𝔹
4. T ⟶ 𝔹
5. T ⊆r ℤ
6. ∀i:ℕ||as||. ∀j:ℕi.  (as[j] ≤ as[i])
7. (priority-select(f;g;as) (inl ff) ∈ (𝔹?))  (∃i:ℕ||as||. ((↑(g as[i])) ∧ (∀j:ℕ1. (¬↑(f as[j])))))
8. (priority-select(f;g;as) (inl ff) ∈ (𝔹?))  ∃i:ℕ||as||. ((↑(g as[i])) ∧ (∀j:ℕ1. (¬↑(f as[j]))))
9. : ℕ||as||
10. ↑(g as[i])
11. ∀b:T. ((b ∈ as)  ¬↑(f b) supposing b ≤ as[i])
12. ↑(g as[i])
13. : ℕ1
14. j ∈ ℤ
⊢ as[j] ≤ as[i]
BY
((HypSubst' (-1) 0) THEN Auto) }


Latex:


Latex:

1.  T  :  Type
2.  as  :  T  List
3.  f  :  T  {}\mrightarrow{}  \mBbbB{}
4.  g  :  T  {}\mrightarrow{}  \mBbbB{}
5.  T  \msubseteq{}r  \mBbbZ{}
6.  \mforall{}i:\mBbbN{}||as||.  \mforall{}j:\mBbbN{}i.    (as[j]  \mleq{}  as[i])
7.  (priority-select(f;g;as)  =  (inl  ff))  {}\mRightarrow{}  (\mexists{}i:\mBbbN{}||as||.  ((\muparrow{}(g  as[i]))  \mwedge{}  (\mforall{}j:\mBbbN{}i  +  1.  (\mneg{}\muparrow{}(f  as[j])))))
8.  (priority-select(f;g;as)  =  (inl  ff))  \mLeftarrow{}{}  \mexists{}i:\mBbbN{}||as||.  ((\muparrow{}(g  as[i]))  \mwedge{}  (\mforall{}j:\mBbbN{}i  +  1.  (\mneg{}\muparrow{}(f  as[j]))))
9.  i  :  \mBbbN{}||as||
10.  \muparrow{}(g  as[i])
11.  \mforall{}b:T.  ((b  \mmember{}  as)  {}\mRightarrow{}  \mneg{}\muparrow{}(f  b)  supposing  b  \mleq{}  as[i])
12.  \muparrow{}(g  as[i])
13.  j  :  \mBbbN{}i  +  1
14.  i  =  j
\mvdash{}  as[j]  \mleq{}  as[i]


By


Latex:
((HypSubst'  (-1)  0)  THEN  Auto)




Home Index