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.AffinePrincipal.OrientedPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FrameAdjunctionEvaluation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.ProjectiveResolutionFree |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.QuotientNormalization |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.LineFrame |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.IdealSheafPrincipalEquations |
| 7 | |
| 8 | /-! # Oriented Purity Restriction -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.OrientedPurityRestriction |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The scalar purity coordinate of the original projective resolution |
| 15 | restricts by the actual closed-immersion quotient map. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 18 | |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FrameAdjunctionEvaluation |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | set_option backward.defeqAttrib.useBackward true |
| 25 | |
| 26 | attribute [local irreducible] Affine.OrientedPurity.iso |
| 27 | |
| 28 | universe u |
| 29 | |
| 30 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 31 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 32 | |
| 33 | variable (X : Over (Spec (CommRingCat.of R))) (f : X ⟶ IntrinsicOverlap.Intrinsic.model R n) |
| 34 | [IsClosedImmersion f.left] [Smooth X.hom] |
| 35 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) |
| 36 | (U : (IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 37 | (i : Fin (n + 1)) (hUi : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) i) |
| 38 | (r : Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 39 | |
| 40 | local instance target_quasicoherent : |
| 41 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)).IsQuasicoherent := |
| 42 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 43 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (n + 1)) |
| 44 | |
| 45 | omit [IsNoetherianRing R] [IsClosedImmersion (Over.Hom.left f)] [Smooth X.hom] in |
| 46 | theorem ideal_le : LocalAdjunction.ideal X f U hU ≤ |
| 47 | (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)).comap |
| 48 | (algebraMap Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)) := |
| 49 | f.left.ker.ideal_le_comap_ideal |
| 50 | (U := ⟨AffinePrincipal.Sections.openSubset U r, hU.basicOpen r⟩) (V := ⟨U, hU⟩) ((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r) |
| 51 | |
| 52 | variable {c : ℕ} (s : Fin c → Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 53 | (hs : Koszul.OrientedTopCohomology.ideal Γ(IntrinsicOverlap.Intrinsic.space R n, U) s = LocalAdjunction.ideal X f U hU) |
| 54 | (hreg : RingTheory.Sequence.IsWeaklyRegular Γ(IntrinsicOverlap.Intrinsic.space R n, U) (List.ofFn s)) |
| 55 | (e : (AffineOpen.InternalHom.sections U hU).obj (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) ≅ |
| 56 | ModuleCat.of Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, U)) |
| 57 | |
| 58 | omit [Smooth X.hom] in |
| 59 | theorem restriction (x : Γ((LocalAdjunction.dual X f j B).homology c, U)) : |
| 60 | (FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 61 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) |
| 62 | (IdealSheafPrincipalEquations.sequence U r s) |
| 63 | (IdealSheafPrincipalEquations.generates f.left.ker U hU r s hs) |
| 64 | (IdealSheafPrincipalEquations.weaklyRegular U hU r s hreg) |
| 65 | (AffinePrincipal.LineFrame.targetFrame U hU r |
| 66 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) e)).hom |
| 67 | (((LocalAdjunction.dual X f j B).homology c).presheaf.map (AffinePrincipal.Sections.inclusion U r).op x) = |
| 68 | Ideal.quotientMap (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) |
| 69 | (algebraMap Γ(IntrinsicOverlap.Intrinsic.space R n, U) Γ(IntrinsicOverlap.Intrinsic.space R n, AffinePrincipal.Sections.openSubset U r)) (ideal_le X f U hU r) |
| 70 | ((FrameAdjunctionEvaluation.orientedIsoInFrame X f j B hB U hU i hUi s hs hreg e).hom x) := by |
| 71 | let (q : ℕ) : Module.Free Γ(IntrinsicOverlap.Intrinsic.space R n, U) ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X q)) := |
| 72 | Affine.ProjectiveResolutionFree.term_free U hU i hUi (LocalAdjunction.structureImage X f) j B q |
| 73 | let (q : ℕ) : Module.Finite Γ(IntrinsicOverlap.Intrinsic.space R n, U) ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X q)) := |
| 74 | Affine.ProjectiveResolutionFree.term_finite U hU i hUi (LocalAdjunction.structureImage X f) j B q |
| 75 | let (q : ℕ) : Projective ((AffineOpen.InternalHom.sections U hU).obj ((LocalAdjunction.source X f j B).X q)) := |
| 76 | Affine.ProjectiveResolutionTerms.term_projective U hU i hUi (LocalAdjunction.structureImage X f) j B q |
| 77 | let (q : ℕ) : Projective |
| 78 | ((AffineOpen.InternalHom.sections (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)).obj ((LocalAdjunction.source X f j B).X q)) := |
| 79 | Affine.ProjectiveResolutionTerms.term_projective (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r) i |
| 80 | (((IntrinsicOverlap.Intrinsic.space R n).basicOpen_le r).trans hUi) (LocalAdjunction.structureImage X f) j B q |
| 81 | let (q : ℕ) : ((Affine.LinearResolutionPurity.internalComplex |
| 82 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) (LocalAdjunction.source X f j B)).X q).IsQuasicoherent := |
| 83 | LocalDualLine.term_quasicoherent f.left j B (n + 1) hB q |
| 84 | have he := AffinePrincipal.QuotientNormalization.chart_square f.left U hU r |
| 85 | have h := AffinePrincipal.OrientedPurity.restriction U hU r |
| 86 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower (R := R) j (n + 1)) (LocalAdjunction.source X f j B) |
| 87 | (LocalAdjunction.structureImage X f) (NegativeResolution.augmentation (LocalAdjunction.structureImage X f) j B) |
| 88 | (LocalAdjunction.ideal X f U hU) (LocalAdjunction.ideal X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) (ideal_le X f U hU r) |
| 89 | (LocalAdjunction.quotientSectionIso X f U hU) (LocalAdjunction.quotientSectionIso X f (AffinePrincipal.Sections.openSubset U r) (hU.basicOpen r)) he |
| 90 | s hs (IdealSheafPrincipalEquations.generates f.left.ker U hU r s hs) hreg e x |
| 91 | exact h |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.OrientedPurityRestriction |