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.CycleClass.Thom.ProperImage.SupportMap |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.ResidueDegree |
| 3 | |
| 4 | /-! # Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Closed.Image |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A closed immersion sends each actual support to its reduced image |
| 11 | with multiplicity one and preserves its dimension. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | namespace Constructions |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.ProperImage.Reduction.Constructions |
| 20 | |
| 21 | variable {V X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (f : V.toOver ⟶ X.toOver) [IsClosedImmersion f.left] |
| 22 | |
| 23 | instance supportImageMap_isIso {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 24 | IsIso (ProperImage.SupportMap.Constructions.Construction.supportImageMap f (show IsProper f.left from inferInstance) Z) := by |
| 25 | let : IsClosedImmersion (ProperImage.SupportMap.Constructions.Construction.algebraicMap f) := inferInstanceAs (IsClosedImmersion f.left) |
| 26 | apply IsClosedImmersion.isIso_lift |
| 27 | change (Geometric.GenericPoint.reducedSupportIdeal (ProperImage.Reduction.Constructions.imageSupport f Z)).subschemeι.ker = (Z.inclusion ≫ ProperImage.SupportMap.Constructions.Construction.algebraicMap f).ker |
| 28 | rw [Scheme.IdealSheafData.ker_subschemeι, |
| 29 | ProperImage.SupportMap.Constructions.Construction.supportMap_kernel f (show IsProper f.left from inferInstance) Z] |
| 30 | |
| 31 | theorem closedImage_supportDimension {p : ℕ} (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 32 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (ProperImage.Reduction.Constructions.imageSupport f Z) X.structureMap = |
| 33 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.val V.structureMap := by |
| 34 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion |
| 35 | (ProperImage.SupportMap.Constructions.Construction.supportImageMap f (show IsProper f.left from inferInstance) Z) |
| 36 | (Geometric.SupportFiniteType.supportStructureMap (ProperImage.Reduction.Constructions.imageSupport f Z) X.structureMap) |
| 37 | rw [ProperImage.SupportMap.Constructions.Construction.supportImageMap_over] at h |
| 38 | exact h.symm |
| 39 | |
| 40 | theorem closedImage_residueDegree (x : V.carrier) : f.left.residueDegree x = 1 := by |
| 41 | have h := ProperImage.ResidueDegree.Constructions.Construction.residueDegree_post_immersion (𝟙 V.carrier) f.left x |
| 42 | simpa only [Category.id_comp, Scheme.Hom.residueDegree_id] using h |
| 43 | |
| 44 | variable (p q : ℕ) (hdeg : p + X.complexDimension = q + V.complexDimension) |
| 45 | |
| 46 | def closedImageCycleSupport (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : Geometric.DimensionCycles.DimensionCycleSupport X q := |
| 47 | ⟨ProperImage.Reduction.Constructions.imageSupport f Z, ProperImage.Reduction.Constructions.imageCodimension_eq f p q hdeg Z (closedImage_supportDimension f Z)⟩ |
| 48 | |
| 49 | theorem closedImageCycleSupport_genericPoint (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 50 | (closedImageCycleSupport f p q hdeg Z).genericPoint = f.left Z.genericPoint := |
| 51 | irreducibleSetEquivPoints.apply_symm_apply _ |
| 52 | |
| 53 | theorem closedImageCycleSupport_injective : Function.Injective (closedImageCycleSupport f p q hdeg) := by |
| 54 | intro A B he |
| 55 | apply Geometric.DimensionCycles.DimensionCycleSupport.genericPoint_injective |
| 56 | apply f.left.isClosedEmbedding.injective |
| 57 | have h := congrArg Geometric.DimensionCycles.DimensionCycleSupport.genericPoint he |
| 58 | rw [closedImageCycleSupport_genericPoint, closedImageCycleSupport_genericPoint] at h |
| 59 | exact h |
| 60 | |
| 61 | theorem cyclePushforwardGenerator_closed (Z : Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 62 | ProperImage.Reduction.Constructions.cyclePushforwardGenerator f p q hdeg Z = Finsupp.single (closedImageCycleSupport f p q hdeg Z) 1 := by |
| 63 | rw [ProperImage.Reduction.Constructions.cyclePushforwardGenerator_of_dimension_eq f p q hdeg Z (closedImage_supportDimension f Z), |
| 64 | closedImage_residueDegree, Nat.cast_one] |
| 65 | rfl |
| 66 | |
| 67 | theorem cyclePushforward_closed (z : Geometric.DimensionCycles.RationalDimensionCycle V p) : |
| 68 | ProperImage.Reduction.Constructions.cyclePushforward f (show IsProper f.left from inferInstance) p q hdeg z = |
| 69 | Finsupp.mapDomain (closedImageCycleSupport f p q hdeg) z := by |
| 70 | induction z using Finsupp.induction_linear with |
| 71 | | zero => simp only [map_zero, Finsupp.mapDomain_zero] |
| 72 | | add a b ha hb => rw [map_add, ha, hb, Finsupp.mapDomain_add] |
| 73 | | single Z r => |
| 74 | rw [ProperImage.Reduction.Constructions.cyclePushforward_single, cyclePushforwardGenerator_closed, Finsupp.smul_single, |
| 75 | smul_eq_mul, mul_one, Finsupp.mapDomain_single] |
| 76 | |
| 77 | end Constructions |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.CycleClass.Thom.Closed.Image |