Mathlib.Data.Rat.Squarefree
1 declarations. Mathlib docs · Source
theorem Rat.sq_mul_squarefree_unique E1 #
∀ {d₁ d₂ : ℤ}, Squarefree d₁ → Squarefree d₂ → ∀ (r₁ r₂ : ℚ), r₁ ≠ 0 → r₁ ^ 2 * ↑d₁ = r₂ ^ 2 * ↑d₂ → d₁ = d₂
The squarefree integer d in a decomposition q = r ^ 2 * d is unique.