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

Theorem supgtoreq 9500
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 4291 . . . . . . . 8 (𝜑 → 𝐵 ≠ ∅)
7 fisup2g 9498 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
83, 5, 6, 4, 7syl13anc 1400 . . . . . . 7 (𝜑 → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
9 ssrexv 3983 . . . . . . 7 (𝐵 ⊆ 𝐴 → (∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))))
104, 8, 9sylc 66 . . . . . 6 (𝜑 → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
113, 10supub 9488 . . . . 5 (𝜑 → (𝐶 ∈ 𝐵 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶))
122, 11mpd 16 . . . 4 (𝜑 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶)
131, 12eqnbrtrd 5128 . . 3 (𝜑 → ¬ 𝑆𝑅𝐶)
14 fisupcl 9499 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
153, 5, 6, 4, 14syl13anc 1400 . . . . . . 7 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
164, 15sseldd 3914 . . . . . 6 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐴)
171, 16eqeltrd 2864 . . . . 5 (𝜑 → 𝑆 ∈ 𝐴)
184, 2sseldd 3914 . . . . 5 (𝜑 → 𝐶 ∈ 𝐴)
19 sotric 5596 . . . . 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 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900  ∅c0 4281   class class class wbr 5108   Or wor 5565  Fincfn 9011  supcsup 9469
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-om 7912  df-en 9012  df-fin 9015  df-sup 9471
This theorem is used by:  infltoreq  9533  supfirege  12344  safesnsupfilb  44680
  Copyright terms: Public domain W3C validator