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.ProjectiveCoefficient.HomEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterGlobalCoordinates |
| 3 | |
| 4 | /-! # Hom Degree Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomDegreeCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Evaluation of the original coefficient adjunction after the same |
| 11 | explicit cohomological degree transport used by scalar adjunction. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 21 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 22 | attribute [local instance] HomLocal.scalar_terms |
| 23 | attribute [local instance] HomLocal.coefficient_terms |
| 24 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 25 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 26 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R n) [IsClosedImmersion i.left] |
| 27 | (g c : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 28 | (hc : c = n-g) (j : Fin (n+1)) (B : ℕ) (hB : n+1≤B) (hg : g≤n) |
| 29 | def iso : (HomLocal.coefficientDual X f i j B).homology c ≅ HomLocal.targetSheaf X f i g := |
| 30 | eqToIso (congrArg (fun d => (HomLocal.coefficientDual X f i j B).homology d) hc) ≪≫ |
| 31 | HomGlobal.iso X f i g j B hB hg |
| 32 | |
| 33 | variable (U : (Projective.IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 34 | (k : Fin (n+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 35 | local instance coefficient_qc : (HomLocal.coefficient X f i).IsQuasicoherent := |
| 36 | Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 37 | local instance line_qc : (HomLocal.canonical (R := R) j).IsQuasicoherent := |
| 38 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent |
| 39 | (AlgebraicGeometry.SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplaneIdealModulePower_isInvertible j (n+1)) |
| 40 | theorem evaluation (z : Γ((HomLocal.coefficientDual X f i j B).homology c, U)) |
| 41 | (x : Γ(HomLocal.coefficient X f i, U)) : |
| 42 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 43 | letI (q : ℕ) := HomLocal.scalar_dual_terms X i j B hB q |
| 44 | letI (q : ℕ) := HomLocal.coefficient_dual_terms X f i j B hB q |
| 45 | letI (q : ℕ) := HomLocal.scalar_projective X i j B U hU k hUk q |
| 46 | letI (q : ℕ) := HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 47 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (HomLocal.coefficient X f i) (HomLocal.formSheaf X i g) U |
| 48 | ((iso X f i g c hc j B hB hg).hom.app U z) x = |
| 49 | (Projective.ParameterGlobalCoordinates.iso X i hc j B hB hg).hom.app U |
| 50 | (Affine.CoefficientRestriction.pullback U hU (HomLocal.canonical j) |
| 51 | (HomLocal.scalarComplex X i j B) (HomLocal.coefficientComplex X f i j B) (HomLocal.scalar X i) (HomLocal.coefficient X f i) |
| 52 | (Projective.NegativeResolution.augmentation (HomLocal.scalar X i) j B) |
| 53 | (Projective.NegativeResolution.augmentation (HomLocal.coefficient X f i) j B) |
| 54 | (Finite.FlatCoefficientSections.quotientRing i.left U) (Finite.FlatCoefficientSections.coefficientRing f i.left U) |
| 55 | (FiniteCoefficient.RestrictionNormalization.scalarChartIso i.left U hU) |
| 56 | (Finite.FlatCoefficientSections.chartIso f i.left U hU) c z |
| 57 | (Affine.IntrinsicCoefficientHom.coefficientIso U hU (HomLocal.coefficient X f i) |
| 58 | (Finite.FlatCoefficientSections.coefficientRing f i.left U) (Finite.FlatCoefficientSections.chartIso f i.left U hU) x)) := by |
| 59 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 60 | let (q : ℕ) := HomLocal.scalar_dual_terms X i j B hB q |
| 61 | let (q : ℕ) := HomLocal.coefficient_dual_terms X f i j B hB q |
| 62 | let (q : ℕ) := HomLocal.scalar_projective X i j B U hU k hUk q |
| 63 | let (q : ℕ) := HomLocal.coefficient_term_projective X f i j B U hU k hUk q |
| 64 | subst c |
| 65 | exact HomEvaluation.evaluation X f i g j B hB hg U hU k hUk z x |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomDegreeCoordinates |