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

Theorem addcomprg 7540
Description: Addition of positive reals is commutative. Proposition 9-3.5(ii) of [Gleason] p. 123. (Contributed by Jim Kingdon, 11-Dec-2019.)
Assertion
Ref Expression
addcomprg ((𝐴P𝐵P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))

Proof of Theorem addcomprg
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 prop 7437 . . . . . . . . 9 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
2 elprnql 7443 . . . . . . . . 9 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑦 ∈ (1st𝐵)) → 𝑦Q)
31, 2sylan 281 . . . . . . . 8 ((𝐵P𝑦 ∈ (1st𝐵)) → 𝑦Q)
4 prop 7437 . . . . . . . . . . . . 13 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
5 elprnql 7443 . . . . . . . . . . . . 13 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑧 ∈ (1st𝐴)) → 𝑧Q)
64, 5sylan 281 . . . . . . . . . . . 12 ((𝐴P𝑧 ∈ (1st𝐴)) → 𝑧Q)
7 addcomnqg 7343 . . . . . . . . . . . . 13 ((𝑦Q𝑧Q) → (𝑦 +Q 𝑧) = (𝑧 +Q 𝑦))
87eqeq2d 2182 . . . . . . . . . . . 12 ((𝑦Q𝑧Q) → (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦)))
96, 8sylan2 284 . . . . . . . . . . 11 ((𝑦Q ∧ (𝐴P𝑧 ∈ (1st𝐴))) → (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦)))
109anassrs 398 . . . . . . . . . 10 (((𝑦Q𝐴P) ∧ 𝑧 ∈ (1st𝐴)) → (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦)))
1110rexbidva 2467 . . . . . . . . 9 ((𝑦Q𝐴P) → (∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦)))
1211ancoms 266 . . . . . . . 8 ((𝐴P𝑦Q) → (∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦)))
133, 12sylan2 284 . . . . . . 7 ((𝐴P ∧ (𝐵P𝑦 ∈ (1st𝐵))) → (∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦)))
1413anassrs 398 . . . . . 6 (((𝐴P𝐵P) ∧ 𝑦 ∈ (1st𝐵)) → (∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦)))
1514rexbidva 2467 . . . . 5 ((𝐴P𝐵P) → (∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦)))
16 rexcom 2634 . . . . 5 (∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑧 +Q 𝑦) ↔ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦))
1715, 16bitrdi 195 . . . 4 ((𝐴P𝐵P) → (∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦)))
1817rabbidv 2719 . . 3 ((𝐴P𝐵P) → {𝑥Q ∣ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧)} = {𝑥Q ∣ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦)})
19 elprnqu 7444 . . . . . . . . 9 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
201, 19sylan 281 . . . . . . . 8 ((𝐵P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
21 elprnqu 7444 . . . . . . . . . . . . 13 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑧 ∈ (2nd𝐴)) → 𝑧Q)
224, 21sylan 281 . . . . . . . . . . . 12 ((𝐴P𝑧 ∈ (2nd𝐴)) → 𝑧Q)
2322, 8sylan2 284 . . . . . . . . . . 11 ((𝑦Q ∧ (𝐴P𝑧 ∈ (2nd𝐴))) → (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦)))
2423anassrs 398 . . . . . . . . . 10 (((𝑦Q𝐴P) ∧ 𝑧 ∈ (2nd𝐴)) → (𝑥 = (𝑦 +Q 𝑧) ↔ 𝑥 = (𝑧 +Q 𝑦)))
2524rexbidva 2467 . . . . . . . . 9 ((𝑦Q𝐴P) → (∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦)))
2625ancoms 266 . . . . . . . 8 ((𝐴P𝑦Q) → (∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦)))
2720, 26sylan2 284 . . . . . . 7 ((𝐴P ∧ (𝐵P𝑦 ∈ (2nd𝐵))) → (∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦)))
2827anassrs 398 . . . . . 6 (((𝐴P𝐵P) ∧ 𝑦 ∈ (2nd𝐵)) → (∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦)))
2928rexbidva 2467 . . . . 5 ((𝐴P𝐵P) → (∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦)))
30 rexcom 2634 . . . . 5 (∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑧 +Q 𝑦) ↔ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦))
3129, 30bitrdi 195 . . . 4 ((𝐴P𝐵P) → (∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧) ↔ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦)))
3231rabbidv 2719 . . 3 ((𝐴P𝐵P) → {𝑥Q ∣ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧)} = {𝑥Q ∣ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦)})
3318, 32opeq12d 3773 . 2 ((𝐴P𝐵P) → ⟨{𝑥Q ∣ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧)}, {𝑥Q ∣ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧)}⟩ = ⟨{𝑥Q ∣ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦)}, {𝑥Q ∣ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦)}⟩)
34 plpvlu 7500 . . 3 ((𝐵P𝐴P) → (𝐵 +P 𝐴) = ⟨{𝑥Q ∣ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧)}, {𝑥Q ∣ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧)}⟩)
3534ancoms 266 . 2 ((𝐴P𝐵P) → (𝐵 +P 𝐴) = ⟨{𝑥Q ∣ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧)}, {𝑥Q ∣ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧)}⟩)
36 plpvlu 7500 . 2 ((𝐴P𝐵P) → (𝐴 +P 𝐵) = ⟨{𝑥Q ∣ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦)}, {𝑥Q ∣ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦)}⟩)
3733, 35, 363eqtr4rd 2214 1 ((𝐴P𝐵P) → (𝐴 +P 𝐵) = (𝐵 +P 𝐴))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wcel 2141  wrex 2449  {crab 2452  cop 3586  cfv 5198  (class class class)co 5853  1st c1st 6117  2nd c2nd 6118  Qcnq 7242   +Q cplq 7244  Pcnp 7253   +P cpp 7255
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-iord 4351  df-on 4353  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-irdg 6349  df-oadd 6399  df-omul 6400  df-er 6513  df-ec 6515  df-qs 6519  df-ni 7266  df-pli 7267  df-mi 7268  df-plpq 7306  df-enq 7309  df-nqqs 7310  df-plqqs 7311  df-inp 7428  df-iplp 7430
This theorem is referenced by:  prplnqu  7582  addextpr  7583  caucvgprlemcanl  7606  caucvgprprlemnkltj  7651  caucvgprprlemnbj  7655  caucvgprprlemmu  7657  caucvgprprlemloc  7665  caucvgprprlemexbt  7668  caucvgprprlemexb  7669  caucvgprprlemaddq  7670  enrer  7697  addcmpblnr  7701  mulcmpblnrlemg  7702  ltsrprg  7709  addcomsrg  7717  mulcomsrg  7719  mulasssrg  7720  distrsrg  7721  lttrsr  7724  ltposr  7725  ltsosr  7726  0lt1sr  7727  0idsr  7729  1idsr  7730  ltasrg  7732  recexgt0sr  7735  mulgt0sr  7740  aptisr  7741  mulextsr1lem  7742  archsr  7744  srpospr  7745  prsrpos  7747  prsradd  7748  prsrlt  7749  ltpsrprg  7765  map2psrprg  7767  pitonnlem1p1  7808  pitoregt0  7811  recidpirqlemcalc  7819
  Copyright terms: Public domain W3C validator