Metamath Proof Explorer


Theorem ezcuberoteven

Description: A linear Eisenstein expression with even second coefficient is a cube in the quadratic basis after cubing. Proof prepared with AI assistance from OpenAI Codex. (Contributed by Beckett Kaplinski, 22-Nov-2026)

Ref Expression
Hypotheses ezcuberoteven.a ⊢ φ → A ∈ ℤ
ezcuberoteven.b ⊢ φ → B ∈ ℤ
ezcuberoteven.e ⊢ φ → 2 ∥ B
Assertion ezcuberoteven Could not format assertion : No typesetting found for |- ( ph -> E. a e. ZZ E. b e. ZZ ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) with typecode |-

Proof

Step Hyp Ref Expression
1 ezcuberoteven.a ⊢ φ → A ∈ ℤ
2 ezcuberoteven.b ⊢ φ → B ∈ ℤ
3 ezcuberoteven.e ⊢ φ → 2 ∥ B
4 id ⊢ a = A − B 2 → a = A − B 2
5 4 oveq1d Could not format ( a = ( A - ( B / 2 ) ) -> ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ) : No typesetting found for |- ( a = ( A - ( B / 2 ) ) -> ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ) with typecode |-
6 5 oveq1d Could not format ( a = ( A - ( B / 2 ) ) -> ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) ) : No typesetting found for |- ( a = ( A - ( B / 2 ) ) -> ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) ) with typecode |-
7 6 eqeq1d Could not format ( a = ( A - ( B / 2 ) ) -> ( ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) <-> ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) ) : No typesetting found for |- ( a = ( A - ( B / 2 ) ) -> ( ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) <-> ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) ) with typecode |-
8 id ⊢ b = B 2 → b = B 2
9 8 oveq1d Could not format ( b = ( B / 2 ) -> ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) : No typesetting found for |- ( b = ( B / 2 ) -> ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) with typecode |-
10 9 oveq2d Could not format ( b = ( B / 2 ) -> ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ) : No typesetting found for |- ( b = ( B / 2 ) -> ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ) with typecode |-
11 10 oveq1d Could not format ( b = ( B / 2 ) -> ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) ) : No typesetting found for |- ( b = ( B / 2 ) -> ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) ) with typecode |-
12 11 eqeq1d Could not format ( b = ( B / 2 ) -> ( ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) <-> ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) ) : No typesetting found for |- ( b = ( B / 2 ) -> ( ( ( ( A - ( B / 2 ) ) + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) <-> ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) ) with typecode |-
13 2z ⊢ 2 ∈ ℤ
14 13 a1i ⊢ φ → 2 ∈ ℤ
15 2ne0 ⊢ 2 ≠ 0
16 15 a1i ⊢ φ → 2 ≠ 0
17 14 16 2 3jca ⊢ φ → 2 ∈ ℤ ∧ 2 ≠ 0 ∧ B ∈ ℤ
18 dvdsval2 ⊢ 2 ∈ ℤ ∧ 2 ≠ 0 ∧ B ∈ ℤ → 2 ∥ B ↔ B 2 ∈ ℤ
19 17 18 syl ⊢ φ → 2 ∥ B ↔ B 2 ∈ ℤ
20 3 19 mpbid ⊢ φ → B 2 ∈ ℤ
21 1 20 zsubcld ⊢ φ → A − B 2 ∈ ℤ
22 20 zcnd ⊢ φ → B 2 ∈ ℂ
23 ax-1cn ⊢ 1 ∈ ℂ
24 23 a1i ⊢ φ → 1 ∈ ℂ
25 2cn ⊢ 2 ∈ ℂ
26 25 a1i ⊢ φ → 2 ∈ ℂ
27 3nn ⊢ 3 ∈ ℕ
28 brucn Could not format ( 3 e. NN -> ( bRoU ` 3 ) e. CC ) : No typesetting found for |- ( 3 e. NN -> ( bRoU ` 3 ) e. CC ) with typecode |-
29 27 28 ax-mp Could not format ( bRoU ` 3 ) e. CC : No typesetting found for |- ( bRoU ` 3 ) e. CC with typecode |-
30 29 a1i Could not format ( ph -> ( bRoU ` 3 ) e. CC ) : No typesetting found for |- ( ph -> ( bRoU ` 3 ) e. CC ) with typecode |-
31 26 30 mulcld Could not format ( ph -> ( 2 x. ( bRoU ` 3 ) ) e. CC ) : No typesetting found for |- ( ph -> ( 2 x. ( bRoU ` 3 ) ) e. CC ) with typecode |-
32 22 24 31 3jca Could not format ( ph -> ( ( B / 2 ) e. CC /\ 1 e. CC /\ ( 2 x. ( bRoU ` 3 ) ) e. CC ) ) : No typesetting found for |- ( ph -> ( ( B / 2 ) e. CC /\ 1 e. CC /\ ( 2 x. ( bRoU ` 3 ) ) e. CC ) ) with typecode |-
33 adddi Could not format ( ( ( B / 2 ) e. CC /\ 1 e. CC /\ ( 2 x. ( bRoU ` 3 ) ) e. CC ) -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) ) : No typesetting found for |- ( ( ( B / 2 ) e. CC /\ 1 e. CC /\ ( 2 x. ( bRoU ` 3 ) ) e. CC ) -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) ) with typecode |-
34 32 33 syl Could not format ( ph -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) ) : No typesetting found for |- ( ph -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) ) with typecode |-
35 22 mulridd ⊢ φ → B 2 ⋅ 1 = B 2
36 22 26 30 mulassd Could not format ( ph -> ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) = ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) = ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) with typecode |-
37 36 eqcomd Could not format ( ph -> ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) = ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) ) : No typesetting found for |- ( ph -> ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) = ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) ) with typecode |-
38 2 zcnd ⊢ φ → B ∈ ℂ
39 38 26 16 divcan1d ⊢ φ → B 2 ⋅ 2 = B
40 39 oveq1d Could not format ( ph -> ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) = ( B x. ( bRoU ` 3 ) ) ) : No typesetting found for |- ( ph -> ( ( ( B / 2 ) x. 2 ) x. ( bRoU ` 3 ) ) = ( B x. ( bRoU ` 3 ) ) ) with typecode |-
41 37 40 eqtrd Could not format ( ph -> ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) = ( B x. ( bRoU ` 3 ) ) ) : No typesetting found for |- ( ph -> ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) = ( B x. ( bRoU ` 3 ) ) ) with typecode |-
42 35 41 oveq12d Could not format ( ph -> ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( ( B / 2 ) x. 1 ) + ( ( B / 2 ) x. ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
43 34 42 eqtrd Could not format ( ph -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) = ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
44 43 oveq2d Could not format ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) ) : No typesetting found for |- ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) ) with typecode |-
45 21 zcnd ⊢ φ → A − B 2 ∈ ℂ
46 38 30 mulcld Could not format ( ph -> ( B x. ( bRoU ` 3 ) ) e. CC ) : No typesetting found for |- ( ph -> ( B x. ( bRoU ` 3 ) ) e. CC ) with typecode |-
47 45 22 46 addassd Could not format ( ph -> ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) ) : No typesetting found for |- ( ph -> ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) = ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) ) with typecode |-
48 47 eqcomd Could not format ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) = ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) + ( B x. ( bRoU ` 3 ) ) ) ) = ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
49 44 48 eqtrd Could not format ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
50 eqidd ⊢ φ → A − B 2 = A − B 2
51 1 zcnd ⊢ φ → A ∈ ℂ
52 51 22 45 subadd2d ⊢ φ → A − B 2 = A − B 2 ↔ A - B 2 + B 2 = A
53 50 52 mpbid ⊢ φ → A - B 2 + B 2 = A
54 53 oveq1d Could not format ( ph -> ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) = ( A + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( ( A - ( B / 2 ) ) + ( B / 2 ) ) + ( B x. ( bRoU ` 3 ) ) ) = ( A + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
55 49 54 eqtrd Could not format ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( A + ( B x. ( bRoU ` 3 ) ) ) ) : No typesetting found for |- ( ph -> ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) = ( A + ( B x. ( bRoU ` 3 ) ) ) ) with typecode |-
56 55 oveq1d Could not format ( ph -> ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) : No typesetting found for |- ( ph -> ( ( ( A - ( B / 2 ) ) + ( ( B / 2 ) x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) with typecode |-
57 7 12 21 20 56 2rspcedvdw Could not format ( ph -> E. a e. ZZ E. b e. ZZ ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) : No typesetting found for |- ( ph -> E. a e. ZZ E. b e. ZZ ( ( a + ( b x. ( 1 + ( 2 x. ( bRoU ` 3 ) ) ) ) ) ^ 3 ) = ( ( A + ( B x. ( bRoU ` 3 ) ) ) ^ 3 ) ) with typecode |-