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.Comparison.Betti.Smooth.Components |
| 2 | |
| 3 | /-! # Component Morphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.ComponentMorphisms.Components |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restrict an actual scheme morphism to its source and target integral components. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 12 | |
| 13 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (f : X ⟶ Y) |
| 14 | |
| 15 | theorem exists_component_target (C : irreducibleComponents X.left) : |
| 16 | ∃ D : irreducibleComponents Y.left, f.left '' C.val ⊆ D.val := by |
| 17 | obtain ⟨D, hD, h⟩ := exists_mem_irreducibleComponents_subset_of_isIrreducible |
| 18 | (f.left '' C.val) (C.property.1.image f.left f.left.continuous.continuousOn) |
| 19 | exact ⟨⟨D, hD⟩, h⟩ |
| 20 | |
| 21 | def componentTarget (C : irreducibleComponents X.left) : irreducibleComponents Y.left := |
| 22 | (exists_component_target f C).choose |
| 23 | |
| 24 | theorem componentTarget_contains (C : irreducibleComponents X.left) : |
| 25 | f.left '' C.val ⊆ (componentTarget f C).val := |
| 26 | (exists_component_target f C).choose_spec |
| 27 | |
| 28 | variable [Smooth X.hom] [QuasiCompact X.hom] [Smooth Y.hom] [QuasiCompact Y.hom] |
| 29 | |
| 30 | theorem componentMap_range (C : irreducibleComponents X.left) : |
| 31 | Set.range (Betti.Smooth.Components.componentInclusion X C ≫ f).left ⊆ |
| 32 | Set.range (Betti.Smooth.Components.componentInclusion Y (componentTarget f C)).left := by |
| 33 | rw [Betti.Smooth.Components.componentInclusion_range] |
| 34 | rintro _ ⟨x, rfl⟩ |
| 35 | apply componentTarget_contains f C |
| 36 | refine ⟨(Betti.Smooth.Components.componentInclusion X C).left x, ?_, rfl⟩ |
| 37 | rw [← Betti.Smooth.Components.componentInclusion_range] |
| 38 | exact ⟨x, rfl⟩ |
| 39 | |
| 40 | def componentMap (C : irreducibleComponents X.left) : |
| 41 | Betti.Smooth.Components.componentOver X C ⟶ Betti.Smooth.Components.componentOver Y (componentTarget f C) := |
| 42 | Over.homMk (IsOpenImmersion.lift (Betti.Smooth.Components.componentInclusion Y (componentTarget f C)).left |
| 43 | (Betti.Smooth.Components.componentInclusion X C ≫ f).left (componentMap_range f C)) (by |
| 44 | change IsOpenImmersion.lift _ _ _ ≫ |
| 45 | ((Betti.Smooth.Components.componentInclusion Y (componentTarget f C)).left ≫ Y.hom) = _ |
| 46 | rw [← Category.assoc, IsOpenImmersion.lift_fac] |
| 47 | exact Over.w (Betti.Smooth.Components.componentInclusion X C ≫ f)) |
| 48 | |
| 49 | theorem componentMap_fac (C : irreducibleComponents X.left) : |
| 50 | componentMap f C ≫ Betti.Smooth.Components.componentInclusion Y (componentTarget f C) = Betti.Smooth.Components.componentInclusion X C ≫ f := by |
| 51 | apply Over.OverMorphism.ext |
| 52 | exact IsOpenImmersion.lift_fac _ _ (componentMap_range f C) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.Comparison.Betti.ComponentMorphisms.Components |