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.PELModuli.IntegralModel.FieldGraphBaseChange |
| 2 | import Mathlib.AlgebraicGeometry.Gluing |
| 3 | |
| 4 | /-! # Base Action Separation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseActionSeparation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual endomorphisms and integral actions are determined by their |
| 11 | restrictions to any open covering family of the parameter base. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | namespace OpenBaseFamilies |
| 18 | |
| 19 | variable {S : Scheme.{0}} {I : Type} (U : I → Over S) (T : Over S) |
| 20 | (j : ∀ i, U i ⟶ T) [∀ i, IsOpenImmersion (j i).left] |
| 21 | (hcover : ∀ t : T.left, ∃ i, ∃ u : (U i).left, (j i).left u = t) |
| 22 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 23 | |
| 24 | def familyOpenCover : (A.pullback T.hom).scheme.left.OpenCover where |
| 25 | I₀ := I |
| 26 | X i := (A.pullback (U i).hom).scheme.left |
| 27 | f i := EndomorphismFamiliesId.EndomorphismFamilies.familyMap A (j i) |
| 28 | mem₀ := by |
| 29 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 30 | constructor |
| 31 | · intro x |
| 32 | obtain ⟨i, u, hu⟩ := hcover ((A.pullback T.hom).scheme.hom x) |
| 33 | let H := FieldGraphBaseChange.EndomorphismFamilies.familyMap_isPullback A (j i) |
| 34 | have hx : x ∈ Set.range (pullback.fst (A.pullback T.hom).scheme.hom (j i).left) := by |
| 35 | rw [Scheme.Pullback.range_fst] |
| 36 | exact ⟨u, hu⟩ |
| 37 | obtain ⟨z, hz⟩ := hx |
| 38 | refine ⟨i, H.isoPullback.inv z, ?_⟩ |
| 39 | exact (congrArg (fun f : pullback (A.pullback T.hom).scheme.hom (j i).left ⟶ |
| 40 | (A.pullback T.hom).scheme.left => f z) H.isoPullback_inv_fst).trans hz |
| 41 | · intro i |
| 42 | exact MorphismProperty.of_isPullback (P := @IsOpenImmersion) |
| 43 | (FieldGraphBaseChange.EndomorphismFamilies.familyMap_isPullback A (j i)).flip inferInstance |
| 44 | |
| 45 | include hcover in |
| 46 | theorem groupEnd_ext_of_open_restrictions |
| 47 | (r q : Finite.Actions.GroupEndRing (A.pullback T.hom)) |
| 48 | (h : ∀ i, EndomorphismFamiliesId.EndomorphismFamilies.restrict A (j i) r = EndomorphismFamiliesId.EndomorphismFamilies.restrict A (j i) q) : r = q := by |
| 49 | apply EndomorphismFamiliesId.EndomorphismFamilies.ext_of_fst A |
| 50 | apply (familyOpenCover U T j hcover A).hom_ext |
| 51 | intro i |
| 52 | change EndomorphismFamiliesId.EndomorphismFamilies.familyMap A (j i) ≫ EndomorphismFamiliesId.EndomorphismFamilies.endHom A r ≫ pullback.fst A.scheme.hom T.hom = |
| 53 | EndomorphismFamiliesId.EndomorphismFamilies.familyMap A (j i) ≫ EndomorphismFamiliesId.EndomorphismFamilies.endHom A q ≫ pullback.fst A.scheme.hom T.hom |
| 54 | rw [← EndomorphismFamiliesId.EndomorphismFamilies.restrict_fst, ← EndomorphismFamiliesId.EndomorphismFamilies.restrict_fst, h i] |
| 55 | |
| 56 | include hcover in |
| 57 | theorem integralAction_ext_of_open_restrictions |
| 58 | {R : Type} [CommRing R] |
| 59 | (ρ σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R (A.pullback T.hom)) |
| 60 | (h : ∀ i, Integral.ActionScheme.restrictIntegralAction A ρ (j i) = Integral.ActionScheme.restrictIntegralAction A σ (j i)) : ρ = σ := by |
| 61 | apply Integral.ActionScheme.ringHomOfIntegralAction_injective |
| 62 | apply RingHom.ext |
| 63 | intro r |
| 64 | apply groupEnd_ext_of_open_restrictions U T j hcover A |
| 65 | intro i |
| 66 | exact congrArg (fun τ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R (A.pullback (U i).hom) => |
| 67 | Finite.Actions.ringHomOfIntegralAction (A.pullback (U i).hom) τ r) (h i) |
| 68 | |
| 69 | end OpenBaseFamilies |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseActionSeparation |