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

Theorem addcmpblnr 7229
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 5622 . 2 (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
2 addclpr 7040 . . . . . . . 8 ((𝐴P𝐹P) → (𝐴 +P 𝐹) ∈ P)
3 addclpr 7040 . . . . . . . 8 ((𝐵P𝐺P) → (𝐵 +P 𝐺) ∈ P)
42, 3anim12i 331 . . . . . . 7 (((𝐴P𝐹P) ∧ (𝐵P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
54an4s 553 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐹P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
6 addclpr 7040 . . . . . . . 8 ((𝐶P𝑅P) → (𝐶 +P 𝑅) ∈ P)
7 addclpr 7040 . . . . . . . 8 ((𝐷P𝑆P) → (𝐷 +P 𝑆) ∈ P)
86, 7anim12i 331 . . . . . . 7 (((𝐶P𝑅P) ∧ (𝐷P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
98an4s 553 . . . . . 6 (((𝐶P𝐷P) ∧ (𝑅P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
105, 9anim12i 331 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐹P𝐺P)) ∧ ((𝐶P𝐷P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
1110an4s 553 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
12 enrbreq 7224 . . . 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 504 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐹P)
15 simplrr 503 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐷P)
16 addcomprg 7081 . . . . . . . . 9 ((𝐹P𝐷P) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1714, 15, 16syl2anc 403 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1817oveq1d 5628 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = ((𝐷 +P 𝐹) +P 𝑆))
19 simprrr 507 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑆P)
20 addassprg 7082 . . . . . . . 8 ((𝐹P𝐷P𝑆P) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
2114, 15, 19, 20syl3anc 1172 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
22 addassprg 7082 . . . . . . . 8 ((𝐷P𝐹P𝑆P) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2315, 14, 19, 22syl3anc 1172 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2418, 21, 233eqtr3d 2125 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P (𝐷 +P 𝑆)) = (𝐷 +P (𝐹 +P 𝑆)))
2524oveq2d 5629 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
26 simplll 500 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐴P)
2715, 19, 7syl2anc 403 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐷 +P 𝑆) ∈ P)
28 addassprg 7082 . . . . . 6 ((𝐴P𝐹P ∧ (𝐷 +P 𝑆) ∈ P) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
2926, 14, 27, 28syl3anc 1172 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
30 addclpr 7040 . . . . . . 7 ((𝐹P𝑆P) → (𝐹 +P 𝑆) ∈ P)
3114, 19, 30syl2anc 403 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝑆) ∈ P)
32 addassprg 7082 . . . . . 6 ((𝐴P𝐷P ∧ (𝐹 +P 𝑆) ∈ P) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3326, 15, 31, 32syl3anc 1172 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3425, 29, 333eqtr4d 2127 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)))
35 simprlr 505 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐺P)
36 simplrl 502 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐶P)
37 addcomprg 7081 . . . . . . . . 9 ((𝐺P𝐶P) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3835, 36, 37syl2anc 403 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3938oveq1d 5628 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = ((𝐶 +P 𝐺) +P 𝑅))
40 simprrl 506 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑅P)
41 addassprg 7082 . . . . . . . 8 ((𝐺P𝐶P𝑅P) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
4235, 36, 40, 41syl3anc 1172 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
43 addassprg 7082 . . . . . . . 8 ((𝐶P𝐺P𝑅P) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4436, 35, 40, 43syl3anc 1172 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4539, 42, 443eqtr3d 2125 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P (𝐶 +P 𝑅)) = (𝐶 +P (𝐺 +P 𝑅)))
4645oveq2d 5629 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
47 simpllr 501 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐵P)
4836, 40, 6syl2anc 403 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐶 +P 𝑅) ∈ P)
49 addassprg 7082 . . . . . 6 ((𝐵P𝐺P ∧ (𝐶 +P 𝑅) ∈ P) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
5047, 35, 48, 49syl3anc 1172 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
51 addclpr 7040 . . . . . . 7 ((𝐺P𝑅P) → (𝐺 +P 𝑅) ∈ P)
5235, 40, 51syl2anc 403 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝑅) ∈ P)
53 addassprg 7082 . . . . . 6 ((𝐵P𝐶P ∧ (𝐺 +P 𝑅) ∈ P) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5447, 36, 52, 53syl3anc 1172 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5546, 50, 543eqtr4d 2127 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
5634, 55eqeq12d 2099 . . 3 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
5713, 56bitrd 186 . 2 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
581, 57syl5ibr 154 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 102  wb 103   = wceq 1287  wcel 1436  cop 3434   class class class wbr 3820  (class class class)co 5613  Pcnp 6794   +P cpp 6796   ~R cer 6799
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1379  ax-7 1380  ax-gen 1381  ax-ie1 1425  ax-ie2 1426  ax-8 1438  ax-10 1439  ax-11 1440  ax-i12 1441  ax-bndl 1442  ax-4 1443  ax-13 1447  ax-14 1448  ax-17 1462  ax-i9 1466  ax-ial 1470  ax-i5r 1471  ax-ext 2067  ax-coll 3929  ax-sep 3932  ax-nul 3940  ax-pow 3984  ax-pr 4010  ax-un 4234  ax-setind 4326  ax-iinf 4376
This theorem depends on definitions:  df-bi 115  df-dc 779  df-3or 923  df-3an 924  df-tru 1290  df-fal 1293  df-nf 1393  df-sb 1690  df-eu 1948  df-mo 1949  df-clab 2072  df-cleq 2078  df-clel 2081  df-nfc 2214  df-ne 2252  df-ral 2360  df-rex 2361  df-reu 2362  df-rab 2364  df-v 2617  df-sbc 2830  df-csb 2923  df-dif 2990  df-un 2992  df-in 2994  df-ss 3001  df-nul 3276  df-pw 3417  df-sn 3437  df-pr 3438  df-op 3440  df-uni 3637  df-int 3672  df-iun 3715  df-br 3821  df-opab 3875  df-mpt 3876  df-tr 3912  df-eprel 4090  df-id 4094  df-po 4097  df-iso 4098  df-iord 4167  df-on 4169  df-suc 4172  df-iom 4379  df-xp 4417  df-rel 4418  df-cnv 4419  df-co 4420  df-dm 4421  df-rn 4422  df-res 4423  df-ima 4424  df-iota 4946  df-fun 4983  df-fn 4984  df-f 4985  df-f1 4986  df-fo 4987  df-f1o 4988  df-fv 4989  df-ov 5616  df-oprab 5617  df-mpt2 5618  df-1st 5868  df-2nd 5869  df-recs 6024  df-irdg 6089  df-1o 6135  df-2o 6136  df-oadd 6139  df-omul 6140  df-er 6244  df-ec 6246  df-qs 6250  df-ni 6807  df-pli 6808  df-mi 6809  df-lti 6810  df-plpq 6847  df-mpq 6848  df-enq 6850  df-nqqs 6851  df-plqqs 6852  df-mqqs 6853  df-1nqqs 6854  df-rq 6855  df-ltnqqs 6856  df-enq0 6927  df-nq0 6928  df-0nq0 6929  df-plq0 6930  df-mq0 6931  df-inp 6969  df-iplp 6971  df-enr 7216
This theorem is referenced by:  addsrmo  7233
  Copyright terms: Public domain W3C validator