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.Divisors.LineBundles.Graph.ProjectionComponents |
| 2 | import Mathlib.Topology.Connected.Clopen |
| 3 | |
| 4 | /-! # Morphism Components -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.MorphismComponents.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An arbitrary morphism sends each actual integral source component |
| 11 | into a unique actual target component. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 14 | |
| 15 | variable {X Y : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} (f : X.toOver ⟶ Y.toOver) |
| 16 | |
| 17 | def projectiveComponentMapToTarget (C : irreducibleComponents X.carrier) : |
| 18 | (X.componentVariety C).carrier ⟶ Y.carrier := |
| 19 | X.componentInclusion C ≫ (show X.carrier ⟶ Y.carrier from f.left) |
| 20 | |
| 21 | def projectiveMorphismComponent (C : irreducibleComponents X.carrier) : irreducibleComponents Y.carrier := |
| 22 | Classical.choose (Graph.ProjectionComponents.BundleCycles.projectiveComponents_cover Y |
| 23 | (projectiveComponentMapToTarget f C (genericPoint (X.componentVariety C).carrier))) |
| 24 | |
| 25 | theorem projectiveMorphismComponent_generic_mem (C : irreducibleComponents X.carrier) : |
| 26 | projectiveComponentMapToTarget f C (genericPoint (X.componentVariety C).carrier) ∈ |
| 27 | Set.range (Y.componentInclusion (projectiveMorphismComponent f C)) := |
| 28 | (Classical.choose_spec (Graph.ProjectionComponents.BundleCycles.projectiveComponents_cover Y |
| 29 | (projectiveComponentMapToTarget f C (genericPoint (X.componentVariety C).carrier)))).1 |
| 30 | |
| 31 | theorem projectiveMorphismComponent_range (C : irreducibleComponents X.carrier) : |
| 32 | Set.range (projectiveComponentMapToTarget f C) ⊆ |
| 33 | Set.range (Y.componentInclusion (projectiveMorphismComponent f C)) := by |
| 34 | let D := projectiveMorphismComponent f C |
| 35 | let : IsOpenImmersion (Y.componentInclusion D) := Y.componentInclusion_isOpenImmersion D |
| 36 | let : IsClosedImmersion (Y.componentInclusion D) := Y.componentInclusion_isClosedImmersion D |
| 37 | have hi : IsIrreducible (Set.range (projectiveComponentMapToTarget f C)) := by |
| 38 | simpa only [Set.image_univ] using |
| 39 | (IrreducibleSpace.isIrreducible_univ (X.componentVariety C).carrier).image |
| 40 | (projectiveComponentMapToTarget f C) (projectiveComponentMapToTarget f C).continuous.continuousOn |
| 41 | exact hi.isConnected.isPreconnected.subset_isClopen |
| 42 | ⟨(Y.componentInclusion D).isClosedEmbedding.isClosed_range, (Y.componentInclusion D).isOpenEmbedding.isOpen_range⟩ |
| 43 | ⟨_, ⟨genericPoint (X.componentVariety C).carrier, rfl⟩, projectiveMorphismComponent_generic_mem f C⟩ |
| 44 | |
| 45 | def projectiveMorphismOnComponent (C : irreducibleComponents X.carrier) : |
| 46 | (X.componentVariety C).carrier ⟶ (Y.componentVariety (projectiveMorphismComponent f C)).carrier := by |
| 47 | let : IsOpenImmersion (Y.componentInclusion (projectiveMorphismComponent f C)) := |
| 48 | Y.componentInclusion_isOpenImmersion _ |
| 49 | exact IsOpenImmersion.lift (Y.componentInclusion (projectiveMorphismComponent f C)) |
| 50 | (projectiveComponentMapToTarget f C) (projectiveMorphismComponent_range f C) |
| 51 | |
| 52 | theorem projectiveMorphismOnComponent_inclusion (C : irreducibleComponents X.carrier) : |
| 53 | projectiveMorphismOnComponent f C ≫ Y.componentInclusion (projectiveMorphismComponent f C) = |
| 54 | projectiveComponentMapToTarget f C := by |
| 55 | let : IsOpenImmersion (Y.componentInclusion (projectiveMorphismComponent f C)) := |
| 56 | Y.componentInclusion_isOpenImmersion _ |
| 57 | exact IsOpenImmersion.lift_fac _ _ _ |
| 58 | |
| 59 | theorem projectiveMorphismOnComponent_over (C : irreducibleComponents X.carrier) : |
| 60 | projectiveMorphismOnComponent f C ≫ (Y.componentVariety (projectiveMorphismComponent f C)).structureMap = |
| 61 | (X.componentVariety C).structureMap := by |
| 62 | have hf : (show X.carrier ⟶ Y.carrier from f.left) ≫ Y.structureMap = X.structureMap := f.w |
| 63 | rw [← Y.componentInclusion_over, ← Category.assoc, projectiveMorphismOnComponent_inclusion] |
| 64 | change (X.componentInclusion C ≫ (show X.carrier ⟶ Y.carrier from f.left)) ≫ Y.structureMap = _ |
| 65 | rw [Category.assoc, hf, X.componentInclusion_over] |
| 66 | |
| 67 | def projectiveMorphismOnComponentOver (C : irreducibleComponents X.carrier) : |
| 68 | (X.componentVariety C).toOver ⟶ (Y.componentVariety (projectiveMorphismComponent f C)).toOver := |
| 69 | Over.homMk (projectiveMorphismOnComponent f C) (projectiveMorphismOnComponent_over f C) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Projective.MorphismComponents.BundleCycles |