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.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RegularStratum |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportedCycleClass |
| 4 | |
| 5 | /-! # Support Over -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportOver.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction of a nonempty integral support to an open subscheme is |
| 12 | compatible with the actual complex base and preserves its codimension. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 18 | (i : X ⟶ Y) [IsOpenImmersion i.left] (B : IrreducibleCloseds Y.left) |
| 19 | [Nonempty (SupportRestriction.BundleCycles.openSupportPullback i.left B)] |
| 20 | |
| 21 | local notation "A" => OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportRestriction.BundleCycles.openRestrictedSupport i.left B |
| 22 | |
| 23 | def openRestrictedSupportOverMap : CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver X A ⟶ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportOver Y B := |
| 24 | Over.homMk (SupportRestriction.BundleCycles.openRestrictedSupportMap i.left B) (by |
| 25 | change SupportRestriction.BundleCycles.openRestrictedSupportMap i.left B ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ Y.hom) = CycleClass.Geometric.GenericPoint.reducedSupportι A ≫ X.hom |
| 26 | rw [← Category.assoc, SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion, Category.assoc, i.w]) |
| 27 | |
| 28 | instance openRestrictedSupportOverMap_open : IsOpenImmersion (openRestrictedSupportOverMap i B).left := |
| 29 | inferInstanceAs (IsOpenImmersion (SupportRestriction.BundleCycles.openRestrictedSupportMap i.left B)) |
| 30 | |
| 31 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 32 | theorem openRestrictedSupportOverMap_inclusion : |
| 33 | openRestrictedSupportOverMap i B ≫ CycleClass.Thom.Scheme.RegularSupport.Constructions.supportToAmbient Y B = CycleClass.Thom.Scheme.RegularSupport.Constructions.supportToAmbient X A ≫ i := |
| 34 | Over.OverMorphism.ext (SupportRestriction.BundleCycles.openRestrictedSupportMap_inclusion i.left B) |
| 35 | |
| 36 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 37 | theorem openRestrictedSupportOver_dimension : |
| 38 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.hom = Foundations.Scheme.SupportDimension.supportTranscendenceDimension B Y.hom := by |
| 39 | have h := SupportRestriction.BundleCycles.openRestrictedSupport_dimension i.left B Y.hom |
| 40 | rw [i.w] at h |
| 41 | exact h |
| 42 | |
| 43 | include i in |
| 44 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 45 | theorem openImmersionOver_dimension [IsIntegral X.left] [IsIntegral Y.left] : |
| 46 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom := by |
| 47 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion i.left Y.hom |
| 48 | rw [i.w] at h |
| 49 | exact h |
| 50 | |
| 51 | omit [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] in |
| 52 | theorem openRestrictedSupportOver_codimension [IsIntegral X.left] [IsIntegral Y.left] |
| 53 | (p : ℕ) (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension B Y.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Y.hom) : |
| 54 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension A X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom := by |
| 55 | rw [openRestrictedSupportOver_dimension, openImmersionOver_dimension i] |
| 56 | exact hp |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportOver.BundleCycles |