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.AdicIdealTensorFlatness |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.Presentation |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.TensorNilpotentDevissage |
| 4 | import Mathlib.RingTheory.LocalRing.RingHom.Basic |
| 5 | |
| 6 | /-! # Flatness Criterion -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.FlatnessCriterion |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The Noetherian local criterion for flatness, proved from the actual |
| 13 | maximal-ideal tensor multiplication kernel. -/ |
| 14 | |
| 15 | open TensorProduct |
| 16 | |
| 17 | universe u v w |
| 18 | variable {B : Type u} [CommRing B] |
| 19 | |
| 20 | theorem ideal_quotient_annihilated_of_le (I J : Ideal B) (h : I ≤ J) : |
| 21 | I • (⊤ : Submodule B (B ⧸ J)) = ⊥ := by |
| 22 | apply bot_unique |
| 23 | apply Submodule.smul_le.mpr |
| 24 | intro r hr x _ |
| 25 | apply (Submodule.mem_bot B).mpr |
| 26 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective x |
| 27 | change Ideal.Quotient.mk J (r * a) = 0 |
| 28 | exact Ideal.Quotient.eq_zero_iff_mem.mpr (J.mul_mem_right a (h hr)) |
| 29 | |
| 30 | theorem flatPresentation_idealTensor_injective_of_maximalIdeal_test |
| 31 | {F : Type w} [AddCommGroup F] [Module B F] [Module.Flat B F] |
| 32 | {M : Type v} [AddCommGroup M] [Module B M] |
| 33 | (q : F →ₗ[B] M) (hq : Function.Surjective q) |
| 34 | (m : Ideal B) [m.IsMaximal] |
| 35 | (hm : Function.Injective (IdealTensor.Obstruction.idealTensorMultiplication B B M m)) |
| 36 | (I : Ideal B) (n : ℕ) (hn : m ^ n ≤ I) : |
| 37 | Function.Injective (IdealTensor.Obstruction.idealTensorMultiplication B B M I) := by |
| 38 | have hmk : Function.Injective (q.ker.subtype.lTensor (B ⧸ m)) := |
| 39 | (IdealTensor.Presentation.presentation_tensor_quotient_injective_iff q hq m).mpr hm |
| 40 | have hnk : Function.Injective (q.ker.subtype.lTensor (B ⧸ I)) := |
| 41 | TensorNilpotentDevissage.lTensor_injective_of_maximalIdeal_power (B := B) (K := q.ker) (F := F) |
| 42 | q.ker.subtype m hmk n (B ⧸ I) (ideal_quotient_annihilated_of_le (m ^ n) I hn) |
| 43 | exact (IdealTensor.Presentation.presentation_tensor_quotient_injective_iff q hq I).mp hnk |
| 44 | |
| 45 | theorem idealTensor_injective_of_maximalIdeal_test |
| 46 | (M : Type v) [AddCommGroup M] [Module B M] |
| 47 | (m : Ideal B) [m.IsMaximal] |
| 48 | (hm : Function.Injective (IdealTensor.Obstruction.idealTensorMultiplication B B M m)) |
| 49 | (I : Ideal B) (n : ℕ) (hn : m ^ n ≤ I) : |
| 50 | Function.Injective (IdealTensor.Obstruction.idealTensorMultiplication B B M I) := by |
| 51 | let F := M →₀ B |
| 52 | let q : F →ₗ[B] M := Finsupp.linearCombination B id |
| 53 | have hq : Function.Surjective q := Finsupp.linearCombination_id_surjective B M |
| 54 | exact flatPresentation_idealTensor_injective_of_maximalIdeal_test q hq m hm I n hn |
| 55 | |
| 56 | theorem flat_of_maximalIdeal_tensor_injective |
| 57 | [IsNoetherianRing B] [IsLocalRing B] |
| 58 | (S : Type w) [CommRing S] [Algebra B S] [IsNoetherianRing S] [IsLocalRing S] |
| 59 | [IsLocalHom (algebraMap B S)] |
| 60 | (M : Type v) [AddCommGroup M] [Module B M] [Module S M] [IsScalarTower B S M] |
| 61 | [Module.Finite S M] |
| 62 | (hm : Function.Injective |
| 63 | (IdealTensor.Obstruction.idealTensorMultiplication B B M (IsLocalRing.maximalIdeal B))) : |
| 64 | Module.Flat B M := by |
| 65 | have hmap : (IsLocalRing.maximalIdeal B).map (algebraMap B S) ≤ |
| 66 | IsLocalRing.maximalIdeal S := IsLocalRing.map_maximalIdeal_le (algebraMap B S) |
| 67 | have hjac : IsLocalRing.maximalIdeal S ≤ Ideal.jacobson (⊥ : Ideal S) := |
| 68 | IsLocalRing.maximalIdeal_le_jacobson _ |
| 69 | apply AdicIdealTensorFlatness.flat_of_adic_idealTensor_injective M S (IsLocalRing.maximalIdeal B) (hmap.trans hjac) |
| 70 | intro I n |
| 71 | exact idealTensor_injective_of_maximalIdeal_test M (IsLocalRing.maximalIdeal B) hm |
| 72 | (I ⊔ IsLocalRing.maximalIdeal B ^ n) n le_sup_right |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Local.FlatnessCriterion |