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.Components |
| 2 | import OAI.Algebra.LocalRing.HenselianLifting |
| 3 | import OAI.AlgebraicGeometry.GroupSchemes.SchematicClosure |
| 4 | |
| 5 | /-! # Component Lifts -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentLifts.Components |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Construct complete component idempotents by HenselianLifting and prove that SchematicClosure |
| 13 | closure preserves their occupied labels. The finite algebra carrying the |
| 14 | subgroup need not be etale. |
| 15 | -/ |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | abbrev ResidueAlgebra (R A : Type u) [CommRing R] [IsLocalRing R] |
| 22 | [CommRing A] [Algebra R A] := |
| 23 | A ⧸ (IsLocalRing.maximalIdeal R).map (algebraMap R A) |
| 24 | |
| 25 | section Idempotents |
| 26 | |
| 27 | variable (R A : Type u) [CommRing R] [HenselianLocalRing R] |
| 28 | [CommRing A] [Algebra R A] [Module.Finite R A] |
| 29 | |
| 30 | theorem idempotentLiftingInput : Components.IdempotentLiftingInput R A := |
| 31 | OAI.Algebra.LocalRing.HenselianLifting.Construction.idempotents_lift_uniquely R A |
| 32 | |
| 33 | def liftIdempotent (e : ResidueAlgebra R A) (he : IsIdempotentElem e) : A := |
| 34 | (idempotentLiftingInput R A e he).choose |
| 35 | |
| 36 | theorem liftIdempotent_idem (e : ResidueAlgebra R A) (he : IsIdempotentElem e) : |
| 37 | IsIdempotentElem (liftIdempotent R A e he) := |
| 38 | (idempotentLiftingInput R A e he).choose_spec.1.1 |
| 39 | |
| 40 | theorem liftIdempotent_reduction (e : ResidueAlgebra R A) (he : IsIdempotentElem e) : |
| 41 | Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) |
| 42 | (liftIdempotent R A e he) = e := |
| 43 | (idempotentLiftingInput R A e he).choose_spec.1.2 |
| 44 | |
| 45 | theorem idempotent_eq_of_reduction_eq {e f : A} |
| 46 | (he : IsIdempotentElem e) (hf : IsIdempotentElem f) |
| 47 | (h : Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) e = |
| 48 | Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) f) : e = f := by |
| 49 | let π := Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) |
| 50 | obtain ⟨a, _, ha⟩ := idempotentLiftingInput R A (π f) (hf.map π) |
| 51 | exact (ha e ⟨he, h⟩).trans (ha f ⟨hf, rfl⟩).symm |
| 52 | |
| 53 | variable {I : Type u} [Fintype I] |
| 54 | |
| 55 | /-- All residue components lift simultaneously and remain disjoint and |
| 56 | exhaustive. The proof derives these relations from unique idempotent lifting. -/ |
| 57 | theorem complete_component_lift (e : I → ResidueAlgebra R A) |
| 58 | (he : CompleteOrthogonalIdempotents e) : |
| 59 | CompleteOrthogonalIdempotents (fun i => liftIdempotent R A (e i) (he.idem i)) := by |
| 60 | let d := fun i => liftIdempotent R A (e i) (he.idem i) |
| 61 | have hd (i : I) : IsIdempotentElem (d i) := liftIdempotent_idem R A _ _ |
| 62 | have hred (i : I) : |
| 63 | Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R A)) (d i) = e i := |
| 64 | liftIdempotent_reduction R A _ _ |
| 65 | have ho : OrthogonalIdempotents d := by |
| 66 | refine ⟨hd, ?_⟩ |
| 67 | intro i j hij |
| 68 | apply (Components.idempotent_special_zero_iff R A (idempotentLiftingInput R A) (d i * d j) |
| 69 | ((hd i).mul (hd j))).mp |
| 70 | rw [map_mul, hred, hred] |
| 71 | exact he.ortho hij |
| 72 | refine ⟨ho, ?_⟩ |
| 73 | apply idempotent_eq_of_reduction_eq R A ho.isIdempotentElem_sum IsIdempotentElem.one |
| 74 | simpa only [map_sum, hred, map_one] using he.complete |
| 75 | |
| 76 | end Idempotents |
| 77 | |
| 78 | /-- The component-label comparison now follows from proved HenselianLifting and SchematicClosure, |
| 79 | with no lifting or closure proposition passed in as a hypothesis. -/ |
| 80 | theorem closure_labels_preserved |
| 81 | (R A : Type u) [CommRing R] [HenselianLocalRing R] |
| 82 | [IsDomain R] [IsDiscreteValuationRing R] [CommRing A] [HopfAlgebra R A] |
| 83 | [Module.Finite R A] [Module.Flat R A] |
| 84 | (L : Type u) [Field L] [Algebra R L] [IsFractionRing R L] |
| 85 | (J : Ideal (L ⊗[R] A)) [Ideal.IsHopfIdeal L J] |
| 86 | (e : A) (he : IsIdempotentElem e) : |
| 87 | let ι : A →+* L ⊗[R] A := Algebra.TensorProduct.includeRight.toRingHom |
| 88 | let C := A ⧸ Ideal.comap ι J |
| 89 | Ideal.Quotient.mk ((IsLocalRing.maximalIdeal R).map (algebraMap R C)) |
| 90 | (Ideal.Quotient.mk (Ideal.comap ι J) e) = 0 ↔ |
| 91 | Ideal.Quotient.mk J (ι e) = 0 := |
| 92 | Components.closure_component_label_preserved J (fun C _ _ _ => idempotentLiftingInput R C) |
| 93 | (GroupSchemes.SchematicClosure.finite_flat_closure_of_generic_subgroup J) e he |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentLifts.Components |