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

Theorem nqpr 10425
Description: The canonical embedding of the rationals into the reals. (Contributed by Mario Carneiro, 12-Jun-2013.) (New usage is discouraged.)
Assertion
Ref Expression
nqpr (𝐴Q → {𝑥𝑥 <Q 𝐴} ∈ P)
Distinct variable group:   𝑥,𝐴

Proof of Theorem nqpr
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nsmallnq 10388 . . . 4 (𝐴Q → ∃𝑥 𝑥 <Q 𝐴)
2 abn0 4290 . . . 4 ({𝑥𝑥 <Q 𝐴} ≠ ∅ ↔ ∃𝑥 𝑥 <Q 𝐴)
31, 2sylibr 237 . . 3 (𝐴Q → {𝑥𝑥 <Q 𝐴} ≠ ∅)
4 0pss 4352 . . 3 (∅ ⊊ {𝑥𝑥 <Q 𝐴} ↔ {𝑥𝑥 <Q 𝐴} ≠ ∅)
53, 4sylibr 237 . 2 (𝐴Q → ∅ ⊊ {𝑥𝑥 <Q 𝐴})
6 ltrelnq 10337 . . . . . 6 <Q ⊆ (Q × Q)
76brel 5581 . . . . 5 (𝑥 <Q 𝐴 → (𝑥Q𝐴Q))
87simpld 498 . . . 4 (𝑥 <Q 𝐴𝑥Q)
98abssi 3997 . . 3 {𝑥𝑥 <Q 𝐴} ⊆ Q
10 ltsonq 10380 . . . . . 6 <Q Or Q
1110, 6soirri 5953 . . . . 5 ¬ 𝐴 <Q 𝐴
12 breq1 5033 . . . . . 6 (𝑥 = 𝐴 → (𝑥 <Q 𝐴𝐴 <Q 𝐴))
1312elabg 3614 . . . . 5 (𝐴Q → (𝐴 ∈ {𝑥𝑥 <Q 𝐴} ↔ 𝐴 <Q 𝐴))
1411, 13mtbiri 330 . . . 4 (𝐴Q → ¬ 𝐴 ∈ {𝑥𝑥 <Q 𝐴})
1514ancli 552 . . 3 (𝐴Q → (𝐴Q ∧ ¬ 𝐴 ∈ {𝑥𝑥 <Q 𝐴}))
16 ssnelpss 4039 . . 3 ({𝑥𝑥 <Q 𝐴} ⊆ Q → ((𝐴Q ∧ ¬ 𝐴 ∈ {𝑥𝑥 <Q 𝐴}) → {𝑥𝑥 <Q 𝐴} ⊊ Q))
179, 15, 16mpsyl 68 . 2 (𝐴Q → {𝑥𝑥 <Q 𝐴} ⊊ Q)
18 vex 3444 . . . . 5 𝑦 ∈ V
19 breq1 5033 . . . . 5 (𝑥 = 𝑦 → (𝑥 <Q 𝐴𝑦 <Q 𝐴))
2018, 19elab 3615 . . . 4 (𝑦 ∈ {𝑥𝑥 <Q 𝐴} ↔ 𝑦 <Q 𝐴)
2110, 6sotri 5954 . . . . . . . . 9 ((𝑧 <Q 𝑦𝑦 <Q 𝐴) → 𝑧 <Q 𝐴)
2221expcom 417 . . . . . . . 8 (𝑦 <Q 𝐴 → (𝑧 <Q 𝑦𝑧 <Q 𝐴))
2322adantl 485 . . . . . . 7 ((𝐴Q𝑦 <Q 𝐴) → (𝑧 <Q 𝑦𝑧 <Q 𝐴))
24 vex 3444 . . . . . . . 8 𝑧 ∈ V
25 breq1 5033 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 <Q 𝐴𝑧 <Q 𝐴))
2624, 25elab 3615 . . . . . . 7 (𝑧 ∈ {𝑥𝑥 <Q 𝐴} ↔ 𝑧 <Q 𝐴)
2723, 26syl6ibr 255 . . . . . 6 ((𝐴Q𝑦 <Q 𝐴) → (𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}))
2827alrimiv 1928 . . . . 5 ((𝐴Q𝑦 <Q 𝐴) → ∀𝑧(𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}))
29 ltbtwnnq 10389 . . . . . . . 8 (𝑦 <Q 𝐴 ↔ ∃𝑧(𝑦 <Q 𝑧𝑧 <Q 𝐴))
3026anbi2i 625 . . . . . . . . . . 11 ((𝑦 <Q 𝑧𝑧 ∈ {𝑥𝑥 <Q 𝐴}) ↔ (𝑦 <Q 𝑧𝑧 <Q 𝐴))
3130biimpri 231 . . . . . . . . . 10 ((𝑦 <Q 𝑧𝑧 <Q 𝐴) → (𝑦 <Q 𝑧𝑧 ∈ {𝑥𝑥 <Q 𝐴}))
3231ancomd 465 . . . . . . . . 9 ((𝑦 <Q 𝑧𝑧 <Q 𝐴) → (𝑧 ∈ {𝑥𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3332eximi 1836 . . . . . . . 8 (∃𝑧(𝑦 <Q 𝑧𝑧 <Q 𝐴) → ∃𝑧(𝑧 ∈ {𝑥𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3429, 33sylbi 220 . . . . . . 7 (𝑦 <Q 𝐴 → ∃𝑧(𝑧 ∈ {𝑥𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3534adantl 485 . . . . . 6 ((𝐴Q𝑦 <Q 𝐴) → ∃𝑧(𝑧 ∈ {𝑥𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
36 df-rex 3112 . . . . . 6 (∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧 ↔ ∃𝑧(𝑧 ∈ {𝑥𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3735, 36sylibr 237 . . . . 5 ((𝐴Q𝑦 <Q 𝐴) → ∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧)
3828, 37jca 515 . . . 4 ((𝐴Q𝑦 <Q 𝐴) → (∀𝑧(𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧))
3920, 38sylan2b 596 . . 3 ((𝐴Q𝑦 ∈ {𝑥𝑥 <Q 𝐴}) → (∀𝑧(𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧))
4039ralrimiva 3149 . 2 (𝐴Q → ∀𝑦 ∈ {𝑥𝑥 <Q 𝐴} (∀𝑧(𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧))
41 elnp 10398 . 2 ({𝑥𝑥 <Q 𝐴} ∈ P ↔ ((∅ ⊊ {𝑥𝑥 <Q 𝐴} ∧ {𝑥𝑥 <Q 𝐴} ⊊ Q) ∧ ∀𝑦 ∈ {𝑥𝑥 <Q 𝐴} (∀𝑧(𝑧 <Q 𝑦𝑧 ∈ {𝑥𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥𝑥 <Q 𝐴}𝑦 <Q 𝑧)))
425, 17, 40, 41syl21anbrc 1341 1 (𝐴Q → {𝑥𝑥 <Q 𝐴} ∈ P)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399  wal 1536  wex 1781  wcel 2111  {cab 2776  wne 2987  wral 3106  wrex 3107  wss 3881  wpss 3882  c0 4243   class class class wbr 5030  Qcnq 10263   <Q cltq 10269  Pcnp 10270
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-inf2 9088
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rmo 3114  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-1st 7671  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-1o 8085  df-oadd 8089  df-omul 8090  df-er 8272  df-ni 10283  df-pli 10284  df-mi 10285  df-lti 10286  df-plpq 10319  df-mpq 10320  df-ltpq 10321  df-enq 10322  df-nq 10323  df-erq 10324  df-plq 10325  df-mq 10326  df-1nq 10327  df-rq 10328  df-ltnq 10329  df-np 10392
This theorem is referenced by:  1pr  10426
  Copyright terms: Public domain W3C validator