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.RenamePolynomialExtension |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart |
| 3 | |
| 4 | /-! # Dehomogenization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Dehomogenization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! On normalized projective charts an injective homogeneous |
| 11 | coordinate renaming is the corresponding affine coordinate renaming. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization |
| 17 | |
| 18 | variable {m n : ℕ} (j : Fin (m + 1) → Fin (n + 1)) (hj : Function.Injective j) (i : Fin (m + 1)) |
| 19 | |
| 20 | def omitted : {a : Fin (m + 1) // a ≠ i} → {b : Fin (n + 1) // b ≠ j i} := |
| 21 | fun a => ⟨j a.val, fun h => a.property (hj h)⟩ |
| 22 | |
| 23 | theorem omitted_injective : Function.Injective (omitted j hj i) := by |
| 24 | intro a b hab |
| 25 | apply Subtype.ext |
| 26 | exact hj (congrArg Subtype.val hab) |
| 27 | |
| 28 | theorem dehomogenize_rename : |
| 29 | (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (R := ℂ) (j i)).comp (MvPolynomial.rename j).toRingHom = |
| 30 | (MvPolynomial.rename (omitted j hj i)).toRingHom.comp (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (R := ℂ) i) := by |
| 31 | apply MvPolynomial.ringHom_ext |
| 32 | · intro c |
| 33 | simp |
| 34 | · intro a |
| 35 | by_cases ha : a = i |
| 36 | · subst a |
| 37 | simp |
| 38 | · have hja : j a ≠ j i := fun h => ha (hj h) |
| 39 | change Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (R := ℂ) (j i) (MvPolynomial.rename j (MvPolynomial.X a)) = |
| 40 | MvPolynomial.rename (omitted j hj i) (Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize (R := ℂ) i (MvPolynomial.X a)) |
| 41 | rw [MvPolynomial.rename_X, Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_X_of_ne (j i) (j a) hja, |
| 42 | Foundations.Scheme.DehomogenizationC.Algebraic.Dehomogenization.dehomogenize_X_of_ne i a ha, MvPolynomial.rename_X] |
| 43 | rfl |
| 44 | |
| 45 | theorem chart_extension : |
| 46 | ∃ (ι : Type) (_ : Finite ι) |
| 47 | (e : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n (j i) ≃ₐ[ℂ] MvPolynomial ι (Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i)), |
| 48 | ∀ p : Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial m i, |
| 49 | e (MvPolynomial.rename (omitted j hj i) p) = MvPolynomial.C p := by |
| 50 | refine ⟨RenamePolynomialExtension.complement (omitted j hj i), |
| 51 | inferInstanceAs (Finite {a : {b : Fin (n + 1) // b ≠ j i} // a ∉ Set.range (omitted j hj i)}), |
| 52 | RenamePolynomialExtension.equivalence (omitted j hj i) (omitted_injective j hj i) ℂ, ?_⟩ |
| 53 | exact RenamePolynomialExtension.equivalence_rename (omitted j hj i) (omitted_injective j hj i) ℂ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Projection.Dehomogenization |