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.Smooth.StratumIso |
| 2 | |
| 3 | /-! # Regular Stratum -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RegularStratum.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Open immersions preserve the actual smooth stratum by a genuine |
| 10 | restriction map and a cartesian square of schemes over the complex base. -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | open OAI.AlgebraicGeometry.CycleClass.Thom.Regular.ProductOver.Constructions |
| 14 | |
| 15 | theorem schemeSmoothLocus_eq {A B : Scheme.{0}} (f g : A ⟶ B) |
| 16 | [LocallyOfFinitePresentation f] [LocallyOfFinitePresentation g] (h : f = g) : |
| 17 | f.smoothLocus = g.smoothLocus := by |
| 18 | subst g |
| 19 | rfl |
| 20 | |
| 21 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFinitePresentation X.hom] |
| 22 | [LocallyOfFinitePresentation Y.hom] (i : X ⟶ Y) [IsOpenImmersion i.left] |
| 23 | |
| 24 | theorem openRegularStratum_preimage : i.left ⁻¹ᵁ Y.hom.smoothLocus = X.hom.smoothLocus := by |
| 25 | have h := Scheme.Hom.preimage_smoothLocus_eq i.left Y.hom |
| 26 | exact h.trans (schemeSmoothLocus_eq _ _ i.w) |
| 27 | |
| 28 | def openRegularStratumMap : CycleClass.Geometric.SmoothStratum.smoothStratum X.hom ⟶ CycleClass.Geometric.SmoothStratum.smoothStratum Y.hom := |
| 29 | i.left.resLE Y.hom.smoothLocus X.hom.smoothLocus (openRegularStratum_preimage i).symm.le |
| 30 | |
| 31 | theorem openRegularStratumMap_inclusion : |
| 32 | openRegularStratumMap i ≫ CycleClass.Geometric.SmoothStratum.smoothStratumι Y.hom = CycleClass.Geometric.SmoothStratum.smoothStratumι X.hom ≫ i.left := |
| 33 | Scheme.Hom.resLE_comp_ι _ _ |
| 34 | |
| 35 | instance openRegularStratumMap_isOpenImmersion : IsOpenImmersion (openRegularStratumMap i) := by |
| 36 | have h : IsOpenImmersion (openRegularStratumMap i ≫ CycleClass.Geometric.SmoothStratum.smoothStratumι Y.hom) := |
| 37 | (congrArg (fun f => IsOpenImmersion f) (openRegularStratumMap_inclusion i)).mpr inferInstance |
| 38 | exact IsOpenImmersion.of_comp (openRegularStratumMap i) (CycleClass.Geometric.SmoothStratum.smoothStratumι Y.hom) |
| 39 | |
| 40 | def openRegularStratumOverMap : CycleClass.Thom.Regular.ProductOver.Constructions.regularOver X ⟶ CycleClass.Thom.Regular.ProductOver.Constructions.regularOver Y := |
| 41 | Over.homMk (openRegularStratumMap i) (by |
| 42 | change openRegularStratumMap i ≫ (CycleClass.Geometric.SmoothStratum.smoothStratumι Y.hom ≫ Y.hom) = CycleClass.Geometric.SmoothStratum.smoothStratumι X.hom ≫ X.hom |
| 43 | rw [← Category.assoc, openRegularStratumMap_inclusion, Category.assoc, i.w]) |
| 44 | |
| 45 | theorem openRegularStratumOverMap_inclusion : |
| 46 | openRegularStratumOverMap i ≫ CycleClass.Thom.Regular.ProductOver.Constructions.regularOverInclusion Y = CycleClass.Thom.Regular.ProductOver.Constructions.regularOverInclusion X ≫ i := |
| 47 | Over.OverMorphism.ext (openRegularStratumMap_inclusion i) |
| 48 | |
| 49 | theorem openRegularStratum_isPullback : |
| 50 | IsPullback (openRegularStratumMap i) (CycleClass.Geometric.SmoothStratum.smoothStratumι X.hom) (CycleClass.Geometric.SmoothStratum.smoothStratumι Y.hom) i.left := by |
| 51 | apply IsOpenImmersion.isPullback |
| 52 | · exact (openRegularStratumMap_inclusion i).symm |
| 53 | · change i.left ⁻¹ᵁ Y.hom.smoothLocus.ι.opensRange = X.hom.smoothLocus.ι.opensRange |
| 54 | rw [Scheme.Opens.opensRange_ι, Scheme.Opens.opensRange_ι, openRegularStratum_preimage] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RegularStratum.BundleCycles |