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.Clopen.Bilinear |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.ComponentMaps |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.CycleComponents |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.IntegralCycleDescent |
| 5 | import Mathlib.AlgebraicGeometry.Morphisms.IsIso |
| 6 | |
| 7 | /-! # Clopen Cycles -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ClopenCycles |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Open restriction of native cycles in every codimension preserves |
| 14 | rational equivalence and commutes with smooth inverse image. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | open scoped Classical |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.Cycle OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Clopen.CycleMaps OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.Cycle |
| 23 | |
| 24 | theorem flat_at_point {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 25 | (m n p : ℕ) [SmoothOfRelativeDimension m X.structureMap] [SmoothOfRelativeDimension n Y.structureMap] |
| 26 | (a : Y.RationalDimensionCycle p) (A : X.DimensionCycleSupport p) (B : Y.DimensionCycleSupport p) |
| 27 | (h : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint B.val) : ProjectionFormula.Smooth.Cycle.flatMap f p a A = a B := by |
| 28 | rw [ProjectionFormula.Smooth.Cycle.flatMap_apply f p m n] |
| 29 | have he (D : Y.DimensionCycleSupport p) : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) = CycleClass.Thom.IntersectionGeometry.supportPoint D.val ↔ B = D := by |
| 30 | rw [h] |
| 31 | constructor |
| 32 | · intro hd |
| 33 | exact Subtype.ext (irreducibleSetEquivPoints.injective hd) |
| 34 | · rintro rfl |
| 35 | rfl |
| 36 | simp only [he, Finsupp.sum, mul_ite, mul_one, mul_zero] |
| 37 | rw [Finset.sum_ite_eq] |
| 38 | by_cases hb : B ∈ a.support |
| 39 | · rw [ite_eq_left hb] |
| 40 | · rw [ite_eq_right hb, Finsupp.notMem_support_iff.mp hb] |
| 41 | |
| 42 | theorem flat_restrict {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 43 | (m p : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 44 | (a : X.RationalDimensionCycle p) : ProjectionFormula.Smooth.Cycle.flatMap i p a = Clopen.CycleMaps.restrict i m p a := by |
| 45 | ext A |
| 46 | exact flat_at_point i m m p a A (Clopen.Cycle.supportImage i m p A) (Clopen.Cycle.image_point i A.val).symm |
| 47 | |
| 48 | theorem restrict_flatMap {V X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 49 | (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] (f : X.toOver ⟶ Y.toOver) [Smooth f.left] |
| 50 | (m n p : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] |
| 51 | [SmoothOfRelativeDimension n Y.structureMap] (a : Y.RationalDimensionCycle p) : |
| 52 | Clopen.CycleMaps.restrict i m p (ProjectionFormula.Smooth.Cycle.flatMap f p a) = ProjectionFormula.Smooth.Cycle.flatMap (i ≫ f) p a := by |
| 53 | let : Smooth (i ≫ f).left := by change Smooth (i.left ≫ f.left); infer_instance |
| 54 | ext A |
| 55 | rw [Clopen.CycleMaps.restrict_apply, ProjectionFormula.Smooth.Cycle.flatMap_apply f p m n, ProjectionFormula.Smooth.Cycle.flatMap_apply (i ≫ f) p m n] |
| 56 | have he : f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (Clopen.Cycle.supportImage i m p A).val) = (i ≫ f).left (CycleClass.Thom.IntersectionGeometry.supportPoint A.val) := by |
| 57 | change f.left (CycleClass.Thom.IntersectionGeometry.supportPoint (ProperCycleLinearity.imageSupport i A.val)) = _ |
| 58 | rw [Clopen.Cycle.image_point] |
| 59 | rfl |
| 60 | exact congrArg (fun y : Y.carrier => a.sum (fun B r => r * if y = CycleClass.Thom.IntersectionGeometry.supportPoint B.val then 1 else 0)) he |
| 61 | |
| 62 | theorem integral_factor_iso {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} [IsIntegral V.carrier] |
| 63 | (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] : IsIso (Integral.ComponentFactor.overMap X i).left := by |
| 64 | let C := Integral.ComponentFactor.component (Z := V.carrier) X i.left |
| 65 | let q : V.carrier ⟶ (X.componentVariety C).carrier := (Integral.ComponentFactor.overMap X i).left |
| 66 | have hq : q ≫ X.componentInclusion C = i.left := Integral.ComponentFactor.fac (Z := V.carrier) X i.left |
| 67 | let : IsOpenImmersion (q ≫ X.componentInclusion C) := hq.symm ▸ inferInstance |
| 68 | let : IsOpenImmersion q := IsOpenImmersion.of_comp q (X.componentInclusion C) |
| 69 | let : IsProper q := ProperCycleLinearity.morphism_isProper (Integral.ComponentFactor.overMap X i) |
| 70 | let : Surjective q := ⟨fun y => |
| 71 | (genericPoint_specializes y).mem_closed q.isClosedMap.isClosed_range |
| 72 | ⟨genericPoint V.carrier, ProjectionFormula.Smooth.GenericField.genericPoint_image q⟩⟩ |
| 73 | exact (isIso_iff_isOpenImmersion_and_surjective q).mpr ⟨inferInstance, inferInstance⟩ |
| 74 | |
| 75 | theorem iso_geometricallyIntegral {A B : Scheme.{0}} (f : A ⟶ B) [IsIso f] : GeometricallyIntegral f := by |
| 76 | let : ObjectProperty.IsClosedUnderIsomorphisms (@IsIntegral : Scheme.{0} → Prop) := |
| 77 | ⟨fun e h => by let _ := h; exact IsIntegral.of_isIso e.hom⟩ |
| 78 | refine ⟨(geometrically_iff_of_isClosedUnderIsomorphisms (P := @IsIntegral) (f := f)).mpr ?_⟩ |
| 79 | intro K _ g |
| 80 | exact IsIntegral.of_isIso (inv (pullback.snd f g)) |
| 81 | |
| 82 | theorem restrict_relations {V X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (i : V.toOver ⟶ X.toOver) [IsOpenImmersion i.left] |
| 83 | (m p : ℕ) [SmoothOfRelativeDimension m V.structureMap] [SmoothOfRelativeDimension m X.structureMap] : |
| 84 | CycleClass.Thom.IntersectionGeometry.rationalEquivalences X p ≤ (CycleClass.Thom.IntersectionGeometry.rationalEquivalences V p).comap (Clopen.CycleMaps.restrict i m p) := by |
| 85 | intro a ha |
| 86 | change Clopen.CycleMaps.restrict i m p a ∈ CycleClass.Thom.IntersectionGeometry.rationalEquivalences V p |
| 87 | rw [← flat_restrict i m p a] |
| 88 | apply (Component.Principal.CycleDecomposition.relations_iff V m p _).mpr |
| 89 | intro C |
| 90 | let Z := (V.componentVariety C).presentation |
| 91 | let g : Z.toOver ⟶ X.toOver := Component.Image.inclusion V C ≫ i |
| 92 | let D := Integral.ComponentFactor.component (Z := Z.carrier) X g.left |
| 93 | let : SmoothOfRelativeDimension m Z.structureMap := Component.Image.component_relativeDimension V m C |
| 94 | let : SmoothOfRelativeDimension m (X.componentVariety D).structureMap := Component.Image.component_relativeDimension X m D |
| 95 | let : IsOpenImmersion g.left := by change IsOpenImmersion (V.componentInclusion C ≫ i.left); infer_instance |
| 96 | let : IsIso (Integral.ComponentFactor.overMap X g).left := integral_factor_iso g |
| 97 | let : GeometricallyIntegral (show Z.carrier ⟶ (X.componentVariety D).carrier from |
| 98 | (Integral.ComponentFactor.overMap X g).left) := iso_geometricallyIntegral _ |
| 99 | rw [ProjectionFormula.Smooth.CycleComponents.restrict_flatMap i m m p C, ProjectionFormula.Smooth.CycleComponents.flatMap_factor g m m p] |
| 100 | exact ProjectionFormula.Smooth.IntegralCycleDescent.preserves_relations (Integral.ComponentFactor.overMap X g) m m p |
| 101 | (Component.Principal.restrict_preserves_relations X D p ha) |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.General.ClopenCycles |