Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.ClassMonoid |
| 2 | |
| 3 | /-! # Inverse Identification -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two line bundles that are complementary tensor inverses of the same bundle are isomorphic. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem Line.Bundles.LineBundle.iso_of_common_tensor_inverse {X : Scheme.{u}} (L M N : Line.Bundles.LineBundle X) |
| 16 | (hLN : Nonempty ((L.tensor N).sheaf ≅ Line.Bundles.structureModule X)) |
| 17 | (hNM : Nonempty ((N.tensor M).sheaf ≅ Line.Bundles.structureModule X)) : Nonempty (L.sheaf ≅ M.sheaf) := by |
| 18 | have h₁ : Line.Bundles.LineBundle.classOf L * Line.Bundles.LineBundle.classOf N = 1 := Quotient.sound hLN |
| 19 | have h₂ : Line.Bundles.LineBundle.classOf N * Line.Bundles.LineBundle.classOf M = 1 := Quotient.sound hNM |
| 20 | have he : Line.Bundles.LineBundle.classOf L = Line.Bundles.LineBundle.classOf M := by |
| 21 | calc |
| 22 | Line.Bundles.LineBundle.classOf L = Line.Bundles.LineBundle.classOf L * 1 := (mul_one _).symm |
| 23 | _ = Line.Bundles.LineBundle.classOf L * (Line.Bundles.LineBundle.classOf N * Line.Bundles.LineBundle.classOf M) := |
| 24 | congrArg (fun q => Line.Bundles.LineBundle.classOf L * q) h₂.symm |
| 25 | _ = (Line.Bundles.LineBundle.classOf L * Line.Bundles.LineBundle.classOf N) * Line.Bundles.LineBundle.classOf M := (mul_assoc _ _ _).symm |
| 26 | _ = Line.Bundles.LineBundle.classOf M := by rw [h₁, one_mul] |
| 27 | exact Quotient.exact he |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |