Step * 1 of Lemma priority-select-tt


1. [T] Type
2. as List
3. T ⟶ 𝔹
4. T ⟶ 𝔹
5. T ⊆r ℤ
6. ∀i:ℕ||as||. ∀j:ℕi.  (as[j] ≤ as[i])
7. no_repeats(T;as)
8. (priority-select(f;g;as) (inl tt) ∈ (𝔹?))  (∃i:ℕ||as||. ((↑(f as[i])) ∧ (∀j:ℕi. (¬↑(g as[j])))))
9. (priority-select(f;g;as) (inl tt) ∈ (𝔹?))  ∃i:ℕ||as||. ((↑(f as[i])) ∧ (∀j:ℕi. (¬↑(g as[j]))))
10. : ℕ||as||
11. ↑(f as[i])
12. ∀j:ℕi. (¬↑(g as[j]))
⊢ (∃a∈as. (↑(f a)) ∧ (∀b:T. ((b ∈ as)  ¬↑(g b) supposing b < a)))
BY
(With ⌜i⌝ (D 0)⋅ THEN Auto) }

1
1. Type
2. as List
3. T ⟶ 𝔹
4. T ⟶ 𝔹
5. T ⊆r ℤ
6. ∀i:ℕ||as||. ∀j:ℕi.  (as[j] ≤ as[i])
7. no_repeats(T;as)
8. (priority-select(f;g;as) (inl tt) ∈ (𝔹?))  (∃i:ℕ||as||. ((↑(f as[i])) ∧ (∀j:ℕi. (¬↑(g as[j])))))
9. (priority-select(f;g;as) (inl tt) ∈ (𝔹?))  ∃i:ℕ||as||. ((↑(f as[i])) ∧ (∀j:ℕi. (¬↑(g as[j]))))
10. : ℕ||as||
11. ↑(f as[i])
12. ∀j:ℕi. (¬↑(g as[j]))
13. ↑(f as[i])
14. T
15. (b ∈ as)
16. b < as[i]
⊢ ¬↑(g b)


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.  no\_repeats(T;as)
8.  (priority-select(f;g;as)  =  (inl  tt))  {}\mRightarrow{}  (\mexists{}i:\mBbbN{}||as||.  ((\muparrow{}(f  as[i]))  \mwedge{}  (\mforall{}j:\mBbbN{}i.  (\mneg{}\muparrow{}(g  as[j])))))
9.  (priority-select(f;g;as)  =  (inl  tt))  \mLeftarrow{}{}  \mexists{}i:\mBbbN{}||as||.  ((\muparrow{}(f  as[i]))  \mwedge{}  (\mforall{}j:\mBbbN{}i.  (\mneg{}\muparrow{}(g  as[j]))))
10.  i  :  \mBbbN{}||as||
11.  \muparrow{}(f  as[i])
12.  \mforall{}j:\mBbbN{}i.  (\mneg{}\muparrow{}(g  as[j]))
\mvdash{}  (\mexists{}a\mmember{}as.  (\muparrow{}(f  a))  \mwedge{}  (\mforall{}b:T.  ((b  \mmember{}  as)  {}\mRightarrow{}  \mneg{}\muparrow{}(g  b)  supposing  b  <  a)))


By


Latex:
(With  \mkleeneopen{}i\mkleeneclose{}  (D  0)\mcdot{}  THEN  Auto)




Home Index