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.Isogenies.NeighborCounting.EvaluationField |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ComponentLift |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChange |
| 4 | |
| 5 | /-! # Evaluation Field -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluationField.Lifts |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct a finite extension on which a native finite etale parameter |
| 13 | scheme is a disjoint union of rational points. This applies to the |
| 14 | generic torsion and neighbor parameter schemes before any reduction. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ComponentLift.Components OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.BaseChange |
| 23 | |
| 24 | def affineAlgebraIso (R : Type u) [CommRing R] |
| 25 | {A B : Type u} [CommRing A] [CommRing B] [Algebra R A] [Algebra R B] |
| 26 | (e : A ≃ₐ[R] B) : EtaleTargetMaps.Components.affineOver R B ≅ EtaleTargetMaps.Components.affineOver R A := |
| 27 | (algSpec (.of R)).mapIso (CommAlgCat.isoMk e).op |
| 28 | |
| 29 | def constantAffineIso (R : Type u) [CommRing R] (n : ℕ) : |
| 30 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of R)) (ULift.{u} (Fin n)) ≅ |
| 31 | EtaleTargetMaps.Components.affineOver R (ULift.{u} (Fin n) → R) := by |
| 32 | let e : (∐ fun _ : ULift.{u} (Fin n) => Spec (.of R)) ≅ |
| 33 | Spec (.of (ULift.{u} (Fin n) → R)) := |
| 34 | asIso (sigmaSpec (fun _ : ULift.{u} (Fin n) => CommRingCat.of R)) |
| 35 | refine Over.isoMk e ?_ |
| 36 | apply Sigma.hom_ext |
| 37 | intro i |
| 38 | change Sigma.ι _ i ≫ sigmaSpec (fun _ : ULift.{u} (Fin n) => CommRingCat.of R) ≫ |
| 39 | Spec.map (CommRingCat.ofHom (algebraMap R (ULift.{u} (Fin n) → R))) = |
| 40 | Sigma.ι _ i ≫ Sigma.desc (fun _ : ULift.{u} (Fin n) => 𝟙 (Spec (.of R))) |
| 41 | rw [ι_sigmaSpec_assoc, Sigma.ι_comp_desc, ← Spec.map_comp] |
| 42 | have h : CommRingCat.ofHom (algebraMap R (ULift.{u} (Fin n) → R)) ≫ |
| 43 | CommRingCat.ofHom (Pi.evalRingHom (fun _ : ULift.{u} (Fin n) => R) i) = 𝟙 _ := by |
| 44 | ext r |
| 45 | rfl |
| 46 | rw [h, Spec.map_id] |
| 47 | |
| 48 | /-- The native parameter scheme acquires individually evaluated points |
| 49 | over a constructed finite field extension. -/ |
| 50 | theorem native_finite_evaluation_field (K : Type u) [Field K] |
| 51 | (X : Over (Spec (.of K))) [IsFinite X.hom] [Etale X.hom] : |
| 52 | ∃ (L : Type u) (_ : Field L) (_ : Algebra K L) (_ : Module.Finite K L) (n : ℕ), |
| 53 | Nonempty (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of L)) (ULift.{u} (Fin n)) ≅ |
| 54 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K L)))).obj X) := by |
| 55 | have hx : IsAffine X.left := isAffine_of_isAffineHom X.hom |
| 56 | obtain ⟨C, ⟨eC⟩⟩ := (essImage_algSpec (R := .of K) (G := X)).mpr hx |
| 57 | change EtaleTargetMaps.Components.affineOver K C.unop ≅ X at eC |
| 58 | have : Module.Finite K C.unop := ComponentLift.Components.finite_coordinates_of_iso K eC |
| 59 | have : Algebra.Etale K C.unop := ComponentLift.Components.etale_coordinates_of_iso K eC |
| 60 | obtain ⟨L, _, _, _, hsplit⟩ := EvaluationField.Lifts.exists_finite_evaluation_field K C.unop |
| 61 | obtain ⟨n, ⟨e⟩⟩ := hsplit.nonempty_algEquiv_fun |
| 62 | let e' : (L ⊗[K] C.unop) ≃ₐ[L] (ULift.{u} (Fin n) → L) := |
| 63 | e.trans (AlgEquiv.piCongrLeft' L (fun _ : Fin n => L) Equiv.ulift.symm) |
| 64 | refine ⟨L, inferInstance, inferInstance, inferInstance, n, ⟨?_⟩⟩ |
| 65 | exact constantAffineIso L n ≪≫ affineAlgebraIso L e' ≪≫ |
| 66 | (AffineSpecialFiber.Components.affineBaseChangeIso K L C.unop).symm ≪≫ |
| 67 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap K L)))).mapIso eC |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluationField.Lifts |