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.AbelianModuli.HilbertConstruction.DifferentialCoefficientIdeal |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DifferentialIdealPointSupport |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Minimal.ModelSectionBaseChange |
| 4 | |
| 5 | /-! # First Differential Ideal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The first differential of a local minimal complex has a canonical coefficient ideal contained in the maximal ideal. Its universal quotient makes the actual differential split regularly; a residue-field factorization of that quotient identifies the ideal with the maximal ideal. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | universe u |
| 14 | variable {R : Type u} [CommRing R] [IsLocalRing R] |
| 15 | variable {S : ShortComplex (ModuleCat.{u} R)} (Q : Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex S) |
| 16 | |
| 17 | def Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferentialIdeal : Ideal R := |
| 18 | DifferentialCoefficientIdeal.differentialCoefficientIdeal (Module.Free.chooseBasis R Q.complex.X₁) |
| 19 | (Module.Free.chooseBasis R Q.complex.X₂) Q.complex.f.hom |
| 20 | |
| 21 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferentialIdeal_baseChange_zero_iff |
| 22 | (B : Type u) [CommRing B] [Algebra R B] : |
| 23 | Q.complex.f.hom.baseChange B = 0 ↔ |
| 24 | Q.firstDifferentialIdeal ≤ RingHom.ker (algebraMap R B) := |
| 25 | DifferentialCoefficientIdeal.differential_baseChange_zero_iff_coefficients _ _ _ B |
| 26 | |
| 27 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferentialIdeal_le_maximalIdeal : |
| 28 | Q.firstDifferentialIdeal ≤ IsLocalRing.maximalIdeal R := by |
| 29 | have h := (Q.firstDifferentialIdeal_baseChange_zero_iff (IsLocalRing.ResidueField R)).mp |
| 30 | Q.incoming_residue_zero |
| 31 | simpa only [IsLocalRing.ResidueField.algebraMap_eq, IsLocalRing.ker_residue] using h |
| 32 | |
| 33 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferential_quotient_zero : |
| 34 | Q.complex.f.hom.baseChange (R ⧸ Q.firstDifferentialIdeal) = 0 := |
| 35 | DifferentialCoefficientIdeal.differential_coefficient_quotient_zero _ _ _ |
| 36 | |
| 37 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferential_quotient_generalizedInverse : |
| 38 | ∃ r : (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (R ⧸ Q.firstDifferentialIdeal) S).X₂ →ₗ[R ⧸ Q.firstDifferentialIdeal] |
| 39 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (R ⧸ Q.firstDifferentialIdeal) S).X₁, |
| 40 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (R ⧸ Q.firstDifferentialIdeal) S).f.hom.comp |
| 41 | (r.comp (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (R ⧸ Q.firstDifferentialIdeal) S).f.hom) = |
| 42 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R (R ⧸ Q.firstDifferentialIdeal) S).f.hom := |
| 43 | Minimal.ModelSectionBaseChange.LocalSectionLifting.minimal_baseChange_first_generalizedInverse Q Q.firstDifferential_quotient_zero |
| 44 | |
| 45 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferential_quotient_subsingleton |
| 46 | [Nontrivial Q.complex.X₁] (p₀ : PrimeSpectrum R) |
| 47 | (h : ∀ p : PrimeSpectrum R, p ≠ p₀ → |
| 48 | Subsingleton (LinearMap.ker (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeComplex R p.asIdeal.ResidueField S).f.hom)) : |
| 49 | Subsingleton (PrimeSpectrum (R ⧸ Q.firstDifferentialIdeal)) := by |
| 50 | let i : Module.Free.ChooseBasisIndex R Q.complex.X₁ := Classical.choice inferInstance |
| 51 | apply DifferentialIdealPointSupport.differential_coefficient_quotient_subsingleton_of_residue_support |
| 52 | (Module.Free.chooseBasis R Q.complex.X₁) (Module.Free.chooseBasis R Q.complex.X₂) |
| 53 | Q.complex.f.hom i p₀ |
| 54 | intro p hp |
| 55 | let e := Q.baseChangeFirstCyclesEquiv p.asIdeal.ResidueField |
| 56 | exact ⟨fun x y => e.symm.injective ((h p hp).elim (e.symm x) (e.symm y))⟩ |
| 57 | |
| 58 | theorem Local.MinimalShortComplex.LocalSectionLifting.LocalMinimalShortComplex.firstDifferentialIdeal_eq_maximal_of_residue_factor |
| 59 | (φ : IsLocalRing.ResidueField R →+* (R ⧸ Q.firstDifferentialIdeal)) |
| 60 | (hφ : φ.comp (IsLocalRing.residue R) = Ideal.Quotient.mk Q.firstDifferentialIdeal) : |
| 61 | Q.firstDifferentialIdeal = IsLocalRing.maximalIdeal R := by |
| 62 | apply le_antisymm Q.firstDifferentialIdeal_le_maximalIdeal |
| 63 | intro r hr |
| 64 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 65 | have hz : IsLocalRing.residue R r = 0 := (IsLocalRing.residue_eq_zero_iff r).mpr hr |
| 66 | exact (congrArg (fun ψ : R →+* (R ⧸ Q.firstDifferentialIdeal) => ψ r) hφ).symm.trans |
| 67 | ((congrArg φ hz).trans (map_zero φ)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |