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.Intrinsic.PointParameterGeometry |
| 2 | |
| 3 | /-! # Point Parameter Source -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterSource |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The quotient parameters generate the actual section ideal on |
| 10 | the smooth source as well as the concatenated ambient point ideal. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.SmoothClosedSections |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem quotient_generators {A B R : Type*} [CommRing A] [CommRing B] [CommRing R] |
| 19 | (f : A →+* B) (hf : Function.Surjective f) (ε : B →+* R) |
| 20 | {c m : ℕ} (s : Fin c → A) (t : Fin m → A) |
| 21 | (hs : Ideal.span (Set.range s) = RingHom.ker f) |
| 22 | (hst : Ideal.span (Set.range (Fin.append s t)) = RingHom.ker (ε.comp f)) : |
| 23 | Ideal.span (Set.range (fun j => f (t j))) = RingHom.ker ε := by |
| 24 | have hk : (RingHom.ker f).map f = ⊥ := by |
| 25 | apply le_antisymm _ bot_le |
| 26 | rw [Ideal.map_le_iff_le_comap] |
| 27 | exact le_rfl |
| 28 | have h := congrArg (Ideal.map f) hst |
| 29 | rw [CompositeSectionKernel.range_append, Ideal.span_union, Ideal.map_sup, hs, hk, |
| 30 | bot_sup_eq, Ideal.map_span, ← Set.range_comp, ← RingHom.comap_ker, |
| 31 | Ideal.map_comap_of_surjective f hf] at h |
| 32 | exact h |
| 33 | |
| 34 | universe u |
| 35 | variable (R : Type u) [CommRing R] |
| 36 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) [IsClosedImmersion f.left] |
| 37 | (s : Spec (CommRingCat.of R) ⟶ X.left) (hs : s ≫ X.hom = 𝟙 _) |
| 38 | (U : Y.left.Opens) (hU : IsAffineOpen U) (hsU : ⊤ ≤ s ⁻¹ᵁ (f.left ⁻¹ᵁ U)) |
| 39 | (σ : Type u) [Fintype σ] [Algebra (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 40 | [IsScalarTower R (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 41 | [Algebra.Etale (MvPolynomial σ R) (SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 42 | {c m : ℕ} (a : Fin c → Γ(Y.left, U)) (e : Fin m ≃ σ) |
| 43 | (ha : Ideal.span (Set.range a) = f.left.ker.ideal ⟨U, hU⟩) |
| 44 | (r : Γ(Y.left, U)) |
| 45 | (D : PointParameterNeighborhood.Data R X Y f s hs U hsU σ a e r) |
| 46 | |
| 47 | include ha in |
| 48 | omit [Fintype σ] [IsScalarTower R (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] [Algebra.Etale (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] in |
| 49 | theorem kernel : |
| 50 | Ideal.span (Set.range (PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r)) = |
| 51 | RingHom.ker (SectionEvaluation.evaluation R X s hs |
| 52 | (f.left ⁻¹ᵁ Y.left.basicOpen r) D.contains).toRingHom := by |
| 53 | change (Ideal.span (Set.range (fun j => |
| 54 | PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r j)) : |
| 55 | Ideal Γ(X.left, f.left ⁻¹ᵁ Y.left.basicOpen r)) = _ |
| 56 | have hnormal : Ideal.span (Set.range (IdealSheafPrincipalEquations.sequence U r a)) = |
| 57 | RingHom.ker (f.left.app (Y.left.basicOpen r)).hom := by |
| 58 | have h := IdealSheafPrincipalEquations.generates f.left.ker U hU r a ha |
| 59 | simpa only [Scheme.Hom.ker_apply] using h |
| 60 | have h := quotient_generators (f.left.app (Y.left.basicOpen r)).hom |
| 61 | (f.left.app_surjective _ (hU.basicOpen r)) |
| 62 | (SectionEvaluation.evaluation R X s hs |
| 63 | (f.left ⁻¹ᵁ Y.left.basicOpen r) D.contains).toRingHom |
| 64 | (IdealSheafPrincipalEquations.sequence U r a) D.parameter hnormal D.kernel |
| 65 | simpa only [D.lift] using h |
| 66 | |
| 67 | include ha D in |
| 68 | omit [Fintype σ] [IsScalarTower R (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] [Algebra.Etale (MvPolynomial σ R) ↑(SmoothClosedSections.ring R X (Over.Hom.left f ⁻¹ᵁ U))] in |
| 69 | theorem ideal [IsClosedImmersion s] : |
| 70 | Ideal.span (Set.range (PointParameterNeighborhood.quotientParameter R X Y f s hs U hsU σ e r)) = |
| 71 | s.ker.ideal ⟨f.left ⁻¹ᵁ Y.left.basicOpen r, (hU.basicOpen r).preimage f.left⟩ := |
| 72 | (PointParameterSource.kernel R X Y f s hs U hU hsU σ a e ha r D).trans |
| 73 | (SectionEvaluation.kernel R X s hs (f.left ⁻¹ᵁ Y.left.basicOpen r) |
| 74 | D.contains ((hU.basicOpen r).preimage f.left)) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.PointParameterSource |