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.FiniteCoefficient.RestrictionNormalization |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.IntrinsicCoefficientHom |
| 3 | |
| 4 | /-! # Unit Normalization -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.UnitNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native unit of the finite coefficient algebra is the literal |
| 11 | map q ↦ q · 1 in the actual affine coefficient modules. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.FlatCoefficientSections OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.RestrictionNormalization |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation |
| 22 | attribute [local instance] Finite.FlatCoefficientSections.quotientAlgebra Finite.FlatCoefficientSections.coefficientAlgebra Finite.FlatCoefficientSections.ambientAlgebra |
| 23 | |
| 24 | variable {Y X Z : Scheme.{u}} (f : Y ⟶ X) [IsFinite f] |
| 25 | (i : X ⟶ Z) [IsClosedImmersion i] (U : Z.Opens) (hU : IsAffineOpen U) |
| 26 | |
| 27 | local instance : (RestrictionNormalization.scalarSheaf i).IsQuasicoherent := by |
| 28 | let : (SheafOfModules.unit X.ringCatSheaf).IsQuasicoherent := |
| 29 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 30 | exact AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom i |
| 31 | local instance : (RestrictionNormalization.coefficientSheaf f i).IsQuasicoherent := |
| 32 | Finite.MapPureTrace.coefficients_quasicoherent f i |
| 33 | |
| 34 | omit [IsFinite f] [IsClosedImmersion i] in |
| 35 | theorem chart_square : |
| 36 | (AffineOpen.InternalHom.sections U hU).map (Cech.StructurePullbackUnit.sheafMap f i) ≫ (Finite.FlatCoefficientSections.chartIso f i U hU).hom = |
| 37 | (RestrictionNormalization.scalarChartIso i U hU).hom ≫ Quotient.CoefficientEvaluation.point Γ(Z, U) (Finite.FlatCoefficientSections.quotientRing i U) (Finite.FlatCoefficientSections.coefficientRing f i U) 1 := by |
| 38 | have h := (AffineOpen.LinearHom.sectionsIso U hU).inv.naturality |
| 39 | (Cech.StructurePullbackUnit.sheafMap f i) |
| 40 | change (AffineOpen.InternalHom.sections U hU).map (Cech.StructurePullbackUnit.sheafMap f i) ≫ |
| 41 | (Affine.ChartSections.iso U hU (RestrictionNormalization.coefficientSheaf f i)).inv = |
| 42 | (Affine.ChartSections.iso U hU (RestrictionNormalization.scalarSheaf i)).inv ≫ |
| 43 | (Affine.ModuleExactSections.sections U).map (Cech.StructurePullbackUnit.sheafMap f i) at h |
| 44 | change (AffineOpen.InternalHom.sections U hU).map (Cech.StructurePullbackUnit.sheafMap f i) ≫ |
| 45 | ((Affine.ChartSections.iso U hU (RestrictionNormalization.coefficientSheaf f i)).inv ≫ (Finite.FlatCoefficientSections.literalIso f i U).hom) = _ |
| 46 | rw [← Category.assoc, h, Category.assoc] |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro x |
| 49 | change (f.app (i ⁻¹ᵁ U)).hom |
| 50 | ((Affine.ChartSections.iso U hU (RestrictionNormalization.scalarSheaf i)).inv x) = |
| 51 | (f.app (i ⁻¹ᵁ U)).hom ((Affine.ChartSections.iso U hU (RestrictionNormalization.scalarSheaf i)).inv x) * 1 |
| 52 | exact (mul_one _).symm |
| 53 | |
| 54 | omit [IsFinite f] [IsClosedImmersion i] in |
| 55 | theorem coefficient_one : |
| 56 | Affine.IntrinsicCoefficientHom.coefficientIso U hU (RestrictionNormalization.coefficientSheaf f i) |
| 57 | (Finite.FlatCoefficientSections.coefficientRing f i U) (Finite.FlatCoefficientSections.chartIso f i U hU) |
| 58 | (show Γ(RestrictionNormalization.coefficientSheaf f i, U) from (1 : Γ(Y, f ⁻¹ᵁ (i ⁻¹ᵁ U)))) = 1 := by |
| 59 | change (Affine.ChartSections.iso U hU (RestrictionNormalization.coefficientSheaf f i)).inv |
| 60 | ((Affine.ChartSections.iso U hU (RestrictionNormalization.coefficientSheaf f i)).hom (1 : Γ(Y, f ⁻¹ᵁ (i ⁻¹ᵁ U)))) = |
| 61 | (show Γ(RestrictionNormalization.coefficientSheaf f i, U) from (1 : Γ(Y, f ⁻¹ᵁ (i ⁻¹ᵁ U)))) |
| 62 | exact Iso.hom_inv_id_apply _ _ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.UnitNormalization |