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

Theorem addcomprg 7527
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 7424 . . . . . . . . 9 (𝐵P → ⟨(1st𝐵), (2nd𝐵)⟩ ∈ P)
2 elprnql 7430 . . . . . . . . 9 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑦 ∈ (1st𝐵)) → 𝑦Q)
31, 2sylan 281 . . . . . . . 8 ((𝐵P𝑦 ∈ (1st𝐵)) → 𝑦Q)
4 prop 7424 . . . . . . . . . . . . 13 (𝐴P → ⟨(1st𝐴), (2nd𝐴)⟩ ∈ P)
5 elprnql 7430 . . . . . . . . . . . . 13 ((⟨(1st𝐴), (2nd𝐴)⟩ ∈ P𝑧 ∈ (1st𝐴)) → 𝑧Q)
64, 5sylan 281 . . . . . . . . . . . 12 ((𝐴P𝑧 ∈ (1st𝐴)) → 𝑧Q)
7 addcomnqg 7330 . . . . . . . . . . . . 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 7431 . . . . . . . . 9 ((⟨(1st𝐵), (2nd𝐵)⟩ ∈ P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
201, 19sylan 281 . . . . . . . 8 ((𝐵P𝑦 ∈ (2nd𝐵)) → 𝑦Q)
21 elprnqu 7431 . . . . . . . . . . . . 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 3771 . 2 ((𝐴P𝐵P) → ⟨{𝑥Q ∣ ∃𝑦 ∈ (1st𝐵)∃𝑧 ∈ (1st𝐴)𝑥 = (𝑦 +Q 𝑧)}, {𝑥Q ∣ ∃𝑦 ∈ (2nd𝐵)∃𝑧 ∈ (2nd𝐴)𝑥 = (𝑦 +Q 𝑧)}⟩ = ⟨{𝑥Q ∣ ∃𝑧 ∈ (1st𝐴)∃𝑦 ∈ (1st𝐵)𝑥 = (𝑧 +Q 𝑦)}, {𝑥Q ∣ ∃𝑧 ∈ (2nd𝐴)∃𝑦 ∈ (2nd𝐵)𝑥 = (𝑧 +Q 𝑦)}⟩)
34 plpvlu 7487 . . 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 7487 . 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 3584  cfv 5196  (class class class)co 5850  1st c1st 6114  2nd c2nd 6115  Qcnq 7229   +Q cplq 7231  Pcnp 7240   +P cpp 7242
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 4102  ax-sep 4105  ax-nul 4113  ax-pow 4158  ax-pr 4192  ax-un 4416  ax-setind 4519  ax-iinf 4570
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 3566  df-sn 3587  df-pr 3588  df-op 3590  df-uni 3795  df-int 3830  df-iun 3873  df-br 3988  df-opab 4049  df-mpt 4050  df-tr 4086  df-id 4276  df-iord 4349  df-on 4351  df-suc 4354  df-iom 4573  df-xp 4615  df-rel 4616  df-cnv 4617  df-co 4618  df-dm 4619  df-rn 4620  df-res 4621  df-ima 4622  df-iota 5158  df-fun 5198  df-fn 5199  df-f 5200  df-f1 5201  df-fo 5202  df-f1o 5203  df-fv 5204  df-ov 5853  df-oprab 5854  df-mpo 5855  df-1st 6116  df-2nd 6117  df-recs 6281  df-irdg 6346  df-oadd 6396  df-omul 6397  df-er 6509  df-ec 6511  df-qs 6515  df-ni 7253  df-pli 7254  df-mi 7255  df-plpq 7293  df-enq 7296  df-nqqs 7297  df-plqqs 7298  df-inp 7415  df-iplp 7417
This theorem is referenced by:  prplnqu  7569  addextpr  7570  caucvgprlemcanl  7593  caucvgprprlemnkltj  7638  caucvgprprlemnbj  7642  caucvgprprlemmu  7644  caucvgprprlemloc  7652  caucvgprprlemexbt  7655  caucvgprprlemexb  7656  caucvgprprlemaddq  7657  enrer  7684  addcmpblnr  7688  mulcmpblnrlemg  7689  ltsrprg  7696  addcomsrg  7704  mulcomsrg  7706  mulasssrg  7707  distrsrg  7708  lttrsr  7711  ltposr  7712  ltsosr  7713  0lt1sr  7714  0idsr  7716  1idsr  7717  ltasrg  7719  recexgt0sr  7722  mulgt0sr  7727  aptisr  7728  mulextsr1lem  7729  archsr  7731  srpospr  7732  prsrpos  7734  prsradd  7735  prsrlt  7736  ltpsrprg  7752  map2psrprg  7754  pitonnlem1p1  7795  pitoregt0  7798  recidpirqlemcalc  7806
  Copyright terms: Public domain W3C validator