79791552

Date: 2025-10-15 19:40:40
Score: 2
Natty:
Report link

Every definition comes with a cost: if you're making a definition then you need to make API for it. Would you be happy with the following approach?

lemma Vec.add_def {α n} [Add α] {v₁ v₂ : Vec α n} : v₁ + v₂ = Vec.add v₁ v₂ := rfl

theorem Vec.add_comm {α n} [AddCommMonoid α] {v₁ v₂ : Vec α n}
    : v₁ + v₂ = v₂ + v₁ := by
  rw [add_def]
  sorry
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kevin Buzzard