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

Theorem axsup 9992
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 9893 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 9893 . . . 4 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥) → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
213expia 1259 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
3 ssel2 3563 . . . . . . . 8 ((𝐴 ⊆ ℝ ∧ 𝑦𝐴) → 𝑦 ∈ ℝ)
4 ltxrlt 9987 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
53, 4sylan 487 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑦𝐴) ∧ 𝑥 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
65an32s 842 . . . . . 6 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (𝑦 < 𝑥𝑦 < 𝑥))
76ralbidva 2968 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦𝐴 𝑦 < 𝑥 ↔ ∀𝑦𝐴 𝑦 < 𝑥))
87rexbidva 3031 . . . 4 (𝐴 ⊆ ℝ → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥))
98adantr 480 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 ↔ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥))
10 ltxrlt 9987 . . . . . . . . . . 11 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
1110ancoms 468 . . . . . . . . . 10 ((𝑦 ∈ ℝ ∧ 𝑥 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
123, 11sylan 487 . . . . . . . . 9 (((𝐴 ⊆ ℝ ∧ 𝑦𝐴) ∧ 𝑥 ∈ ℝ) → (𝑥 < 𝑦𝑥 < 𝑦))
1312an32s 842 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (𝑥 < 𝑦𝑥 < 𝑦))
1413notbid 307 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦𝐴) → (¬ 𝑥 < 𝑦 ↔ ¬ 𝑥 < 𝑦))
1514ralbidva 2968 . . . . . 6 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ↔ ∀𝑦𝐴 ¬ 𝑥 < 𝑦))
164ancoms 468 . . . . . . . . 9 ((𝑥 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
1716adantll 746 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑥𝑦 < 𝑥))
18 ssel2 3563 . . . . . . . . . . . 12 ((𝐴 ⊆ ℝ ∧ 𝑧𝐴) → 𝑧 ∈ ℝ)
19 ltxrlt 9987 . . . . . . . . . . . . 13 ((𝑦 ∈ ℝ ∧ 𝑧 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2019ancoms 468 . . . . . . . . . . . 12 ((𝑧 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2118, 20sylan 487 . . . . . . . . . . 11 (((𝐴 ⊆ ℝ ∧ 𝑧𝐴) ∧ 𝑦 ∈ ℝ) → (𝑦 < 𝑧𝑦 < 𝑧))
2221an32s 842 . . . . . . . . . 10 (((𝐴 ⊆ ℝ ∧ 𝑦 ∈ ℝ) ∧ 𝑧𝐴) → (𝑦 < 𝑧𝑦 < 𝑧))
2322rexbidva 3031 . . . . . . . . 9 ((𝐴 ⊆ ℝ ∧ 𝑦 ∈ ℝ) → (∃𝑧𝐴 𝑦 < 𝑧 ↔ ∃𝑧𝐴 𝑦 < 𝑧))
2423adantlr 747 . . . . . . . 8 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → (∃𝑧𝐴 𝑦 < 𝑧 ↔ ∃𝑧𝐴 𝑦 < 𝑧))
2517, 24imbi12d 333 . . . . . . 7 (((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) ∧ 𝑦 ∈ ℝ) → ((𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧) ↔ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2625ralbidva 2968 . . . . . 6 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → (∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧) ↔ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
2715, 26anbi12d 743 . . . . 5 ((𝐴 ⊆ ℝ ∧ 𝑥 ∈ ℝ) → ((∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
2827rexbidva 3031 . . . 4 (𝐴 ⊆ ℝ → (∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
2928adantr 480 . . 3 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) ↔ ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
302, 9, 293imtr4d 282 . 2 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅) → (∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥 → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
31303impia 1253 1 ((𝐴 ⊆ ℝ ∧ 𝐴 ≠ ∅ ∧ ∃𝑥 ∈ ℝ ∀𝑦𝐴 𝑦 < 𝑥) → ∃𝑥 ∈ ℝ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  w3a 1031  wcel 1977  wne 2780  wral 2896  wrex 2897  wss 3540  c0 3874   class class class wbr 4583  cr 9814   < cltrr 9819   < clt 9953
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-resscn 9872  ax-pre-sup 9893
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-mpt 4645  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-er 7629  df-en 7842  df-dom 7843  df-sdom 7844  df-pnf 9955  df-mnf 9956  df-ltxr 9958
This theorem is referenced by:  dedekind  10079  sup2  10858
  Copyright terms: Public domain W3C validator