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.FieldGeometricDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FaithfulGroupMap |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FlatDescent |
| 4 | |
| 5 | /-! # Integral Field Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralFieldDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Descent of actual integral algebraic group endomorphisms from |
| 12 | compatible geometric point values over a field extension. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | universe u |
| 18 | variable {k L : Type u} [Field k] [CharZero k] [Field L] |
| 19 | (p : Spec (.of L) ⟶ Spec (.of k)) (A : Over (Spec (.of k))) |
| 20 | |
| 21 | def fieldEndUnderlying (φ : (Over.pullback p).obj A ⟶ (Over.pullback p).obj A) : |
| 22 | FieldGeometricDescent.fieldSource p A ⟶ A := |
| 23 | Over.homMk (φ.left ≫ pullback.fst A.hom p) (by |
| 24 | change (φ.left ≫ pullback.fst A.hom p) ≫ A.hom = pullback.fst A.hom p ≫ A.hom |
| 25 | rw [Category.assoc, pullback.condition, ← Category.assoc] |
| 26 | exact congrArg (fun a : pullback A.hom p ⟶ Spec (.of L) => a ≫ p) φ.w) |
| 27 | |
| 28 | omit [CharZero k] in |
| 29 | theorem fieldEndUnderlying_baseChange_eq |
| 30 | (φ : (Over.pullback p).obj A ⟶ (Over.pullback p).obj A) (f : A ⟶ A) |
| 31 | (hf : FieldGeometricDescent.fieldSourceProjection p A ≫ f = fieldEndUnderlying p A φ) : |
| 32 | (Over.pullback p).map f = φ := by |
| 33 | apply Over.OverMorphism.ext |
| 34 | apply pullback.hom_ext |
| 35 | · exact (pullback.lift_fst _ _ _).trans (congrArg Over.Hom.left hf) |
| 36 | · exact ((Over.pullback p).map f).w.trans φ.w.symm |
| 37 | |
| 38 | theorem integralEnd_descends_of_geometric_compatibility |
| 39 | [GrpObj A] [IsCommMonObj A] [IsIntegral (pullback A.hom p)] [IsSeparated A.hom] |
| 40 | (φ : (Over.pullback p).obj A ⟶ (Over.pullback p).obj A) [IsMonHom φ] |
| 41 | (hφ : ∀ (Ω : Type u) [Field Ω] [IsAlgClosed Ω] |
| 42 | (b : Spec (.of Ω) ⟶ Spec (.of k)) (x y : Over.mk b ⟶ FieldGeometricDescent.fieldSource p A), |
| 43 | x ≫ FieldGeometricDescent.fieldSourceProjection p A = y ≫ FieldGeometricDescent.fieldSourceProjection p A → |
| 44 | x ≫ fieldEndUnderlying p A φ = y ≫ fieldEndUnderlying p A φ) : |
| 45 | ∃ e : End.IntegralEnd A, |
| 46 | BaseChange.endBaseChange A p e = End.endOfSchemeMap ((Over.pullback p).obj A) φ := by |
| 47 | obtain ⟨f, hf, _⟩ := FieldGeometricDescent.fieldGeometricDescent p A A (fieldEndUnderlying p A φ) hφ |
| 48 | have he : (Over.pullback p).map f = φ := fieldEndUnderlying_baseChange_eq p A φ f hf |
| 49 | have : Flat p := by |
| 50 | obtain ⟨ρ, rfl⟩ := Spec.map_surjective p |
| 51 | rw [Flat.SpecMap_iff] |
| 52 | exact RingHom.Flat.of_isField (Field.toIsField k) ρ.hom |
| 53 | have : Surjective p := ⟨Function.surjective_to_subsingleton _⟩ |
| 54 | have : QuasiCompact p := ⟨fun _ _ _ => (Set.toFinite _).isCompact⟩ |
| 55 | have : (Over.pullback p).Faithful := inferInstance |
| 56 | have : IsMonHom ((Over.pullback p).map f) := he.symm ▸ inferInstanceAs (IsMonHom φ) |
| 57 | have : IsMonHom f := FaithfulGroupMap.isMonHom_of_faithful_map (Over.pullback p) f |
| 58 | refine ⟨End.endOfSchemeMap A f, ?_⟩ |
| 59 | apply End.endSchemeMap_injective ((Over.pullback p).obj A) |
| 60 | rw [BaseChange.endBaseChange_schemeMap, End.endSchemeMap_ofSchemeMap, End.endSchemeMap_ofSchemeMap] |
| 61 | exact he |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IntegralFieldDescent |