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.Integral.ClosedImage |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.FiberFundamentalCycle |
| 3 | import Mathlib.Topology.Connected.Clopen |
| 4 | |
| 5 | /-! # Clopen Components -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ClopenComponents.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The components and their generic points in a disjoint cover by actual |
| 12 | integral open and closed subschemes. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | variable {X : Scheme.{0}} {ι : Type} (U : ι → Scheme.{0}) [∀ k, IsIntegral (U k)] |
| 17 | (i : ∀ k, U k ⟶ X) [∀ k, IsOpenImmersion (i k)] [∀ k, IsClosedImmersion (i k)] |
| 18 | |
| 19 | theorem integralClopen_range_component (k : ι) : Set.range (i k) ∈ irreducibleComponents X := by |
| 20 | have hir : IsIrreducible (Set.range (i k)) := by |
| 21 | simpa only [Set.image_univ] using |
| 22 | (IrreducibleSpace.isIrreducible_univ (U k)).image (i k) (i k).continuous.continuousOn |
| 23 | refine ⟨hir, ?_⟩ |
| 24 | intro W hW hsub |
| 25 | obtain ⟨x, hx⟩ := hir.nonempty |
| 26 | exact hW.isConnected.isPreconnected.subset_isClopen |
| 27 | ⟨(i k).isClosedEmbedding.isClosed_range, (i k).isOpenEmbedding.isOpen_range⟩ ⟨x, hsub hx, hx⟩ |
| 28 | |
| 29 | def integralClopenComponent (k : ι) : irreducibleComponents X := |
| 30 | ⟨Set.range (i k), integralClopen_range_component U i k⟩ |
| 31 | |
| 32 | theorem integralClopenComponent_genericPoint (k : ι) : |
| 33 | FiberFundamentalCycle.BundleCycles.componentGenericPoint X (integralClopenComponent U i k) = i k (genericPoint (U k)) := by |
| 34 | have hW : (⟨Set.range (i k), (integralClopen_range_component U i k).1, |
| 35 | (i k).isClosedEmbedding.isClosed_range⟩ : IrreducibleCloseds X) = |
| 36 | CycleClass.Geometric.StratumClosure.integralImageClosure (i k) := by |
| 37 | apply SetLike.coe_injective |
| 38 | exact (i k).isClosedEmbedding.isClosed_range.closure_eq.symm |
| 39 | exact (congrArg irreducibleSetEquivPoints hW).trans (ClosedImage.BundleCycles.integralClosedImage_genericPoint (i k)) |
| 40 | |
| 41 | variable (hcover : ∀ x : X, ∃! k, x ∈ Set.range (i k)) |
| 42 | |
| 43 | include hcover in |
| 44 | theorem integralClopenComponent_bijective : Function.Bijective (integralClopenComponent U i) := by |
| 45 | constructor |
| 46 | · intro k l hkl |
| 47 | let x := i k (genericPoint (U k)) |
| 48 | have hk : x ∈ Set.range (i k) := ⟨_, rfl⟩ |
| 49 | have hl : x ∈ Set.range (i l) := by |
| 50 | exact (congrArg (fun C : irreducibleComponents X => x ∈ C.val) hkl).mp hk |
| 51 | obtain ⟨m, _, hm⟩ := hcover x |
| 52 | exact (hm k hk).trans (hm l hl).symm |
| 53 | · intro C |
| 54 | obtain ⟨x, hx⟩ := C.property.1.nonempty |
| 55 | obtain ⟨k, hk, _⟩ := hcover x |
| 56 | refine ⟨k, Subtype.ext ?_⟩ |
| 57 | have hsub : C.val ⊆ Set.range (i k) := C.property.1.isConnected.isPreconnected.subset_isClopen |
| 58 | ⟨(i k).isClosedEmbedding.isClosed_range, (i k).isOpenEmbedding.isOpen_range⟩ ⟨x, hx, hk⟩ |
| 59 | exact (C.property.2 (integralClopen_range_component U i k).1 hsub).antisymm hsub |
| 60 | |
| 61 | def integralClopenComponentsEquiv : ι ≃ irreducibleComponents X := |
| 62 | Equiv.ofBijective (integralClopenComponent U i) (integralClopenComponent_bijective U i hcover) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ClopenComponents.BundleCycles |