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.FiniteEtale.SectionClassData |
| 2 | |
| 3 | /-! # Section Class -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionClass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite coefficient class has trace one under the original |
| 10 | proper source trace, with the original target projective embedding. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.TopTracePairing OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTwistResidueNaturality |
| 14 | |
| 15 | private theorem replace_unit {A B : Type*} [One B] (F : A → B) |
| 16 | {a b : A} (h : a = b) (hF : F a = 1) : F b = 1 := h ▸ hF |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | universe u |
| 23 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] |
| 24 | [IsArtinianRing R] [IsLocalRing R] {n : ℕ} |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | |
| 27 | variable (X Y : Over (Spec (CommRingCat.of R))) [Nonempty X.left] (f : Y ⟶ X) |
| 28 | [IsFinite f.left] [Etale f.left] |
| 29 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R (n + 1)) [IsClosedImmersion i.left] |
| 30 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] |
| 31 | [IsProper Y.hom] [Smooth Y.hom] [GeometricallyConnected Y.hom] |
| 32 | (s : Spec (CommRingCat.of R) ⟶ Y.left) (hs : s ≫ Y.hom = 𝟙 _) |
| 33 | (B : ℕ) (hB : n + 2 ≤ B) (g : ℕ) [SmoothOfRelativeDimension g X.hom] |
| 34 | |
| 35 | attribute [local instance] ProperTraceBase.composite_dimension |
| 36 | |
| 37 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.StructurePullbackUnit.coefficients f.left i.left |
| 38 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.point i.left (s ≫ f.left) |
| 39 | local notation "hn" => Fintype.card_fin (n + 2) |
| 40 | local notation "π" => OAI.AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := R) (σ := Fin (n + 2)) |
| 41 | local notation "hsec" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionUnit.section_over X Y f i s hs |
| 42 | local notation "eM" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionUnit.coefficientUnit X Y f i s hs |
| 43 | local notation "eP" => OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.SectionClass.pointUnitIso i.left (s ≫ f.left) hsec |
| 44 | local notation "q" => OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.SectionCoefficientUnit.sheafMap s f.left i.left |
| 45 | local notation "hPure" => OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.MapCoefficientPurity.exactAt f.left i.left B n hn hB g |
| 46 | local notation "hdeg" => OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.ProperTraceBase.degree X i g |
| 47 | |
| 48 | local instance coefficient_qc' : (M).IsQuasicoherent := |
| 49 | Finite.MapPureTrace.coefficients_quasicoherent f.left i.left |
| 50 | |
| 51 | local instance coefficient_finite' : (M).IsFiniteType := |
| 52 | Finite.MapPureTrace.coefficients_finiteType f.left i.left |
| 53 | |
| 54 | omit [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] in |
| 55 | theorem coefficient_trace_one : |
| 56 | ProperTraceBase.coefficientTrace X Y f i B hB g |
| 57 | (SectionClassData.pureClass X Y f i s hs B hB g) = 1 := by |
| 58 | let : Subsingleton (Spec (.of R)) := Ring.KrullDimLE.subsingleton_primeSpectrum R |
| 59 | let : IsClosedImmersion (s ≫ f.left) := |
| 60 | isClosedImmersion_of_comp_eq_id (i.left ≫ π) (s ≫ f.left) hsec |
| 61 | let : (P).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent (s ≫ f.left) i.left |
| 62 | let : (P).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType (s ≫ f.left) i.left |
| 63 | have h := Projective.UnitPureClass.trace_one M P B n hn hB q eM eP |
| 64 | (SectionUnit.unit_preserved X Y f i s hs) |
| 65 | (n + 1 - g) hPure g hdeg |
| 66 | exact replace_unit |
| 67 | (fun v => SerreUnitTrace.trace (Projective.TopTracePairing.coefficientRing R) |
| 68 | (ProperTraceBase.coefficientPairing X Y f i B hB g) v |
| 69 | (SectionClassData.pureClass X Y f i s hs B hB g)) |
| 70 | (SectionUnit.coefficientUnit_one X Y f i s hs) h |
| 71 | |
| 72 | omit [Smooth X.hom] [GeometricallyConnected X.hom] in |
| 73 | theorem trace_one : |
| 74 | ProperTraceBase.trace X Y f i B hB g |
| 75 | (SectionClassData.sectionClass X Y f i s hs B hB g) = 1 := by |
| 76 | let H := ProjectiveRefinement.Serre.cohomologyFunctor (R := R) (σ := Fin (n + 2)) g |
| 77 | let e := ProjectiveFinite.EtaleAdjunction.iso X Y f i g |
| 78 | (NegativeTwistResidueNaturality.topChart.{u} (n + 1) hn) B hB (ProperTraceBase.dimension_le X i g) |
| 79 | let x := SectionClassData.pureClass X Y f i s hs B hB g |
| 80 | have hx := ConcreteCategory.congr_hom (H.mapIso e).hom_inv_id x |
| 81 | change H.map e.inv (H.map e.hom x) = x at hx |
| 82 | change ProperTraceBase.coefficientTrace X Y f i B hB g |
| 83 | (H.map e.inv (H.map e.hom x)) = 1 |
| 84 | rw [hx] |
| 85 | exact coefficient_trace_one X Y f i s hs B hB g |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.SectionClass |