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.PELModuli.IntegralModel.Words |
| 2 | |
| 3 | /-! # Fiber Generation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The specialization theorem applied to the actual finite-difference morphism. |
| 11 | Geometric points are related to points of a pullback by an explicit equivalence. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- A point of the fiber is exactly a point of the original scheme over the |
| 21 | specified base point. Both maps are constructed using the scheme pullback. -/ |
| 22 | def FiberGeneration.fiberPointsEquiv {B : Scheme.{u}} (X : Over B) |
| 23 | {Ω : Type u} [Field Ω] (t : Spec (.of Ω) ⟶ B) : |
| 24 | (Over.mk (𝟙 (Spec (.of Ω))) ⟶ (Over.pullback t).obj X) ≃ |
| 25 | (Over.mk t ⟶ X) where |
| 26 | toFun p := Over.homMk (p.left ≫ pullback.fst X.hom t) (by |
| 27 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 28 | have hp : p.left ≫ pullback.snd X.hom t = 𝟙 _ := p.w |
| 29 | rw [hp] |
| 30 | exact Category.id_comp t) |
| 31 | invFun p := Over.homMk (pullback.lift p.left (𝟙 _) |
| 32 | (p.w.trans (Category.id_comp t).symm)) (pullback.lift_snd _ _ _) |
| 33 | left_inv p := by |
| 34 | ext1 |
| 35 | apply pullback.hom_ext |
| 36 | · exact pullback.lift_fst _ _ _ |
| 37 | · exact (pullback.lift_snd _ _ _).trans p.w.symm |
| 38 | right_inv p := by ext1; exact pullback.lift_fst _ _ _ |
| 39 | |
| 40 | @[reassoc] |
| 41 | theorem FiberGeneration.fiberPointsEquiv_naturality {B : Scheme.{u}} {X Y : Over B} |
| 42 | (f : X ⟶ Y) {Ω : Type u} [Field Ω] (t : Spec (.of Ω) ⟶ B) |
| 43 | (p : Over.mk (𝟙 (Spec (.of Ω))) ⟶ (Over.pullback t).obj X) : |
| 44 | FiberGeneration.fiberPointsEquiv Y t (p ≫ (Over.pullback t).map f) = |
| 45 | FiberGeneration.fiberPointsEquiv X t p ≫ f := by |
| 46 | ext1 |
| 47 | change (p.left ≫ pullback.lift _ _ _) ≫ pullback.fst Y.hom t = |
| 48 | (p.left ≫ pullback.fst X.hom t) ≫ f.left |
| 49 | rw [Category.assoc, pullback.lift_fst, ← Category.assoc] |
| 50 | |
| 51 | /-- Generic surjectivity supplies points over every algebraically closed |
| 52 | field at every base point, expressed in the original slice category. -/ |
| 53 | theorem FiberGeneration.points_surjective_of_dominant_base_change |
| 54 | {B T : Scheme.{u}} (g : T ⟶ B) [IsDominant g] |
| 55 | {X Y : Over B} (f : X ⟶ Y) |
| 56 | [IsProper f.left] [UniversallyOpen Y.hom] |
| 57 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 58 | (hgeneric : Surjective ((Over.pullback g).map f).left) |
| 59 | (Ω : Type u) [Field Ω] [IsAlgClosed Ω] (t : Spec (.of Ω) ⟶ B) : |
| 60 | Function.Surjective (fun p : Over.mk t ⟶ X => p ≫ f) := by |
| 61 | intro y |
| 62 | obtain ⟨p, hp⟩ := Specialization.every_geometric_fiber_point_surjective g f hgeneric Ω t |
| 63 | ((FiberGeneration.fiberPointsEquiv Y t).symm y) |
| 64 | change p ≫ (Over.pullback t).map f = (FiberGeneration.fiberPointsEquiv Y t).symm y at hp |
| 65 | refine ⟨FiberGeneration.fiberPointsEquiv X t p, ?_⟩ |
| 66 | dsimp only |
| 67 | rw [← FiberGeneration.fiberPointsEquiv_naturality, hp, Equiv.apply_symm_apply] |
| 68 | |
| 69 | /-- The same finite number of differences works on every geometric fiber. |
| 70 | All properness and base-change compatibility come from the constructed word |
| 71 | morphism; no special-fiber generation assertion is assumed. -/ |
| 72 | theorem FiberGeneration.difference_sums_surjective_on_geometric_fibers |
| 73 | {B T : Scheme.{u}} (g : T ⟶ B) [IsDominant g] |
| 74 | {X A : Over B} [GrpObj A] [IsCommMonObj A] |
| 75 | [IsProper X.hom] [IsProper A.hom] [Smooth A.hom] |
| 76 | (a : X ⟶ A) (n : ℕ) |
| 77 | (hgeneric : Surjective ((Over.pullback g).map (Words.DifferenceWords.map a n)).left) |
| 78 | (Ω : Type u) [Field Ω] [IsAlgClosed Ω] (t : Spec (.of Ω) ⟶ B) : |
| 79 | Function.Surjective |
| 80 | (fun z : Fin n → (Over.mk t ⟶ X) × (Over.mk t ⟶ X) => |
| 81 | ∑ i, (Additive.ofMul ((z i).1 ≫ a) - Additive.ofMul ((z i).2 ≫ a))) := by |
| 82 | apply (Words.DifferenceWords.sum_surjective_iff a (Over.mk t) n).mpr |
| 83 | exact FiberGeneration.points_surjective_of_dominant_base_change g (Words.DifferenceWords.map a n) |
| 84 | hgeneric Ω t |
| 85 | |
| 86 | theorem Components.ComponentAlbaneseData.sumOfDifferences_surjective |
| 87 | {B T : Scheme} (g : T ⟶ B) [IsDominant g] |
| 88 | {M : Over B} {r : ℕ} (D : Components.ComponentAlbaneseData M r) (j : Fin r) |
| 89 | [IsProper (D.S j).hom] [IsProper (D.A j).X.hom] [Smooth (D.A j).X.hom] |
| 90 | (n : ℕ) |
| 91 | (hgeneric : Surjective ((Over.pullback g).map |
| 92 | (Words.DifferenceWords.map (D.a j) n)).left) (t : Base.GeometricPoint B) : |
| 93 | Function.Surjective (D.sumOfDifferences j n t) := |
| 94 | FiberGeneration.difference_sums_surjective_on_geometric_fibers g (D.a j) n hgeneric t.field t.morphism |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |