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.Scheme.ProductIntegral |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.StratumClosure |
| 3 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Products |
| 4 | |
| 5 | /-! # Support Scheme -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual product of reduced integral closed supports is the reduced |
| 12 | integral closed scheme on their inverse-image intersection in any genuine |
| 13 | product presentation. No cohomological property defines this support. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.ProductIntegral.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 23 | (A : IrreducibleCloseds X.left) (B : IrreducibleCloseds Y.left) |
| 24 | |
| 25 | abbrev productSupportScheme : Scheme := |
| 26 | pullback (Geometric.SupportFiniteType.supportStructureMap A X.hom) (Geometric.SupportFiniteType.supportStructureMap B Y.hom) |
| 27 | |
| 28 | instance productSupportScheme_integral [LocallyOfFiniteType X.hom] : |
| 29 | IsIntegral (productSupportScheme X Y A B) := by |
| 30 | let XA := Over.mk (Geometric.SupportFiniteType.supportStructureMap A X.hom) |
| 31 | let YB := Over.mk (Geometric.SupportFiniteType.supportStructureMap B Y.hom) |
| 32 | let : LocallyOfFiniteType XA.hom := Geometric.SupportFiniteType.supportStructureMap_locallyOfFiniteType A X.hom |
| 33 | let : IsIntegral XA.left := Geometric.GenericPoint.reducedSupportScheme_isIntegral A |
| 34 | let : IsIntegral YB.left := Geometric.GenericPoint.reducedSupportScheme_isIntegral B |
| 35 | exact Thom.Scheme.ProductIntegral.Constructions.schemeProduct_isIntegral XA YB |
| 36 | |
| 37 | def productSupportPullbackMap : productSupportScheme X Y A B ⟶ pullback X.hom Y.hom := |
| 38 | pullback.map (Geometric.SupportFiniteType.supportStructureMap A X.hom) (Geometric.SupportFiniteType.supportStructureMap B Y.hom) X.hom Y.hom |
| 39 | (Geometric.GenericPoint.reducedSupportι A) (Geometric.GenericPoint.reducedSupportι B) (𝟙 Foundations.Scheme.ProjectiveSpace.complexBase) |
| 40 | (Category.comp_id _) (Category.comp_id _) |
| 41 | |
| 42 | instance productSupportPullbackMap_closed : IsClosedImmersion (productSupportPullbackMap X Y A B) := by |
| 43 | exact MorphismProperty.pullbackMap (P := @IsClosedImmersion) |
| 44 | (inferInstance : IsClosedImmersion (Geometric.GenericPoint.reducedSupportι A)) |
| 45 | (inferInstance : IsClosedImmersion (Geometric.GenericPoint.reducedSupportι B)) rfl rfl |
| 46 | |
| 47 | theorem productSupportPullbackMap_range : |
| 48 | Set.range (productSupportPullbackMap X Y A B) = |
| 49 | pullback.fst X.hom Y.hom ⁻¹' (A : Set X.left) ∩ |
| 50 | pullback.snd X.hom Y.hom ⁻¹' (B : Set Y.left) := by |
| 51 | unfold productSupportPullbackMap |
| 52 | rw [Scheme.Pullback.range_map, Geometric.GenericPoint.range_reducedSupportι, Geometric.GenericPoint.range_reducedSupportι] |
| 53 | |
| 54 | variable (Z : Over Foundations.Scheme.ProjectiveSpace.complexBase) (πX : Z ⟶ X) (πY : Z ⟶ Y) |
| 55 | (hprod : IsLimit (BinaryFan.mk πX πY)) |
| 56 | |
| 57 | def productPresentationIso : Z.left ≅ pullback X.hom Y.hom := |
| 58 | (Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk πX πY) hprod).isoPullback |
| 59 | |
| 60 | @[reassoc] |
| 61 | theorem productPresentationIso_hom_fst : |
| 62 | (productPresentationIso X Y Z πX πY hprod).hom ≫ pullback.fst X.hom Y.hom = πX.left := |
| 63 | IsPullback.isoPullback_hom_fst _ |
| 64 | |
| 65 | @[reassoc] |
| 66 | theorem productPresentationIso_hom_snd : |
| 67 | (productPresentationIso X Y Z πX πY hprod).hom ≫ pullback.snd X.hom Y.hom = πY.left := |
| 68 | IsPullback.isoPullback_hom_snd _ |
| 69 | |
| 70 | def productSupportInclusion : productSupportScheme X Y A B ⟶ Z.left := |
| 71 | productSupportPullbackMap X Y A B ≫ (productPresentationIso X Y Z πX πY hprod).inv |
| 72 | |
| 73 | instance productSupportInclusion_closed : |
| 74 | IsClosedImmersion (productSupportInclusion X Y A B Z πX πY hprod) := by |
| 75 | unfold productSupportInclusion |
| 76 | infer_instance |
| 77 | |
| 78 | theorem productSupportInclusion_range : |
| 79 | Set.range (productSupportInclusion X Y A B Z πX πY hprod) = |
| 80 | πX.left ⁻¹' (A : Set X.left) ∩ πY.left ⁻¹' (B : Set Y.left) := by |
| 81 | let e := productPresentationIso X Y Z πX πY hprod |
| 82 | have hc : productSupportInclusion X Y A B Z πX πY hprod ≫ e.hom = |
| 83 | productSupportPullbackMap X Y A B := by |
| 84 | simp only [productSupportInclusion, e, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 85 | have hr : Set.range (productSupportInclusion X Y A B Z πX πY hprod) = |
| 86 | e.hom ⁻¹' Set.range (productSupportPullbackMap X Y A B) := by |
| 87 | ext z |
| 88 | constructor |
| 89 | · rintro ⟨t, rfl⟩ |
| 90 | exact ⟨t, (congrArg (fun f : productSupportScheme X Y A B ⟶ pullback X.hom Y.hom => f t) hc).symm⟩ |
| 91 | · rintro ⟨t, ht⟩ |
| 92 | refine ⟨t, e.hom.isOpenEmbedding.injective ?_⟩ |
| 93 | change (productSupportInclusion X Y A B Z πX πY hprod ≫ e.hom) t = e.hom z |
| 94 | rw [hc] |
| 95 | exact ht |
| 96 | rw [hr, productSupportPullbackMap_range] |
| 97 | ext z |
| 98 | change (pullback.fst X.hom Y.hom (e.hom z) ∈ (A : Set X.left) ∧ |
| 99 | pullback.snd X.hom Y.hom (e.hom z) ∈ (B : Set Y.left)) ↔ _ |
| 100 | rw [← Scheme.Hom.comp_apply, ← Scheme.Hom.comp_apply, |
| 101 | productPresentationIso_hom_fst, productPresentationIso_hom_snd] |
| 102 | rfl |
| 103 | |
| 104 | variable [LocallyOfFiniteType X.hom] |
| 105 | |
| 106 | def productIrreducibleSupport : IrreducibleCloseds Z.left := |
| 107 | Geometric.StratumClosure.integralImageClosure (productSupportInclusion X Y A B Z πX πY hprod) |
| 108 | |
| 109 | theorem productIrreducibleSupport_coe : |
| 110 | (productIrreducibleSupport X Y A B Z πX πY hprod : Set Z.left) = |
| 111 | πX.left ⁻¹' (A : Set X.left) ∩ πY.left ⁻¹' (B : Set Y.left) := by |
| 112 | change closure (Set.range (productSupportInclusion X Y A B Z πX πY hprod)) = _ |
| 113 | rw [(productSupportInclusion X Y A B Z πX πY hprod).isClosedEmbedding.isClosed_range.closure_eq, |
| 114 | productSupportInclusion_range] |
| 115 | |
| 116 | /-- An isomorphism of actual reduced schemes, not only their underlying sets. -/ |
| 117 | def productSupportReducedIso : productSupportScheme X Y A B ≅ |
| 118 | Geometric.GenericPoint.reducedSupportScheme (productIrreducibleSupport X Y A B Z πX πY hprod) := |
| 119 | asIso (productSupportInclusion X Y A B Z πX πY hprod).toImage ≪≫ |
| 120 | Geometric.StratumClosure.reducedImageClosureIso (productSupportInclusion X Y A B Z πX πY hprod) |
| 121 | |
| 122 | @[reassoc] |
| 123 | theorem productSupportReducedIso_inclusion : |
| 124 | (productSupportReducedIso X Y A B Z πX πY hprod).hom ≫ |
| 125 | Geometric.GenericPoint.reducedSupportι (productIrreducibleSupport X Y A B Z πX πY hprod) = |
| 126 | productSupportInclusion X Y A B Z πX πY hprod := |
| 127 | Geometric.StratumClosure.toReducedImageClosure_inclusion _ |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.CycleClass.Thom.Product.SupportScheme.Constructions |