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.ClosedGeometricIntegral |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductDivisorPullback |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Geometric.IntegralOpenSource |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | |
| 7 | /-! # Product Component Fibers -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductComponentFibers |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Each integral component of a smooth projective product has geometrically |
| 14 | integral fibers over the target component it reaches. -/ |
| 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 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProperCycleLinearity OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Component.Image OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Integral.ComponentFactor |
| 22 | |
| 23 | theorem snd_geometricallyIntegral {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 24 | (P : ProperCycleLinearity.ProductPresentation X Y) (C : irreducibleComponents P.space.carrier) : |
| 25 | GeometricallyIntegral (Integral.ComponentFactor.overMap Y (Component.Image.inclusion P.space C ≫ P.snd)).left := by |
| 26 | let V := (P.space.componentVariety C).presentation |
| 27 | let gX : V.toOver ⟶ X.toOver := Component.Image.inclusion P.space C ≫ P.fst |
| 28 | let gY : V.toOver ⟶ Y.toOver := Component.Image.inclusion P.space C ≫ P.snd |
| 29 | let D := Integral.ComponentFactor.component (Z := V.carrier) X gX.left |
| 30 | let E := Integral.ComponentFactor.component (Z := V.carrier) Y gY.left |
| 31 | let a : V.carrier ⟶ (X.componentVariety D).carrier := (Integral.ComponentFactor.overMap X gX).left |
| 32 | let q : V.carrier ⟶ (Y.componentVariety E).carrier := (Integral.ComponentFactor.overMap Y gY).left |
| 33 | let πX : P.space.carrier ⟶ X.carrier := P.fst.left |
| 34 | let πY : P.space.carrier ⟶ Y.carrier := P.snd.left |
| 35 | let S := pullback πX (X.componentInclusion D) |
| 36 | let u : S ⟶ P.space.carrier := pullback.fst _ _ |
| 37 | let p : S ⟶ Y.carrier := u ≫ πY |
| 38 | have hP : IsPullback πX πY X.structureMap Y.structureMap := |
| 39 | Over.isPullback_of_binaryFan_isLimit (BinaryFan.mk P.fst P.snd) P.isLimit |
| 40 | have hS : IsPullback p (pullback.snd πX (X.componentInclusion D)) |
| 41 | Y.structureMap (X.componentVariety D).structureMap := by |
| 42 | have h := (IsPullback.of_hasPullback πX (X.componentInclusion D)).paste_horiz hP.flip |
| 43 | rw [X.componentInclusion_over D] at h |
| 44 | exact h |
| 45 | let : GeometricallyIntegral (X.componentVariety D).structureMap := |
| 46 | ClosedGeometricIntegral.geometricallyIntegral (X.componentVariety D).structureMap |
| 47 | let : GeometricallyIntegral p := MorphismProperty.of_isPullback hS.flip inferInstance |
| 48 | have ha : P.space.componentInclusion C ≫ πX = a ≫ X.componentInclusion D := |
| 49 | (Integral.ComponentFactor.fac (Z := V.carrier) X gX.left).symm |
| 50 | let j : V.carrier ⟶ S := pullback.lift (P.space.componentInclusion C) a ha |
| 51 | have hj : j ≫ u = P.space.componentInclusion C := pullback.lift_fst _ _ _ |
| 52 | let : IsOpenImmersion u := inferInstanceAs (IsOpenImmersion (pullback.fst πX (X.componentInclusion D))) |
| 53 | let : IsOpenImmersion (j ≫ u) := hj.symm ▸ inferInstance |
| 54 | let : IsOpenImmersion j := IsOpenImmersion.of_comp j u |
| 55 | let : Smooth πY := ProductDivisorPullback.snd_smooth P |
| 56 | let : Smooth gY.left := by |
| 57 | change Smooth (P.space.componentInclusion C ≫ πY) |
| 58 | infer_instance |
| 59 | let : Smooth q := inferInstanceAs (Smooth (Integral.ComponentFactor.overMap Y gY).left) |
| 60 | let : IsProper q := ProperCycleLinearity.morphism_isProper (Integral.ComponentFactor.overMap Y gY) |
| 61 | let : Surjective q := ⟨fun y => |
| 62 | (genericPoint_specializes y).mem_closed q.isClosedMap.isClosed_range |
| 63 | ⟨genericPoint V.carrier, ProjectionFormula.Smooth.GenericField.genericPoint_image q⟩⟩ |
| 64 | have hq : q ≫ Y.componentInclusion E = j ≫ p := by |
| 65 | rw [show j ≫ p = P.space.componentInclusion C ≫ πY by |
| 66 | change j ≫ u ≫ πY = _ |
| 67 | rw [← Category.assoc, hj]] |
| 68 | exact Integral.ComponentFactor.fac (Z := V.carrier) Y gY.left |
| 69 | exact Divisors.LineBundles.Geometric.IntegralOpenSource.BundleCycles.geometricallyIntegral_openSquare p q (Y.componentInclusion E) j hq |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ProductComponentFibers |