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.ParameterChart |
| 2 | |
| 3 | /-! # Parameter Global Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterGlobalCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The original global adjunction in a prescribed genuine parameter |
| 10 | chart, retaining its exact cohomological degree transport. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 20 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n c g : ℕ} |
| 21 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 22 | ParameterChart.ambientAlgebra ParameterChart.coordinateOrder |
| 23 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 24 | [IsClosedImmersion f.left] [Smooth X.hom] [IsProper X.hom] [SmoothOfRelativeDimension g X.hom] |
| 25 | (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) (hc : c = n - g) |
| 26 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 27 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U) s = LocalAdjunction.ideal X f U hU) |
| 28 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R n, U) (List.ofFn s)) |
| 29 | (bI : Module.Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 30 | (hI : ∀ a, bI a = (LocalAdjunction.ideal X f U hU).toCotangent |
| 31 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R n, U) (LocalAdjunction.ideal X f U hU) s hs a)) |
| 32 | (bQ : Module.Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 33 | (τ : Type u) [Fintype τ] |
| 34 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 35 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 36 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 37 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) |
| 38 | (i : Fin (n + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 39 | |
| 40 | def iso : (LocalAdjunction.dual X f j B).homology c ≅ AdjunctionGluing.targetSheaf X f g := |
| 41 | eqToIso (congrArg (fun d => (LocalAdjunction.dual X f j B).homology d) hc) ≪≫ |
| 42 | AdjunctionGlobal.iso X f g j B hB hg |
| 43 | |
| 44 | include hI in |
| 45 | theorem sections_hom : |
| 46 | (Affine.ModuleExactSections.sections U).map (iso X f hc j B hB hg).hom = |
| 47 | (LocalAdjunction.sectionIso X f j B hB U hU i hUi |
| 48 | ((congrArg (fun d => d + g) hc).trans (Nat.sub_add_cancel hg)) s hs hreg bI bQ τ).hom := by |
| 49 | have hd := AdjunctionGlobalCoordinates.data_sections X f g j B hB hg U hU |
| 50 | (ParameterChart.data X f U hU hc s hs hreg bI hI bQ τ) i hUi |
| 51 | have hl := ParameterChart.data_sectionIso X f U hU hc s hs hreg bI hI bQ τ |
| 52 | j B hB hg i hUi |
| 53 | dsimp only [iso, Iso.trans_hom] |
| 54 | rw [Functor.map_comp, hd] |
| 55 | exact congrArg Iso.hom hl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterGlobalCoordinates |