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

Theorem nqprloc 7360
 Description: A cut produced from a rational is located. Lemma for nqprlu 7362. (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 7211 . . . . . . 7 ((𝑞Q𝐴Q) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
21ancoms 266 . . . . . 6 ((𝐴Q𝑞Q) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
32ad2antrr 479 . . . . 5 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞))
4 vex 2689 . . . . . . . . . 10 𝑞 ∈ V
5 breq1 3932 . . . . . . . . . 10 (𝑥 = 𝑞 → (𝑥 <Q 𝐴𝑞 <Q 𝐴))
64, 5elab 2828 . . . . . . . . 9 (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ↔ 𝑞 <Q 𝐴)
76biimpri 132 . . . . . . . 8 (𝑞 <Q 𝐴𝑞 ∈ {𝑥𝑥 <Q 𝐴})
87orcd 722 . . . . . . 7 (𝑞 <Q 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
98a1i 9 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 <Q 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
10 simpr 109 . . . . . . . 8 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → 𝑞 <Q 𝑟)
11 breq1 3932 . . . . . . . 8 (𝑞 = 𝐴 → (𝑞 <Q 𝑟𝐴 <Q 𝑟))
1210, 11syl5ibcom 154 . . . . . . 7 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 = 𝐴𝐴 <Q 𝑟))
13 vex 2689 . . . . . . . . 9 𝑟 ∈ V
14 breq2 3933 . . . . . . . . 9 (𝑥 = 𝑟 → (𝐴 <Q 𝑥𝐴 <Q 𝑟))
1513, 14elab 2828 . . . . . . . 8 (𝑟 ∈ {𝑥𝐴 <Q 𝑥} ↔ 𝐴 <Q 𝑟)
16 olc 700 . . . . . . . 8 (𝑟 ∈ {𝑥𝐴 <Q 𝑥} → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
1715, 16sylbir 134 . . . . . . 7 (𝐴 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
1812, 17syl6 33 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 = 𝐴 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
19 ltsonq 7213 . . . . . . . . . 10 <Q Or Q
20 ltrelnq 7180 . . . . . . . . . 10 <Q ⊆ (Q × Q)
2119, 20sotri 4934 . . . . . . . . 9 ((𝐴 <Q 𝑞𝑞 <Q 𝑟) → 𝐴 <Q 𝑟)
2221, 17syl 14 . . . . . . . 8 ((𝐴 <Q 𝑞𝑞 <Q 𝑟) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
2322expcom 115 . . . . . . 7 (𝑞 <Q 𝑟 → (𝐴 <Q 𝑞 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2423adantl 275 . . . . . 6 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝐴 <Q 𝑞 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
259, 18, 243jaod 1282 . . . . 5 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → ((𝑞 <Q 𝐴𝑞 = 𝐴𝐴 <Q 𝑞) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
263, 25mpd 13 . . . 4 ((((𝐴Q𝑞Q) ∧ 𝑟Q) ∧ 𝑞 <Q 𝑟) → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥}))
2726ex 114 . . 3 (((𝐴Q𝑞Q) ∧ 𝑟Q) → (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2827ralrimiva 2505 . 2 ((𝐴Q𝑞Q) → ∀𝑟Q (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
2928ralrimiva 2505 1 (𝐴Q → ∀𝑞Q𝑟Q (𝑞 <Q 𝑟 → (𝑞 ∈ {𝑥𝑥 <Q 𝐴} ∨ 𝑟 ∈ {𝑥𝐴 <Q 𝑥})))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ∨ wo 697   ∨ w3o 961   = wceq 1331   ∈ wcel 1480  {cab 2125  ∀wral 2416   class class class wbr 3929  Qcnq 7095
 Copyright terms: Public domain W3C validator