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.IntersectionTheory.ProjectionFormula.NestedSupportCoheight |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.SmoothMorphism |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.ImageCodimension |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 5 | |
| 6 | /-! # Support Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.SupportDimension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On the smooth open of the actual map between reduced supports, |
| 13 | flatness bounds the source codimension by the target codimension. |
| 14 | This is the dimension estimate used in relative proper positioning. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace _root_.Order |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Map |
| 22 | |
| 23 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 24 | (m n : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 25 | |
| 26 | include m n in |
| 27 | theorem at_smooth (W C : IrreducibleCloseds X.carrier) (hCW : C ≤ W) |
| 28 | (hx : CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C) |
| 29 | (hCW (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem) ∈ (Support.Map.supportImageMap f W).smoothLocus) : |
| 30 | X.supportCodimension W + Y.supportCodimension (ProperCycleLinearity.imageSupport f C) ≤ |
| 31 | X.supportCodimension C + Y.supportCodimension (ProperCycleLinearity.imageSupport f W) := by |
| 32 | let V := ProperCycleLinearity.imageSupport f W |
| 33 | let D := ProperCycleLinearity.imageSupport f C |
| 34 | let u := Support.Map.supportImageMap f W |
| 35 | let x := CycleClass.Thom.IntersectionGeometry.supportPreimage W (CycleClass.Thom.IntersectionGeometry.supportPoint C) (hCW (C.isIrreducible.isGenericPoint_genericPoint C.isClosed).mem) |
| 36 | have hDV : D ≤ V := by |
| 37 | change (ProperCycleLinearity.imageSupport f C : Set Y.carrier) ⊆ ProperCycleLinearity.imageSupport f W |
| 38 | rw [ProperCycleLinearity.imageSupport_eq_image, ProperCycleLinearity.imageSupport_eq_image] |
| 39 | exact Set.image_mono hCW |
| 40 | let y := CycleClass.Thom.IntersectionGeometry.supportPreimage V (CycleClass.Thom.IntersectionGeometry.supportPoint D) (hDV (D.isIrreducible.isGenericPoint_genericPoint D.isClosed).mem) |
| 41 | have hy : u x = y := by |
| 42 | apply (CycleClass.Geometric.GenericPoint.reducedSupportι V).isEmbedding.injective |
| 43 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 44 | have h := congrArg (fun g : CycleClass.Geometric.GenericPoint.reducedSupportScheme W ⟶ Y.carrier => g x) (Support.Map.supportImageMap_inclusion f W) |
| 45 | change CycleClass.Geometric.GenericPoint.reducedSupportι V (u x) = f.left (CycleClass.Geometric.GenericPoint.reducedSupportι W x) at h |
| 46 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] at h |
| 47 | exact h.trans (irreducibleSetEquivPoints.apply_symm_apply _).symm |
| 48 | let U := u.smoothLocus |
| 49 | let x' : U.toScheme := ⟨x, hx⟩ |
| 50 | let : Smooth (U.ι ≫ u) := Generic.SmoothMorphism.smooth_restrict u |
| 51 | have hx' : coheight x' = (X.supportCodimension C - X.supportCodimension W : ℕ) := |
| 52 | (show coheight (U.ι x') = coheight x' from coheight_eq_of_isOpenImmersion U.ι).symm.trans |
| 53 | (NestedSupportCoheight.difference X m W C hCW) |
| 54 | have hc := ImageCodimension.coheight_le (U.ι ≫ u) |
| 55 | (X.supportCodimension C - X.supportCodimension W) x' hx'.le |
| 56 | change coheight (u x) ≤ (X.supportCodimension C - X.supportCodimension W : ℕ) at hc |
| 57 | rw [hy, NestedSupportCoheight.difference Y n V D hDV] at hc |
| 58 | have hd : Y.supportCodimension D - Y.supportCodimension V ≤ |
| 59 | X.supportCodimension C - X.supportCodimension W := by exact_mod_cast hc |
| 60 | have hX := (Supports.codimension_strictAnti X m).antitone hCW |
| 61 | have hY := (Supports.codimension_strictAnti Y n).antitone hDV |
| 62 | change X.supportCodimension W + Y.supportCodimension D ≤ X.supportCodimension C + Y.supportCodimension V |
| 63 | omega |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.SupportDimension |