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.HodgeConjecture.DegreeTwo.OpenEmbeddingExtension |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalSupportRepresentative |
| 3 | |
| 4 | /-! # Compact Image Open Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactImageOpenRestriction.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact compact images commute with restricting a continuous map to the preimage of an open set. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {X Y : TopCat.{0}} (f : Y ⟶ X) (U : Opens X) |
| 17 | |
| 18 | theorem compactImage_openPreimage_square (K : Compacts ((Opens.map f).obj U)) : |
| 19 | OpenEmbeddingExtension.Constructions.embeddingCompactImage f |
| 20 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion Y ((Opens.map f).obj U)) K) = |
| 21 | OpenEmbeddingExtension.Constructions.embeddingCompactImage (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) |
| 22 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (SingularSheafPullback.Constructions.openPreimageMap f U) K) := by |
| 23 | apply Compacts.ext |
| 24 | change f '' ((CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion Y ((Opens.map f).obj U)) '' (K : Set ((Opens.map f).obj U))) = |
| 25 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) '' ((SingularSheafPullback.Constructions.openPreimageMap f U) '' (K : Set ((Opens.map f).obj U))) |
| 26 | rw [Set.image_image, Set.image_image] |
| 27 | rfl |
| 28 | |
| 29 | theorem compactImage_openPreimage_complement (K : Compacts ((Opens.map f).obj U)) : |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) |
| 31 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage f |
| 32 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion Y ((Opens.map f).obj U)) K) : Set X)ᶜ U = |
| 33 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (SingularSheafPullback.Constructions.openPreimageMap f U) K : Set U)ᶜ := by |
| 34 | rw [compactImage_openPreimage_square] |
| 35 | change (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' |
| 36 | ((CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) '' (OpenEmbeddingExtension.Constructions.embeddingCompactImage (SingularSheafPullback.Constructions.openPreimageMap f U) K : Set U))ᶜ = _ |
| 37 | rw [Set.preimage_compl, Set.preimage_image_eq _ |
| 38 | (show Function.Injective (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) from Subtype.val_injective)] |
| 39 | |
| 40 | theorem compactImage_openInclusion_complement (K : Compacts U) : |
| 41 | AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := X) |
| 42 | (OpenEmbeddingExtension.Constructions.embeddingCompactImage (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) K : Set X)ᶜ U = (K : Set U)ᶜ := by |
| 43 | change (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) ⁻¹' ((CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) '' (K : Set U))ᶜ = _ |
| 44 | rw [Set.preimage_compl, Set.preimage_image_eq _ |
| 45 | (show Function.Injective (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion X U) from Subtype.val_injective)] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.CompactImageOpenRestriction.Constructions |