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.Analysis.HodgeTheory.Decomposition.CovariantAdjointPair |
| 2 | import OAI.Analysis.HodgeTheory.Decomposition.EuclideanBilinearMetric |
| 3 | import OAI.Analysis.HodgeTheory.Decomposition.FormalAdjointPairDerivative |
| 4 | import OAI.Analysis.HodgeTheory.Decomposition.ProjectiveConnectionSmooth |
| 5 | |
| 6 | /-! # Projective Covariant Numerator -/ |
| 7 | |
| 8 | namespace OAI.Analysis.HodgeTheory.Decomposition.ProjectiveCovariantNumerator.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual projective formal-adjoint numerator is the weighted metric |
| 13 | applied to the covariant codifferential, including every lower-order term. -/ |
| 14 | |
| 15 | open scoped ContDiff |
| 16 | |
| 17 | theorem complex_fderiv_re_apply {D : Type*} [NormedAddCommGroup D] [NormedSpace ℝ D] |
| 18 | (f : D → ℂ) {x : D} (hf : DifferentiableAt ℝ f x) (u : D) : |
| 19 | fderiv ℝ (fun y => (f y).re) x u = (fderiv ℝ f x u).re := by |
| 20 | have h := Complex.reCLM.hasFDerivAt.comp x hf.hasFDerivAt |
| 21 | exact congrArg (fun L : D →L[ℝ] ℝ => L u) h.fderiv |
| 22 | |
| 23 | variable (V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 24 | (e : OpenPartialHomeomorph V.analyticSpace V.analyticModel) |
| 25 | (he : e ∈ atlas V.analyticModel V.analyticSpace) (n : ℕ) |
| 26 | |
| 27 | include he |
| 28 | |
| 29 | theorem projectiveFormalAdjointNumerator_covariant |
| 30 | (a : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V → DifferentialForms.Manifold.Basic.FormValue (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) (n + 1)) |
| 31 | (ha : ContDiffOn ℝ ∞ a (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e : Set _)) |
| 32 | {z : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V} (hz : z ∈ AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e) : |
| 33 | LocalAdjoint.Constructions.formalAdjointNumerator (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)) |
| 34 | (AdjointCoefficients.Constructions.projectiveEuclideanExteriorSymbol V n) (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e (n + 1)) |
| 35 | (fun y => SymbolDifferential.Constructions.exteriorCoordinateEquiv (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis (n + 1) (a y)) z = |
| 36 | AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e n z |
| 37 | (SymbolDifferential.Constructions.exteriorCoordinateEquiv (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n |
| 38 | (CovariantAdjointPair.Constructions.bilinearCovariantCodifferential (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis n |
| 39 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e) (ProjectiveConnection.Constructions.projectiveConnectionCoefficient V e) a z)) := by |
| 40 | let b := (stdOrthonormalBasis ℝ (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V)).toBasis |
| 41 | let Q := SymbolDifferential.Constructions.exteriorCoordinateEquiv b n |
| 42 | let P := SymbolDifferential.Constructions.exteriorCoordinateEquiv b (n + 1) |
| 43 | have had := (ha.contDiffAt ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 44 | have hB := ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_smooth V e he).contDiffAt |
| 45 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 46 | have hρ := ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity_smooth V e he).contDiffAt |
| 47 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 48 | have hM := ((AdjointCoefficients.Constructions.projectiveWeightedFormOperator_smooth V e he (n + 1)).contDiffAt |
| 49 | ((AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanDomain V e).isOpen.mem_nhds hz)).differentiableAt (by simp) |
| 50 | have hPa : DifferentiableAt ℝ (fun y => P (a y)) z := |
| 51 | (P.toContinuousLinearMap.restrictScalars ℝ).differentiableAt.comp z had |
| 52 | apply ext_inner_right ℝ |
| 53 | intro v |
| 54 | obtain ⟨c, rfl⟩ := Q.surjective v |
| 55 | rw [FormalAdjointPairDerivative.Constructions.formalAdjointNumerator_pair_derivative _ _ _ _ hM hPa, |
| 56 | EuclideanBilinearMetric.Constructions.projectiveWeightedFormOperator_bilinear_pair] |
| 57 | let F (i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) (y : AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanModel V) : ℂ := |
| 58 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.Metric.CM.Construction.varietyMetricDensity V e y : ℂ) * BilinearFormMetric.Constructions.bilinearFormMetricPair b (n + 1) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e y) |
| 59 | (a y) (SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord i).toContinuousLinearMap c) |
| 60 | have hF (i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) : DifferentiableAt ℝ (F i) z := by |
| 61 | have hp := WeightedMetricDerivative.Constructions.bilinearFormMetricPair_differentiableAt b (n + 1) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e) |
| 62 | a (fun _ => SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord i).toContinuousLinearMap c) hB had |
| 63 | (differentiableAt_const _) (BilinearFormMetric.Constructions.bilinearExteriorGram_det_ne_zero b (n + 1) _ |
| 64 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_symmetric V e he hz) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_positive V e he hz)) |
| 65 | exact (Complex.ofRealCLM.differentiableAt.comp z hρ).mul hp |
| 66 | have hI (i : AdjointCoefficients.Constructions.ProjectiveRealCoordinateIndex V) : |
| 67 | (fun y => inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e (n + 1) y (P (a y))) |
| 68 | (AdjointCoefficients.Constructions.projectiveEuclideanExteriorSymbol V n i (Q c))) = (fun y => (F i y).re) := by |
| 69 | funext y |
| 70 | change inner ℝ (AdjointCoefficients.Constructions.projectiveWeightedFormOperator V e (n + 1) y (P (a y))) |
| 71 | (P (SymbolDifferential.Constructions.exteriorDifferentialSymbol n (b.coord i).toContinuousLinearMap (Q.symm (Q c)))) = _ |
| 72 | rw [Q.symm_apply_apply] |
| 73 | exact EuclideanBilinearMetric.Constructions.projectiveWeightedFormOperator_bilinear_pair V e (n + 1) y _ _ |
| 74 | simp_rw [hI, complex_fderiv_re_apply _ (hF _)] |
| 75 | have hsum := CovariantAdjointPair.Constructions.covariantAdjointPair_derivative_sum b n (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric V e) |
| 76 | (ProjectiveConnection.Constructions.projectiveConnectionCoefficient V e) a c hB had hρ |
| 77 | (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_symmetric V e he hz) (AlgebraicGeometry.ComplexMultiplication.HodgeComparison.EuclideanMetric.CM.Construction.varietyEuclideanMetric_positive V e he hz) |
| 78 | (ProjectiveConnection.Constructions.projectiveConnectionCoefficient_metric V e he hz) (ProjectiveConnection.Constructions.projectiveConnectionCoefficient_symmetric V e he hz) |
| 79 | have hr := congrArg Complex.re hsum |
| 80 | rw [Complex.re_sum] at hr |
| 81 | change (∑ i, (fderiv ℝ (F i) z (b i)).re) = _ at hr |
| 82 | change -(∑ i, (fderiv ℝ (F i) z (b i)).re) = _ |
| 83 | rw [hr] |
| 84 | simp only [neg_mul, Complex.neg_re, neg_neg] |
| 85 | rfl |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.Analysis.HodgeTheory.Decomposition.ProjectiveCovariantNumerator.Constructions |