AFTD Auto-Formalizing Theoretical Domains

nonzero_cubes_mul

theoremverified

In any field, the product of two nonzero cubes is itself a nonzero cube.

Statement

theorem nonzero_cubes_mul {E : Type*} [Field E] {x y : E} (hx : x ∈ nonzero_cubes E) (hy : y ∈ nonzero_cubes E) : x * y ∈ nonzero_cubes E
Source
arXiv:2611.10269 Sec. 7
Verified
11 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • nonzero_cubesThe set of nonzero cubes in a field E, consisting of all elements of the form x^3 for nonzero x in E.
Used by 1
  • spread_line_contained_in_non_bentLet E be a finite field equipped with an algebra structure over ZMod 2 such that the cardinality of E is 2^(2m), where m is an odd natural…

Read back from the Lean

For any field $E$ and any elements $x, y \in E$, if $x$ is in nonzero_cubes E and $y$ is in nonzero_cubes E, then the product $x \cdot y$ is in nonzero_cubes E.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

To show that the product of two nonzero cubes $x$ and $y$ is a nonzero cube, the proof unpacks the definitions to write $x = a^3$ and $y = b^3$ with $a, b \neq 0$. It then witnesses that $x y = (a b)^3$, where $a b \neq 0$ because a field has no zero divisors.

  1. There exist nonzero elements $a, b \in E$ such that $x = a^3$ and $y = b^3$.

    By definition, an element is in `nonzero_cubes E` if it equals the cube of some nonzero element. Deconstructing the assumptions that $x$ and $y$ are nonzero cubes provides witnesses $a, b \in E$ with $a \neq 0$, $b \neq 0$, $x = a^3$, and $y = b^3$, rewriting $x * y$ to $a^3 * b^3$ in the goal.

    lines 3–4

      rcases hx with ⟨a, ha, rfl⟩
      rcases hy with ⟨b, hb, rfl⟩
  2. $x * y \in \text{nonzero\_cubes } E$

    We provide $a * b$ as the witness for $x * y$. In a field, the product of nonzero elements is nonzero (`mul_ne_zero`), so $a * b \neq 0$. Finally, the algebraic identity $(a * b)^3 = a^3 * b^3$ holds by ring arithmetic.

    line 5

    uses mul_ne_zero

      exact ⟨a * b, mul_ne_zero ha hb, by ring⟩
mul_ne_zero
In a structure with no zero divisors (such as a field), if two elements are nonzero, their product is also nonzero.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The product of two nonzero cubes in a field is a nonzero cube. -/theorem nonzero_cubes_mul {E : Type*} [Field E] {x y : E} (hx : x ∈ nonzero_cubes E) (hy : y ∈ nonzero_cubes E) : x * y ∈ nonzero_cubes E := by  rcases hx with ⟨a, ha, rfl⟩  rcases hy with ⟨b, hb, rfl⟩  exact ⟨a * b, mul_ne_zero ha hb, by ring⟩
See it in the graphDiscuss this resultChallenge it