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.FormalGeometry.Completion.Geometric.MapBaseChange |
| 2 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 3 | |
| 4 | /-! # Map Faithful -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.MapFaithful.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual geometric base change faithfully detects scheme morphisms over a field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (k : Type u) [Field k] |
| 20 | |
| 21 | /-- The actual algebraic-closure base morphism is faithfully flat and affine. -/ |
| 22 | theorem algebraicClosureBase_flat_surjective : |
| 23 | Flat (Frobenius.Construction.algebraicClosureBase k) ∧ Surjective (Frobenius.Construction.algebraicClosureBase k) := by |
| 24 | have : Flat (Frobenius.Construction.algebraicClosureBase k) := by |
| 25 | change Flat (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k)))) |
| 26 | infer_instance |
| 27 | refine ⟨this, ⟨fun x => ⟨IsLocalRing.closedPoint (AlgebraicClosure k), Subsingleton.elim _ _⟩⟩⟩ |
| 28 | |
| 29 | /-- The actual projection from a geometric fiber is an fpqc epimorphism. -/ |
| 30 | theorem geometricFiberProjection_epi (A : Over (Spec (CommRingCat.of k))) : |
| 31 | Epi (pullback.fst A.hom (Frobenius.Construction.algebraicClosureBase k)) := by |
| 32 | have := (algebraicClosureBase_flat_surjective k).1 |
| 33 | have := (algebraicClosureBase_flat_surjective k).2 |
| 34 | have : Flat (pullback.fst A.hom (Frobenius.Construction.algebraicClosureBase k)) := inferInstance |
| 35 | have : Surjective (pullback.fst A.hom (Frobenius.Construction.algebraicClosureBase k)) := inferInstance |
| 36 | have : IsAffineHom (Frobenius.Construction.algebraicClosureBase k) := inferInstance |
| 37 | have : QuasiCompact (Frobenius.Construction.algebraicClosureBase k) := inferInstance |
| 38 | have : QuasiCompact (pullback.fst A.hom (Frobenius.Construction.algebraicClosureBase k)) := inferInstance |
| 39 | infer_instance |
| 40 | |
| 41 | /-- Equality after the actual geometric base change implies equality over the original field. -/ |
| 42 | theorem geometricFiberMap_injective {A B : Over (Spec (CommRingCat.of k))} : |
| 43 | Function.Injective (Frobenius.Construction.geometricFiberMap k (A := A) (B := B)) := by |
| 44 | intro f g h |
| 45 | have := geometricFiberProjection_epi k A |
| 46 | apply Over.OverMorphism.ext |
| 47 | apply (cancel_epi (pullback.fst A.hom (Frobenius.Construction.algebraicClosureBase k))).mp |
| 48 | rw [← Frobenius.Construction.geometricFiberMap_fst, ← Frobenius.Construction.geometricFiberMap_fst, h] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.MapFaithful.Construction |