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.Level.GlobalSections |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.CoordinateProjectivePoints |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ProperEquationParameters |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations |
| 5 | |
| 6 | /-! # Level Frame Parameter -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.LevelFrameParameter |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Requiring selected ordered torsion points of a projective family |
| 13 | to equal the standard frame is represented by an actual closed parameter |
| 14 | scheme. Its point equivalence includes every test scheme. -/ |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | variable {S : Scheme.{u}} (Z : Over S) [IsLocallyNoetherian Z.left] |
| 20 | variable {g n : ℕ} (A : Abelian.Schemes.AbelianScheme g Z.left) (level : A.FullLevel n) |
| 21 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) |
| 22 | |
| 23 | def fullLevelMarkedProjectivePoint (c : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 24 | Over.mk (𝟙 Z.left) ⟶ Projective.ProjectivePresentations.projectiveSpaceOver Z.left P.dimension := |
| 25 | Over.homMk (A.fullLevelGlobalSection level c) (A.fullLevelGlobalSection_comp level c) ≫ P.embedding |
| 26 | |
| 27 | def normalizedFrameBasisEquation (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 28 | (i : Fin (P.dimension + 1)) : Finite.ProperEquationIdeals.ProperFamilyMorphismEquation Z.left where |
| 29 | source := Over.mk (𝟙 Z.left) |
| 30 | target := Projective.ProjectivePresentations.projectiveSpaceOver Z.left P.dimension |
| 31 | proper := by change IsProper (𝟙 Z.left); infer_instance |
| 32 | flat := by change Flat (𝟙 Z.left); infer_instance |
| 33 | separated := inferInstance |
| 34 | lhs := fullLevelMarkedProjectivePoint Z A level P (σ i) |
| 35 | rhs := Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint Z.left P.dimension i |
| 36 | |
| 37 | def normalizedFrameAdditionalEquation (j : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 38 | Finite.ProperEquationIdeals.ProperFamilyMorphismEquation Z.left where |
| 39 | source := Over.mk (𝟙 Z.left) |
| 40 | target := Projective.ProjectivePresentations.projectiveSpaceOver Z.left P.dimension |
| 41 | proper := by change IsProper (𝟙 Z.left); infer_instance |
| 42 | flat := by change Flat (𝟙 Z.left); infer_instance |
| 43 | separated := inferInstance |
| 44 | lhs := fullLevelMarkedProjectivePoint Z A level P j |
| 45 | rhs := Scalar.CoordinateProjectivePoints.allOneProjectivePoint Z.left P.dimension |
| 46 | |
| 47 | def normalizedFrameEquationList |
| 48 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 49 | (j : Multiplicative (Fin (2 * g) → ZMod n)) : List (Finite.ProperEquationIdeals.ProperFamilyMorphismEquation Z.left) := |
| 50 | normalizedFrameAdditionalEquation Z A level P j :: List.ofFn (normalizedFrameBasisEquation Z A level P σ) |
| 51 | |
| 52 | def NormalizedFullLevelFrameAt |
| 53 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 54 | (j : Multiplicative (Fin (2 * g) → ZMod n)) {T : Scheme.{u}} (c : T ⟶ Z.left) : Prop := |
| 55 | (Over.pullback c).map (fullLevelMarkedProjectivePoint Z A level P j) = |
| 56 | (Over.pullback c).map (Scalar.CoordinateProjectivePoints.allOneProjectivePoint Z.left P.dimension) ∧ |
| 57 | ∀ i, (Over.pullback c).map (fullLevelMarkedProjectivePoint Z A level P (σ i)) = |
| 58 | (Over.pullback c).map (Scalar.CoordinateProjectivePoints.standardBasisProjectivePoint Z.left P.dimension i) |
| 59 | |
| 60 | private theorem forall_cons_ofFn {α : Type*} {n : ℕ} |
| 61 | (a : α) (f : Fin n → α) (p : α → Prop) : |
| 62 | (∀ x ∈ a :: List.ofFn f, p x) ↔ p a ∧ ∀ i, p (f i) := by |
| 63 | constructor |
| 64 | · intro h |
| 65 | refine ⟨h _ List.mem_cons_self, fun i => ?_⟩ |
| 66 | exact h _ (List.mem_cons_of_mem _ (List.mem_ofFn.mpr ⟨i, rfl⟩)) |
| 67 | · rintro ⟨ha, hf⟩ x hx |
| 68 | rcases List.mem_cons.mp hx with rfl | hx |
| 69 | · exact ha |
| 70 | · obtain ⟨i, rfl⟩ := List.mem_ofFn.mp hx |
| 71 | exact hf i |
| 72 | |
| 73 | omit [IsLocallyNoetherian Z.left] in |
| 74 | theorem normalizedFrameEquationList_test |
| 75 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 76 | (j : Multiplicative (Fin (2 * g) → ZMod n)) {T : Scheme.{u}} (c : T ⟶ Z.left) : |
| 77 | (∀ e ∈ normalizedFrameEquationList Z A level P σ j, |
| 78 | (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs) ↔ |
| 79 | NormalizedFullLevelFrameAt Z A level P σ j c := by |
| 80 | have result := forall_cons_ofFn |
| 81 | (normalizedFrameAdditionalEquation Z A level P j) |
| 82 | (normalizedFrameBasisEquation Z A level P σ) |
| 83 | (fun e => (Over.pullback c).map e.lhs = (Over.pullback c).map e.rhs) |
| 84 | exact result |
| 85 | |
| 86 | def normalizedFullLevelFrameParameter |
| 87 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 88 | (j : Multiplicative (Fin (2 * g) → ZMod n)) : Over S := |
| 89 | Finite.ProperEquationParameters.properEquationListParameter Z (normalizedFrameEquationList Z A level P σ j) |
| 90 | |
| 91 | def normalizedFullLevelFrameParameterInclusion |
| 92 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 93 | (j : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 94 | normalizedFullLevelFrameParameter Z A level P σ j ⟶ Z := |
| 95 | Finite.ProperEquationParameters.properEquationListParameterInclusion Z (normalizedFrameEquationList Z A level P σ j) |
| 96 | |
| 97 | instance normalizedFullLevelFrameParameterInclusion_closed |
| 98 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 99 | (j : Multiplicative (Fin (2 * g) → ZMod n)) : |
| 100 | IsClosedImmersion (normalizedFullLevelFrameParameterInclusion Z A level P σ j).left := |
| 101 | inferInstanceAs (IsClosedImmersion |
| 102 | (Finite.ProperEquationParameters.properEquationListParameterInclusion Z (normalizedFrameEquationList Z A level P σ j)).left) |
| 103 | |
| 104 | def normalizedFullLevelFrameParameterPointEquiv |
| 105 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 106 | (j : Multiplicative (Fin (2 * g) → ZMod n)) (T : Over S) : |
| 107 | (T ⟶ normalizedFullLevelFrameParameter Z A level P σ j) ≃ |
| 108 | {c : T ⟶ Z // NormalizedFullLevelFrameAt Z A level P σ j c.left} := |
| 109 | (Finite.ProperEquationParameters.properEquationListParameterPointEquiv Z (normalizedFrameEquationList Z A level P σ j) T).trans |
| 110 | { toFun := fun c => ⟨c.val, (normalizedFrameEquationList_test Z A level P σ j c.val.left).mp c.property⟩ |
| 111 | invFun := fun c => ⟨c.val, (normalizedFrameEquationList_test Z A level P σ j c.val.left).mpr c.property⟩ |
| 112 | left_inv := fun _ => Subtype.ext rfl |
| 113 | right_inv := fun _ => Subtype.ext rfl } |
| 114 | |
| 115 | def normalizedFullLevelFrameParameterQuasiProjective [IsNoetherian S] |
| 116 | (σ : Fin (P.dimension + 1) → Multiplicative (Fin (2 * g) → ZMod n)) |
| 117 | (j : Multiplicative (Fin (2 * g) → ZMod n)) (Q : Projective.ProjectivePresentations.QuasiProjectivePresentation Z) : |
| 118 | Projective.ProjectivePresentations.QuasiProjectivePresentation (normalizedFullLevelFrameParameter Z A level P σ j) := |
| 119 | Finite.ProperEquationParameters.properEquationListParameterQuasiProjectivePresentation Z |
| 120 | (normalizedFrameEquationList Z A level P σ j) Q |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Normalized.LevelFrameParameter |