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.AbelianModuli.HilbertConstruction.Normalized.LevelFrameParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.Data |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 4 | |
| 5 | /-! # Prescribed Level Ambient Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrescribedLevelAmbientParameter |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The closed locus where every prescribed full-level point equals its |
| 12 | specified point in the original projective ambient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} (Z : Over S) [IsLocallyNoetherian Z.left] |
| 18 | variable {g N m : ℕ} (A : Abelian.Schemes.AbelianScheme g Z.left) (level : A.FullLevel N) |
| 19 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 20 | variable (labels : Fin m ≃ Multiplicative (Fin (2 * g) → ZMod N)) |
| 21 | variable (q : Fin m → (Over.mk (𝟙 Z.left) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver Z.left P.dimension)) |
| 22 | |
| 23 | def prescribedFullLevelAmbientEquation (k : Fin m) : Finite.ProperEquationIdeals.ProperFamilyMorphismEquation Z.left where |
| 24 | source := Over.mk (𝟙 Z.left) |
| 25 | target := Projective.ProjectivePresentations.projectiveSpaceOver Z.left P.dimension |
| 26 | proper := inferInstanceAs (IsProper (𝟙 Z.left)) |
| 27 | flat := inferInstanceAs (Flat (𝟙 Z.left)) |
| 28 | separated := inferInstance |
| 29 | lhs := Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint Z A level P (labels k) |
| 30 | rhs := q k |
| 31 | |
| 32 | def prescribedFullLevelAmbientEquations : List (Finite.ProperEquationIdeals.ProperFamilyMorphismEquation Z.left) := |
| 33 | List.ofFn (prescribedFullLevelAmbientEquation Z A level P labels q) |
| 34 | |
| 35 | def PrescribedFullLevelAmbientAt {T : Scheme.{u}} (c : T ⟶ Z.left) : Prop := |
| 36 | ∀ k, (Over.pullback c).map (Normalized.LevelFrameParameter.fullLevelMarkedProjectivePoint Z A level P (labels k)) = |
| 37 | (Over.pullback c).map (q k) |
| 38 | |
| 39 | omit [IsLocallyNoetherian Z.left] in |
| 40 | theorem prescribedFullLevelAmbientEquations_test {T : Scheme.{u}} (c : T ⟶ Z.left) : |
| 41 | (∀ e ∈ prescribedFullLevelAmbientEquations Z A level P labels q, |
| 42 | (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs) ↔ |
| 43 | PrescribedFullLevelAmbientAt Z A level P labels q c := by |
| 44 | simp only [prescribedFullLevelAmbientEquations, List.forall_mem_ofFn_iff] |
| 45 | rfl |
| 46 | |
| 47 | def prescribedFullLevelAmbientParameter : Over S := |
| 48 | Finite.ProperEquationParameters.properEquationListParameter Z (prescribedFullLevelAmbientEquations Z A level P labels q) |
| 49 | |
| 50 | def prescribedFullLevelAmbientParameterInclusion : |
| 51 | prescribedFullLevelAmbientParameter Z A level P labels q ⟶ Z := |
| 52 | Finite.ProperEquationParameters.properEquationListParameterInclusion Z (prescribedFullLevelAmbientEquations Z A level P labels q) |
| 53 | |
| 54 | instance prescribedFullLevelAmbientParameterInclusion_closed : |
| 55 | IsClosedImmersion (prescribedFullLevelAmbientParameterInclusion Z A level P labels q).left := |
| 56 | Finite.ProperEquationParameters.properEquationListParameterInclusion_closed Z (prescribedFullLevelAmbientEquations Z A level P labels q) |
| 57 | |
| 58 | def prescribedFullLevelAmbientParameterPointEquiv (T : Over S) : |
| 59 | (T ⟶ prescribedFullLevelAmbientParameter Z A level P labels q) ≃ |
| 60 | {c : T ⟶ Z // PrescribedFullLevelAmbientAt Z A level P labels q c.left} := |
| 61 | (Finite.ProperEquationParameters.properEquationListParameterPointEquiv Z (prescribedFullLevelAmbientEquations Z A level P labels q) T).trans |
| 62 | { toFun := fun c => ⟨c.val, (prescribedFullLevelAmbientEquations_test |
| 63 | Z A level P labels q c.val.left).mp c.property⟩ |
| 64 | invFun := fun c => ⟨c.val, (prescribedFullLevelAmbientEquations_test |
| 65 | Z A level P labels q c.val.left).mpr c.property⟩ |
| 66 | left_inv := fun _ => Subtype.ext rfl |
| 67 | right_inv := fun _ => Subtype.ext rfl } |
| 68 | |
| 69 | def prescribedFullLevelAmbientParameterQuasiProjective |
| 70 | [IsNoetherian S] (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation Z) : |
| 71 | Projective.ProjectivePresentations.QuasiProjectivePresentation (prescribedFullLevelAmbientParameter Z A level P labels q) := |
| 72 | Finite.ProperEquationParameters.properEquationListParameterQuasiProjectivePresentation Z |
| 73 | (prescribedFullLevelAmbientEquations Z A level P labels q) Q |
| 74 | |
| 75 | def prescribedFullLevelAmbientUniversalFamily : |
| 76 | Level.Data.AbelianSchemeWithFullLevel g N (prescribedFullLevelAmbientParameter Z A level P labels q).left where |
| 77 | abelian := A.pullback (prescribedFullLevelAmbientParameterInclusion Z A level P labels q).left |
| 78 | level := level.pullback (prescribedFullLevelAmbientParameterInclusion Z A level P labels q).left |
| 79 | |
| 80 | def prescribedFullLevelAmbientUniversalProjectivePresentation : |
| 81 | Projective.ProjectivePresentations.ProjectivePresentation (prescribedFullLevelAmbientUniversalFamily Z A level P labels q).abelian.scheme := |
| 82 | P.baseChange (prescribedFullLevelAmbientParameterInclusion Z A level P labels q).left |
| 83 | |
| 84 | theorem prescribedFullLevelAmbientParameter_universal : |
| 85 | PrescribedFullLevelAmbientAt Z A level P labels q |
| 86 | (prescribedFullLevelAmbientParameterInclusion Z A level P labels q).left := |
| 87 | (prescribedFullLevelAmbientEquations_test Z A level P labels q _).mp |
| 88 | (Finite.ProperEquationParameters.properEquationListParameter_universal Z (prescribedFullLevelAmbientEquations Z A level P labels q)) |
| 89 | |
| 90 | omit [IsLocallyNoetherian Z.left] in |
| 91 | theorem prescribedFullLevelAmbientAt_reindex (e : Fin m ≃ Fin m) {T : Scheme.{u}} (c : T ⟶ Z.left) : |
| 92 | PrescribedFullLevelAmbientAt Z A level P (e.trans labels) (q ∘ e) c ↔ |
| 93 | PrescribedFullLevelAmbientAt Z A level P labels q c := by |
| 94 | constructor |
| 95 | · intro h k |
| 96 | simpa only [Equiv.trans_apply, Function.comp_apply, Equiv.apply_symm_apply] using h (e.symm k) |
| 97 | · intro h k |
| 98 | exact h (e k) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PrescribedLevelAmbientParameter |