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.Smooth.RegularSequenceLength |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RegularSubopen |
| 3 | |
| 4 | /-! # Regular Subopen Length -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RegularSubopenLength |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The regular equations on actual affine subopens retain the |
| 11 | codimension computed at the original point. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} (I : X.IdealSheafData) (U : X.Opens) (hU : IsAffineOpen U) |
| 20 | {k : Type u} [CommRing k] [Algebra k Γ(X, U)] [IsNoetherianRing Γ(X, U)] |
| 21 | [Algebra.Smooth k Γ(X, U)] [Algebra.Smooth k (Γ(X, U) ⧸ I.ideal ⟨U, hU⟩)] |
| 22 | |
| 23 | theorem exists_regular_subopen (p : PrimeSpectrum (Γ(X, U) ⧸ I.ideal ⟨U, hU⟩)) : |
| 24 | ∃ (V : X.Opens) (hV : IsAffineOpen V), V ≤ U ∧ |
| 25 | hU.fromSpec (p.comap (Ideal.Quotient.mk (I.ideal ⟨U, hU⟩))) ∈ V ∧ |
| 26 | ∃ rs : List Γ(X, V), I.ideal ⟨V, hV⟩ = Ideal.ofList rs ∧ |
| 27 | RingTheory.Sequence.IsRegular Γ(X, V) rs ∧ |
| 28 | rs.length = Module.rankAtStalk Ω[Γ(X, U)⁄k] |
| 29 | (p.comap (Ideal.Quotient.mk (I.ideal ⟨U, hU⟩))) - |
| 30 | Module.rankAtStalk Ω[Γ(X, U) ⧸ I.ideal ⟨U, hU⟩⁄k] p := by |
| 31 | obtain ⟨S, hSk, hSs, φ, hφ, q, hq, r, z, D, hD, hI, hr, hlen⟩ := |
| 32 | RegularSequenceLength.exists_pointed_open_regular_sequence |
| 33 | (k := k) (I.ideal ⟨U, hU⟩) p |
| 34 | let := hSk |
| 35 | let := hSs |
| 36 | let := hφ |
| 37 | let V := Affine.ChartRefinement.openSet U hU φ.toRingHom |
| 38 | let hV : IsAffineOpen V := Affine.ChartRefinement.affine U hU φ.toRingHom |
| 39 | let e : Γ(X, V) ≃+* S := |
| 40 | (Affine.ChartRefinement.sectionsIso U hU φ.toRingHom).commRingCatIsoToRingEquiv |
| 41 | refine ⟨V, hV, Affine.ChartRefinement.le U hU φ.toRingHom, ?_, |
| 42 | (List.ofFn z).map e.symm, ?_, |
| 43 | RegularSubopen.regular_map e.symm (List.ofFn z) hr, ?_⟩ |
| 44 | · refine ⟨q, trivial, ?_⟩ |
| 45 | change hU.fromSpec ((Spec.map (CommRingCat.ofHom φ.toRingHom)) q) = _ |
| 46 | exact congrArg hU.fromSpec hq |
| 47 | · have he : (I.ideal ⟨V, hV⟩).map e.toRingHom = Ideal.ofList (List.ofFn z) := |
| 48 | (Affine.ChartRefinement.ideal U hU φ.toRingHom I).trans hI |
| 49 | have hb := congrArg (fun J : Ideal S => J.map e.symm.toRingHom) he |
| 50 | simpa [Ideal.map_map] using hb |
| 51 | · simpa only [List.length_map, List.length_ofFn] using hlen |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.RegularSubopenLength |