/-- The Tits form `x² + y² - xy` of `A₂` is positive on non-zero vectors.
Hint: `4q = (2x - y)² + 3y²`; split into the cases `x ≠ 0` and `y ≠ 0`, and give `nlinarith`
the squares `sq_nonneg (x - y)`, `sq_nonneg x`, `sq_nonneg y`. -/
theorem titsA2_pos (x y : ℤ) (h : x ≠ 0 ∨ y ≠ 0) : 0 < titsA2 x y := by
sorryShow the compiled solution
/-- The Tits form of `A₂` is positive definite. Completing the square,
`4q(x, y) = (2x - y)² + 3y²`, which vanishes only when `y = 0` and then `x = 0`. -/
theorem titsA2_pos (x y : ℤ) (h : x ≠ 0 ∨ y ≠ 0) : 0 < titsA2 x y := by
unfold titsA2
rcases h with hx | hy
· have : 0 < x ^ 2 := by positivity
nlinarith [sq_nonneg (x - y), sq_nonneg y]
· have : 0 < y ^ 2 := by positivity
nlinarith [sq_nonneg (x - y), sq_nonneg x]Axioms used: propext, Classical.choice, Quot.soundformal/Lumenary/QuiverRepresentations.leanTry it in the Lean web editor