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

Theorem addcmpblnr 7737
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 5883 . 2 (((𝐴 +P 𝐷) = (𝐵 +P 𝐶) ∧ (𝐹 +P 𝑆) = (𝐺 +P 𝑅)) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
2 addclpr 7535 . . . . . . . 8 ((𝐴P𝐹P) → (𝐴 +P 𝐹) ∈ P)
3 addclpr 7535 . . . . . . . 8 ((𝐵P𝐺P) → (𝐵 +P 𝐺) ∈ P)
42, 3anim12i 338 . . . . . . 7 (((𝐴P𝐹P) ∧ (𝐵P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
54an4s 588 . . . . . 6 (((𝐴P𝐵P) ∧ (𝐹P𝐺P)) → ((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P))
6 addclpr 7535 . . . . . . . 8 ((𝐶P𝑅P) → (𝐶 +P 𝑅) ∈ P)
7 addclpr 7535 . . . . . . . 8 ((𝐷P𝑆P) → (𝐷 +P 𝑆) ∈ P)
86, 7anim12i 338 . . . . . . 7 (((𝐶P𝑅P) ∧ (𝐷P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
98an4s 588 . . . . . 6 (((𝐶P𝐷P) ∧ (𝑅P𝑆P)) → ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P))
105, 9anim12i 338 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐹P𝐺P)) ∧ ((𝐶P𝐷P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
1110an4s 588 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) ∈ P ∧ (𝐵 +P 𝐺) ∈ P) ∧ ((𝐶 +P 𝑅) ∈ P ∧ (𝐷 +P 𝑆) ∈ P)))
12 enrbreq 7732 . . . 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 537 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐹P)
15 simplrr 536 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐷P)
16 addcomprg 7576 . . . . . . . . 9 ((𝐹P𝐷P) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1714, 15, 16syl2anc 411 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝐷) = (𝐷 +P 𝐹))
1817oveq1d 5889 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = ((𝐷 +P 𝐹) +P 𝑆))
19 simprrr 540 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑆P)
20 addassprg 7577 . . . . . . . 8 ((𝐹P𝐷P𝑆P) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
2114, 15, 19, 20syl3anc 1238 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐹 +P 𝐷) +P 𝑆) = (𝐹 +P (𝐷 +P 𝑆)))
22 addassprg 7577 . . . . . . . 8 ((𝐷P𝐹P𝑆P) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2315, 14, 19, 22syl3anc 1238 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐷 +P 𝐹) +P 𝑆) = (𝐷 +P (𝐹 +P 𝑆)))
2418, 21, 233eqtr3d 2218 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P (𝐷 +P 𝑆)) = (𝐷 +P (𝐹 +P 𝑆)))
2524oveq2d 5890 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
26 simplll 533 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐴P)
2715, 19, 7syl2anc 411 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐷 +P 𝑆) ∈ P)
28 addassprg 7577 . . . . . 6 ((𝐴P𝐹P ∧ (𝐷 +P 𝑆) ∈ P) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
2926, 14, 27, 28syl3anc 1238 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = (𝐴 +P (𝐹 +P (𝐷 +P 𝑆))))
30 addclpr 7535 . . . . . . 7 ((𝐹P𝑆P) → (𝐹 +P 𝑆) ∈ P)
3114, 19, 30syl2anc 411 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐹 +P 𝑆) ∈ P)
32 addassprg 7577 . . . . . 6 ((𝐴P𝐷P ∧ (𝐹 +P 𝑆) ∈ P) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3326, 15, 31, 32syl3anc 1238 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = (𝐴 +P (𝐷 +P (𝐹 +P 𝑆))))
3425, 29, 333eqtr4d 2220 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)))
35 simprlr 538 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐺P)
36 simplrl 535 . . . . . . . . 9 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐶P)
37 addcomprg 7576 . . . . . . . . 9 ((𝐺P𝐶P) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3835, 36, 37syl2anc 411 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝐶) = (𝐶 +P 𝐺))
3938oveq1d 5889 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = ((𝐶 +P 𝐺) +P 𝑅))
40 simprrl 539 . . . . . . . 8 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝑅P)
41 addassprg 7577 . . . . . . . 8 ((𝐺P𝐶P𝑅P) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
4235, 36, 40, 41syl3anc 1238 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐺 +P 𝐶) +P 𝑅) = (𝐺 +P (𝐶 +P 𝑅)))
43 addassprg 7577 . . . . . . . 8 ((𝐶P𝐺P𝑅P) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4436, 35, 40, 43syl3anc 1238 . . . . . . 7 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐶 +P 𝐺) +P 𝑅) = (𝐶 +P (𝐺 +P 𝑅)))
4539, 42, 443eqtr3d 2218 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P (𝐶 +P 𝑅)) = (𝐶 +P (𝐺 +P 𝑅)))
4645oveq2d 5890 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
47 simpllr 534 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → 𝐵P)
4836, 40, 6syl2anc 411 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐶 +P 𝑅) ∈ P)
49 addassprg 7577 . . . . . 6 ((𝐵P𝐺P ∧ (𝐶 +P 𝑅) ∈ P) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
5047, 35, 48, 49syl3anc 1238 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = (𝐵 +P (𝐺 +P (𝐶 +P 𝑅))))
51 addclpr 7535 . . . . . . 7 ((𝐺P𝑅P) → (𝐺 +P 𝑅) ∈ P)
5235, 40, 51syl2anc 411 . . . . . 6 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (𝐺 +P 𝑅) ∈ P)
53 addassprg 7577 . . . . . 6 ((𝐵P𝐶P ∧ (𝐺 +P 𝑅) ∈ P) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5447, 36, 52, 53syl3anc 1238 . . . . 5 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)) = (𝐵 +P (𝐶 +P (𝐺 +P 𝑅))))
5546, 50, 543eqtr4d 2220 . . . 4 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅)))
5634, 55eqeq12d 2192 . . 3 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (((𝐴 +P 𝐹) +P (𝐷 +P 𝑆)) = ((𝐵 +P 𝐺) +P (𝐶 +P 𝑅)) ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
5713, 56bitrd 188 . 2 ((((𝐴P𝐵P) ∧ (𝐶P𝐷P)) ∧ ((𝐹P𝐺P) ∧ (𝑅P𝑆P))) → (⟨(𝐴 +P 𝐹), (𝐵 +P 𝐺)⟩ ~R ⟨(𝐶 +P 𝑅), (𝐷 +P 𝑆)⟩ ↔ ((𝐴 +P 𝐷) +P (𝐹 +P 𝑆)) = ((𝐵 +P 𝐶) +P (𝐺 +P 𝑅))))
581, 57imbitrrid 156 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 104  wb 105   = wceq 1353  wcel 2148  cop 3595   class class class wbr 4003  (class class class)co 5874  Pcnp 7289   +P cpp 7291   ~R cer 7294
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-coll 4118  ax-sep 4121  ax-nul 4129  ax-pow 4174  ax-pr 4209  ax-un 4433  ax-setind 4536  ax-iinf 4587
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3or 979  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-reu 2462  df-rab 2464  df-v 2739  df-sbc 2963  df-csb 3058  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3810  df-int 3845  df-iun 3888  df-br 4004  df-opab 4065  df-mpt 4066  df-tr 4102  df-eprel 4289  df-id 4293  df-po 4296  df-iso 4297  df-iord 4366  df-on 4368  df-suc 4371  df-iom 4590  df-xp 4632  df-rel 4633  df-cnv 4634  df-co 4635  df-dm 4636  df-rn 4637  df-res 4638  df-ima 4639  df-iota 5178  df-fun 5218  df-fn 5219  df-f 5220  df-f1 5221  df-fo 5222  df-f1o 5223  df-fv 5224  df-ov 5877  df-oprab 5878  df-mpo 5879  df-1st 6140  df-2nd 6141  df-recs 6305  df-irdg 6370  df-1o 6416  df-2o 6417  df-oadd 6420  df-omul 6421  df-er 6534  df-ec 6536  df-qs 6540  df-ni 7302  df-pli 7303  df-mi 7304  df-lti 7305  df-plpq 7342  df-mpq 7343  df-enq 7345  df-nqqs 7346  df-plqqs 7347  df-mqqs 7348  df-1nqqs 7349  df-rq 7350  df-ltnqqs 7351  df-enq0 7422  df-nq0 7423  df-0nq0 7424  df-plq0 7425  df-mq0 7426  df-inp 7464  df-iplp 7466  df-enr 7724
This theorem is referenced by:  addsrmo  7741
  Copyright terms: Public domain W3C validator