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.Divisors.LineBundles.UniformizerPrimeAvoidance |
| 2 | |
| 3 | /-! # Prime Uniformizers -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.PrimeUniformizers.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! # LineBundleCycles: simultaneous local uniformizers at a finite family of incomparable primes -/ |
| 10 | |
| 11 | variable {R ι : Type*} [CommRing R] [Finite ι] |
| 12 | (P : ι → Ideal R) [∀ i, (P i).IsPrime] |
| 13 | (A : ι → Type*) [∀ i, CommRing (A i)] [∀ i, Algebra R (A i)] |
| 14 | [∀ i, IsLocalization.AtPrime (A i) (P i)] [∀ i, IsDomain (A i)] |
| 15 | [∀ i, IsDiscreteValuationRing (A i)] |
| 16 | (hne : Pairwise fun i j => ¬ P i ≤ P j) |
| 17 | |
| 18 | include hne in |
| 19 | theorem exists_finitePrimeUniformizer (i : ι) : |
| 20 | ∃ a : R, Irreducible (algebraMap R (A i) a) ∧ ∀ j, j ≠ i → a ∉ P j := by |
| 21 | obtain ⟨a, ha, havoid⟩ := UniformizerPrimeAvoidance.BundleCycles.exists_uniformizer_avoiding_primes (P i) (A i) |
| 22 | (fun j : {j : ι // j ≠ i} => P j.val) (fun j => inferInstance) |
| 23 | (fun j => hne j.property.symm) |
| 24 | exact ⟨a, ha, fun j hj => havoid ⟨j, hj⟩⟩ |
| 25 | |
| 26 | def finitePrimeUniformizer (i : ι) : R := (exists_finitePrimeUniformizer P A hne i).choose |
| 27 | |
| 28 | theorem finitePrimeUniformizer_irreducible (i : ι) : |
| 29 | Irreducible (algebraMap R (A i) (finitePrimeUniformizer P A hne i)) := |
| 30 | (exists_finitePrimeUniformizer P A hne i).choose_spec.1 |
| 31 | |
| 32 | theorem finitePrimeUniformizer_isUnit (i j : ι) (hji : j ≠ i) : |
| 33 | IsUnit (algebraMap R (A j) (finitePrimeUniformizer P A hne i)) := by |
| 34 | apply (IsLocalization.AtPrime.isUnit_to_map_iff (A j) (P j) _).mpr |
| 35 | exact (exists_finitePrimeUniformizer P A hne i).choose_spec.2 j hji |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Finite.PrimeUniformizers.BundleCycles |