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.PrincipalResidue.SectionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.QuotientCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunction |
| 4 | |
| 5 | /-! # Principal Residue Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PrincipalResidueCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual projective negative resolution has the same principal |
| 12 | residue coefficient as the original parameter adjunction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.QuotientCoordinates.LocalAdjunction |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | ParameterNeighborhood.sectionAlgebra |
| 25 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R (c + g)) |
| 26 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 27 | (j : Fin (c + g + 1)) (B : ℕ) (hB : c + g + 1 ≤ B) |
| 28 | (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) (hU : IsAffineOpen U) |
| 29 | (i : Fin (c + g + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 30 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 31 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) s = LocalAdjunction.ideal X f U hU) |
| 32 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (List.ofFn s)) |
| 33 | (b : Module.Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) |
| 34 | |
| 35 | local notation "N" => OAI.AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1) |
| 36 | |
| 37 | def scalarFrame : Γ(N, U) ≃ₗ[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)] Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) := |
| 38 | Affine.LineFrameNormalization.PrincipalOrientedResidue.sectionFrame U hU N |
| 39 | (ParameterAdjunction.parameterFrame j U hU i hUi b) |
| 40 | |
| 41 | def residueSections := by |
| 42 | letI : (N).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 43 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (c + g + 1)) |
| 44 | letI (k : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N (LocalAdjunction.source X f j B)).X k).IsQuasicoherent := |
| 45 | LocalDualLine.term_quasicoherent f.left j B (c + g + 1) hB k |
| 46 | letI (k : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X k)) := |
| 47 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B k |
| 48 | exact PrincipalResidue.SurvivorSection.sectionMap U hU N (scalarFrame j U hU i hUi b) |
| 49 | (LocalAdjunction.source X f j B) f.left (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) |
| 50 | s hs hreg |
| 51 | |
| 52 | def residueMap := by |
| 53 | letI : (N).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 54 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (c + g + 1)) |
| 55 | letI (k : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N (LocalAdjunction.source X f j B)).X k).IsQuasicoherent := |
| 56 | LocalDualLine.term_quasicoherent f.left j B (c + g + 1) hB k |
| 57 | letI (k : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X k)) := |
| 58 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B k |
| 59 | exact PrincipalResidue.SurvivorData.map U hU N (scalarFrame j U hU i hUi b) |
| 60 | (LocalAdjunction.source X f j B) f.left (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) |
| 61 | s hs hreg |
| 62 | |
| 63 | omit [Smooth X.hom] in |
| 64 | theorem residueSections_eq : residueSections X f j B hB U hU i hUi s hs hreg b = |
| 65 | ParameterAdjunction.coefficient X f j B hB U hU i hUi s hs hreg b ≫ |
| 66 | (Closed.QuotientSectionNormalization.iso f.left U hU).inv := by |
| 67 | let : (N).IsQuasicoherent := AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 68 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (c + g + 1)) |
| 69 | let (k : ℕ) : ((Affine.LinearResolutionPurity.internalComplex N (LocalAdjunction.source X f j B)).X k).IsQuasicoherent := |
| 70 | LocalDualLine.term_quasicoherent f.left j B (c + g + 1) hB k |
| 71 | let (k : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X k)) := |
| 72 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B k |
| 73 | have h := PrincipalResidue.SectionCoordinates.Survivor.sectionMap_frame U hU N (LocalAdjunction.source X f j B) f.left |
| 74 | (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) s hs hreg |
| 75 | (ParameterAdjunction.parameterFrame j U hU i hUi b) |
| 76 | rw [← QuotientCoordinates.LocalAdjunction.quotientSectionIso_eq_chart X f U hU] at h |
| 77 | exact h |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PrincipalResidueCoordinates |