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.Evaluated.Targets |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 3 | |
| 4 | /-! # Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Sections.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Evaluated points of a proper group over a valuation ring extend uniquely, |
| 12 | and the extension preserves multiplication and every torsion bound. This |
| 13 | applies to the evaluated finite flat torsion schemes of the lifted source. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R L : Type u) [CommRing R] [IsDomain R] [ValuationRing R] |
| 23 | [Field L] [Algebra R L] [IsFractionRing R L] |
| 24 | variable (A : Over (Spec (.of R))) [GrpObj A] [IsProper A.hom] |
| 25 | |
| 26 | def genericTest : Over (Spec (.of R)) := |
| 27 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap R L))) |
| 28 | |
| 29 | /-- Restriction of integral sections to the generic point. -/ |
| 30 | def sectionRestriction : ((𝟙_ (Over (Spec (.of R)))) ⟶ A) →* |
| 31 | (genericTest R L ⟶ A) where |
| 32 | toFun s := toUnit (genericTest R L) ≫ s |
| 33 | map_one' := MonObj.comp_one _ |
| 34 | map_mul' s t := MonObj.comp_mul _ s t |
| 35 | |
| 36 | theorem sectionRestriction_bijective : Function.Bijective (sectionRestriction R L A) := by |
| 37 | constructor |
| 38 | · intro s t h |
| 39 | have hs : s.left ≫ A.hom = 𝟙 (Spec (.of R)) := s.w |
| 40 | have ht : t.left ≫ A.hom = 𝟙 (Spec (.of R)) := t.w |
| 41 | have hz : (toUnit (genericTest R L) ≫ s).left ≫ A.hom = |
| 42 | Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ 𝟙 (Spec (.of R)) := by |
| 43 | exact ((toUnit (genericTest R L) ≫ s).w).trans (Category.comp_id _).symm |
| 44 | obtain ⟨l, _, hu⟩ := Targets.Lifts.proper_evaluated_extension A.hom (𝟙 (Spec (.of R))) |
| 45 | (toUnit (genericTest R L) ≫ s).left hz |
| 46 | apply Over.OverMorphism.ext |
| 47 | apply (hu s.left ⟨rfl, hs⟩).trans |
| 48 | apply (hu t.left ⟨?_, ht⟩).symm |
| 49 | exact congrArg (fun z : genericTest R L ⟶ A => z.left) h.symm |
| 50 | · intro z |
| 51 | have hz : z.left ≫ A.hom = |
| 52 | Spec.map (CommRingCat.ofHom (algebraMap R L)) ≫ 𝟙 (Spec (.of R)) := |
| 53 | z.w.trans (Category.comp_id _).symm |
| 54 | obtain ⟨l, hl, _⟩ := Targets.Lifts.proper_evaluated_extension A.hom (𝟙 (Spec (.of R))) z.left hz |
| 55 | refine ⟨Over.homMk l hl.2, ?_⟩ |
| 56 | apply Over.OverMorphism.ext |
| 57 | exact hl.1 |
| 58 | |
| 59 | /-- Unique extension is a group isomorphism on sections. In particular, |
| 60 | all algebraic relations among evaluated torsion labels extend integrally. -/ |
| 61 | def evaluatedSectionsEquiv : ((𝟙_ (Over (Spec (.of R)))) ⟶ A) ≃* |
| 62 | (genericTest R L ⟶ A) := |
| 63 | MulEquiv.ofBijective (sectionRestriction R L A) (sectionRestriction_bijective R L A) |
| 64 | |
| 65 | theorem evaluated_extension_torsion (z : genericTest R L ⟶ A) (n : ℕ) (hz : z ^ n = 1) : |
| 66 | ((evaluatedSectionsEquiv R L A).symm z) ^ n = 1 := by |
| 67 | rw [← map_pow, hz, map_one] |
| 68 | |
| 69 | /-- An evaluated group of generic labels gives integral sections by |
| 70 | construction, with the full group law preserved. -/ |
| 71 | def extendEvaluatedLabels {G : Type u} [Group G] (z : G →* (genericTest R L ⟶ A)) : |
| 72 | G →* ((𝟙_ (Over (Spec (.of R)))) ⟶ A) := |
| 73 | (evaluatedSectionsEquiv R L A).symm.toMonoidHom.comp z |
| 74 | |
| 75 | theorem extendEvaluatedLabels_generic {G : Type u} [Group G] |
| 76 | (z : G →* (genericTest R L ⟶ A)) (g : G) : |
| 77 | sectionRestriction R L A (extendEvaluatedLabels R L A z g) = z g := |
| 78 | (evaluatedSectionsEquiv R L A).apply_symm_apply (z g) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.Sections.Lifts |