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.RegularSubopenLength |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RingTransportedConormalBasis |
| 3 | |
| 4 | /-! # Conormal Subopen -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalSubopen |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A smooth closed center admits actual affine subopens with regular |
| 11 | equations and the matching conormal basis. The basis is transported |
| 12 | from the genuine pointed smooth frame. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {X : Scheme.{u}} (I : X.IdealSheafData) (U : X.Opens) (hU : IsAffineOpen U) |
| 22 | {k : Type u} [CommRing k] [Algebra k Γ(X, U)] [IsNoetherianRing Γ(X, U)] |
| 23 | [Algebra.Smooth k Γ(X, U)] [Algebra.Smooth k (Γ(X, U) ⧸ I.ideal ⟨U, hU⟩)] |
| 24 | |
| 25 | theorem exists_subopen (p : PrimeSpectrum (Γ(X, U) ⧸ I.ideal ⟨U, hU⟩)) : |
| 26 | ∃ (V : X.Opens) (hV : IsAffineOpen V), V ≤ U ∧ |
| 27 | hU.fromSpec (p.comap (Ideal.Quotient.mk (I.ideal ⟨U, hU⟩))) ∈ V ∧ |
| 28 | ∃ (c : ℕ) (s : Fin c → Γ(X, V)) |
| 29 | (hs : Koszul.OrientedTopCohomology.ideal Γ(X, V) s = I.ideal ⟨V, hV⟩), |
| 30 | RingTheory.Sequence.IsRegular Γ(X, V) (List.ofFn s) ∧ |
| 31 | ∃ b : Module.Basis (Fin c) (Γ(X, V) ⧸ I.ideal ⟨V, hV⟩) (I.ideal ⟨V, hV⟩).Cotangent, |
| 32 | (∀ j, b j = (I.ideal ⟨V, hV⟩).toCotangent |
| 33 | (ConormalKoszulPurity.conormalVectors Γ(X, V) (I.ideal ⟨V, hV⟩) s hs j)) ∧ |
| 34 | c = Module.rankAtStalk Ω[Γ(X, U)⁄k] |
| 35 | (p.comap (Ideal.Quotient.mk (I.ideal ⟨U, hU⟩))) - |
| 36 | Module.rankAtStalk Ω[Γ(X, U) ⧸ I.ideal ⟨U, hU⟩⁄k] p := by |
| 37 | obtain ⟨S, hSk, hSs, φ, hφ, q, hq, c, z, D, hD, hI, hreg, hlen⟩ := |
| 38 | RegularSequenceLength.exists_pointed_open_regular_sequence |
| 39 | (k := k) (I.ideal ⟨U, hU⟩) p |
| 40 | let := hSk |
| 41 | let := hSs |
| 42 | let := hφ |
| 43 | let V := Affine.ChartRefinement.openSet U hU φ.toRingHom |
| 44 | let hV : IsAffineOpen V := Affine.ChartRefinement.affine U hU φ.toRingHom |
| 45 | let e : Γ(X, V) ≃+* S := |
| 46 | (Affine.ChartRefinement.sectionsIso U hU φ.toRingHom).commRingCatIsoToRingEquiv |
| 47 | have hIe : (I.ideal ⟨V, hV⟩).map e.toRingHom = Ideal.span (Set.range z) := by |
| 48 | change (I.ideal ⟨V, hV⟩).map |
| 49 | (Affine.ChartRefinement.sectionsIso U hU φ.toRingHom).hom.hom = _ |
| 50 | simpa only [RegularSequence.CoordinateRegularity.ofList_ofFn] using |
| 51 | (Affine.ChartRefinement.ideal U hU φ.toRingHom I).trans hI |
| 52 | let s : Fin c → Γ(X, V) := fun j => e.symm (z j) |
| 53 | have hs : Koszul.OrientedTopCohomology.ideal Γ(X, V) s = I.ideal ⟨V, hV⟩ := |
| 54 | RingTransportedConormalBasis.generates e (I.ideal ⟨V, hV⟩) z hIe |
| 55 | refine ⟨V, hV, Affine.ChartRefinement.le U hU φ.toRingHom, ?_, c, s, hs, ?_, |
| 56 | RingTransportedConormalBasis.basis e (I.ideal ⟨V, hV⟩) z D hD hIe, ?_, hlen⟩ |
| 57 | · refine ⟨q, trivial, ?_⟩ |
| 58 | change hU.fromSpec ((Spec.map (CommRingCat.ofHom φ.toRingHom)) q) = _ |
| 59 | exact congrArg hU.fromSpec hq |
| 60 | · simpa only [s, List.map_ofFn, Function.comp_def] using |
| 61 | RegularSubopen.regular_map e.symm (List.ofFn z) hreg |
| 62 | · intro j |
| 63 | rw [RingTransportedConormalBasis.basis_apply] |
| 64 | rfl |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.ConormalSubopen |