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

Theorem nqpr 11138
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 11101 . . . 4 (𝐴 ∈ Q → ∃𝑥 𝑥 <Q 𝐴)
2 abn0 4337 . . . 4 ({𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅ ↔ ∃𝑥 𝑥 <Q 𝐴)
31, 2sylibr 237 . . 3 (𝐴 ∈ Q → {𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅)
4 0pss 4363 . . 3 (∅ ⊊ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ {𝑥 ∣ 𝑥 <Q 𝐴} ≠ ∅)
53, 4sylibr 237 . 2 (𝐴 ∈ Q → ∅ ⊊ {𝑥 ∣ 𝑥 <Q 𝐴})
6 ltrelnq 11050 . . . . . 6 <Q ⊆ (Q × Q)
76brel 5723 . . . . 5 (𝑥 <Q 𝐴 → (𝑥 ∈ Q ∧ 𝐴 ∈ Q))
87simpld 500 . . . 4 (𝑥 <Q 𝐴 → 𝑥 ∈ Q)
98abssi 3996 . . 3 {𝑥 ∣ 𝑥 <Q 𝐴} ⊆ Q
10 ltsonq 11093 . . . . . 6 <Q Or Q
1110, 6soirri 6138 . . . . 5 ¬ 𝐴 <Q 𝐴
12 breq1 5111 . . . . . 6 (𝑥 = 𝐴 → (𝑥 <Q 𝐴 ↔ 𝐴 <Q 𝐴))
1312elabg 3633 . . . . 5 (𝐴 ∈ Q → (𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝐴 <Q 𝐴))
1411, 13mtbiri 330 . . . 4 (𝐴 ∈ Q → ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴})
1514ancli 558 . . 3 (𝐴 ∈ Q → (𝐴 ∈ Q ∧ ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
16 ssnelpss 4045 . . 3 ({𝑥 ∣ 𝑥 <Q 𝐴} ⊆ Q → ((𝐴 ∈ Q ∧ ¬ 𝐴 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) → {𝑥 ∣ 𝑥 <Q 𝐴} ⊊ Q))
179, 15, 16mpsyl 69 . 2 (𝐴 ∈ Q → {𝑥 ∣ 𝑥 <Q 𝐴} ⊊ Q)
18 vex 3458 . . . . 5 𝑦 ∈ V
19 breq1 5111 . . . . 5 (𝑥 = 𝑦 → (𝑥 <Q 𝐴 ↔ 𝑦 <Q 𝐴))
2018, 19elab 3636 . . . 4 (𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝑦 <Q 𝐴)
2110, 6sotri 6139 . . . . . . . . 9 ((𝑧 <Q 𝑦 ∧ 𝑦 <Q 𝐴) → 𝑧 <Q 𝐴)
2221expcom 419 . . . . . . . 8 (𝑦 <Q 𝐴 → (𝑧 <Q 𝑦 → 𝑧 <Q 𝐴))
2322adantl 487 . . . . . . 7 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → (𝑧 <Q 𝑦 → 𝑧 <Q 𝐴))
24 vex 3458 . . . . . . . 8 𝑧 ∈ V
25 breq1 5111 . . . . . . . 8 (𝑥 = 𝑧 → (𝑥 <Q 𝐴 ↔ 𝑧 <Q 𝐴))
2624, 25elab 3636 . . . . . . 7 (𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} ↔ 𝑧 <Q 𝐴)
2723, 26imbitrrdi 255 . . . . . 6 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → (𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
2827alrimiv 1962 . . . . 5 ((𝐴 ∈ Q ∧ 𝑦 <Q 𝐴) → ∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}))
29 ltbtwnnq 11102 . . . . . . . 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 3091 . . . . . 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 3158 . 2 (𝐴 ∈ Q → ∀𝑦 ∈ {𝑥 ∣ 𝑥 <Q 𝐴} (∀𝑧(𝑧 <Q 𝑦 → 𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}) ∧ ∃𝑧 ∈ {𝑥 ∣ 𝑥 <Q 𝐴}𝑦 <Q 𝑧))
41 elnp 11111 . 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 2147  {cab 2741   ≠ wne 2959  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ⊊ wpss 4016  ∅c0 4281   class class class wbr 5108  Qcnq 10976   <Q cltq 10982  Pcnp 10983
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-inf2 9679
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-int 4913  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-1o 8514  df-oadd 8518  df-omul 8519  df-er 8755  df-ni 10996  df-pli 10997  df-mi 10998  df-lti 10999  df-plpq 11032  df-mpq 11033  df-ltpq 11034  df-enq 11035  df-nq 11036  df-erq 11037  df-plq 11038  df-mq 11039  df-1nq 11040  df-rq 11041  df-ltnq 11042  df-np 11105
This theorem is used by:  1pr  11139
  Copyright terms: Public domain W3C validator