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.Picard.PoincareBundle.Open.SquareSections |
| 2 | import Mathlib.AlgebraicGeometry.PullbackCarrier |
| 3 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 4 | |
| 5 | /-! # Kernel Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.KernelPair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The actual scheme kernel pair restricts along a cartesian open square |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y X' Y' : Scheme.{u}} (f : X ⟶ Y) (f' : X' ⟶ Y') |
| 20 | (iX : X' ⟶ X) (iY : Y' ⟶ Y) [IsOpenImmersion iX] [IsOpenImmersion iY] |
| 21 | (h : iX ≫ f = f' ≫ iY) |
| 22 | |
| 23 | /-- The induced morphism of actual scheme-theoretic kernel pairs. -/ |
| 24 | def map : pullback f' f' ⟶ pullback f f := |
| 25 | pullback.map f' f' f f iX iX iY h.symm h.symm |
| 26 | |
| 27 | instance map_isOpenImmersion : IsOpenImmersion (KernelPair.map f f' iX iY h) := by |
| 28 | unfold KernelPair.map |
| 29 | infer_instance |
| 30 | |
| 31 | omit [IsOpenImmersion iX] [IsOpenImmersion iY] in |
| 32 | /-- The first kernel-pair projection commutes with the restriction. -/ |
| 33 | theorem map_fst : KernelPair.map f f' iX iY h ≫ pullback.fst f f = pullback.fst f' f' ≫ iX := |
| 34 | pullback.lift_fst _ _ _ |
| 35 | |
| 36 | omit [IsOpenImmersion iX] [IsOpenImmersion iY] in |
| 37 | /-- The second kernel-pair projection commutes with the restriction. -/ |
| 38 | theorem map_snd : KernelPair.map f f' iX iY h ≫ pullback.snd f f = pullback.snd f' f' ≫ iX := |
| 39 | pullback.lift_snd _ _ _ |
| 40 | |
| 41 | /-- The kernel-pair image is the intersection of the inverse images of the covering open. -/ |
| 42 | theorem opensRange_map : |
| 43 | (KernelPair.map f f' iX iY h).opensRange = |
| 44 | pullback.fst f f ⁻¹ᵁ iX.opensRange ⊓ pullback.snd f f ⁻¹ᵁ iX.opensRange := by |
| 45 | apply TopologicalSpace.Opens.ext |
| 46 | exact Scheme.Pullback.range_map f' f' f f iX iX iY h.symm h.symm |
| 47 | |
| 48 | variable (hpre : f ⁻¹ᵁ iY.opensRange ≤ iX.opensRange) |
| 49 | |
| 50 | include h hpre in |
| 51 | /-- A commuting open square with the full inverse image has precisely that source open. -/ |
| 52 | theorem sourceRange_eq : f ⁻¹ᵁ iY.opensRange = iX.opensRange := by |
| 53 | apply le_antisymm hpre |
| 54 | simpa using SquareSections.image_preimage_le f f' iX iY h ⊤ |
| 55 | |
| 56 | include hpre in |
| 57 | /-- The induced kernel-pair open contains the full inverse image under its second projection. -/ |
| 58 | theorem second_preimage_le : |
| 59 | pullback.snd f f ⁻¹ᵁ iX.opensRange ≤ (KernelPair.map f f' iX iY h).opensRange := by |
| 60 | rw [opensRange_map] |
| 61 | apply le_inf ?_ le_rfl |
| 62 | rw [← sourceRange_eq f f' iX iY h hpre, |
| 63 | ← Scheme.Hom.comp_preimage, ← Scheme.Hom.comp_preimage, pullback.condition] |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Open.KernelPair |