| Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > sqmid3api | Structured version Visualization version GIF version | ||
| Description: Value of the square of the middle term of a 3-term arithmetic progression. (Contributed by Steven Nguyen, 20-Sep-2022.) |
| Ref | Expression |
|---|---|
| sqmid3api.a | ⊢ 𝐴 ∈ ℂ |
| sqmid3api.n | ⊢ 𝑁 ∈ ℂ |
| sqmid3api.b | ⊢ (𝐴 + 𝑁) = 𝐵 |
| sqmid3api.c | ⊢ (𝐵 + 𝑁) = 𝐶 |
| Ref | Expression |
|---|---|
| sqmid3api | ⊢ (𝐵 · 𝐵) = ((𝐴 · 𝐶) + (𝑁 · 𝑁)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | sqmid3api.a | . . 3 ⊢ 𝐴 ∈ ℂ | |
| 2 | sqmid3api.n | . . 3 ⊢ 𝑁 ∈ ℂ | |
| 3 | 1, 2, 1, 2 | muladdi 11666 | . 2 ⊢ ((𝐴 + 𝑁) · (𝐴 + 𝑁)) = (((𝐴 · 𝐴) + (𝑁 · 𝑁)) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) |
| 4 | sqmid3api.b | . . 3 ⊢ (𝐴 + 𝑁) = 𝐵 | |
| 5 | 4, 4 | oveq12i 7424 | . 2 ⊢ ((𝐴 + 𝑁) · (𝐴 + 𝑁)) = (𝐵 · 𝐵) |
| 6 | 1, 1 | mulcli 11217 | . . . 4 ⊢ (𝐴 · 𝐴) ∈ ℂ |
| 7 | 2, 2 | mulcli 11217 | . . . 4 ⊢ (𝑁 · 𝑁) ∈ ℂ |
| 8 | 1, 2 | mulcli 11217 | . . . . 5 ⊢ (𝐴 · 𝑁) ∈ ℂ |
| 9 | 8, 8 | addcli 11216 | . . . 4 ⊢ ((𝐴 · 𝑁) + (𝐴 · 𝑁)) ∈ ℂ |
| 10 | 6, 7, 9 | add32i 11435 | . . 3 ⊢ (((𝐴 · 𝐴) + (𝑁 · 𝑁)) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) = (((𝐴 · 𝐴) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) + (𝑁 · 𝑁)) |
| 11 | 1, 2 | addcli 11216 | . . . . . 6 ⊢ (𝐴 + 𝑁) ∈ ℂ |
| 12 | 1, 11, 2 | adddii 11222 | . . . . 5 ⊢ (𝐴 · ((𝐴 + 𝑁) + 𝑁)) = ((𝐴 · (𝐴 + 𝑁)) + (𝐴 · 𝑁)) |
| 13 | 4 | oveq1i 7422 | . . . . . . 7 ⊢ ((𝐴 + 𝑁) + 𝑁) = (𝐵 + 𝑁) |
| 14 | sqmid3api.c | . . . . . . 7 ⊢ (𝐵 + 𝑁) = 𝐶 | |
| 15 | 13, 14 | eqtri 2786 | . . . . . 6 ⊢ ((𝐴 + 𝑁) + 𝑁) = 𝐶 |
| 16 | 15 | oveq2i 7423 | . . . . 5 ⊢ (𝐴 · ((𝐴 + 𝑁) + 𝑁)) = (𝐴 · 𝐶) |
| 17 | 1, 1, 2 | adddii 11222 | . . . . . . 7 ⊢ (𝐴 · (𝐴 + 𝑁)) = ((𝐴 · 𝐴) + (𝐴 · 𝑁)) |
| 18 | 17 | oveq1i 7422 | . . . . . 6 ⊢ ((𝐴 · (𝐴 + 𝑁)) + (𝐴 · 𝑁)) = (((𝐴 · 𝐴) + (𝐴 · 𝑁)) + (𝐴 · 𝑁)) |
| 19 | 6, 8, 8 | addassi 11220 | . . . . . 6 ⊢ (((𝐴 · 𝐴) + (𝐴 · 𝑁)) + (𝐴 · 𝑁)) = ((𝐴 · 𝐴) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) |
| 20 | 18, 19 | eqtri 2786 | . . . . 5 ⊢ ((𝐴 · (𝐴 + 𝑁)) + (𝐴 · 𝑁)) = ((𝐴 · 𝐴) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) |
| 21 | 12, 16, 20 | 3eqtr3ri 2795 | . . . 4 ⊢ ((𝐴 · 𝐴) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) = (𝐴 · 𝐶) |
| 22 | 21 | oveq1i 7422 | . . 3 ⊢ (((𝐴 · 𝐴) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) + (𝑁 · 𝑁)) = ((𝐴 · 𝐶) + (𝑁 · 𝑁)) |
| 23 | 10, 22 | eqtri 2786 | . 2 ⊢ (((𝐴 · 𝐴) + (𝑁 · 𝑁)) + ((𝐴 · 𝑁) + (𝐴 · 𝑁))) = ((𝐴 · 𝐶) + (𝑁 · 𝑁)) |
| 24 | 3, 5, 23 | 3eqtr3i 2794 | 1 ⊢ (𝐵 · 𝐵) = ((𝐴 · 𝐶) + (𝑁 · 𝑁)) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1570 ∈ wcel 2143 (class class class)co 7412 ℂcc 11099 + caddc 11104 · cmul 11106 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5258 ax-nul 5270 ax-pow 5338 ax-pr 5406 ax-un 7734 ax-resscn 11158 ax-1cn 11159 ax-icn 11160 ax-addcl 11161 ax-addrcl 11162 ax-mulcl 11163 ax-mulrcl 11164 ax-mulcom 11165 ax-addass 11166 ax-mulass 11167 ax-distr 11168 ax-i2m1 11169 ax-1ne0 11170 ax-1rid 11171 ax-rnegex 11172 ax-rrecex 11173 ax-cnre 11174 ax-pre-lttri 11175 ax-pre-lttrn 11176 ax-pre-ltadd 11177 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-nf 1814 df-sb 2097 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3065 df-ral 3080 df-rex 3090 df-rab 3417 df-v 3457 df-sbc 3746 df-csb 3855 df-dif 3909 df-un 3911 df-in 3913 df-ss 3923 df-nul 4288 df-if 4489 df-pw 4565 df-sn 4591 df-pr 4593 df-op 4597 df-uni 4874 df-br 5111 df-opab 5175 df-mpt 5194 df-id 5558 df-po 5571 df-so 5572 df-xp 5669 df-rel 5670 df-cnv 5671 df-co 5672 df-dm 5673 df-rn 5674 df-res 5675 df-ima 5676 df-iota 6494 df-fun 6540 df-fn 6541 df-f 6542 df-f1 6543 df-fo 6544 df-f1o 6545 df-fv 6546 df-ov 7415 df-er 8695 df-en 8945 df-dom 8946 df-sdom 8947 df-pnf 11246 df-mnf 11247 df-ltxr 11249 |
| This theorem is referenced by: sqn5i 43024 |
| Copyright terms: Public domain | W3C validator |