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

 Description: Lemma to prove upward closure in positive real addition. (Contributed by Jim Kingdon, 7-Dec-2019.)
Assertion
Ref Expression
addnqprulem (((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) → (𝑆 <Q 𝑋 → ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ∈ 𝑈))

Dummy variables 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simpr 103 . . . . 5 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → 𝑆 <Q 𝑋)
2 ltrnqi 6519 . . . . . 6 (𝑆 <Q 𝑋 → (*Q𝑋) <Q (*Q𝑆))
3 simplr 482 . . . . . . . . 9 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → 𝑋Q)
4 recclnq 6490 . . . . . . . . 9 (𝑋Q → (*Q𝑋) ∈ Q)
53, 4syl 14 . . . . . . . 8 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (*Q𝑋) ∈ Q)
6 ltrelnq 6463 . . . . . . . . . . . 12 <Q ⊆ (Q × Q)
76brel 4392 . . . . . . . . . . 11 (𝑆 <Q 𝑋 → (𝑆Q𝑋Q))
87adantl 262 . . . . . . . . . 10 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (𝑆Q𝑋Q))
98simpld 105 . . . . . . . . 9 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → 𝑆Q)
10 recclnq 6490 . . . . . . . . 9 (𝑆Q → (*Q𝑆) ∈ Q)
119, 10syl 14 . . . . . . . 8 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (*Q𝑆) ∈ Q)
12 ltmnqg 6499 . . . . . . . 8 (((*Q𝑋) ∈ Q ∧ (*Q𝑆) ∈ Q𝑋Q) → ((*Q𝑋) <Q (*Q𝑆) ↔ (𝑋 ·Q (*Q𝑋)) <Q (𝑋 ·Q (*Q𝑆))))
135, 11, 3, 12syl3anc 1135 . . . . . . 7 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → ((*Q𝑋) <Q (*Q𝑆) ↔ (𝑋 ·Q (*Q𝑋)) <Q (𝑋 ·Q (*Q𝑆))))
14 ltmnqg 6499 . . . . . . . . 9 ((𝑦Q𝑧Q𝑤Q) → (𝑦 <Q 𝑧 ↔ (𝑤 ·Q 𝑦) <Q (𝑤 ·Q 𝑧)))
1514adantl 262 . . . . . . . 8 (((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) ∧ (𝑦Q𝑧Q𝑤Q)) → (𝑦 <Q 𝑧 ↔ (𝑤 ·Q 𝑦) <Q (𝑤 ·Q 𝑧)))
16 mulclnq 6474 . . . . . . . . 9 ((𝑋Q ∧ (*Q𝑋) ∈ Q) → (𝑋 ·Q (*Q𝑋)) ∈ Q)
173, 5, 16syl2anc 391 . . . . . . . 8 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (𝑋 ·Q (*Q𝑋)) ∈ Q)
18 mulclnq 6474 . . . . . . . . 9 ((𝑋Q ∧ (*Q𝑆) ∈ Q) → (𝑋 ·Q (*Q𝑆)) ∈ Q)
193, 11, 18syl2anc 391 . . . . . . . 8 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (𝑋 ·Q (*Q𝑆)) ∈ Q)
20 elprnqu 6580 . . . . . . . . 9 ((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) → 𝐺Q)
2120ad2antrr 457 . . . . . . . 8 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → 𝐺Q)
22 mulcomnqg 6481 . . . . . . . . 9 ((𝑦Q𝑧Q) → (𝑦 ·Q 𝑧) = (𝑧 ·Q 𝑦))
2322adantl 262 . . . . . . . 8 (((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) ∧ (𝑦Q𝑧Q)) → (𝑦 ·Q 𝑧) = (𝑧 ·Q 𝑦))
2415, 17, 19, 21, 23caovord2d 5670 . . . . . . 7 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → ((𝑋 ·Q (*Q𝑋)) <Q (𝑋 ·Q (*Q𝑆)) ↔ ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺)))
2513, 24bitrd 177 . . . . . 6 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → ((*Q𝑋) <Q (*Q𝑆) ↔ ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺)))
262, 25syl5ib 143 . . . . 5 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (𝑆 <Q 𝑋 → ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺)))
271, 26mpd 13 . . . 4 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺))
28 recidnq 6491 . . . . . . . 8 (𝑋Q → (𝑋 ·Q (*Q𝑋)) = 1Q)
2928oveq1d 5527 . . . . . . 7 (𝑋Q → ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) = (1Q ·Q 𝐺))
30 1nq 6464 . . . . . . . . 9 1QQ
31 mulcomnqg 6481 . . . . . . . . 9 ((1QQ𝐺Q) → (1Q ·Q 𝐺) = (𝐺 ·Q 1Q))
3230, 31mpan 400 . . . . . . . 8 (𝐺Q → (1Q ·Q 𝐺) = (𝐺 ·Q 1Q))
33 mulidnq 6487 . . . . . . . 8 (𝐺Q → (𝐺 ·Q 1Q) = 𝐺)
3432, 33eqtrd 2072 . . . . . . 7 (𝐺Q → (1Q ·Q 𝐺) = 𝐺)
3529, 34sylan9eqr 2094 . . . . . 6 ((𝐺Q𝑋Q) → ((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) = 𝐺)
3635breq1d 3774 . . . . 5 ((𝐺Q𝑋Q) → (((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ↔ 𝐺 <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺)))
3721, 3, 36syl2anc 391 . . . 4 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (((𝑋 ·Q (*Q𝑋)) ·Q 𝐺) <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ↔ 𝐺 <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺)))
3827, 37mpbid 135 . . 3 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → 𝐺 <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺))
39 prcunqu 6583 . . . 4 ((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) → (𝐺 <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) → ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ∈ 𝑈))
4039ad2antrr 457 . . 3 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → (𝐺 <Q ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) → ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ∈ 𝑈))
4138, 40mpd 13 . 2 ((((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) ∧ 𝑆 <Q 𝑋) → ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ∈ 𝑈)
4241ex 108 1 (((⟨𝐿, 𝑈⟩ ∈ P𝐺𝑈) ∧ 𝑋Q) → (𝑆 <Q 𝑋 → ((𝑋 ·Q (*Q𝑆)) ·Q 𝐺) ∈ 𝑈))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98   ∧ w3a 885   = wceq 1243   ∈ wcel 1393  ⟨cop 3378   class class class wbr 3764  ‘cfv 4902  (class class class)co 5512  Qcnq 6378  1Qc1q 6379   ·Q cmq 6381  *Qcrq 6382
 Copyright terms: Public domain W3C validator