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.RepresentationTheory.Theta.Geometric.Torus.SmoothProjectiveModel |
| 2 | |
| 3 | /-! # Chosen Projective -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.ChosenProjective.CM.Torus.Algebraization.ChosenProjectiveModel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Algebraize a supplied projective embedding, retaining its exact map. -/ |
| 10 | |
| 11 | open Set _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure |
| 13 | |
| 14 | variable {n : ℕ} (Φ : Torus.Data.CM.ProjectivePeriodData) |
| 15 | (f : Φ.periodTorus → Projectivization ℂ (Fin (n + 1) → ℂ)) |
| 16 | (hf : Topology.IsClosedEmbedding f) |
| 17 | (hd : ∀ (z : Φ.space) (i : Fin (n + 1)), |
| 18 | f (QuotientAddGroup.mk z) ∈ (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source → |
| 19 | DifferentiableAt ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z ∧ |
| 20 | Function.Injective (fderiv ℂ (fun w => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (f (QuotientAddGroup.mk w))) z)) |
| 21 | |
| 22 | include hf hd |
| 23 | |
| 24 | theorem regular_projection : |
| 25 | ∃ L : (Fin (n + 1) → ℂ) →L[ℂ] (Fin (Module.finrank ℂ Φ.space + 1) → ℂ), |
| 26 | (∀ v ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f), L v = 0 → v = 0) ∧ |
| 27 | IsProperMap (fun v : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) => L v) ∧ |
| 28 | (interior (L '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f))).Nonempty := by |
| 29 | let g : Φ.space → Projectivization ℂ (Fin (n + 1) → ℂ) := |
| 30 | fun z => f (QuotientAddGroup.mk z) |
| 31 | obtain ⟨i, hi⟩ := AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (g 0) |
| 32 | let r : Φ.space → Fin n → ℂ := fun z => AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i (g z) |
| 33 | let U : Set (Φ.space) := g ⁻¹' (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).source |
| 34 | have hU : IsOpen U := (AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.projectiveFinChart i).open_source.preimage |
| 35 | (hf.continuous.comp QuotientAddGroup.continuous_mk) |
| 36 | have hr : DifferentiableOn ℂ r U := fun z hz => (hd z i hz).1.differentiableWithinAt |
| 37 | let T := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.tangentMap i r 0 |
| 38 | have hT : Function.Injective T := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.tangentMap_injective i (hd 0 i hi).2 |
| 39 | let e : (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ) ≃L[ℂ] |
| 40 | (Φ.space × ℂ) := ContinuousLinearEquiv.ofFinrankEq (by |
| 41 | simp [Module.finrank_prod]) |
| 42 | let A := T.comp e.toContinuousLinearMap |
| 43 | have hA : Function.Injective A := hT.comp e.injective |
| 44 | obtain ⟨L, hL, hreg⟩ := Torus.TorusRegularCone.CM.Algebraization.RegularCone.regular_projection_of_period_embedding Φ f hf.continuous |
| 45 | (fun z j hz => (hd z j hz).1) A hA |
| 46 | have hLT : Function.Bijective (L.comp T) := |
| 47 | (Function.Bijective.of_comp_iff (L.comp T) e.bijective).mp hreg |
| 48 | let F : (Φ.space × ℂ) → (Fin (Module.finrank ℂ (Φ.space) + 1) → ℂ) := |
| 49 | fun p => L (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p) |
| 50 | have hFd : HasFDerivAt F (L.comp T) (0, 1) := |
| 51 | L.hasFDerivAt.comp (0, 1) (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.hasFDerivAt_parameterization i (hd 0 i hi).1) |
| 52 | have hFdiff : DifferentiableOn ℂ F (U ×ˢ univ) := |
| 53 | L.differentiable.comp_differentiableOn (Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.differentiableOn_parameterization i hr) |
| 54 | have hFreg : Function.Bijective (fderiv ℂ F (0, 1)) := by rwa [hFd.fderiv] |
| 55 | have hxU : (0, (1 : ℂ)) ∈ U ×ˢ univ := ⟨hi, mem_univ _⟩ |
| 56 | obtain ⟨q, hq, hqF, _⟩ := Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt.Constructions.FiniteBranches.holomorphic_local_inverse |
| 57 | (hU.prod isOpen_univ) hFdiff hxU hFreg |
| 58 | let q' := q.restrOpen (U ×ˢ univ) (hU.prod isOpen_univ) |
| 59 | have hq' : (0, (1 : ℂ)) ∈ q'.source := ⟨hq, hi, mem_univ _⟩ |
| 60 | have hsubset : q'.target ⊆ L '' AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 61 | intro y hy |
| 62 | let p := q'.symm y |
| 63 | have hp : p ∈ q'.source := q'.map_target hy |
| 64 | have hmem : Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 65 | have h := Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization_mem_cone i g p.1 hp.2.1 p.2 |
| 66 | intro hv0 |
| 67 | obtain ⟨z, hz⟩ := h hv0 |
| 68 | exact ⟨QuotientAddGroup.mk z, hz⟩ |
| 69 | refine ⟨Geometry.ComplexTorus.RiemannProjectivity.ConeTangentF.Constructions.ConeTangent.parameterization i r p, hmem, ?_⟩ |
| 70 | have hqp : q' p = F p := congrFun hqF p |
| 71 | exact hqp.symm.trans (q'.right_inv hy) |
| 72 | refine ⟨L, hL, AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.Projection.Constructions.Cone.isProperMap_projection |
| 73 | (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.isClosed_projectiveCone _ hf.isClosed_range) (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone _) L hL, ?_⟩ |
| 74 | exact ⟨q' (0, 1), interior_mono hsubset |
| 75 | ((q'.open_target.interior_eq).symm ▸ q'.map_source hq')⟩ |
| 76 | |
| 77 | theorem homogeneous_equations : |
| 78 | ∃ Q : Finset (MvPolynomial (Fin (n + 1)) ℂ), |
| 79 | (∀ q ∈ Q, ∃ k, q.IsHomogeneous k) ∧ |
| 80 | AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) = {v | ∀ q ∈ Q, MvPolynomial.eval v q = 0} := by |
| 81 | obtain ⟨L, hker, _, hi⟩ := regular_projection Φ f hf hd |
| 82 | have hclosed := AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.isClosed_projectiveCone (range f) hf.isClosed_range |
| 83 | have hsurj := Torus.TorusConeSurjectivity.CM.Algebraization.ConeSurjectivity.surjective_cone_projection L hclosed (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone _) |
| 84 | hker (Torus.TorusFiniteConeFibers.CM.Algebraization.FiniteConeFibers.cone_holomorphic_of_period_embedding Φ f hf hd) hi |
| 85 | exact Geometry.ComplexTorus.RiemannProjectivity.PolynomialSeparationFinite.Constructions.PolynomialSeparation.homogeneous_equations (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.smul_mem_projectiveCone _) |
| 86 | (Torus.TorusAlgebraicPeriodCone.CM.Algebraization.AlgebraicPeriodCone.separating_polynomial Φ f hf hd L hker hsurj) |
| 87 | |
| 88 | theorem smooth_integral_model : |
| 89 | ∃ e : Φ.periodTorus ≃ₜ AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver (range f)), |
| 90 | IsIntegral (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme (range f)) ∧ Smooth (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver (range f)).hom ∧ |
| 91 | (∀ t, e t = Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.liftedMap f t) ∧ |
| 92 | ∀ t, AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.inclusionOver (range f)) (e t) = |
| 93 | AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveScheme.projectivizationSchemePoint n (f t) := by |
| 94 | obtain ⟨Q, hQ, hcone⟩ := homogeneous_equations Φ f hf hd |
| 95 | have hS (w) (hw : ∀ p ∈ MvPolynomial.vanishingIdeal ℂ (AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f)), |
| 96 | MvPolynomial.eval w p = 0) : w ∈ AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ProjectiveCone.Constructions.Cone.projectiveCone (range f) := by |
| 97 | rw [hcone] |
| 98 | intro p hp |
| 99 | apply hw p |
| 100 | intro v hv |
| 101 | rw [hcone] at hv |
| 102 | exact hv p hp |
| 103 | have hsm := fun i => Torus.TorusPeriodChartAlgebra.CM.Algebraization.PeriodChartAlgebra.smooth Φ f hf hd hS i |
| 104 | have hsurj := Geometry.ComplexTorus.RiemannProjectivity.ExactProjective.Constructions.ExactProjectiveClosure.liftedMap_surjective f Q hQ hcone |
| 105 | let e := (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.liftedMap_isClosedEmbedding f hf).isEmbedding.toHomeomorphOfSurjective hsurj |
| 106 | have hint : IsIntegral (Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme (range f)) := |
| 107 | Torus.TorusProjectiveIrreducibility.CM.Algebraization.ProjectiveIrreducibility.closureScheme_integral_of_torus_embedding _ f hf.continuous (by |
| 108 | intro z |
| 109 | obtain ⟨i, hi⟩ := AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts.exists_mem_projectiveFinChart_source (f (QuotientAddGroup.mk z)) |
| 110 | exact ⟨i, hi, Torus.ProjectiveModel.CM.Algebraization.ProjectiveTorusModel.coordinates_differentiableAt |
| 111 | (hf.continuous.comp QuotientAddGroup.continuous_mk).continuousAt i hi (hd z i hi).1⟩) |
| 112 | exact ⟨e, hint, Torus.SmoothProjectiveModel.CM.Algebraization.SmoothProjectiveTorusModel.smooth_closure Q hQ hcone hsm, |
| 113 | fun _ => rfl, Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure.liftedMap_inclusion f⟩ |
| 114 | |
| 115 | end |
| 116 | |
| 117 | end OAI.RepresentationTheory.Theta.Geometric.ChosenProjective.CM.Torus.Algebraization.ChosenProjectiveModel |