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.Open.BaseGroupReflection |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Integral.ActionScheme |
| 3 | |
| 4 | /-! # Base Action Gluing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseActionGluing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual group endomorphisms and entire integral ring actions glue |
| 11 | uniquely on an open base cover from their literal source-overlap equations. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {S : Scheme.{0}} (C : S.OpenCover) {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 19 | |
| 20 | theorem groupEnd_ext_of_open_base_cover (r q : Finite.Actions.GroupEndRing A) |
| 21 | (h : ∀ i, Finite.Actions.GroupEndRing.pullback A (C.f i) r = Finite.Actions.GroupEndRing.pullback A (C.f i) q) : r = q := by |
| 22 | apply Finite.Actions.GroupEndRing.ext |
| 23 | apply BaseGroupReflection.over_hom_ext_of_open_base_cover C |
| 24 | intro i |
| 25 | exact congrArg (Finite.Actions.GroupEndRing.hom (A.pullback (C.f i))) (h i) |
| 26 | |
| 27 | theorem existsUnique_groupEnd_of_open_base_cover |
| 28 | (r : ∀ i, Finite.Actions.GroupEndRing (A.pullback (C.f i))) |
| 29 | (hr : BaseGroupReflection.OpenBaseMorphismCompatible C (fun i => (r i).hom (A.pullback (C.f i)))) : |
| 30 | ∃! q : Finite.Actions.GroupEndRing A, ∀ i, Finite.Actions.GroupEndRing.pullback A (C.f i) q = r i := by |
| 31 | obtain ⟨q, hq, _⟩ := BaseGroupReflection.existsUnique_morphism_of_open_base_cover C |
| 32 | (fun i => (r i).hom (A.pullback (C.f i))) hr |
| 33 | have : IsMonHom q := BaseGroupReflection.isMonHom_of_open_base_cover C q (fun i => by |
| 34 | rw [hq i] |
| 35 | exact inferInstanceAs (IsMonHom ((r i).hom (A.pullback (C.f i))))) |
| 36 | let a := Finite.Actions.GroupEndRing.ofHom A q |
| 37 | have ha (i) : Finite.Actions.GroupEndRing.pullback A (C.f i) a = r i := Finite.Actions.GroupEndRing.ext _ (hq i) |
| 38 | exact ⟨a, ha, fun b hb => groupEnd_ext_of_open_base_cover C A b a |
| 39 | (fun i => (hb i).trans (ha i).symm)⟩ |
| 40 | |
| 41 | theorem existsUnique_integralAction_of_open_base_cover |
| 42 | {R : Type} [CommRing R] |
| 43 | (ρ : ∀ i, AbelianModuli.ReferenceFamily.ActionData.IntegralAction R (A.pullback (C.f i))) |
| 44 | (hρ : ∀ a : R, BaseGroupReflection.OpenBaseMorphismCompatible C (fun i => (ρ i).map a)) : |
| 45 | ∃! σ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R A, ∀ i, σ.pullback (C.f i) = ρ i := by |
| 46 | let r := fun i => Finite.Actions.ringHomOfIntegralAction (A.pullback (C.f i)) (ρ i) |
| 47 | choose e he _ using fun a : R => |
| 48 | existsUnique_groupEnd_of_open_base_cover C A (fun i => r i a) (hρ a) |
| 49 | let F := fun i => Finite.Actions.GroupEndRing.pullback A (C.f i) |
| 50 | let ψ : R →+* Finite.Actions.GroupEndRing A := |
| 51 | { toFun := e |
| 52 | map_zero' := by |
| 53 | apply groupEnd_ext_of_open_base_cover C A |
| 54 | intro i |
| 55 | exact (he 0 i).trans ((r i).map_zero.trans (F i).map_zero.symm) |
| 56 | map_one' := by |
| 57 | apply groupEnd_ext_of_open_base_cover C A |
| 58 | intro i |
| 59 | exact (he 1 i).trans ((r i).map_one.trans (F i).map_one.symm) |
| 60 | map_add' := by |
| 61 | intro a b |
| 62 | apply groupEnd_ext_of_open_base_cover C A |
| 63 | intro i |
| 64 | exact (he (a + b) i).trans (((r i).map_add a b).trans |
| 65 | ((congrArg₂ (· + ·) (he a i).symm (he b i).symm).trans ((F i).map_add _ _).symm)) |
| 66 | map_mul' := by |
| 67 | intro a b |
| 68 | apply groupEnd_ext_of_open_base_cover C A |
| 69 | intro i |
| 70 | exact (he (a * b) i).trans (((r i).map_mul a b).trans |
| 71 | ((congrArg₂ (· * ·) (he a i).symm (he b i).symm).trans ((F i).map_mul _ _).symm)) } |
| 72 | let σ := Finite.Actions.integralActionOfRingHom A ψ |
| 73 | have hσ (i) : σ.pullback (C.f i) = ρ i := by |
| 74 | apply Integral.ActionScheme.ringHomOfIntegralAction_injective |
| 75 | apply RingHom.ext |
| 76 | intro a |
| 77 | exact he a i |
| 78 | refine ⟨σ, hσ, fun τ hτ => ?_⟩ |
| 79 | apply Integral.ActionScheme.ringHomOfIntegralAction_injective |
| 80 | apply RingHom.ext |
| 81 | intro a |
| 82 | apply groupEnd_ext_of_open_base_cover C A |
| 83 | intro i |
| 84 | exact congrArg (fun v : AbelianModuli.ReferenceFamily.ActionData.IntegralAction R (A.pullback (C.f i)) => |
| 85 | Finite.Actions.ringHomOfIntegralAction (A.pullback (C.f i)) v a) ((hτ i).trans (hσ i).symm) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Open.BaseActionGluing |