Metamath Proof Explorer < Previous   Next > Nearby theorems Mirrors  >  Home  >  MPE Home  >  Th. List  >  addassnq Structured version   Visualization version   GIF version

 Description: Addition of positive fractions is associative. (Contributed by NM, 2-Sep-1995.) (Revised by Mario Carneiro, 28-Apr-2013.) (New usage is discouraged.)
Assertion
Ref Expression
addassnq ((𝐴 +Q 𝐵) +Q 𝐶) = (𝐴 +Q (𝐵 +Q 𝐶))

Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addasspi 9596 . . . . . . . 8 ((((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶))) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))) = (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))))
2 ovex 6577 . . . . . . . . . . 11 ((1st𝐴) ·N (2nd𝐵)) ∈ V
3 ovex 6577 . . . . . . . . . . 11 ((1st𝐵) ·N (2nd𝐴)) ∈ V
4 fvex 6113 . . . . . . . . . . 11 (2nd𝐶) ∈ V
5 mulcompi 9597 . . . . . . . . . . 11 (𝑥 ·N 𝑦) = (𝑦 ·N 𝑥)
6 distrpi 9599 . . . . . . . . . . 11 (𝑥 ·N (𝑦 +N 𝑧)) = ((𝑥 ·N 𝑦) +N (𝑥 ·N 𝑧))
72, 3, 4, 5, 6caovdir 6766 . . . . . . . . . 10 ((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) = ((((1st𝐴) ·N (2nd𝐵)) ·N (2nd𝐶)) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)))
8 mulasspi 9598 . . . . . . . . . . 11 (((1st𝐴) ·N (2nd𝐵)) ·N (2nd𝐶)) = ((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))
98oveq1i 6559 . . . . . . . . . 10 ((((1st𝐴) ·N (2nd𝐵)) ·N (2nd𝐶)) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶))) = (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)))
107, 9eqtri 2632 . . . . . . . . 9 ((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) = (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)))
1110oveq1i 6559 . . . . . . . 8 (((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))) = ((((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶))) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵))))
12 ovex 6577 . . . . . . . . . . 11 ((1st𝐵) ·N (2nd𝐶)) ∈ V
13 ovex 6577 . . . . . . . . . . 11 ((1st𝐶) ·N (2nd𝐵)) ∈ V
14 fvex 6113 . . . . . . . . . . 11 (2nd𝐴) ∈ V
1512, 13, 14, 5, 6caovdir 6766 . . . . . . . . . 10 ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴)) = ((((1st𝐵) ·N (2nd𝐶)) ·N (2nd𝐴)) +N (((1st𝐶) ·N (2nd𝐵)) ·N (2nd𝐴)))
16 fvex 6113 . . . . . . . . . . . 12 (1st𝐵) ∈ V
17 mulasspi 9598 . . . . . . . . . . . 12 ((𝑥 ·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦 ·N 𝑧))
1816, 4, 14, 5, 17caov32 6759 . . . . . . . . . . 11 (((1st𝐵) ·N (2nd𝐶)) ·N (2nd𝐴)) = (((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶))
19 mulasspi 9598 . . . . . . . . . . . 12 (((1st𝐶) ·N (2nd𝐵)) ·N (2nd𝐴)) = ((1st𝐶) ·N ((2nd𝐵) ·N (2nd𝐴)))
20 mulcompi 9597 . . . . . . . . . . . . 13 ((2nd𝐵) ·N (2nd𝐴)) = ((2nd𝐴) ·N (2nd𝐵))
2120oveq2i 6560 . . . . . . . . . . . 12 ((1st𝐶) ·N ((2nd𝐵) ·N (2nd𝐴))) = ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))
2219, 21eqtri 2632 . . . . . . . . . . 11 (((1st𝐶) ·N (2nd𝐵)) ·N (2nd𝐴)) = ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))
2318, 22oveq12i 6561 . . . . . . . . . 10 ((((1st𝐵) ·N (2nd𝐶)) ·N (2nd𝐴)) +N (((1st𝐶) ·N (2nd𝐵)) ·N (2nd𝐴))) = ((((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵))))
2415, 23eqtri 2632 . . . . . . . . 9 ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴)) = ((((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵))))
2524oveq2i 6560 . . . . . . . 8 (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴))) = (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐴)) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))))
261, 11, 253eqtr4i 2642 . . . . . . 7 (((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))) = (((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴)))
27 mulasspi 9598 . . . . . . 7 (((2nd𝐴) ·N (2nd𝐵)) ·N (2nd𝐶)) = ((2nd𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))
2826, 27opeq12i 4345 . . . . . 6 ⟨(((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))), (((2nd𝐴) ·N (2nd𝐵)) ·N (2nd𝐶))⟩ = ⟨(((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴))), ((2nd𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))⟩
29 elpqn 9626 . . . . . . . . . 10 (𝐴Q𝐴 ∈ (N × N))
30293ad2ant1 1075 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → 𝐴 ∈ (N × N))
31 elpqn 9626 . . . . . . . . . 10 (𝐵Q𝐵 ∈ (N × N))
32313ad2ant2 1076 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → 𝐵 ∈ (N × N))
33 addpipq2 9637 . . . . . . . . 9 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 +pQ 𝐵) = ⟨(((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))), ((2nd𝐴) ·N (2nd𝐵))⟩)
3430, 32, 33syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (𝐴 +pQ 𝐵) = ⟨(((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))), ((2nd𝐴) ·N (2nd𝐵))⟩)
35 relxp 5150 . . . . . . . . 9 Rel (N × N)
36 elpqn 9626 . . . . . . . . . 10 (𝐶Q𝐶 ∈ (N × N))
37363ad2ant3 1077 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → 𝐶 ∈ (N × N))
38 1st2nd 7105 . . . . . . . . 9 ((Rel (N × N) ∧ 𝐶 ∈ (N × N)) → 𝐶 = ⟨(1st𝐶), (2nd𝐶)⟩)
3935, 37, 38sylancr 694 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → 𝐶 = ⟨(1st𝐶), (2nd𝐶)⟩)
4034, 39oveq12d 6567 . . . . . . 7 ((𝐴Q𝐵Q𝐶Q) → ((𝐴 +pQ 𝐵) +pQ 𝐶) = (⟨(((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))), ((2nd𝐴) ·N (2nd𝐵))⟩ +pQ ⟨(1st𝐶), (2nd𝐶)⟩))
41 xp1st 7089 . . . . . . . . . . 11 (𝐴 ∈ (N × N) → (1st𝐴) ∈ N)
4230, 41syl 17 . . . . . . . . . 10 ((𝐴Q𝐵Q𝐶Q) → (1st𝐴) ∈ N)
43 xp2nd 7090 . . . . . . . . . . 11 (𝐵 ∈ (N × N) → (2nd𝐵) ∈ N)
4432, 43syl 17 . . . . . . . . . 10 ((𝐴Q𝐵Q𝐶Q) → (2nd𝐵) ∈ N)
45 mulclpi 9594 . . . . . . . . . 10 (((1st𝐴) ∈ N ∧ (2nd𝐵) ∈ N) → ((1st𝐴) ·N (2nd𝐵)) ∈ N)
4642, 44, 45syl2anc 691 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → ((1st𝐴) ·N (2nd𝐵)) ∈ N)
47 xp1st 7089 . . . . . . . . . . 11 (𝐵 ∈ (N × N) → (1st𝐵) ∈ N)
4832, 47syl 17 . . . . . . . . . 10 ((𝐴Q𝐵Q𝐶Q) → (1st𝐵) ∈ N)
49 xp2nd 7090 . . . . . . . . . . 11 (𝐴 ∈ (N × N) → (2nd𝐴) ∈ N)
5030, 49syl 17 . . . . . . . . . 10 ((𝐴Q𝐵Q𝐶Q) → (2nd𝐴) ∈ N)
51 mulclpi 9594 . . . . . . . . . 10 (((1st𝐵) ∈ N ∧ (2nd𝐴) ∈ N) → ((1st𝐵) ·N (2nd𝐴)) ∈ N)
5248, 50, 51syl2anc 691 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → ((1st𝐵) ·N (2nd𝐴)) ∈ N)
53 addclpi 9593 . . . . . . . . 9 ((((1st𝐴) ·N (2nd𝐵)) ∈ N ∧ ((1st𝐵) ·N (2nd𝐴)) ∈ N) → (((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ∈ N)
5446, 52, 53syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ∈ N)
55 mulclpi 9594 . . . . . . . . 9 (((2nd𝐴) ∈ N ∧ (2nd𝐵) ∈ N) → ((2nd𝐴) ·N (2nd𝐵)) ∈ N)
5650, 44, 55syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → ((2nd𝐴) ·N (2nd𝐵)) ∈ N)
57 xp1st 7089 . . . . . . . . 9 (𝐶 ∈ (N × N) → (1st𝐶) ∈ N)
5837, 57syl 17 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (1st𝐶) ∈ N)
59 xp2nd 7090 . . . . . . . . 9 (𝐶 ∈ (N × N) → (2nd𝐶) ∈ N)
6037, 59syl 17 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (2nd𝐶) ∈ N)
61 addpipq 9638 . . . . . . . 8 ((((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ∈ N ∧ ((2nd𝐴) ·N (2nd𝐵)) ∈ N) ∧ ((1st𝐶) ∈ N ∧ (2nd𝐶) ∈ N)) → (⟨(((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))), ((2nd𝐴) ·N (2nd𝐵))⟩ +pQ ⟨(1st𝐶), (2nd𝐶)⟩) = ⟨(((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))), (((2nd𝐴) ·N (2nd𝐵)) ·N (2nd𝐶))⟩)
6254, 56, 58, 60, 61syl22anc 1319 . . . . . . 7 ((𝐴Q𝐵Q𝐶Q) → (⟨(((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))), ((2nd𝐴) ·N (2nd𝐵))⟩ +pQ ⟨(1st𝐶), (2nd𝐶)⟩) = ⟨(((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))), (((2nd𝐴) ·N (2nd𝐵)) ·N (2nd𝐶))⟩)
6340, 62eqtrd 2644 . . . . . 6 ((𝐴Q𝐵Q𝐶Q) → ((𝐴 +pQ 𝐵) +pQ 𝐶) = ⟨(((((1st𝐴) ·N (2nd𝐵)) +N ((1st𝐵) ·N (2nd𝐴))) ·N (2nd𝐶)) +N ((1st𝐶) ·N ((2nd𝐴) ·N (2nd𝐵)))), (((2nd𝐴) ·N (2nd𝐵)) ·N (2nd𝐶))⟩)
64 1st2nd 7105 . . . . . . . . 9 ((Rel (N × N) ∧ 𝐴 ∈ (N × N)) → 𝐴 = ⟨(1st𝐴), (2nd𝐴)⟩)
6535, 30, 64sylancr 694 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → 𝐴 = ⟨(1st𝐴), (2nd𝐴)⟩)
66 addpipq2 9637 . . . . . . . . 9 ((𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐵 +pQ 𝐶) = ⟨(((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))), ((2nd𝐵) ·N (2nd𝐶))⟩)
6732, 37, 66syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (𝐵 +pQ 𝐶) = ⟨(((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))), ((2nd𝐵) ·N (2nd𝐶))⟩)
6865, 67oveq12d 6567 . . . . . . 7 ((𝐴Q𝐵Q𝐶Q) → (𝐴 +pQ (𝐵 +pQ 𝐶)) = (⟨(1st𝐴), (2nd𝐴)⟩ +pQ ⟨(((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))), ((2nd𝐵) ·N (2nd𝐶))⟩))
69 mulclpi 9594 . . . . . . . . . 10 (((1st𝐵) ∈ N ∧ (2nd𝐶) ∈ N) → ((1st𝐵) ·N (2nd𝐶)) ∈ N)
7048, 60, 69syl2anc 691 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → ((1st𝐵) ·N (2nd𝐶)) ∈ N)
71 mulclpi 9594 . . . . . . . . . 10 (((1st𝐶) ∈ N ∧ (2nd𝐵) ∈ N) → ((1st𝐶) ·N (2nd𝐵)) ∈ N)
7258, 44, 71syl2anc 691 . . . . . . . . 9 ((𝐴Q𝐵Q𝐶Q) → ((1st𝐶) ·N (2nd𝐵)) ∈ N)
73 addclpi 9593 . . . . . . . . 9 ((((1st𝐵) ·N (2nd𝐶)) ∈ N ∧ ((1st𝐶) ·N (2nd𝐵)) ∈ N) → (((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ∈ N)
7470, 72, 73syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → (((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ∈ N)
75 mulclpi 9594 . . . . . . . . 9 (((2nd𝐵) ∈ N ∧ (2nd𝐶) ∈ N) → ((2nd𝐵) ·N (2nd𝐶)) ∈ N)
7644, 60, 75syl2anc 691 . . . . . . . 8 ((𝐴Q𝐵Q𝐶Q) → ((2nd𝐵) ·N (2nd𝐶)) ∈ N)
77 addpipq 9638 . . . . . . . 8 ((((1st𝐴) ∈ N ∧ (2nd𝐴) ∈ N) ∧ ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ∈ N ∧ ((2nd𝐵) ·N (2nd𝐶)) ∈ N)) → (⟨(1st𝐴), (2nd𝐴)⟩ +pQ ⟨(((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))), ((2nd𝐵) ·N (2nd𝐶))⟩) = ⟨(((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴))), ((2nd𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))⟩)
7842, 50, 74, 76, 77syl22anc 1319 . . . . . . 7 ((𝐴Q𝐵Q𝐶Q) → (⟨(1st𝐴), (2nd𝐴)⟩ +pQ ⟨(((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))), ((2nd𝐵) ·N (2nd𝐶))⟩) = ⟨(((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴))), ((2nd𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))⟩)
7968, 78eqtrd 2644 . . . . . 6 ((𝐴Q𝐵Q𝐶Q) → (𝐴 +pQ (𝐵 +pQ 𝐶)) = ⟨(((1st𝐴) ·N ((2nd𝐵) ·N (2nd𝐶))) +N ((((1st𝐵) ·N (2nd𝐶)) +N ((1st𝐶) ·N (2nd𝐵))) ·N (2nd𝐴))), ((2nd𝐴) ·N ((2nd𝐵) ·N (2nd𝐶)))⟩)
8028, 63, 793eqtr4a 2670 . . . . 5 ((𝐴Q𝐵Q𝐶Q) → ((𝐴 +pQ 𝐵) +pQ 𝐶) = (𝐴 +pQ (𝐵 +pQ 𝐶)))
8180fveq2d 6107 . . . 4 ((𝐴Q𝐵Q𝐶Q) → ([Q]‘((𝐴 +pQ 𝐵) +pQ 𝐶)) = ([Q]‘(𝐴 +pQ (𝐵 +pQ 𝐶))))
82 adderpq 9657 . . . 4 (([Q]‘(𝐴 +pQ 𝐵)) +Q ([Q]‘𝐶)) = ([Q]‘((𝐴 +pQ 𝐵) +pQ 𝐶))
83 adderpq 9657 . . . 4 (([Q]‘𝐴) +Q ([Q]‘(𝐵 +pQ 𝐶))) = ([Q]‘(𝐴 +pQ (𝐵 +pQ 𝐶)))
8481, 82, 833eqtr4g 2669 . . 3 ((𝐴Q𝐵Q𝐶Q) → (([Q]‘(𝐴 +pQ 𝐵)) +Q ([Q]‘𝐶)) = (([Q]‘𝐴) +Q ([Q]‘(𝐵 +pQ 𝐶))))
85 addpqnq 9639 . . . . 5 ((𝐴Q𝐵Q) → (𝐴 +Q 𝐵) = ([Q]‘(𝐴 +pQ 𝐵)))
86853adant3 1074 . . . 4 ((𝐴Q𝐵Q𝐶Q) → (𝐴 +Q 𝐵) = ([Q]‘(𝐴 +pQ 𝐵)))
87 nqerid 9634 . . . . . 6 (𝐶Q → ([Q]‘𝐶) = 𝐶)
8887eqcomd 2616 . . . . 5 (𝐶Q𝐶 = ([Q]‘𝐶))
89883ad2ant3 1077 . . . 4 ((𝐴Q𝐵Q𝐶Q) → 𝐶 = ([Q]‘𝐶))
9086, 89oveq12d 6567 . . 3 ((𝐴Q𝐵Q𝐶Q) → ((𝐴 +Q 𝐵) +Q 𝐶) = (([Q]‘(𝐴 +pQ 𝐵)) +Q ([Q]‘𝐶)))
91 nqerid 9634 . . . . . 6 (𝐴Q → ([Q]‘𝐴) = 𝐴)
9291eqcomd 2616 . . . . 5 (𝐴Q𝐴 = ([Q]‘𝐴))
93923ad2ant1 1075 . . . 4 ((𝐴Q𝐵Q𝐶Q) → 𝐴 = ([Q]‘𝐴))
94 addpqnq 9639 . . . . 5 ((𝐵Q𝐶Q) → (𝐵 +Q 𝐶) = ([Q]‘(𝐵 +pQ 𝐶)))
95943adant1 1072 . . . 4 ((𝐴Q𝐵Q𝐶Q) → (𝐵 +Q 𝐶) = ([Q]‘(𝐵 +pQ 𝐶)))
9693, 95oveq12d 6567 . . 3 ((𝐴Q𝐵Q𝐶Q) → (𝐴 +Q (𝐵 +Q 𝐶)) = (([Q]‘𝐴) +Q ([Q]‘(𝐵 +pQ 𝐶))))
9784, 90, 963eqtr4d 2654 . 2 ((𝐴Q𝐵Q𝐶Q) → ((𝐴 +Q 𝐵) +Q 𝐶) = (𝐴 +Q (𝐵 +Q 𝐶)))
98 addnqf 9649 . . . 4 +Q :(Q × Q)⟶Q
9998fdmi 5965 . . 3 dom +Q = (Q × Q)
100 0nnq 9625 . . 3 ¬ ∅ ∈ Q
10199, 100ndmovass 6720 . 2 (¬ (𝐴Q𝐵Q𝐶Q) → ((𝐴 +Q 𝐵) +Q 𝐶) = (𝐴 +Q (𝐵 +Q 𝐶)))
10297, 101pm2.61i 175 1 ((𝐴 +Q 𝐵) +Q 𝐶) = (𝐴 +Q (𝐵 +Q 𝐶))
 Colors of variables: wff setvar class Syntax hints:   ∧ w3a 1031   = wceq 1475   ∈ wcel 1977  ⟨cop 4131   × cxp 5036  Rel wrel 5043  ‘cfv 5804  (class class class)co 6549  1st c1st 7057  2nd c2nd 7058  Ncnpi 9545   +N cpli 9546   ·N cmi 9547   +pQ cplpq 9549  Qcnq 9553  [Q]cerq 9555   +Q cplq 9556 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847 This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-oadd 7451  df-omul 7452  df-er 7629  df-ni 9573  df-pli 9574  df-mi 9575  df-lti 9576  df-plpq 9609  df-enq 9612  df-nq 9613  df-erq 9614  df-plq 9615  df-1nq 9617 This theorem is referenced by:  ltaddnq  9675  addasspr  9723  prlem934  9734  ltexprlem7  9743
 Copyright terms: Public domain W3C validator