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.HomGlobal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.AffineMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.UnitNormalization |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveRefinement.PointEvaluation |
| 5 | |
| 6 | /-! # Unit Evaluation -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.UnitEvaluation |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original common-refinement dual of the function pullback unit |
| 13 | is literal evaluation at one under the intrinsic coefficient adjunction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 24 | |
| 25 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 26 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 27 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 28 | attribute [local instance] HomLocal.scalar_terms |
| 29 | attribute [local instance] HomLocal.coefficient_terms |
| 30 | |
| 31 | variable (X : Over (Spec (CommRingCat.of R))) {Y : Scheme.{u}} |
| 32 | (f : Y ⟶ X.left) [IsFinite f] [Flat f] |
| 33 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R n) [IsClosedImmersion i.left] |
| 34 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 35 | (j : Fin (n + 1)) (B : ℕ) (hB : n + 1 ≤ B) (hg : g ≤ n) |
| 36 | |
| 37 | local instance : (HomLocal.coefficient X f i).IsQuasicoherent := Finite.MapPureTrace.coefficients_quasicoherent f i.left |
| 38 | local instance : (HomLocal.coefficient X f i).IsFiniteType := Finite.MapPureTrace.coefficients_finiteType f i.left |
| 39 | |
| 40 | def dualUnit : HomLocal.sourceSheaf X f i g j B ⟶ (HomLocal.scalarDual X i j B).homology (n - g) := |
| 41 | ProjectiveRefinement.DualMap.map (HomLocal.scalar X i) (HomLocal.coefficient X f i) j B (n + 1) hB |
| 42 | (Cech.StructurePullbackUnit.sheafMap f i.left) (n - g) |
| 43 | |
| 44 | variable (U : (Projective.IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 45 | (k : Fin (n + 1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 46 | |
| 47 | abbrev evaluation (z : Γ(HomLocal.sourceSheaf X f i g j B, U)) := by |
| 48 | letI := HomLocal.formScalar X i g U |
| 49 | letI := HomLocal.formTower X i g U |
| 50 | letI := HomLocal.coefficient_finite X f i U hU |
| 51 | letI := HomLocal.coefficient_projective X f i U hU |
| 52 | exact ProjectiveRefinement.PointEvaluation.evaluation (HomLocal.scalar X i) (HomLocal.coefficient X f i) |
| 53 | j B (n + 1) hB (Cech.StructurePullbackUnit.sheafMap f i.left) U hU k hUk |
| 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) 1 |
| 57 | (FiniteCoefficient.UnitNormalization.chart_square f i.left U hU) |
| 58 | (i.left.app_surjective U hU) (n - g) (HomLocal.formSheaf X i g) |
| 59 | (HomLocal.scalarAdjunction X i g j B hB hg) |
| 60 | (show Γ(HomLocal.coefficient X f i, U) from (1 : Γ(Y, f ⁻¹ᵁ (i.left ⁻¹ᵁ U)))) |
| 61 | (FiniteCoefficient.UnitNormalization.coefficient_one f i.left U hU) z |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.UnitEvaluation |