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

Theorem supgtoreq 9519
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 4298 . . . . . . . 8 (𝜑 → 𝐵 ≠ ∅)
7 fisup2g 9517 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
83, 5, 6, 4, 7syl13anc 1402 . . . . . . 7 (𝜑 → ∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
9 ssrexv 3990 . . . . . . 7 (𝐵 ⊆ 𝐴 → (∃𝑥 ∈ 𝐵 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧))))
104, 8, 9sylc 66 . . . . . 6 (𝜑 → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐵 ¬ 𝑥𝑅𝑦 ∧ ∀𝑦 ∈ 𝐴 (𝑦𝑅𝑥 → ∃𝑧 ∈ 𝐵 𝑦𝑅𝑧)))
113, 10supub 9507 . . . . 5 (𝜑 → (𝐶 ∈ 𝐵 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶))
122, 11mpd 16 . . . 4 (𝜑 → ¬ sup(𝐵, 𝐴, 𝑅)𝑅𝐶)
131, 12eqnbrtrd 5136 . . 3 (𝜑 → ¬ 𝑆𝑅𝐶)
14 fisupcl 9518 . . . . . . . 8 ((𝑅 Or 𝐴 ∧ (𝐵 ∈ Fin ∧ 𝐵 ≠ ∅ ∧ 𝐵 ⊆ 𝐴)) → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
153, 5, 6, 4, 14syl13anc 1402 . . . . . . 7 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐵)
164, 15sseldd 3921 . . . . . 6 (𝜑 → sup(𝐵, 𝐴, 𝑅) ∈ 𝐴)
171, 16eqeltrd 2875 . . . . 5 (𝜑 → 𝑆 ∈ 𝐴)
184, 2sseldd 3921 . . . . 5 (𝜑 → 𝐶 ∈ 𝐴)
19 sotric 5604 . . . . 5 ((𝑅 Or 𝐴 ∧ (𝑆 ∈ 𝐴 ∧ 𝐶 ∈ 𝐴)) → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
203, 17, 18, 19syl12anc 850 . . . 4 (𝜑 → (𝑆𝑅𝐶 ↔ ¬ (𝑆 = 𝐶 ∨ 𝐶𝑅𝑆)))
21 orcom 884 . . . . . 6 ((𝑆 = 𝐶 ∨ 𝐶𝑅𝑆) ↔ (𝐶𝑅𝑆 ∨ 𝑆 = 𝐶))
22 eqcom 2781 . . . . . . 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 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907  ∅c0 4288   class class class wbr 5116   Or wor 5573  Fincfn 9030  supcsup 9488
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-om 7931  df-en 9031  df-fin 9034  df-sup 9490
This theorem is used by:  infltoreq  9552  supfirege  12363  safesnsupfilb  44839
  Copyright terms: Public domain W3C validator