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

Theorem axsup 10113
Description: A nonempty, bounded-above set of reals has a supremum. Axiom 22 of 22 for real and complex numbers, derived from ZF set theory. (This restates ax-pre-sup 10014 with ordering on the extended reals.) (Contributed by NM, 13-Oct-2005.)
Assertion
Ref Expression
axsup ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥) → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
Distinct variable group:   𝑥,𝑦,𝑧,𝐴

Proof of Theorem axsup
StepHypRef Expression
1 ax-pre-sup 10014 . . . 4 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥) → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
213expia 1267 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
3 ssel2 3598 . . . . . . . 8 ((𝐴 ⊆ ℝ ∧ 𝑦𝐴) → 𝑦 ∈ ℝ)
4 ltxrlt 10108 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
53, 4sylan 488 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑦𝐴) ∧ 𝑥 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
65an32s 846 . . . . . 6 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (𝑦 < 𝑥𝑦 < 𝑥))
76ralbidva 2985 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦𝐴 𝑦 < 𝑥 ↔ ∀𝑦𝐴 𝑦 < 𝑥))
87rexbidva 3049 . . . 4 (𝐴 ⊆ ℝ → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥))
98adantr 481 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥))
10 ltxrlt 10108 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
1110ancoms 469 . . . . . . . . . 10 ((𝑦 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
123, 11sylan 488 . . . . . . . . 9 (((𝐴 ⊆ ℝ ∧ 𝑦𝐴) ∧ 𝑥 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
1312an32s 846 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (𝑥 < 𝑦𝑥 < 𝑦))
1413notbid 308 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (¬ 𝑥 < 𝑦 ↔ ¬ 𝑥 < 𝑦))
1514ralbidva 2985 . . . . . 6 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ↔ ∀𝑦𝐴 ¬ 𝑥 < 𝑦))
164ancoms 469 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
1716adantll 750 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
18 ssel2 3598 . . . . . . . . . . . 12 ((𝐴 ⊆ ℝ ∧ 𝑧𝐴) → 𝑧 ∈ ℝ)
19 ltxrlt 10108 . . . . . . . . . . . . 13 ((𝑦 ∈ ℝ ∧ 𝑧 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2019ancoms 469 . . . . . . . . . . . 12 ((𝑧 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2118, 20sylan 488 . . . . . . . . . . 11 (((𝐴 ⊆ ℝ ∧ 𝑧𝐴) ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2221an32s 846 . . . . . . . . . 10 (((𝐴 ⊆ ℝ ∧ 𝑦 ∈ ℝ) ∧ 𝑧𝐴) → (𝑦 < 𝑧𝑦 < 𝑧))
2322rexbidva 3049 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ 𝑦 ∈ ℝ) → (∃𝑧𝐴 𝑦 < 𝑧 ↔ ∃𝑧𝐴 𝑦 < 𝑧))
2423adantlr 751 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → (∃𝑧𝐴 𝑦 < 𝑧 ↔ ∃𝑧𝐴 𝑦 < 𝑧))
2517, 24imbi12d 334 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → ((𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧) ↔ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2625ralbidva 2985 . . . . . 6 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧) ↔ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2715, 26anbi12d 747 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
2827rexbidva 3049 . . . 4 (𝐴 ⊆ ℝ → (∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
2928adantr 481 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
302, 9, 293imtr4d 283 . 2 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
31303impia 1261 1 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥) → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3a 1037  wcel 1990  wne 2794  wral 2912  wrex 2913  wss 3574  c0 3915   class class class wbr 4653  cr 9935   < cltrr 9940   < clt 10074
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-resscn 9993  ax-pre-sup 10014
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-er 7742  df-en 7956  df-dom 7957  df-sdom 7958  df-pnf 10076  df-mnf 10077  df-ltxr 10079
This theorem is referenced by:  dedekind  10200  sup2  10979
  Copyright terms: Public domain W3C validator