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.LocalAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ParameterAdjunctionCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAmbientCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.ClosedFormSymbols |
| 5 | |
| 6 | /-! # Parameter Adjunction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original local projective adjunction evaluated in the prescribed |
| 13 | parameter frame. Its coefficient is the original oriented affine purity |
| 14 | map for the same negative-twist resolution. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite _root_.MvPolynomial _root_.Module |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.LocalAdjunction |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | universe u |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {c g : ℕ} |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | ParameterNeighborhood.sectionAlgebra |
| 27 | |
| 28 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R (c + g)) |
| 29 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 30 | (j : Fin (c + g + 1)) (B : ℕ) (hB : c + g + 1 ≤ B) |
| 31 | (U : (IntrinsicOverlap.Intrinsic.space R (c + g)).Opens) (hU : IsAffineOpen U) |
| 32 | (i : Fin (c + g + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 33 | (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 34 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) s = LocalAdjunction.ideal X f U hU) |
| 35 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (List.ofFn s)) |
| 36 | (bI : Basis (Fin c) (LocalAdjunction.quotient X f U hU) (LocalAdjunction.ideal X f U hU).Cotangent) |
| 37 | (hI : ∀ q, bI q = (LocalAdjunction.ideal X f U hU).toCotangent |
| 38 | (ConormalKoszulPurity.conormalVectors Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) |
| 39 | (LocalAdjunction.ideal X f U hU) s hs q)) |
| 40 | (bQ : Basis (Fin g) (LocalAdjunction.quotient X f U hU) Ω[LocalAdjunction.quotient X f U hU⁄R]) |
| 41 | (t : Fin g → Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)) |
| 42 | (ht : ∀ q, bQ q = KaehlerDifferential.D R (LocalAdjunction.quotient X f U hU) |
| 43 | (Ideal.Quotient.mk (LocalAdjunction.ideal X f U hU) (t q))) |
| 44 | (b : Basis (Fin (c + g)) Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) |
| 45 | (hb : (b : Fin (c + g) → Ω[Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U)⁄R]) = |
| 46 | Fin.append (fun q => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (s q)) |
| 47 | (fun q => KaehlerDifferential.D R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (t q))) |
| 48 | |
| 49 | abbrev parameterFrame := ParameterLineAdjunction.frame b |
| 50 | ((AffineOpen.InternalHom.sections U hU).obj |
| 51 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1))) |
| 52 | (AmbientAdjunction.chartLineExterior i U hU hUi j) |
| 53 | |
| 54 | def coefficient : |
| 55 | (Affine.ModuleExactSections.sections U).obj ((LocalAdjunction.dual X f j B).homology c) ⟶ |
| 56 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (LocalAdjunction.quotient X f U hU) := by |
| 57 | let (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex |
| 58 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1)) (LocalAdjunction.source X f j B)).X q).IsQuasicoherent := |
| 59 | LocalDualLine.term_quasicoherent f.left j B (c + g + 1) hB q |
| 60 | let (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X q)) := |
| 61 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B q |
| 62 | exact (Affine.OrientedPurity.iso U hU |
| 63 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1)) (LocalAdjunction.source X f j B) |
| 64 | (LocalAdjunction.structureImage X f) (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) |
| 65 | (LocalAdjunction.ideal X f U hU) (LocalAdjunction.quotientSectionIso X f U hU) s hs hreg |
| 66 | (parameterFrame j U hU i hUi b)).hom |
| 67 | |
| 68 | variable (τ : Type u) [LinearOrder τ] |
| 69 | [Algebra (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 70 | [IsScalarTower R (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 71 | [Algebra.Etale (MvPolynomial τ R) (Intrinsic.SmoothClosedSections.ring R X (f.left ⁻¹ᵁ U))] |
| 72 | |
| 73 | def targetMap : |
| 74 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) (⋀[LocalAdjunction.quotient X f U hU]^g Ω[LocalAdjunction.quotient X f U hU⁄R]) ⟶ |
| 75 | (Affine.ModuleExactSections.sections U).obj |
| 76 | (Intrinsic.ClosedFormSections.directImage R X (IntrinsicOverlap.Intrinsic.model R (c + g)) f g) := |
| 77 | (Intrinsic.ClosedFormSections.iso R X (IntrinsicOverlap.Intrinsic.model R (c + g)) f U hU τ g).hom |
| 78 | |
| 79 | abbrev affine_symbol (x : (Affine.ModuleExactSections.sections U).obj ((LocalAdjunction.dual X f j B).homology c)) := |
| 80 | letI hterms : ∀ q, ((Affine.LinearResolutionPurity.internalComplex |
| 81 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1)) (LocalAdjunction.source X f j B)).X q).IsQuasicoherent := |
| 82 | fun q => LocalDualLine.term_quasicoherent f.left j B (c + g + 1) hB q |
| 83 | letI hprojective : ∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X q)) := |
| 84 | fun q => Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B q |
| 85 | letI : Smooth (IntrinsicOverlap.Intrinsic.model R (c + g)).hom := SpaceSmooth.smooth |
| 86 | letI : Algebra.Smooth R Γ(IntrinsicOverlap.Intrinsic.space R (c + g), U) := |
| 87 | Intrinsic.SmoothClosedSections.smooth_sections R (IntrinsicOverlap.Intrinsic.model R (c + g)) U hU |
| 88 | letI : Algebra.Smooth R (LocalAdjunction.quotient X f U hU) := |
| 89 | Intrinsic.SmoothClosedSections.smooth_quotient R X (IntrinsicOverlap.Intrinsic.model R (c + g)) f U hU |
| 90 | let ha : LocalAdjunction.ambientIso X f j U hU i hUi (rfl : c + g = c + g) = |
| 91 | ParameterLineAdjunction.ambient (LocalAdjunction.ideal X f U hU) b |
| 92 | ((AffineOpen.InternalHom.sections U hU).obj |
| 93 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1))) |
| 94 | (AmbientAdjunction.chartLineExterior i U hU hUi j) := by |
| 95 | calc |
| 96 | _ = AmbientAdjunction.ambientIso i U hU hUi j (LocalAdjunction.ideal X f U hU) := by |
| 97 | ext a |
| 98 | rfl |
| 99 | _ = _ := ParameterAmbientCoordinates.ambient_eq i U hU hUi j (LocalAdjunction.ideal X f U hU) b |
| 100 | Affine.ParameterAdjunctionCoordinates.symbol_with_ambient U hU |
| 101 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (c + g + 1)) (LocalAdjunction.source X f j B) |
| 102 | (LocalAdjunction.structureImage X f) (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) |
| 103 | (LocalAdjunction.ideal X f U hU) (LocalAdjunction.quotientSectionIso X f U hU) |
| 104 | (ClosedImmersionPurity.targetTrivialization j (c + g + 1) U hU i hUi) |
| 105 | s hs hreg bI hI bQ t ht b hb |
| 106 | (AmbientAdjunction.chartLineExterior i U hU hUi j) |
| 107 | (LocalAdjunction.ambientIso X f j U hU i hUi rfl) ha x |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterAdjunction |