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.IntersectionTheory.ProjectionFormula.Projection.CoordinateNormalForm |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.RenamePolynomialExtension |
| 3 | |
| 4 | /-! # Linear Polynomial Extension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearPolynomialExtension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The homogeneous coordinate map of an independent linear |
| 11 | projection is a polynomial extension after an actual algebra isomorphism. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | theorem exists_equivalence {m n : ℕ} (L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading n 1) |
| 17 | (hL : LinearIndependent ℂ L) : |
| 18 | ∃ (ι : Type) (_ : Finite ι) |
| 19 | (e : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing n ≃ₐ[ℂ] MvPolynomial ι (Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m)), |
| 20 | ∀ p : Foundations.Scheme.ProjectiveSpace.homogeneousCoordinateRing m, |
| 21 | e (HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property) p) = MvPolynomial.C p := by |
| 22 | obtain ⟨h, g, _, hg⟩ := Projection.CoordinateNormalForm.exists_equiv L hL |
| 23 | let j := Fin.castLE (Nat.add_le_add_right h 1) |
| 24 | let e := (LinearFormAutomorphism.algebraEquiv g).symm.trans |
| 25 | (RenamePolynomialExtension.equivalence j (Fin.castLE_injective _) ℂ) |
| 26 | refine ⟨RenamePolynomialExtension.complement j, |
| 27 | inferInstanceAs (Finite {a : Fin (n + 1) // a ∉ Set.range j}), e, ?_⟩ |
| 28 | intro p |
| 29 | have he := DFunLike.congr_fun hg p |
| 30 | have he' : HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property) p = |
| 31 | LinearFormAutomorphism.algebraEquiv g (MvPolynomial.rename j p) := he |
| 32 | change RenamePolynomialExtension.equivalence j (Fin.castLE_injective _) ℂ |
| 33 | ((LinearFormAutomorphism.algebraEquiv g).symm |
| 34 | (HomogeneousCoordinateMap.ofForms (fun i => (L i).val) (fun i => (L i).property) p)) = _ |
| 35 | rw [he', AlgEquiv.symm_apply_apply] |
| 36 | exact RenamePolynomialExtension.equivalence_rename j (Fin.castLE_injective _) ℂ p |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LinearPolynomialExtension |