ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nqprloc GIF version

Theorem nqprloc 7671
Description: A cut produced from a rational is located. Lemma for nqprlu 7673. (Contributed by Jim Kingdon, 8-Dec-2019.)
Assertion
Ref Expression
nqprloc (𝐴Q → ∀𝑞Q𝑟Q (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
Distinct variable group:   𝑥,𝐴,𝑟,𝑞

Proof of Theorem nqprloc
StepHypRef Expression
1 nqtri3or 7522 . . . . . . 7 ((𝑞Q𝐴Q) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
21ancoms 268 . . . . . 6 ((𝐴Q𝑞Q) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
32ad2antrr 488 . . . . 5 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
4 vex 2776 . . . . . . . . . 10 𝑞 ∈ V
5 breq1 4051 . . . . . . . . . 10 (𝑥 = 𝑞 → (𝑥 <Q 𝐴𝑞 <Q 𝐴))
64, 5elab 2919 . . . . . . . . 9 (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ↔ 𝑞 <Q 𝐴)
76biimpri 133 . . . . . . . 8 (𝑞 <Q 𝐴𝑞 ∈ {𝑥𝑥 <Q 𝐴})
87orcd 735 . . . . . . 7 (𝑞 <Q 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
98a1i 9 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 <Q 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
10 simpr 110 . . . . . . . 8 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → 𝑞 <Q 𝑟)
11 breq1 4051 . . . . . . . 8 (𝑞 = 𝐴 → (𝑞 <Q 𝑟𝐴 <Q 𝑟))
1210, 11syl5ibcom 155 . . . . . . 7 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 = 𝐴𝐴 <Q 𝑟))
13 vex 2776 . . . . . . . . 9 𝑟 ∈ V
14 breq2 4052 . . . . . . . . 9 (𝑥 = 𝑟 → (𝐴 <Q 𝑥𝐴 <Q 𝑟))
1513, 14elab 2919 . . . . . . . 8 (𝑟 ∈ {𝑥𝐴 <Q 𝑥} ↔ 𝐴 <Q 𝑟)
16 olc 713 . . . . . . . 8 (𝑟 ∈ {𝑥𝐴 <Q 𝑥} → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
1715, 16sylbir 135 . . . . . . 7 (𝐴 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
1812, 17syl6 33 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 = 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
19 ltsonq 7524 . . . . . . . . . 10 <Q Or Q
20 ltrelnq 7491 . . . . . . . . . 10 <Q ⊆ (Q × Q)
2119, 20sotri 5084 . . . . . . . . 9 ((𝐴 <Q 𝑞𝑞 <Q 𝑟) → 𝐴 <Q 𝑟)
2221, 17syl 14 . . . . . . . 8 ((𝐴 <Q 𝑞𝑞 <Q 𝑟) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
2322expcom 116 . . . . . . 7 (𝑞 <Q 𝑟 → (𝐴 <Q 𝑞 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2423adantl 277 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝐴 <Q 𝑞 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
259, 18, 243jaod 1317 . . . . 5 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → ((𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
263, 25mpd 13 . . . 4 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
2726ex 115 . . 3 (((𝐴Q𝑞Q) ∧ 𝑟Q) → (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2827ralrimiva 2580 . 2 ((𝐴Q𝑞Q) → ∀𝑟Q (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2928ralrimiva 2580 1 (𝐴Q → ∀𝑞Q𝑟Q (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104  wo 710  w3o 980   = wceq 1373  wcel 2177  {cab 2192  wral 2485   class class class wbr 4048  Qcnq 7406   <Q cltq 7411
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-coll 4164  ax-sep 4167  ax-nul 4175  ax-pow 4223  ax-pr 4258  ax-un 4485  ax-setind 4590  ax-iinf 4641
This theorem depends on definitions:  df-bi 117  df-dc 837  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-ral 2490  df-rex 2491  df-reu 2492  df-rab 2494  df-v 2775  df-sbc 3001  df-csb 3096  df-dif 3170  df-un 3172  df-in 3174  df-ss 3181  df-nul 3463  df-pw 3620  df-sn 3641  df-pr 3642  df-op 3644  df-uni 3854  df-int 3889  df-iun 3932  df-br 4049  df-opab 4111  df-mpt 4112  df-tr 4148  df-eprel 4341  df-id 4345  df-po 4348  df-iso 4349  df-iord 4418  df-on 4420  df-suc 4423  df-iom 4644  df-xp 4686  df-rel 4687  df-cnv 4688  df-co 4689  df-dm 4690  df-rn 4691  df-res 4692  df-ima 4693  df-iota 5238  df-fun 5279  df-fn 5280  df-f 5281  df-f1 5282  df-fo 5283  df-f1o 5284  df-fv 5285  df-ov 5957  df-oprab 5958  df-mpo 5959  df-1st 6236  df-2nd 6237  df-recs 6401  df-irdg 6466  df-oadd 6516  df-omul 6517  df-er 6630  df-ec 6632  df-qs 6636  df-ni 7430  df-mi 7432  df-lti 7433  df-enq 7473  df-nqqs 7474  df-ltnqqs 7479
This theorem is referenced by:  nqprxx  7672
  Copyright terms: Public domain W3C validator