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.NumberTheory.PadicHodge.IntegralComparison.Etale.SectionKernel |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.ConormalRank |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.LocalCoordinates |
| 4 | |
| 5 | /-! # Coordinate Section Kernel -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateSectionKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Centered étale coordinates generate the actual section ideal |
| 12 | after a principal shrinking which contains the whole section. -/ |
| 13 | |
| 14 | universe u |
| 15 | open _root_.MvPolynomial |
| 16 | variable {R : Type u} [CommRing R] {σ : Type u} {A : Type u} [CommRing A] |
| 17 | [Algebra R A] [Algebra (MvPolynomial σ R) A] |
| 18 | [IsScalarTower R (MvPolynomial σ R) A] |
| 19 | [Algebra.Etale (MvPolynomial σ R) A] (ε : A →ₐ[R] R) |
| 20 | |
| 21 | def point (i : σ) : R := ε (algebraMap (MvPolynomial σ R) A (X i)) |
| 22 | |
| 23 | def parameter (i : σ) : A := |
| 24 | algebraMap (MvPolynomial σ R) A (X i - C (point (σ := σ) ε i)) |
| 25 | |
| 26 | def ideal : Ideal A := |
| 27 | (AlgebraicGeometry.Resolution.Blowups.PolynomialTranslation.Construction.polynomialPointIdeal (point (σ := σ) ε)).map (algebraMap (MvPolynomial σ R) A) |
| 28 | |
| 29 | omit [IsScalarTower R (MvPolynomial σ R) A] [Algebra.Etale (MvPolynomial σ R) A] in |
| 30 | theorem ideal_eq_span : ideal (σ := σ) ε = Ideal.span (Set.range (parameter (σ := σ) ε)) := by |
| 31 | rw [ideal, AlgebraicGeometry.Resolution.Blowups.Etale.LocalCoordinates.Construction.polynomialPointIdeal_eq_span_coordinates, Ideal.map_span, ← Set.range_comp] |
| 32 | rfl |
| 33 | |
| 34 | omit [Algebra.Etale (MvPolynomial σ R) A] in |
| 35 | theorem parameter_eval (i : σ) : ε (parameter (σ := σ) ε i) = 0 := by |
| 36 | change ε (algebraMap (MvPolynomial σ R) A (X i - C (point (σ := σ) ε i))) = 0 |
| 37 | rw [map_sub, map_sub] |
| 38 | change point (σ := σ) ε i - ε (algebraMap (MvPolynomial σ R) A |
| 39 | (algebraMap R (MvPolynomial σ R) (point (σ := σ) ε i))) = 0 |
| 40 | rw [← IsScalarTower.algebraMap_apply, ε.commutes] |
| 41 | exact sub_self _ |
| 42 | |
| 43 | omit [Algebra.Etale (MvPolynomial σ R) A] in |
| 44 | theorem ideal_le_kernel : ideal (σ := σ) ε ≤ RingHom.ker ε.toRingHom := by |
| 45 | rw [ideal_eq_span] |
| 46 | apply Ideal.span_le.mpr |
| 47 | rintro _ ⟨i, rfl⟩ |
| 48 | exact parameter_eval ε i |
| 49 | |
| 50 | def evaluation (x : σ → R) : MvPolynomial σ R →ₐ[R] R where |
| 51 | toRingHom := eval x |
| 52 | commutes' r := by simp |
| 53 | |
| 54 | def polynomialQuotientEquiv (x : σ → R) : |
| 55 | (MvPolynomial σ R ⧸ AlgebraicGeometry.Resolution.Blowups.PolynomialTranslation.Construction.polynomialPointIdeal x) ≃ₐ[R] R := |
| 56 | Ideal.quotientKerAlgEquivOfSurjective |
| 57 | (f := evaluation x) (fun r => ⟨C r, by simp [evaluation]⟩) |
| 58 | |
| 59 | theorem quotient_etale : Algebra.Etale R (A ⧸ ideal (σ := σ) ε) := by |
| 60 | let I := AlgebraicGeometry.Resolution.Blowups.PolynomialTranslation.Construction.polynomialPointIdeal (point (σ := σ) ε) |
| 61 | let Q := MvPolynomial σ R ⧸ I |
| 62 | let : Algebra.Etale R Q := Algebra.Etale.of_equiv (polynomialQuotientEquiv (point (σ := σ) ε)).symm |
| 63 | let : Algebra Q (A ⧸ ideal (σ := σ) ε) := by |
| 64 | change Algebra (MvPolynomial σ R ⧸ I) (A ⧸ I.map (algebraMap (MvPolynomial σ R) A)) |
| 65 | infer_instance |
| 66 | let : Algebra.Etale Q (A ⧸ ideal (σ := σ) ε) := ConormalRank.quotient_etale I |
| 67 | let : IsScalarTower R Q (A ⧸ ideal (σ := σ) ε) := AlgebraicGeometry.Resolution.Blowups.Smooth.TransformedCoordinateHypersurface.Construction.extendedQuotient_scalarTower I |
| 68 | exact Algebra.Etale.comp R Q (A ⧸ ideal (σ := σ) ε) |
| 69 | |
| 70 | def quotientEvaluation : (A ⧸ ideal (σ := σ) ε) →ₐ[R] R := |
| 71 | Ideal.Quotient.liftₐ (ideal (σ := σ) ε) ε (ideal_le_kernel (σ := σ) ε) |
| 72 | |
| 73 | theorem exists_principal : |
| 74 | ∃ s : A, ε s = 1 ∧ ∀ x, ε x = 0 → s * x ∈ Ideal.span (Set.range (parameter (σ := σ) ε)) := by |
| 75 | let : Algebra.Etale R (A ⧸ ideal (σ := σ) ε) := quotient_etale (σ := σ) ε |
| 76 | obtain ⟨u, hu, hann⟩ := SectionKernel.exists_annihilator (quotientEvaluation (σ := σ) ε) |
| 77 | obtain ⟨s, hs⟩ := Ideal.Quotient.mk_surjective u |
| 78 | refine ⟨s, ?_, ?_⟩ |
| 79 | · have h := congrArg (quotientEvaluation (σ := σ) ε) hs |
| 80 | exact h.trans hu |
| 81 | · intro x hx |
| 82 | rw [← ideal_eq_span] |
| 83 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 84 | change Ideal.Quotient.mk (ideal (σ := σ) ε) s * Ideal.Quotient.mk (ideal (σ := σ) ε) x = 0 |
| 85 | rw [hs] |
| 86 | exact hann (Ideal.Quotient.mk (ideal (σ := σ) ε) x) hx |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateSectionKernel |