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.Closed.QuotientSectionNormalization |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Hom |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Finite.PushforwardCoherence |
| 4 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation |
| 5 | |
| 6 | /-! # Quotient Normalization -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.QuotientNormalization |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Principal restriction of the actual closed-immersion coefficient |
| 13 | module agrees with the literal tensor extension of its ideal quotient. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.Closed.QuotientSectionNormalization |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {X Y : Scheme.{u}} (f : X ⟶ Y) [IsClosedImmersion f] |
| 26 | (U : Y.Opens) (hU : IsAffineOpen U) (r : Γ(Y, U)) |
| 27 | |
| 28 | def quotientLinear : (Γ(Y, U) ⧸ Closed.QuotientSectionNormalization.ideal f U hU) →ₗ[Γ(Y, U)] |
| 29 | (Γ(Y, Sections.openSubset U r) ⧸ Closed.QuotientSectionNormalization.ideal f (Sections.openSubset U r) (hU.basicOpen r)) where |
| 30 | toFun := Closed.QuotientSectionNormalization.quotientRestriction f U hU (Sections.openSubset U r) (hU.basicOpen r) (Sections.inclusion U r) |
| 31 | map_add' := map_add _ |
| 32 | map_smul' a x := by |
| 33 | change Closed.QuotientSectionNormalization.quotientRestriction f U hU (Sections.openSubset U r) (hU.basicOpen r) (Sections.inclusion U r) |
| 34 | (Ideal.Quotient.mk (Closed.QuotientSectionNormalization.ideal f U hU) a * x) = |
| 35 | Ideal.Quotient.mk (Closed.QuotientSectionNormalization.ideal f (Sections.openSubset U r) (hU.basicOpen r)) |
| 36 | (algebraMap Γ(Y, U) Γ(Y, Sections.openSubset U r) a) * |
| 37 | Closed.QuotientSectionNormalization.quotientRestriction f U hU (Sections.openSubset U r) (hU.basicOpen r) (Sections.inclusion U r) x |
| 38 | rw [map_mul] |
| 39 | rfl |
| 40 | |
| 41 | def tensorQuotient : Γ(Y, Sections.openSubset U r) ⊗[Γ(Y, U)] (Γ(Y, U) ⧸ Closed.QuotientSectionNormalization.ideal f U hU) →ₗ[Γ(Y, Sections.openSubset U r)] |
| 42 | (Γ(Y, Sections.openSubset U r) ⧸ Closed.QuotientSectionNormalization.ideal f (Sections.openSubset U r) (hU.basicOpen r)) := |
| 43 | TensorProduct.AlgebraTensorModule.lift |
| 44 | ((LinearMap.id : Γ(Y, Sections.openSubset U r) →ₗ[Γ(Y, Sections.openSubset U r)] Γ(Y, Sections.openSubset U r)).smulRight |
| 45 | (quotientLinear f U hU r)) |
| 46 | |
| 47 | omit [IsClosedImmersion f] in |
| 48 | theorem tensorQuotient_tmul (a : Γ(Y, Sections.openSubset U r)) (x : Γ(Y, U) ⧸ Closed.QuotientSectionNormalization.ideal f U hU) : |
| 49 | tensorQuotient f U hU r (a ⊗ₜ[Γ(Y, U)] x) = |
| 50 | a • Closed.QuotientSectionNormalization.quotientRestriction f U hU (Sections.openSubset U r) (hU.basicOpen r) (Sections.inclusion U r) x := rfl |
| 51 | |
| 52 | local instance directImage_quasicoherent : (Closed.QuotientSectionNormalization.directImage f).IsQuasicoherent := by |
| 53 | let : (SheafOfModules.unit X.ringCatSheaf).IsQuasicoherent := |
| 54 | AlgebraicGeometry.SheafCohomology.Projective.InvertibleFinitePresentation.invertible_quasicoherent AlgebraicGeometry.SheafCohomology.Projective.Invertible.Scheme.Modules.isInvertible_unit |
| 55 | exact AlgebraicGeometry.SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_pushforward_of_isAffineHom f |
| 56 | |
| 57 | theorem chart_square : |
| 58 | (Hom.Comparison.chartIso U hU r (Closed.QuotientSectionNormalization.directImage f)).hom ≫ |
| 59 | (Closed.QuotientSectionNormalization.chartIso f (Sections.openSubset U r) (hU.basicOpen r)).hom = |
| 60 | (PrincipalComplex.tensorFunctor U r).map (Closed.QuotientSectionNormalization.chartIso f U hU).hom ≫ |
| 61 | ModuleCat.ofHom (tensorQuotient f U hU r) := by |
| 62 | apply ConcreteCategory.hom_ext |
| 63 | intro z |
| 64 | induction z using TensorProduct.inductionOn with |
| 65 | | add x y hx hy => simpa only [map_add] using congrArg₂ (· + ·) hx hy |
| 66 | | tmul a x => |
| 67 | obtain ⟨m, rfl⟩ := (ConcreteCategory.bijective_of_isIso |
| 68 | (Affine.ChartSections.iso U hU (Closed.QuotientSectionNormalization.directImage f)).hom).surjective x |
| 69 | change (Closed.QuotientSectionNormalization.chartIso f (Sections.openSubset U r) (hU.basicOpen r)).hom |
| 70 | ((Hom.Comparison.chartIso U hU r (Closed.QuotientSectionNormalization.directImage f)).hom |
| 71 | (a ⊗ₜ[Γ(Y, U)] (Affine.ChartSections.iso U hU (Closed.QuotientSectionNormalization.directImage f)).hom m)) = |
| 72 | tensorQuotient f U hU r (a ⊗ₜ[Γ(Y, U)] |
| 73 | (Closed.QuotientSectionNormalization.chartIso f U hU).hom ((Affine.ChartSections.iso U hU (Closed.QuotientSectionNormalization.directImage f)).hom m)) |
| 74 | rw [Hom.Comparison.chartIso_tmul, Closed.QuotientSectionNormalization.chartIso_apply, |
| 75 | tensorQuotient_tmul, Closed.QuotientSectionNormalization.chartIso_apply, map_smul, |
| 76 | Closed.QuotientSectionNormalization.restriction] |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.QuotientNormalization |