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.AbelianScheme.TateComparison.Products |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 3 | import Mathlib.CategoryTheory.Limits.Constructions.FiniteProductsOfBinaryProducts |
| 4 | |
| 5 | /-! # Albanese Product -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smoothness, properness, and geometric connectedness of TateComparison's actual |
| 12 | total Albanese product follow from IntegralModel's component geometry. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | def GoodGroupGeometry {S : Scheme} (A : Over S) : Prop := |
| 17 | Smooth A.hom ∧ IsProper A.hom ∧ GeometricallyConnected A.hom |
| 18 | |
| 19 | theorem geometry_of_iso {S : Scheme} {A B : Over S} (e : A ≅ B) |
| 20 | (hB : GoodGroupGeometry B) : GoodGroupGeometry A := by |
| 21 | let : IsIso e.hom.left := inferInstanceAs (IsIso ((Over.forget S).map e.hom)) |
| 22 | let : Smooth B.hom := hB.1 |
| 23 | let : IsProper B.hom := hB.2.1 |
| 24 | let : MorphismProperty.RespectsIso (@GeometricallyConnected) := |
| 25 | MorphismProperty.IsStableUnderBaseChange.respectsIso |
| 26 | dsimp only [GoodGroupGeometry] |
| 27 | rw [← e.hom.w] |
| 28 | exact ⟨inferInstance, inferInstance, |
| 29 | (MorphismProperty.cancel_left_of_respectsIso @GeometricallyConnected _ _).mpr hB.2.2⟩ |
| 30 | |
| 31 | theorem identity_geometry (S : Scheme) : GoodGroupGeometry (Over.mk (𝟙 S)) := by |
| 32 | change Smooth (𝟙 S) ∧ IsProper (𝟙 S) ∧ GeometricallyConnected (𝟙 S) |
| 33 | refine ⟨inferInstance, inferInstance, ?_⟩ |
| 34 | constructor |
| 35 | intro K _ x Z fst snd hp |
| 36 | let : IsIso snd := hp.isIso_snd_of_isIso |
| 37 | exact (asIso snd).hom.homeomorph.connectedSpace_iff.mpr inferInstance |
| 38 | |
| 39 | theorem binary_geometry {S : Scheme} (A B : Over S) |
| 40 | (hA : GoodGroupGeometry A) (hB : GoodGroupGeometry B) : |
| 41 | GoodGroupGeometry (A ⨯ B) := by |
| 42 | let : Smooth A.hom := hA.1 |
| 43 | let : Smooth B.hom := hB.1 |
| 44 | let : IsProper B.hom := hB.2.1 |
| 45 | let : GeometricallyConnected B.hom := hB.2.2 |
| 46 | have hp := Over.isPullback_of_binaryFan_isLimit _ (prodIsProd A B) |
| 47 | let f : A ⨯ B ⟶ B := prod.snd |
| 48 | let : Smooth f.left := MorphismProperty.of_isPullback hp hA.1 |
| 49 | let : IsProper f.left := MorphismProperty.of_isPullback hp hA.2.1 |
| 50 | let : GeometricallyConnected f.left := MorphismProperty.of_isPullback hp hA.2.2 |
| 51 | change Smooth (A ⨯ B).hom ∧ IsProper (A ⨯ B).hom ∧ |
| 52 | GeometricallyConnected (A ⨯ B).hom |
| 53 | rw [← f.w] |
| 54 | exact ⟨inferInstance, inferInstance, GeometricallyConnected.comp f.left B.hom⟩ |
| 55 | |
| 56 | theorem finite_product_geometry {S : Scheme} (r : ℕ) (A : Fin r → Over S) |
| 57 | (hA : ∀ i, GoodGroupGeometry (A i)) : GoodGroupGeometry (∏ᶜ A) := by |
| 58 | induction r with |
| 59 | | zero => |
| 60 | let c : Fan A := Fan.mk (Over.mk (𝟙 S)) (fun i => Fin.elim0 i) |
| 61 | have hc : IsLimit c := Fan.IsLimit.mk _ |
| 62 | (fun c' => Over.mkIdTerminal.from c'.pt) |
| 63 | (fun _ i => Fin.elim0 i) |
| 64 | (fun _ _ _ => Over.mkIdTerminal.hom_ext _ _) |
| 65 | exact geometry_of_iso ((limit.isLimit _).conePointUniqueUpToIso hc) |
| 66 | (identity_geometry S) |
| 67 | | succ r ih => |
| 68 | have ht := ih (fun i => A i.succ) (fun i => hA i.succ) |
| 69 | have hp := binary_geometry (A 0) (∏ᶜ fun i : Fin r => A i.succ) (hA 0) ht |
| 70 | have hc := extendFanIsLimit A (limit.isLimit (Discrete.functor fun i : Fin r => A i.succ)) |
| 71 | (prodIsProd (A 0) (∏ᶜ fun i : Fin r => A i.succ)) |
| 72 | exact geometry_of_iso ((limit.isLimit _).conePointUniqueUpToIso hc) hp |
| 73 | |
| 74 | /-- This is the exact group product used to define TateComparison's endomorphism |
| 75 | algebra, identified with the finite scheme product by its canonical iso. -/ |
| 76 | theorem component_product_geometry {S : Scheme} {r : ℕ} |
| 77 | (A : Fin r → CommGrp (Over S)) (hA : ∀ i, GoodGroupGeometry (A i).X) : |
| 78 | GoodGroupGeometry (AbelianScheme.TateComparison.Products.componentProduct A).X := |
| 79 | geometry_of_iso (AbelianScheme.TateComparison.Products.componentProductComparison A) |
| 80 | (finite_product_geometry r (fun i => (A i).X) hA) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseProduct.CM |