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.IntersectionTheory.ProjectionFormula.Projective.PointJets |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Closed.PointDimension |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IndependentLinearCut |
| 4 | |
| 5 | /-! # Point Jet Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointJetCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! First-order coordinates at finitely many actual points can be |
| 12 | made independent while retaining a center disjoint from the projective scheme. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | variable (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) |
| 20 | (p : Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier) (hp : p ≫ X.structureMap = 𝟙 _) |
| 21 | |
| 22 | def coordinate : Fin (X.ambientDimension + 1) := |
| 23 | Classical.choose (Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen X.ambientDimension |
| 24 | (X.embedding (p (IsLocalRing.closedPoint ℂ)))) |
| 25 | |
| 26 | theorem coordinate_mem : |
| 27 | X.embedding (p (IsLocalRing.closedPoint ℂ)) ∈ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen X.ambientDimension (coordinate X p) := |
| 28 | Classical.choose_spec (Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen X.ambientDimension |
| 29 | (X.embedding (p (IsLocalRing.closedPoint ℂ)))) |
| 30 | |
| 31 | include hp in |
| 32 | theorem over : p ≫ (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) = 𝟙 _ := by |
| 33 | rw [X.embedding_over, hp] |
| 34 | |
| 35 | abbrev space := |
| 36 | letI := Stalk.PointAlgebra.scalarAlgebra (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) |
| 37 | (p (IsLocalRing.closedPoint ℂ)) |
| 38 | ℂ × (AugmentedCotangent.ideal (Stalk.PointAlgebra.evaluation |
| 39 | (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) p (over X p hp))).Cotangent |
| 40 | |
| 41 | abbrev scalar := Stalk.PointAlgebra.scalarAlgebra |
| 42 | (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) (p (IsLocalRing.closedPoint ℂ)) |
| 43 | |
| 44 | attribute [local instance] scalar |
| 45 | |
| 46 | def map : Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1 →ₗ[ℂ] space X p hp := |
| 47 | Projective.PointJets.map X.ambientDimension (coordinate X p) X.embedding p |
| 48 | (over X p hp) (coordinate_mem X p) |
| 49 | |
| 50 | theorem surjective : Function.Surjective (map X p hp) := |
| 51 | Projective.PointJets.surjective X.ambientDimension (coordinate X p) X.embedding p |
| 52 | (over X p hp) (coordinate_mem X p) |
| 53 | |
| 54 | variable (m : ℕ) [SmoothOfRelativeDimension m X.structureMap] |
| 55 | |
| 56 | include m in |
| 57 | theorem finite : Module.Finite ℂ (space X p hp) := by |
| 58 | let : SmoothOfRelativeDimension m (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) := by |
| 59 | rw [X.embedding_over] |
| 60 | infer_instance |
| 61 | let := Stalk.PointAlgebra.finite_cotangent |
| 62 | (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) m p (over X p hp) |
| 63 | infer_instance |
| 64 | |
| 65 | theorem dimension : Module.finrank ℂ (space X p hp) = m + 1 := by |
| 66 | let : SmoothOfRelativeDimension m (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) := by |
| 67 | rw [X.embedding_over] |
| 68 | infer_instance |
| 69 | apply Stalk.PointAlgebra.jet_dimension |
| 70 | (X.embedding ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase X.ambientDimension) m p (over X p hp) |
| 71 | apply Closed.PointDimension.coheight X m |
| 72 | exact ((pointEquivClosedPoint X.structureMap) ⟨p, hp⟩).property |
| 73 | |
| 74 | def equivalence : space X p hp ≃ₗ[ℂ] (Fin (m + 1) → ℂ) := by |
| 75 | let := finite X p hp m |
| 76 | exact LinearEquiv.ofFinrankEq _ _ (by rw [dimension X p hp m, Module.finrank_fin_fun]) |
| 77 | |
| 78 | theorem exists_forms {ι : Type} [Finite ι] |
| 79 | (p : ι → (Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier)) (hp : ∀ j, p j ≫ X.structureMap = 𝟙 _) : |
| 80 | ∃ L : Fin (m + 1) → Foundations.Scheme.ProjectiveSpace.projectiveGrading X.ambientDimension 1, |
| 81 | (∀ x : X.carrier, ∃ a, (L a).val ∉ (X.embedding x).asHomogeneousIdeal) ∧ |
| 82 | ∀ j, LinearIndependent ℂ (fun a => map X (p j) (hp j) (L a)) := by |
| 83 | let D j := (equivalence X (p j) (hp j) m).toLinearMap.comp (map X (p j) (hp j)) |
| 84 | have hD : ∀ j, Function.Surjective (D j) := fun j => |
| 85 | (equivalence X (p j) (hp j) m).surjective.comp (PointJetCoordinates.surjective X (p j) (hp j)) |
| 86 | obtain ⟨L, hav, hLI⟩ := IndependentLinearCut.exists_full X m D hD |
| 87 | refine ⟨L, hav, fun j => ?_⟩ |
| 88 | exact LinearIndependent.of_comp (equivalence X (p j) (hp j) m).toLinearMap (hLI j) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointJetCoordinates |