MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  supgtoreq Structured version   Visualization version   GIF version

Theorem supgtoreq 9473
Description: The supremum of a finite set is greater than or equal to all the elements of the set. (Contributed by AV, 1-Oct-2019.)
Hypotheses
Ref Expression
supgtoreq.1 (𝜑 → 𝑅 Or 𝐴)
supgtoreq.2 (𝜑 → 𝐵 ⊆ 𝐴)
supgtoreq.3 (𝜑 → 𝐵 ∈ Fin)
supgtoreq.4 (𝜑 → 𝐶 ∈ 𝐵)
supgtoreq.5 (𝜑 → 𝑆 = sup(𝐵, 𝐴, 𝑅))
Assertion
Ref Expression
supgtoreq (𝜑 → (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))

Proof of Theorem supgtoreq
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 supgtoreq.5 . . . 4 (𝜑 → 𝑆 = sup(𝐵, 𝐴, 𝑅))
2 supgtoreq.4 . . . . 5 (𝜑 → 𝐶 ∈ 𝐵)
3 supgtoreq.1 . . . . . 6 (𝜑 → 𝑅 Or 𝐴)
4 supgtoreq.2 . . . . . . 7 (𝜑 → 𝐵 ⊆ 𝐴)
5 supgtoreq.3 . . . . . . . 8 (𝜑 → 𝐵 ∈ Fin)
62ne0d 4290 . . . . . . . 8 (𝜑 → 𝐵 ≠ ∅)
7 fisup2g 9471 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
83, 5, 6, 4, 7syl13anc 1399 . . . . . . 7 (𝜑 → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
9 ssrexv 3982 . . . . . . 7 (𝐵 ⊆ 𝐴 → (∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))))
104, 8, 9sylc 66 . . . . . 6 (𝜑 → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
113, 10supub 9461 . . . . 5 (𝜑 → (𝐶 ∈ 𝐵 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶))
122, 11mpd 16 . . . 4 (𝜑 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶)
131, 12eqnbrtrd 5125 . . 3 (𝜑 → ¬ 𝑆𝑅𝐶)
14 fisupcl 9472 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
153, 5, 6, 4, 14syl13anc 1399 . . . . . . 7 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
164, 15sseldd 3913 . . . . . 6 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐴)
171, 16eqeltrd 2863 . . . . 5 (𝜑 → 𝑆 ∈ 𝐴)
184, 2sseldd 3913 . . . . 5 (𝜑 → 𝐶 ∈ 𝐴)
19 sotric 5592 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝑆 ∈ 𝐴 ∧ 𝐶 ∈ 𝐴)) → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
203, 17, 18, 19syl12anc 850 . . . 4 (𝜑 → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
21 orcom 884 . . . . . 6 ((𝑆 = 𝐶 ∨ 𝐶𝑅𝑆) ↔ (𝐶𝑅𝑆 ∨ 𝑆 = 𝐶))
22 eqcom 2770 . . . . . . 7 (𝑆 = 𝐶 ↔ 𝐶 = 𝑆)
2322orbi2i 926 . . . . . 6 ((𝐶𝑅𝑆 ∨ 𝑆 = 𝐶) ↔ (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))
2421, 23bitri 278 . . . . 5 ((𝑆 = 𝐶 ∨ 𝐶𝑅𝑆) ↔ (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))
2524notbii 323 . . . 4 (¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆) ↔ ¬ (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))
2620, 25bitr2di 291 . . 3 (𝜑 → (¬ (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆) ↔ 𝑆𝑅𝐶))
2713, 26mtbird 328 . 2 (𝜑 → ¬ ¬ (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))
2827notnotrd 134 1 (𝜑 → (𝐶𝑅𝑆 ∨ 𝐶 = 𝑆))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569   ∈ wcel 2146   ≠ wne 2958  ∀wral 3079  ∃wrex 3089   ⊆ wss 3899  ∅c0 4280   class class class wbr 5105   Or wor 5561  Fincfn 8984  supcsup 9442
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394  ax-un 7758
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-riota 7384  df-om 7885  df-en 8985  df-fin 8988  df-sup 9444
This theorem is used by:  infltoreq  9506  supfirege  12314  safesnsupfilb  44559
  Copyright terms: Public domain W3C validator