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.ComponentHopfLift |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Kernel.Base |
| 3 | |
| 4 | /-! # Etale Target Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EtaleTargetMaps.Components |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | HenselianLifting as a uniqueness theorem for actual scheme maps into an etale target. |
| 12 | Equality after native special-fiber pullback is tested on the residue |
| 13 | coordinate scheme and converted to the proved algebraic uniqueness. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (R : Type u) [CommRing R] [HenselianLocalRing R] |
| 21 | |
| 22 | def affineOver (A : Type u) [CommRing A] [Algebra R A] : Over (Spec (.of R)) := |
| 23 | (algSpec (.of R)).obj (.op (CommAlgCat.of R A)) |
| 24 | |
| 25 | def affineMap {A B : Type u} [CommRing A] [CommRing B] [Algebra R A] [Algebra R B] |
| 26 | (f : A →ₐ[R] B) : affineOver R B ⟶ affineOver R A := |
| 27 | (algSpec (.of R)).map (CommAlgCat.ofHom f).op |
| 28 | |
| 29 | variable (A : Type u) [CommRing A] [Algebra R A] |
| 30 | |
| 31 | /-- The residue coordinate scheme is an actual test scheme over the |
| 32 | closed point, with the arithmetic square proved. -/ |
| 33 | def residueCoordinateTest : affineOver R (ComponentLifts.Components.ResidueAlgebra R A) ⟶ |
| 34 | Over.mk (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) := by |
| 35 | letI : Algebra (IsLocalRing.ResidueField R) (ComponentLifts.Components.ResidueAlgebra R A) := |
| 36 | Ideal.Quotient.algebraQuotientOfLEComap Ideal.le_comap_map |
| 37 | refine Over.homMk (Spec.map (CommRingCat.ofHom |
| 38 | (algebraMap (IsLocalRing.ResidueField R) (ComponentLifts.Components.ResidueAlgebra R A)))) ?_ |
| 39 | change Spec.map (CommRingCat.ofHom (algebraMap (IsLocalRing.ResidueField R) (ComponentLifts.Components.ResidueAlgebra R A))) ≫ |
| 40 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) = |
| 41 | Spec.map (CommRingCat.ofHom (algebraMap R (ComponentLifts.Components.ResidueAlgebra R A))) |
| 42 | rw [← Spec.map_comp] |
| 43 | rfl |
| 44 | |
| 45 | variable {C : Type u} [CommRing C] [Algebra R C] [Module.Finite R A] |
| 46 | variable [Module.Finite R C] [Algebra.Etale R C] |
| 47 | |
| 48 | omit [HenselianLocalRing R] [Module.Finite R C] [Algebra.Etale R C] in |
| 49 | theorem affineMap_injective {B : Type u} [CommRing B] [Algebra R B] |
| 50 | {f g : C →ₐ[R] B} (h : affineMap R f = affineMap R g) : f = g := by |
| 51 | have he := (algSpec.fullyFaithful (R := .of R)).map_injective h |
| 52 | exact congrArg (fun a => a.unop.hom) he |
| 53 | |
| 54 | omit [Module.Finite R C] in |
| 55 | /-- Equality of special fibers determines the actual map from a finite |
| 56 | affine scheme into a finite etale target. The source may be non-etale. -/ |
| 57 | theorem affine_specialization_injective (f g : C →ₐ[R] A) |
| 58 | (h : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).map (affineMap R f) = |
| 59 | (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).map (affineMap R g)) : |
| 60 | f = g := by |
| 61 | apply OAI.Algebra.LocalRing.HenselianLifting.Construction.unramified_hom_ext_of_quotient R C _ |
| 62 | (OAI.Algebra.LocalRing.HenselianLifting.Construction.maximalIdeal_map_le_jacobson R A) |
| 63 | have he := Kernel.Base.maps_equal_on_special_tests |
| 64 | (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R))) (affineMap R f) (affineMap R g) h |
| 65 | (affineOver R (ComponentLifts.Components.ResidueAlgebra R A)) (residueCoordinateTest R A) |
| 66 | (affineMap R (ComponentHopfLift.Components.residueProjection R A)) |
| 67 | apply affineMap_injective R |
| 68 | exact ((algSpec (.of R)).map_comp (CommAlgCat.ofHom (ComponentHopfLift.Components.residueProjection R A)).op |
| 69 | (CommAlgCat.ofHom f).op).trans (he.trans |
| 70 | ((algSpec (.of R)).map_comp (CommAlgCat.ofHom (ComponentHopfLift.Components.residueProjection R A)).op |
| 71 | (CommAlgCat.ofHom g).op).symm) |
| 72 | |
| 73 | /-- An arbitrary residue-coordinate map to the finite etale target lifts |
| 74 | uniquely as an actual affine scheme morphism. -/ |
| 75 | theorem affine_residue_lift (φ : C →ₐ[R] ComponentLifts.Components.ResidueAlgebra R A) : |
| 76 | ∃! f : affineOver R A ⟶ affineOver R C, |
| 77 | affineMap R (ComponentHopfLift.Components.residueProjection R A) ≫ f = affineMap R φ := by |
| 78 | obtain ⟨f, hf, hu⟩ := OAI.Algebra.LocalRing.HenselianLifting.Construction.finiteEtale_hom_lift R C A φ |
| 79 | refine ⟨affineMap R f, ?_, ?_⟩ |
| 80 | · exact ((algSpec (.of R)).map_comp (CommAlgCat.ofHom (ComponentHopfLift.Components.residueProjection R A)).op |
| 81 | (CommAlgCat.ofHom f).op).symm.trans (congrArg (affineMap R) hf) |
| 82 | · intro g hg |
| 83 | let a : C →ₐ[R] A := ((algSpec.fullyFaithful (R := .of R)).preimage g).unop.hom |
| 84 | have ha : affineMap R a = g := (algSpec.fullyFaithful (R := .of R)).map_preimage g |
| 85 | have har : (ComponentHopfLift.Components.residueProjection R A).comp a = φ := by |
| 86 | apply affineMap_injective R |
| 87 | exact ((algSpec (.of R)).map_comp (CommAlgCat.ofHom (ComponentHopfLift.Components.residueProjection R A)).op |
| 88 | (CommAlgCat.ofHom a).op).trans |
| 89 | ((congrArg (fun f => affineMap R (ComponentHopfLift.Components.residueProjection R A) ≫ f) ha).trans hg) |
| 90 | exact ha.symm.trans (congrArg (affineMap R) (hu a har)) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EtaleTargetMaps.Components |