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

Theorem supgtoreq 9463
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 4288 . . . . . . . 8 (𝜑 → 𝐵 ≠ ∅)
7 fisup2g 9461 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
83, 5, 6, 4, 7syl13anc 1399 . . . . . . 7 (𝜑 → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
9 ssrexv 4001 . . . . . . 7 (𝐵 ⊆ 𝐴 → (∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))))
104, 8, 9sylc 66 . . . . . 6 (𝜑 → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
113, 10supub 9451 . . . . 5 (𝜑 → (𝐶 ∈ 𝐵 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶))
122, 11mpd 16 . . . 4 (𝜑 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶)
131, 12eqnbrtrd 5123 . . 3 (𝜑 → ¬ 𝑆𝑅𝐶)
14 fisupcl 9462 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
153, 5, 6, 4, 14syl13anc 1399 . . . . . . 7 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
164, 15sseldd 3932 . . . . . 6 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐴)
171, 16eqeltrd 2861 . . . . 5 (𝜑 → 𝑆 ∈ 𝐴)
184, 2sseldd 3932 . . . . 5 (𝜑 → 𝐶 ∈ 𝐴)
19 sotric 5589 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝑆 ∈ 𝐴 ∧ 𝐶 ∈ 𝐴)) → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
203, 17, 18, 19syl12anc 850 . . . 4 (𝜑 → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
21 orcom 884 . . . . . 6 ((𝑆 = 𝐶 ∨ 𝐶𝑅𝑆) ↔ (𝐶𝑅𝑆 ∨ 𝑆 = 𝐶))
22 eqcom 2768 . . . . . . 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 2145   ≠ wne 2956  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899  ∅c0 4279   class class class wbr 5103   Or wor 5558  Fincfn 8973  supcsup 9432
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-om 7878  df-en 8974  df-fin 8977  df-sup 9434
This theorem is used by:  infltoreq  9496  supfirege  12304  safesnsupfilb  44418
  Copyright terms: Public domain W3C validator