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

Theorem ltnqpr 7401
 Description: We can order fractions via
Assertion
Ref Expression
ltnqpr ((𝐴Q𝐵Q) → (𝐴 <Q 𝐵 ↔ ⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩))
Distinct variable groups:   𝐴,𝑙   𝑢,𝐴   𝐵,𝑙   𝑢,𝐵

Proof of Theorem ltnqpr
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 nqprlu 7355 . . . 4 (𝐴Q → ⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩ ∈ P)
2 nqprlu 7355 . . . 4 (𝐵Q → ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩ ∈ P)
3 ltdfpr 7314 . . . 4 ((⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩ ∈ P ∧ ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩ ∈ P) → (⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩ ↔ ∃𝑥Q (𝑥 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) ∧ 𝑥 ∈ (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩))))
41, 2, 3syl2an 287 . . 3 ((𝐴Q𝐵Q) → (⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩ ↔ ∃𝑥Q (𝑥 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) ∧ 𝑥 ∈ (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩))))
5 vex 2689 . . . . . 6 𝑥 ∈ V
6 breq2 3933 . . . . . 6 (𝑢 = 𝑥 → (𝐴 <Q 𝑢𝐴 <Q 𝑥))
7 ltnqex 7357 . . . . . . 7 {𝑙𝑙 <Q 𝐴} ∈ V
8 gtnqex 7358 . . . . . . 7 {𝑢𝐴 <Q 𝑢} ∈ V
97, 8op2nd 6045 . . . . . 6 (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) = {𝑢𝐴 <Q 𝑢}
105, 6, 9elab2 2832 . . . . 5 (𝑥 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) ↔ 𝐴 <Q 𝑥)
11 breq1 3932 . . . . . 6 (𝑙 = 𝑥 → (𝑙 <Q 𝐵𝑥 <Q 𝐵))
12 ltnqex 7357 . . . . . . 7 {𝑙𝑙 <Q 𝐵} ∈ V
13 gtnqex 7358 . . . . . . 7 {𝑢𝐵 <Q 𝑢} ∈ V
1412, 13op1st 6044 . . . . . 6 (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩) = {𝑙𝑙 <Q 𝐵}
155, 11, 14elab2 2832 . . . . 5 (𝑥 ∈ (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩) ↔ 𝑥 <Q 𝐵)
1610, 15anbi12i 455 . . . 4 ((𝑥 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) ∧ 𝑥 ∈ (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩)) ↔ (𝐴 <Q 𝑥𝑥 <Q 𝐵))
1716rexbii 2442 . . 3 (∃𝑥Q (𝑥 ∈ (2nd ‘⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩) ∧ 𝑥 ∈ (1st ‘⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩)) ↔ ∃𝑥Q (𝐴 <Q 𝑥𝑥 <Q 𝐵))
184, 17syl6bb 195 . 2 ((𝐴Q𝐵Q) → (⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩ ↔ ∃𝑥Q (𝐴 <Q 𝑥𝑥 <Q 𝐵)))
19 ltbtwnnqq 7223 . 2 (𝐴 <Q 𝐵 ↔ ∃𝑥Q (𝐴 <Q 𝑥𝑥 <Q 𝐵))
2018, 19syl6rbbr 198 1 ((𝐴Q𝐵Q) → (𝐴 <Q 𝐵 ↔ ⟨{𝑙𝑙 <Q 𝐴}, {𝑢𝐴 <Q 𝑢}⟩<P ⟨{𝑙𝑙 <Q 𝐵}, {𝑢𝐵 <Q 𝑢}⟩))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 103   ↔ wb 104   ∈ wcel 1480  {cab 2125  ∃wrex 2417  ⟨cop 3530   class class class wbr 3929  ‘cfv 5123  1st c1st 6036  2nd c2nd 6037  Qcnq 7088
 Copyright terms: Public domain W3C validator