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

Theorem genprndu 6363
 Description: The upper cut produced by addition or multiplication on positive reals is rounded. (Contributed by Jim Kingdon, 7-Oct-2019.)
Hypotheses
Ref Expression
genpelvl.1 𝐹 = (w P, v P ↦ ⟨{x Qy Q z Q (y (1stw) z (1stv) x = (y𝐺z))}, {x Qy Q z Q (y (2ndw) z (2ndv) x = (y𝐺z))}⟩)
genpelvl.2 ((y Q z Q) → (y𝐺z) Q)
genprndu.ord ((x Q y Q z Q) → (x <Q y ↔ (z𝐺x) <Q (z𝐺y)))
genprndu.com ((x Q y Q) → (x𝐺y) = (y𝐺x))
genprndu.upper ((((A P g (2ndA)) (B P (2ndB))) x Q) → ((g𝐺) <Q xx (2nd ‘(A𝐹B))))
Assertion
Ref Expression
genprndu ((A P B P) → 𝑟 Q (𝑟 (2nd ‘(A𝐹B)) ↔ 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
Distinct variable groups:   x,y,z,g,,w,v,𝑞,A   x,B,y,z,g,,w,v,𝑞   x,𝐺,y,z,g,,w,v,𝑞   g,𝐹,𝑞   A,𝑟,𝑞,v,w,x,y,z   B,𝑟,g,   ,𝐹,𝑟,v,w,x,y,z   𝐺,𝑟

Proof of Theorem genprndu
Dummy variables 𝑎 𝑏 𝑐 𝑑 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 genpelvl.1 . . . . . . . . . 10 𝐹 = (w P, v P ↦ ⟨{x Qy Q z Q (y (1stw) z (1stv) x = (y𝐺z))}, {x Qy Q z Q (y (2ndw) z (2ndv) x = (y𝐺z))}⟩)
2 genpelvl.2 . . . . . . . . . 10 ((y Q z Q) → (y𝐺z) Q)
31, 2genpelvu 6353 . . . . . . . . 9 ((A P B P) → (𝑟 (2nd ‘(A𝐹B)) ↔ 𝑎 (2ndA)𝑏 (2ndB)𝑟 = (𝑎𝐺𝑏)))
4 r2ex 2313 . . . . . . . . 9 (𝑎 (2ndA)𝑏 (2ndB)𝑟 = (𝑎𝐺𝑏) ↔ 𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)))
53, 4syl6bb 185 . . . . . . . 8 ((A P B P) → (𝑟 (2nd ‘(A𝐹B)) ↔ 𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏))))
65biimpa 280 . . . . . . 7 (((A P B P) 𝑟 (2nd ‘(A𝐹B))) → 𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)))
76adantrl 447 . . . . . 6 (((A P B P) (𝑟 Q 𝑟 (2nd ‘(A𝐹B)))) → 𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)))
8 prop 6315 . . . . . . . . . . . . . . . 16 (A P → ⟨(1stA), (2ndA)⟩ P)
9 prnminu 6329 . . . . . . . . . . . . . . . 16 ((⟨(1stA), (2ndA)⟩ P 𝑎 (2ndA)) → 𝑐 (2ndA)𝑐 <Q 𝑎)
108, 9sylan 267 . . . . . . . . . . . . . . 15 ((A P 𝑎 (2ndA)) → 𝑐 (2ndA)𝑐 <Q 𝑎)
11 prop 6315 . . . . . . . . . . . . . . . 16 (B P → ⟨(1stB), (2ndB)⟩ P)
12 prnminu 6329 . . . . . . . . . . . . . . . 16 ((⟨(1stB), (2ndB)⟩ P 𝑏 (2ndB)) → 𝑑 (2ndB)𝑑 <Q 𝑏)
1311, 12sylan 267 . . . . . . . . . . . . . . 15 ((B P 𝑏 (2ndB)) → 𝑑 (2ndB)𝑑 <Q 𝑏)
1410, 13anim12i 321 . . . . . . . . . . . . . 14 (((A P 𝑎 (2ndA)) (B P 𝑏 (2ndB))) → (𝑐 (2ndA)𝑐 <Q 𝑎 𝑑 (2ndB)𝑑 <Q 𝑏))
1514an4s 507 . . . . . . . . . . . . 13 (((A P B P) (𝑎 (2ndA) 𝑏 (2ndB))) → (𝑐 (2ndA)𝑐 <Q 𝑎 𝑑 (2ndB)𝑑 <Q 𝑏))
16 reeanv 2448 . . . . . . . . . . . . 13 (𝑐 (2ndA)𝑑 (2ndB)(𝑐 <Q 𝑎 𝑑 <Q 𝑏) ↔ (𝑐 (2ndA)𝑐 <Q 𝑎 𝑑 (2ndB)𝑑 <Q 𝑏))
1715, 16sylibr 137 . . . . . . . . . . . 12 (((A P B P) (𝑎 (2ndA) 𝑏 (2ndB))) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐 <Q 𝑎 𝑑 <Q 𝑏))
18 genprndu.ord . . . . . . . . . . . . . . 15 ((x Q y Q z Q) → (x <Q y ↔ (z𝐺x) <Q (z𝐺y)))
19 genprndu.com . . . . . . . . . . . . . . 15 ((x Q y Q) → (x𝐺y) = (y𝐺x))
2018, 19genplt2i 6350 . . . . . . . . . . . . . 14 ((𝑐 <Q 𝑎 𝑑 <Q 𝑏) → (𝑐𝐺𝑑) <Q (𝑎𝐺𝑏))
2120reximi 2385 . . . . . . . . . . . . 13 (𝑑 (2ndB)(𝑐 <Q 𝑎 𝑑 <Q 𝑏) → 𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏))
2221reximi 2385 . . . . . . . . . . . 12 (𝑐 (2ndA)𝑑 (2ndB)(𝑐 <Q 𝑎 𝑑 <Q 𝑏) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏))
2317, 22syl 14 . . . . . . . . . . 11 (((A P B P) (𝑎 (2ndA) 𝑏 (2ndB))) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏))
2423adantrr 448 . . . . . . . . . 10 (((A P B P) ((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏))) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏))
25 breq2 3731 . . . . . . . . . . . . . 14 (𝑟 = (𝑎𝐺𝑏) → ((𝑐𝐺𝑑) <Q 𝑟 ↔ (𝑐𝐺𝑑) <Q (𝑎𝐺𝑏)))
2625biimprd 147 . . . . . . . . . . . . 13 (𝑟 = (𝑎𝐺𝑏) → ((𝑐𝐺𝑑) <Q (𝑎𝐺𝑏) → (𝑐𝐺𝑑) <Q 𝑟))
2726reximdv 2389 . . . . . . . . . . . 12 (𝑟 = (𝑎𝐺𝑏) → (𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏) → 𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
2827reximdv 2389 . . . . . . . . . . 11 (𝑟 = (𝑎𝐺𝑏) → (𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
2928ad2antll 461 . . . . . . . . . 10 (((A P B P) ((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏))) → (𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q (𝑎𝐺𝑏) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
3024, 29mpd 13 . . . . . . . . 9 (((A P B P) ((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏))) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟)
3130ex 108 . . . . . . . 8 ((A P B P) → (((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
3231exlimdvv 1750 . . . . . . 7 ((A P B P) → (𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
3332adantr 261 . . . . . 6 (((A P B P) (𝑟 Q 𝑟 (2nd ‘(A𝐹B)))) → (𝑎𝑏((𝑎 (2ndA) 𝑏 (2ndB)) 𝑟 = (𝑎𝐺𝑏)) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟))
347, 33mpd 13 . . . . 5 (((A P B P) (𝑟 Q 𝑟 (2nd ‘(A𝐹B)))) → 𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟)
351, 2genppreclu 6355 . . . . . . . . 9 ((A P B P) → ((𝑐 (2ndA) 𝑑 (2ndB)) → (𝑐𝐺𝑑) (2nd ‘(A𝐹B))))
3635imp 115 . . . . . . . 8 (((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) → (𝑐𝐺𝑑) (2nd ‘(A𝐹B)))
37 elprnqu 6322 . . . . . . . . . . . . 13 ((⟨(1stA), (2ndA)⟩ P 𝑐 (2ndA)) → 𝑐 Q)
388, 37sylan 267 . . . . . . . . . . . 12 ((A P 𝑐 (2ndA)) → 𝑐 Q)
39 elprnqu 6322 . . . . . . . . . . . . 13 ((⟨(1stB), (2ndB)⟩ P 𝑑 (2ndB)) → 𝑑 Q)
4011, 39sylan 267 . . . . . . . . . . . 12 ((B P 𝑑 (2ndB)) → 𝑑 Q)
4138, 40anim12i 321 . . . . . . . . . . 11 (((A P 𝑐 (2ndA)) (B P 𝑑 (2ndB))) → (𝑐 Q 𝑑 Q))
4241an4s 507 . . . . . . . . . 10 (((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) → (𝑐 Q 𝑑 Q))
432caovcl 5566 . . . . . . . . . 10 ((𝑐 Q 𝑑 Q) → (𝑐𝐺𝑑) Q)
4442, 43syl 14 . . . . . . . . 9 (((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) → (𝑐𝐺𝑑) Q)
45 breq1 3730 . . . . . . . . . . 11 (𝑞 = (𝑐𝐺𝑑) → (𝑞 <Q 𝑟 ↔ (𝑐𝐺𝑑) <Q 𝑟))
46 eleq1 2073 . . . . . . . . . . 11 (𝑞 = (𝑐𝐺𝑑) → (𝑞 (2nd ‘(A𝐹B)) ↔ (𝑐𝐺𝑑) (2nd ‘(A𝐹B))))
4745, 46anbi12d 442 . . . . . . . . . 10 (𝑞 = (𝑐𝐺𝑑) → ((𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))) ↔ ((𝑐𝐺𝑑) <Q 𝑟 (𝑐𝐺𝑑) (2nd ‘(A𝐹B)))))
4847adantl 262 . . . . . . . . 9 ((((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) 𝑞 = (𝑐𝐺𝑑)) → ((𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))) ↔ ((𝑐𝐺𝑑) <Q 𝑟 (𝑐𝐺𝑑) (2nd ‘(A𝐹B)))))
4944, 48rspcedv 2628 . . . . . . . 8 (((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) → (((𝑐𝐺𝑑) <Q 𝑟 (𝑐𝐺𝑑) (2nd ‘(A𝐹B))) → 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
5036, 49mpan2d 404 . . . . . . 7 (((A P B P) (𝑐 (2ndA) 𝑑 (2ndB))) → ((𝑐𝐺𝑑) <Q 𝑟𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
5150rexlimdvva 2409 . . . . . 6 ((A P B P) → (𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
5251adantr 261 . . . . 5 (((A P B P) (𝑟 Q 𝑟 (2nd ‘(A𝐹B)))) → (𝑐 (2ndA)𝑑 (2ndB)(𝑐𝐺𝑑) <Q 𝑟𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
5334, 52mpd 13 . . . 4 (((A P B P) (𝑟 Q 𝑟 (2nd ‘(A𝐹B)))) → 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))))
5453expr 357 . . 3 (((A P B P) 𝑟 Q) → (𝑟 (2nd ‘(A𝐹B)) → 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
55 genprndu.upper . . . . . . . . . . 11 ((((A P g (2ndA)) (B P (2ndB))) x Q) → ((g𝐺) <Q xx (2nd ‘(A𝐹B))))
561, 2, 55genpcuu 6361 . . . . . . . . . 10 ((A P B P) → (𝑞 (2nd ‘(A𝐹B)) → (𝑞 <Q xx (2nd ‘(A𝐹B)))))
5756alrimdv 1729 . . . . . . . . 9 ((A P B P) → (𝑞 (2nd ‘(A𝐹B)) → x(𝑞 <Q xx (2nd ‘(A𝐹B)))))
58 breq2 3731 . . . . . . . . . . 11 (x = 𝑟 → (𝑞 <Q x𝑞 <Q 𝑟))
59 eleq1 2073 . . . . . . . . . . 11 (x = 𝑟 → (x (2nd ‘(A𝐹B)) ↔ 𝑟 (2nd ‘(A𝐹B))))
6058, 59imbi12d 223 . . . . . . . . . 10 (x = 𝑟 → ((𝑞 <Q xx (2nd ‘(A𝐹B))) ↔ (𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B)))))
6160cbvalv 1767 . . . . . . . . 9 (x(𝑞 <Q xx (2nd ‘(A𝐹B))) ↔ 𝑟(𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B))))
6257, 61syl6ib 150 . . . . . . . 8 ((A P B P) → (𝑞 (2nd ‘(A𝐹B)) → 𝑟(𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B)))))
63 sp 1374 . . . . . . . 8 (𝑟(𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B))) → (𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B))))
6462, 63syl6 29 . . . . . . 7 ((A P B P) → (𝑞 (2nd ‘(A𝐹B)) → (𝑞 <Q 𝑟𝑟 (2nd ‘(A𝐹B)))))
6564impd 242 . . . . . 6 ((A P B P) → ((𝑞 (2nd ‘(A𝐹B)) 𝑞 <Q 𝑟) → 𝑟 (2nd ‘(A𝐹B))))
6665ancomsd 256 . . . . 5 ((A P B P) → ((𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))) → 𝑟 (2nd ‘(A𝐹B))))
6766ad2antrr 457 . . . 4 ((((A P B P) 𝑟 Q) 𝑞 Q) → ((𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))) → 𝑟 (2nd ‘(A𝐹B))))
6867rexlimdva 2402 . . 3 (((A P B P) 𝑟 Q) → (𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B))) → 𝑟 (2nd ‘(A𝐹B))))
6954, 68impbid 120 . 2 (((A P B P) 𝑟 Q) → (𝑟 (2nd ‘(A𝐹B)) ↔ 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
7069ralrimiva 2361 1 ((A P B P) → 𝑟 Q (𝑟 (2nd ‘(A𝐹B)) ↔ 𝑞 Q (𝑞 <Q 𝑟 𝑞 (2nd ‘(A𝐹B)))))
 Colors of variables: wff set class Syntax hints:   → wi 4   ∧ wa 97   ↔ wb 98   ∧ w3a 867  ∀wal 1221   = wceq 1223  ∃wex 1354   ∈ wcel 1366  ∀wral 2275  ∃wrex 2276  {crab 2279  ⟨cop 3342   class class class wbr 3727  ‘cfv 4817  (class class class)co 5424   ↦ cmpt2 5426  1st c1st 5676  2nd c2nd 5677  Qcnq 6126
 Copyright terms: Public domain W3C validator