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.Projection.ProjectionCoincidence |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.EtaleNeighborhoods |
| 3 | |
| 4 | /-! # Finite -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.Finite |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite projections with simultaneous off-diagonal incidence |
| 11 | dimension bounds and etale neighborhoods at prescribed closed points. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | namespace Projection |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Pair |
| 21 | |
| 22 | attribute [local instance] PointJetCoordinates.scalar |
| 23 | |
| 24 | def coincidence (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (W Z : IrreducibleCloseds X.carrier) |
| 25 | {Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} (π : X.toOver ⟶ Y) [IsSeparated Y.hom] : Closeds (Support.Pair.space X W Z) := |
| 26 | Closed.Equalizer.locus (Support.Pair.first X W Z ≫ π) (Support.Pair.second X W Z ≫ π) |
| 27 | |
| 28 | theorem exists_points (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 29 | [SmoothOfRelativeDimension m X.structureMap] |
| 30 | {τ ι : Type} [Finite τ] [Finite ι] (W Z : τ → IrreducibleCloseds X.carrier) |
| 31 | (p : ι → (Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X.carrier)) (hp : ∀ j, p j ≫ X.structureMap = 𝟙 _) : |
| 32 | ∃ π : X.toOver ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m), IsFinite π.left ∧ |
| 33 | (∀ j, ∃ U : X.carrier.Opens, p j (IsLocalRing.closedPoint ℂ) ∈ U ∧ Etale (U.ι ≫ π.left)) ∧ |
| 34 | ∀ t, ∀ C : IrreducibleCloseds (Support.Pair.space X (W t) (Z t)), |
| 35 | (C : Set (Support.Pair.space X (W t) (Z t))) ⊆ |
| 36 | coincidence X (W t) (Z t) π → |
| 37 | ¬ (C : Set (Support.Pair.space X (W t) (Z t))) ⊆ Support.PairIncidenceStep.diagonal X (W t) (Z t) → |
| 38 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension C (Support.Pair.base X (W t) (Z t)) + m ≤ |
| 39 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (W t) X.structureMap + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Z t) X.structureMap := by |
| 40 | let D j := (PointJetCoordinates.equivalence X (p j) (hp j) m).toLinearMap.comp |
| 41 | (PointJetCoordinates.map X (p j) (hp j)) |
| 42 | have hD : ∀ j, Function.Surjective (D j) := fun j => |
| 43 | (PointJetCoordinates.equivalence X (p j) (hp j) m).surjective.comp |
| 44 | (PointJetCoordinates.surjective X (p j) (hp j)) |
| 45 | obtain ⟨L, h, hI, hLI⟩ := Projection.Generic.Forms.exists_forms X m W Z D hD |
| 46 | let π := Projection.ProjectionCoincidence.over X m L h |
| 47 | refine ⟨π, inferInstanceAs (IsFinite (Projection.FiniteProjective.FromForms.map X m L h)), ?_, ?_⟩ |
| 48 | · intro j |
| 49 | have hi : LinearIndependent ℂ (fun a => PointJetCoordinates.map X (p j) (hp j) (L a)) := |
| 50 | LinearIndependent.of_comp (PointJetCoordinates.equivalence X (p j) (hp j) m).toLinearMap (hLI j) |
| 51 | have hspan : Submodule.span ℂ |
| 52 | (Set.range (fun a => PointJetCoordinates.map X (p j) (hp j) (L a))) = ⊤ := by |
| 53 | let := PointJetCoordinates.finite X (p j) (hp j) m |
| 54 | apply Submodule.eq_top_of_finrank_eq |
| 55 | rw [finrank_span_eq_card hi, Fintype.card_fin, PointJetCoordinates.dimension X (p j) (hp j) m] |
| 56 | have hu := Projection.StalkUnramified.unramified X m L h (p j) (hp j) hspan |
| 57 | let := Projective.Dimension.projective_relativeDimension m |
| 58 | have he := Smooth.EqualDimensionEtale.stalk (Projection.FiniteProjective.FromForms.map X m L h) |
| 59 | X.structureMap (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m) (Projection.FiniteProjective.FromForms.over_base X m L h) |
| 60 | m (p j (IsLocalRing.closedPoint ℂ)) hu |
| 61 | exact ProjectionFormula.Etale.StalkNeighborhood.exists_open (Projection.FiniteProjective.FromForms.map X m L h) |
| 62 | (p j (IsLocalRing.closedPoint ℂ)) he |
| 63 | · intro t C hC hdiag |
| 64 | apply hI t C _ hdiag |
| 65 | have he : Support.PairIncidenceStep.incidence X (W t) (Z t) m L = |
| 66 | coincidence X (W t) (Z t) π := |
| 67 | Projection.ProjectionCoincidence.locus_eq X m L h (Support.Pair.first X (W t) (Z t)) (Support.Pair.second X (W t) (Z t)) |
| 68 | rw [he] |
| 69 | exact hC |
| 70 | |
| 71 | theorem exists_closed_points (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 72 | [SmoothOfRelativeDimension m X.structureMap] |
| 73 | {τ ι : Type} [Finite τ] [Finite ι] (W Z : τ → IrreducibleCloseds X.carrier) |
| 74 | (x : ι → X.carrier) (hx : ∀ j, IsClosed {x j}) : |
| 75 | ∃ π : X.toOver ⟶ Over.mk (Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase m), IsFinite π.left ∧ |
| 76 | (∀ j, ∃ U : X.carrier.Opens, x j ∈ U ∧ Etale (U.ι ≫ π.left)) ∧ |
| 77 | ∀ t, ∀ C : IrreducibleCloseds (Support.Pair.space X (W t) (Z t)), |
| 78 | (C : Set (Support.Pair.space X (W t) (Z t))) ⊆ |
| 79 | coincidence X (W t) (Z t) π → |
| 80 | ¬ (C : Set (Support.Pair.space X (W t) (Z t))) ⊆ Support.PairIncidenceStep.diagonal X (W t) (Z t) → |
| 81 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension C (Support.Pair.base X (W t) (Z t)) + m ≤ |
| 82 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (W t) X.structureMap + Foundations.Scheme.SupportDimension.supportTranscendenceDimension (Z t) X.structureMap := by |
| 83 | let p j := pointOfClosedPoint X.structureMap (x j) (hx j) |
| 84 | have hp j : p j ≫ X.structureMap = 𝟙 _ := pointOfClosedPoint_comp _ _ _ |
| 85 | obtain ⟨π, hfinite, hetale, hI⟩ := exists_points X m W Z p hp |
| 86 | refine ⟨π, hfinite, ?_, hI⟩ |
| 87 | intro j |
| 88 | have he : p j (IsLocalRing.closedPoint ℂ) = x j := pointOfClosedPoint_apply _ _ _ _ |
| 89 | simpa only [he] using hetale j |
| 90 | |
| 91 | end Projection |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Generic.Finite |