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.Resolution.Blowups.Pointed.FlatIdealDescent |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorUniqueness |
| 3 | import Mathlib.RingTheory.RingHom.FaithfullyFlat |
| 4 | |
| 5 | /-! # Factor Naturality -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorNaturality.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Primitive boundary factorizations transfer exactly through pointed flat comparisons. -/ |
| 12 | |
| 13 | variable {R S : Type*} [CommRing R] [CommRing S] |
| 14 | |
| 15 | /-- The actual map between corresponding local rings of a flat morphism |
| 16 | is faithfully flat. -/ |
| 17 | theorem pointed_flat_localRingHom_faithfullyFlat (f : R →+* S) (hf : f.Flat) |
| 18 | (q : Ideal R) (Q : Ideal S) [q.IsPrime] [Q.IsPrime] (hQ : q = Q.comap f) : |
| 19 | (Localization.localRingHom q Q f hQ).FaithfullyFlat := by |
| 20 | let : Algebra R S := f.toAlgebra |
| 21 | let : Module.Flat R S := hf |
| 22 | let : Q.LiesOver q := ⟨hQ⟩ |
| 23 | let : Algebra (Localization.AtPrime q) (Localization.AtPrime Q) := |
| 24 | Localization.AtPrime.algebraOfLiesOver q Q |
| 25 | let : IsLocalHom (algebraMap (Localization.AtPrime q) (Localization.AtPrime Q)) := by |
| 26 | rw [RingHom.algebraMap_toAlgebra] |
| 27 | exact Localization.isLocalHom_localRingHom q Q f hQ |
| 28 | let : Module.FaithfullyFlat (Localization.AtPrime q) (Localization.AtPrime Q) := |
| 29 | Module.FaithfullyFlat.of_flat_of_isLocalHom |
| 30 | exact RingHom.faithfullyFlat_algebraMap_iff.mpr inferInstance |
| 31 | |
| 32 | /-- Faithfully flat comparison maps reflect ideal inclusion. -/ |
| 33 | theorem faithfullyFlat_map_ideal_le_iff (f : R →+* S) (hf : f.FaithfullyFlat) (I J : Ideal R) : |
| 34 | I.map f ≤ J.map f ↔ I ≤ J := by |
| 35 | let : Algebra R S := f.toAlgebra |
| 36 | let : Module.FaithfullyFlat R S := hf |
| 37 | change I.map (algebraMap R S) ≤ J.map (algebraMap R S) ↔ I ≤ J |
| 38 | constructor |
| 39 | · intro h |
| 40 | have hc : (I.map (algebraMap R S)).comap (algebraMap R S) ≤ |
| 41 | (J.map (algebraMap R S)).comap (algebraMap R S) := Ideal.comap_mono h |
| 42 | rwa [Ideal.comap_map_eq_self_of_faithfullyFlat, Ideal.comap_map_eq_self_of_faithfullyFlat] at hc |
| 43 | · exact Ideal.map_mono |
| 44 | |
| 45 | /-- Every boundary-divisibility threshold, and hence the exact boundary |
| 46 | exponent, is preserved by a faithfully flat comparison map. -/ |
| 47 | theorem faithfullyFlat_boundary_power_iff (f : R →+* S) (hf : f.FaithfullyFlat) |
| 48 | (J : Ideal R) (z : R) (n : ℕ) : |
| 49 | J.map f ≤ Ideal.span {f z} ^ n ↔ J ≤ Ideal.span {z} ^ n := by |
| 50 | have h := faithfullyFlat_map_ideal_le_iff f hf J (Ideal.span {z} ^ n) |
| 51 | simpa only [Ideal.map_pow, Ideal.map_span, Set.image_singleton] using h |
| 52 | |
| 53 | variable {ι : Type*} |
| 54 | |
| 55 | /-- A primitive factorization stays primitive on the comparison chart, |
| 56 | with exactly the same exponents and the actual extended residual ideal. -/ |
| 57 | theorem faithfullyFlat_boundary_factorization_map (f : R →+* S) (hf : f.FaithfullyFlat) |
| 58 | (B : Finset ι) (z : ι → R) (a : ι → ℕ) (J L : Ideal R) |
| 59 | (hfactor : J = Ideal.span {∏ i ∈ B, z i ^ a i} * L) |
| 60 | (hL : ∀ i ∈ B, ¬ L ≤ Ideal.span {z i}) : |
| 61 | J.map f = Ideal.span {∏ i ∈ B, f (z i) ^ a i} * L.map f ∧ |
| 62 | ∀ i ∈ B, ¬ L.map f ≤ Ideal.span {f (z i)} := by |
| 63 | refine ⟨?_, ?_⟩ |
| 64 | · simpa only [Ideal.map_mul, Ideal.map_span, Set.image_singleton, map_prod, map_pow] |
| 65 | using congrArg (Ideal.map f) hfactor |
| 66 | · intro i hi h |
| 67 | apply hL i hi |
| 68 | apply (faithfullyFlat_map_ideal_le_iff f hf L (Ideal.span {z i})).mp |
| 69 | simpa only [Ideal.map_span, Set.image_singleton] using h |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Resolution.Blowups.Boundary.FactorNaturality.Construction |