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

Theorem nqpr 11092
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 11055 . . . 4 (𝐴 ∈ Q → ∃𝑥 𝑥 <Q 𝐴)
2 abn0 4334 . . . 4 ({𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅ ↔ ∃𝑥 𝑥 <Q 𝐴)
31, 2sylibr 237 . . 3 (𝐴 ∈ Q → {𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅)
4 0pss 4360 . . 3 (∅ ⊊ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ {𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅)
53, 4sylibr 237 . 2 (𝐴 ∈ Q → ∅ ⊊ {𝑥 ∣ 𝑥 <Q 𝐴})
6 ltrelnq 11004 . . . . . 6 <Q ⊆ (Q × Q)
76brel 5716 . . . . 5 (𝑥 <Q 𝐴 → (𝑥 ∈ Q ∧ 𝐴 ∈ Q))
87simpld 500 . . . 4 (𝑥 <Q 𝐴 → 𝑥 ∈ Q)
98abssi 4016 . . 3 {𝑥 ∣ 𝑥 <Q 𝐴} ⊆ Q
10 ltsonq 11047 . . . . . 6 <Q Or Q
1110, 6soirri 6120 . . . . 5 ¬ 𝐴 <Q 𝐴
12 breq1 5106 . . . . . 6 (𝑥 = 𝐴 → (𝑥 <Q 𝐴 ↔ 𝐴 <Q 𝐴))
1312elabg 3630 . . . . 5 (𝐴 ∈ Q → (𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝐴 <Q 𝐴))
1411, 13mtbiri 330 . . . 4 (𝐴 ∈ Q → ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴})
1514ancli 558 . . 3 (𝐴 ∈ Q → (𝐴 ∈ Q ∧ ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
16 ssnelpss 4063 . . 3 ({𝑥 ∣ 𝑥 <Q 𝐴} ⊆ Q → ((𝐴 ∈ Q ∧ ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) → {𝑥 ∣ 𝑥 <Q 𝐴} ⊊ Q))
179, 15, 16mpsyl 69 . 2 (𝐴 ∈ Q → {𝑥 ∣ 𝑥 <Q 𝐴} ⊊ Q)
18 vex 3455 . . . . 5 𝑦 ∈ V
19 breq1 5106 . . . . 5 (𝑥 = 𝑦 → (𝑥 <Q 𝐴 ↔ 𝑦 <Q 𝐴))
2018, 19elab 3633 . . . 4 (𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝑦 <Q 𝐴)
2110, 6sotri 6121 . . . . . . . . 9 ((𝑧 <Q 𝑦 ∧ 𝑦 <Q 𝐴) → 𝑧 <Q 𝐴)
2221expcom 419 . . . . . . . 8 (𝑦 <Q 𝐴 → (𝑧 <Q 𝑦 → 𝑧 <Q 𝐴))
2322adantl 487 . . . . . . 7 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → (𝑧 <Q 𝑦 → 𝑧 <Q 𝐴))
24 vex 3455 . . . . . . . 8 𝑧 ∈ V
25 breq1 5106 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 <Q 𝐴 ↔ 𝑧 <Q 𝐴))
2624, 25elab 3633 . . . . . . 7 (𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝑧 <Q 𝐴)
2723, 26imbitrrdi 255 . . . . . 6 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → (𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
2827alrimiv 1960 . . . . 5 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → ∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
29 ltbtwnnq 11056 . . . . . . . 8 (𝑦 <Q 𝐴 ↔ ∃𝑧(𝑦 <Q 𝑧 ∧ 𝑧 <Q 𝐴))
3026anbi2i 635 . . . . . . . . . . 11 ((𝑦 <Q 𝑧 ∧ 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ↔ (𝑦 <Q 𝑧 ∧ 𝑧 <Q 𝐴))
3130biimpri 231 . . . . . . . . . 10 ((𝑦 <Q 𝑧 ∧ 𝑧 <Q 𝐴) → (𝑦 <Q 𝑧 ∧ 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
3231ancomd 467 . . . . . . . . 9 ((𝑦 <Q 𝑧 ∧ 𝑧 <Q 𝐴) → (𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3332eximi 1868 . . . . . . . 8 (∃𝑧(𝑦 <Q 𝑧 ∧ 𝑧 <Q 𝐴) → ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3429, 33sylbi 220 . . . . . . 7 (𝑦 <Q 𝐴 → ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3534adantl 487 . . . . . 6 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
36 df-rex 3088 . . . . . 6 (∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧 ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ 𝑦 <Q 𝑧))
3735, 36sylibr 237 . . . . 5 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧)
3828, 37jca 521 . . . 4 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → (∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧))
3920, 38sylan2b 606 . . 3 ((𝐴 ∈ Q ∧ 𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) → (∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧))
4039ralrimiva 3155 . 2 (𝐴 ∈ Q → ∀𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} (∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧))
41 elnp 11065 . 2 ({𝑥 ∣ 𝑥 <Q 𝐴} ∈ P ↔ ((∅ ⊊ {𝑥 ∣ 𝑥 <Q 𝐴} ∧ {𝑥 ∣ 𝑥 <Q 𝐴} ⊊ Q) ∧ ∀𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} (∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧)))
425, 17, 40, 41syl21anbrc 1363 1 (𝐴 ∈ Q → {𝑥 ∣ 𝑥 <Q 𝐴} ∈ P)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401  ∀wal 1568  ∃wex 1812   ∈ wcel 2145  {cab 2739   ≠ wne 2956  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899   ⊊ wpss 3900  ∅c0 4279   class class class wbr 5103  Qcnq 10930   <Q cltq 10936  Pcnp 10937
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-pow 5327  ax-pr 5391  ax-un 7749  ax-inf2 9635
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-csb 3848  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-int 4908  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  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-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-om 7876  df-1st 7999  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-1o 8469  df-oadd 8473  df-omul 8474  df-er 8710  df-ni 10950  df-pli 10951  df-mi 10952  df-lti 10953  df-plpq 10986  df-mpq 10987  df-ltpq 10988  df-enq 10989  df-nq 10990  df-erq 10991  df-plq 10992  df-mq 10993  df-1nq 10994  df-rq 10995  df-ltnq 10996  df-np 11059
This theorem is used by:  1pr  11093
  Copyright terms: Public domain W3C validator