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.HilbertScheme.Presentations.FiniteTypeAlgebraFree |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Principal.LocalizationFreeRefinement |
| 3 | |
| 4 | /-! # Finite Algebra Family Free -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiniteAlgebraFamilyFree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite collection of affine coordinate algebras over a domain |
| 11 | becomes free over one common principal open. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | universe u v w |
| 17 | variable (R : Type u) [CommRing R] [IsDomain R] |
| 18 | variable {ι : Type v} [Finite ι] (S : ι → Type w) |
| 19 | variable [∀ i, CommRing (S i)] [∀ i, Algebra R (S i)] [∀ i, Algebra.FiniteType R (S i)] |
| 20 | |
| 21 | theorem exists_generic_free_finite_algebra_family : |
| 22 | ∃ s : R, s ≠ 0 ∧ ∀ i, Module.Free (Localization.Away s) |
| 23 | (Localization.Away s ⊗[R] S i) := by |
| 24 | classical |
| 25 | let : Fintype ι := Fintype.ofFinite ι |
| 26 | choose a ha hfree using fun i => FiniteTypeAlgebraFree.exists_generic_free_finiteType_algebra R (S i) |
| 27 | let s := ∏ i, a i |
| 28 | refine ⟨s, Finset.prod_ne_zero_iff.mpr (fun i _ => ha i), ?_⟩ |
| 29 | intro i |
| 30 | let : Module.Free (Localization.Away (a i)) (Localization.Away (a i) ⊗[R] S i) := hfree i |
| 31 | exact Principal.LocalizationFreeRefinement.principalLocalization_free_refinement (S i) (a i) s |
| 32 | (Finset.dvd_prod_of_mem a (Finset.mem_univ i)) |
| 33 | |
| 34 | end |
| 35 | |
| 36 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiniteAlgebraFamilyFree |