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.Projective.ParameterGlobalSymbol |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PrincipalResidueCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.DifferentialSymbol |
| 4 | |
| 5 | /-! # Residue Local Adjunction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueLocalAdjunction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original global projective adjunction on an affine parameter |
| 12 | chart is the original residue coefficient times its differential symbol. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial _root_.Module |
| 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 |
| 22 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | ParameterNeighborhood.sectionAlgebra ParameterChart.coordinateOrder |
| 25 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R (c + g)) |
| 26 | [IsClosedImmersion f.left] [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g 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 | (bI : Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 34 | (hI : ∀ k, bI k = (LocalAdjunction.ideal X f U hU).toCotangent |
| 35 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (LocalAdjunction.ideal X f U hU) s hs k)) |
| 36 | (bQ : Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 37 | (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 38 | (ht : ∀ k, bQ k = KaehlerDifferential.D R (LocalAdjunction.quotient X f U hU) |
| 39 | (Ideal.Quotient.mk (LocalAdjunction.ideal X f U hU) (t k))) |
| 40 | (b : Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) |
| 41 | (hb : (b : Fin (c + g) → Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) = |
| 42 | Fin.append (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (s k)) |
| 43 | (fun k => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (t k))) |
| 44 | (τ : Type u) [Fintype τ] |
| 45 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 46 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 47 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 48 | |
| 49 | def symbolSections := Principal.PushforwardSectionCoordinates.sectionsMap f.left U |
| 50 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) |
| 51 | (Principal.DifferentialSymbol.generator R X (IntrinsicOverlap.Intrinsic.model R (c + g)) f U g |
| 52 | (fun k => f.left.app U (t k))) |
| 53 | |
| 54 | include hI ht hb τ in |
| 55 | theorem comparison : |
| 56 | (Affine.ModuleExactSections.sections U).map |
| 57 | (ParameterGlobalCoordinates.iso X f (Nat.add_sub_cancel c g).symm |
| 58 | j B hB (Nat.le_add_left g c)).hom = |
| 59 | PrincipalResidueCoordinates.residueSections X f j B hB U hU i hUi s hs hreg b ≫ |
| 60 | symbolSections X f U t := by |
| 61 | apply ModuleCat.hom_ext |
| 62 | apply LinearMap.ext |
| 63 | intro x |
| 64 | have hglobal := ParameterGlobalSymbol.unit_symbol X f j B hB U hU i hUi |
| 65 | s hs hreg bI hI bQ t ht b hb τ x |
| 66 | have hsymbol := Closed.DifferentialSymbol.sections_quotient R X (IntrinsicOverlap.Intrinsic.model R (c + g)) f U hU g |
| 67 | (fun k => f.left.app U (t k)) |
| 68 | (ParameterAdjunction.coefficient X f j B hB U hU i hUi s hs hreg b x) |
| 69 | have hresidue := ConcreteCategory.congr_hom |
| 70 | (PrincipalResidueCoordinates.residueSections_eq X f j B hB U hU i hUi s hs hreg b) x |
| 71 | change _ = (symbolSections X f U t) |
| 72 | (PrincipalResidueCoordinates.residueSections X f j B hB U hU i hUi s hs hreg b x) |
| 73 | rw [hresidue] |
| 74 | exact hglobal.trans hsymbol.symm |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ResidueLocalAdjunction |