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

Theorem addcmpblnr 7700
Description: Lemma showing compatibility of addition. (Contributed by NM, 3-Sep-1995.)
Assertion
Ref Expression
addcmpblnr ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩))

Proof of Theorem addcmpblnr
StepHypRef Expression
1 oveq12 5861 . 2 (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
2 addclpr 7498 . . . . . . . 8 ((𝐴P𝐹P) → (𝐴 +P 𝐹) ∈ P)
3 addclpr 7498 . . . . . . . 8 ((𝐵P𝐺P) → (𝐵 +P 𝐺) ∈ P)
42, 3anim12i 336 . . . . . . 7 (((𝐴P𝐹P) ∧ (𝐵P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
54an4s 583 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐹P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
6 addclpr 7498 . . . . . . . 8 ((𝐶P𝑅P) → (𝐶 +P 𝑅) ∈ P)
7 addclpr 7498 . . . . . . . 8 ((𝐷P𝑆P) → (𝐷 +P 𝑆) ∈ P)
86, 7anim12i 336 . . . . . . 7 (((𝐶P𝑅P) ∧ (𝐷P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
98an4s 583 . . . . . 6 (((𝐶P𝐷P) ∧ (𝑅P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
105, 9anim12i 336 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐹P𝐺P)) ∧ ((𝐶P𝐷P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
1110an4s 583 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
12 enrbreq 7695 . . . 4 ((((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅))))
1311, 12syl 14 . . 3 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅))))
14 simprll 532 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐹P)
15 simplrr 531 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐷P)
16 addcomprg 7539 . . . . . . . . 9 ((𝐹P𝐷P) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1714, 15, 16syl2anc 409 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1817oveq1d 5867 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = ((𝐷 +P 𝐹) +P 𝑆))
19 simprrr 535 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑆P)
20 addassprg 7540 . . . . . . . 8 ((𝐹P𝐷P𝑆P) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
2114, 15, 19, 20syl3anc 1233 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
22 addassprg 7540 . . . . . . . 8 ((𝐷P𝐹P𝑆P) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2315, 14, 19, 22syl3anc 1233 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2418, 21, 233eqtr3d 2211 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P (𝐷 +P 𝑆)) = (𝐷 +P (𝐹 +P 𝑆)))
2524oveq2d 5868 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
26 simplll 528 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐴P)
2715, 19, 7syl2anc 409 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐷 +P 𝑆) ∈ P)
28 addassprg 7540 . . . . . 6 ((𝐴P𝐹P ∧ (𝐷 +P 𝑆) ∈ P) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
2926, 14, 27, 28syl3anc 1233 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
30 addclpr 7498 . . . . . . 7 ((𝐹P𝑆P) → (𝐹 +P 𝑆) ∈ P)
3114, 19, 30syl2anc 409 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝑆) ∈ P)
32 addassprg 7540 . . . . . 6 ((𝐴P𝐷P ∧ (𝐹 +P 𝑆) ∈ P) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3326, 15, 31, 32syl3anc 1233 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3425, 29, 333eqtr4d 2213 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)))
35 simprlr 533 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐺P)
36 simplrl 530 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐶P)
37 addcomprg 7539 . . . . . . . . 9 ((𝐺P𝐶P) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3835, 36, 37syl2anc 409 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3938oveq1d 5867 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = ((𝐶 +P 𝐺) +P 𝑅))
40 simprrl 534 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑅P)
41 addassprg 7540 . . . . . . . 8 ((𝐺P𝐶P𝑅P) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
4235, 36, 40, 41syl3anc 1233 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
43 addassprg 7540 . . . . . . . 8 ((𝐶P𝐺P𝑅P) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4436, 35, 40, 43syl3anc 1233 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4539, 42, 443eqtr3d 2211 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P (𝐶 +P 𝑅)) = (𝐶 +P (𝐺 +P 𝑅)))
4645oveq2d 5868 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
47 simpllr 529 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐵P)
4836, 40, 6syl2anc 409 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐶 +P 𝑅) ∈ P)
49 addassprg 7540 . . . . . 6 ((𝐵P𝐺P ∧ (𝐶 +P 𝑅) ∈ P) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
5047, 35, 48, 49syl3anc 1233 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
51 addclpr 7498 . . . . . . 7 ((𝐺P𝑅P) → (𝐺 +P 𝑅) ∈ P)
5235, 40, 51syl2anc 409 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝑅) ∈ P)
53 addassprg 7540 . . . . . 6 ((𝐵P𝐶P ∧ (𝐺 +P 𝑅) ∈ P) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5447, 36, 52, 53syl3anc 1233 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5546, 50, 543eqtr4d 2213 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
5634, 55eqeq12d 2185 . . 3 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
5713, 56bitrd 187 . 2 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
581, 57syl5ibr 155 1 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1348  wcel 2141  cop 3585   class class class wbr 3988  (class class class)co 5852  Pcnp 7252   +P cpp 7254   ~R cer 7257
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 4103  ax-sep 4106  ax-nul 4114  ax-pow 4159  ax-pr 4193  ax-un 4417  ax-setind 4520  ax-iinf 4571
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 3567  df-sn 3588  df-pr 3589  df-op 3591  df-uni 3796  df-int 3831  df-iun 3874  df-br 3989  df-opab 4050  df-mpt 4051  df-tr 4087  df-eprel 4273  df-id 4277  df-po 4280  df-iso 4281  df-iord 4350  df-on 4352  df-suc 4355  df-iom 4574  df-xp 4616  df-rel 4617  df-cnv 4618  df-co 4619  df-dm 4620  df-rn 4621  df-res 4622  df-ima 4623  df-iota 5159  df-fun 5199  df-fn 5200  df-f 5201  df-f1 5202  df-fo 5203  df-f1o 5204  df-fv 5205  df-ov 5855  df-oprab 5856  df-mpo 5857  df-1st 6118  df-2nd 6119  df-recs 6283  df-irdg 6348  df-1o 6394  df-2o 6395  df-oadd 6398  df-omul 6399  df-er 6512  df-ec 6514  df-qs 6518  df-ni 7265  df-pli 7266  df-mi 7267  df-lti 7268  df-plpq 7305  df-mpq 7306  df-enq 7308  df-nqqs 7309  df-plqqs 7310  df-mqqs 7311  df-1nqqs 7312  df-rq 7313  df-ltnqqs 7314  df-enq0 7385  df-nq0 7386  df-0nq0 7387  df-plq0 7388  df-mq0 7389  df-inp 7427  df-iplp 7429  df-enr 7687
This theorem is referenced by:  addsrmo  7704
  Copyright terms: Public domain W3C validator