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.HodgeConjecture.DegreeTwo.PeriodEdges |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration |
| 3 | |
| 4 | /-! # Straight Integration Eq -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.StraightIntegrationEq.Constructions.StraightIntegration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: integration on straight singular edges |
| 12 | |
| 13 | The straight edge has a genuine smooth extension. Integration of a constant |
| 14 | one-form on that edge is evaluation on its displacement, with the project's |
| 15 | Duffy orientation convention included. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Opposite Set _root_.MeasureTheory |
| 19 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex Simplicial _root_.Manifold ContDiff |
| 20 | |
| 21 | open OAI.AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PeriodEdges.Constructions.SingularPeriods |
| 22 | |
| 23 | variable {V : Type} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 24 | |
| 25 | /-- The actual straight singular edge is linear in its barycentric coordinate. -/ |
| 26 | theorem vectorEdge_simplex (v : V) (x : Convexity.StdSimplex ℝ (Fin 2)) : |
| 27 | (SingularPeriodsD.Constructions.SingularPeriods.Cover (V := V)).toSSetObjEquiv (op ⦋1⦌) (PeriodEdges.Constructions.SingularPeriods.vectorEdge v) x = x.weights 1 • v := by |
| 28 | unfold PeriodEdges.Constructions.SingularPeriods.vectorEdge TopCat.toSSetObj₁Equiv |
| 29 | change (Path.segment (0 : V) v) (Convexity.StdSimplex.homeomorphI x) = x.weights 1 • v |
| 30 | simp [Path.segment_apply, AffineMap.lineMap_apply, Convexity.StdSimplex.homeomorphI_apply_coe] |
| 31 | |
| 32 | /-- The straight edge extends smoothly to the whole barycentric vector space. -/ |
| 33 | def smoothVectorEdge (v : V) : (AlgebraicTopology.Cohomology.Singular.ManifoldSmooth.manifoldSmoothSingularSubcomplex V V).toSSet _⦋1⦌ := |
| 34 | ⟨PeriodEdges.Constructions.SingularPeriods.vectorEdge v, by |
| 35 | refine ⟨fun x : Fin 2 → ℝ => x 1 • v, univ, isOpen_univ, subset_univ _, ?_, ?_⟩ |
| 36 | · exact ((contDiff_apply (𝕜 := ℝ) (E := ℝ) 1).smul contDiff_const).contMDiff.contMDiffOn |
| 37 | · intro x |
| 38 | exact (vectorEdge_simplex v x).symm⟩ |
| 39 | |
| 40 | /-- Its Duffy cube travels from v to zero, before the orientation correction. -/ |
| 41 | def straightDuffyCube (v : V) : AlgebraicTopology.DeRham.Comparison.ManifoldCubeIntegration.SmoothManifoldCube V V 1 := |
| 42 | ⟨fun t : Fin 1 → ℝ => (1 - t 0) • v, |
| 43 | ((contDiff_const.sub (contDiff_apply (𝕜 := ℝ) (E := ℝ) 0)).smul |
| 44 | contDiff_const).contMDiff⟩ |
| 45 | |
| 46 | theorem straightDuffyCube_eq (v : V) (t : AlgebraicTopology.DeRham.Comparison.StokesF.SingularCubeStokes.unitCube 1) : |
| 47 | straightDuffyCube v t.val = |
| 48 | (TopCat.of V).toSSetObjEquiv _ (smoothVectorEdge v).val (AlgebraicTopology.DeRham.Comparison.DuffyCoordinates.Duffy.toSimplex 1 t) := by |
| 49 | erw [vectorEdge_simplex] |
| 50 | change (1 - t.val 0) • v = (AlgebraicTopology.DeRham.Comparison.DuffyCoordinates.Duffy.toSimplex 1 t : Fin 2 → ℝ) 1 • v |
| 51 | rw [AlgebraicTopology.DeRham.Comparison.DuffyCoordinates.Duffy.toSimplex_val] |
| 52 | change (1 - t.val 0) • v = ((1 - t.val 0) * 1) • v |
| 53 | rw [mul_one] |
| 54 | |
| 55 | /-- Integration of a constant actual manifold one-form has the standard sign. -/ |
| 56 | theorem smoothVectorEdge_integration |
| 57 | (form : Analysis.DifferentialForms.Manifold.Algebra.SmoothManifoldForm V V 1) (α : V [⋀^Fin 1]→L[ℝ] ℂ) |
| 58 | (hform : ∀ x : V, form x = α) (v : V) : |
| 59 | AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration (smoothVectorEdge v) form = α (fun _ => v) := by |
| 60 | rw [AlgebraicTopology.DeRham.Comparison.SmoothSimplexIntegration.smoothSimplexIntegration_eq_cube _ (straightDuffyCube v) |
| 61 | (straightDuffyCube_eq v) form, AlgebraicTopology.DeRham.Comparison.ManifoldCubeIntegration.manifoldCubeIntegration_eq_integral] |
| 62 | have hder (x : Fin 1 → ℝ) : |
| 63 | HasFDerivAt (fun t : Fin 1 → ℝ => (1 - t 0) • v) |
| 64 | ((-(ContinuousLinearMap.proj (R := ℝ) (i := 0))).smulRight v) x := by |
| 65 | simpa only [zero_sub] using! ((hasFDerivAt_const (1 : ℝ) x).sub |
| 66 | (ContinuousLinearMap.proj (R := ℝ) (i := 0)).hasFDerivAt).smul_const v |
| 67 | have hval (x : Fin 1 → ℝ) : |
| 68 | AlgebraicTopology.DeRham.Comparison.ManifoldCubeIntegration.manifoldCubePullback (straightDuffyCube v) form x (fun j => Pi.single j 1) = |
| 69 | -α (fun _ => v) := by |
| 70 | change form ((1 - x 0) • v) |
| 71 | (fun i => mfderiv (𝓘(ℝ, Fin 1 → ℝ)) (𝓘(ℝ, V)) |
| 72 | (fun t : Fin 1 → ℝ => (1 - t 0) • v) x (Pi.single i 1)) = _ |
| 73 | rw [hform, (hder x).hasMFDerivAt.mfderiv] |
| 74 | change α (fun i : Fin 1 => (-((Pi.single i (1 : ℝ) : Fin 1 → ℝ) 0)) • v) = _ |
| 75 | have he : (fun i : Fin 1 => (-((Pi.single i (1 : ℝ) : Fin 1 → ℝ) 0)) • v) = |
| 76 | fun _ : Fin 1 => -v := by |
| 77 | funext i |
| 78 | fin_cases i |
| 79 | simp |
| 80 | rw [he] |
| 81 | simpa using α.map_smul_univ (fun _ => (-1 : ℝ)) (fun _ => v) |
| 82 | simp_rw [hval] |
| 83 | simp [Measure.real, Real.volume_Icc_pi] |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.StraightIntegrationEq.Constructions.StraightIntegration |