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.CycleClass.Geometric.RationalLocalPurity |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality |
| 3 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 4 | |
| 5 | /-! # Finite Complex Local Purity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.FiniteComplexLocalPurity.Cycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Local rational purity for finite-dimensional complex vector spaces |
| 13 | |
| 14 | The actual punctured-space relative cochain complexes are transported along |
| 15 | continuous complex-linear equivalences. A genuine coordinate equivalence with |
| 16 | the standard finite complex vector space then gives local purity and a |
| 17 | normalized rational class. Coordinate independence is proved separately. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 21 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCochainFunctoriality.Cohomology |
| 22 | |
| 23 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℂ F] |
| 25 | |
| 26 | /-- A continuous complex-linear equivalence as an actual topological isomorphism. -/ |
| 27 | def complexLinearTopIso (e : E ≃L[ℂ] F) : TopCat.of E ≅ TopCat.of F := |
| 28 | TopCat.isoOfHomeo (X := TopCat.of E) (Y := TopCat.of F) e.toHomeomorph |
| 29 | |
| 30 | theorem complexLinearEquiv_mapsTo_puncture (e : E ≃L[ℂ] F) : |
| 31 | Set.MapsTo e ({0}ᶜ : Set E) ({0}ᶜ : Set F) := by |
| 32 | intro x hx |
| 33 | change x ≠ 0 at hx |
| 34 | change e x ≠ 0 |
| 35 | exact fun he => hx (e.injective (he.trans e.map_zero.symm)) |
| 36 | |
| 37 | /-- Actual cochain pullback gives a contravariant isomorphism of punctured |
| 38 | relative cochains under a complex-linear homeomorphism. -/ |
| 39 | def complexLinearLocalCochainIso (e : E ≃L[ℂ] F) : |
| 40 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of F) ({0}ᶜ : Set F) ≅ |
| 41 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) (TopCat.of E) ({0}ᶜ : Set E) where |
| 42 | hom := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) |
| 43 | (complexLinearTopIso e).hom (complexLinearEquiv_mapsTo_puncture e) |
| 44 | inv := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap (ModuleCat.of ℚ ℚ) |
| 45 | (complexLinearTopIso e).inv (complexLinearEquiv_mapsTo_puncture e.symm) |
| 46 | hom_inv_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id (ModuleCat.of ℚ ℚ) |
| 47 | (complexLinearTopIso e).inv (complexLinearTopIso e).hom |
| 48 | (complexLinearEquiv_mapsTo_puncture e.symm) (complexLinearEquiv_mapsTo_puncture e) |
| 49 | (complexLinearTopIso e).inv_hom_id |
| 50 | inv_hom_id := AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCochainsMap_comp_eq_id (ModuleCat.of ℚ ℚ) |
| 51 | (complexLinearTopIso e).hom (complexLinearTopIso e).inv |
| 52 | (complexLinearEquiv_mapsTo_puncture e) (complexLinearEquiv_mapsTo_puncture e.symm) |
| 53 | (complexLinearTopIso e).hom_inv_id |
| 54 | |
| 55 | /-- The induced isomorphism is on the genuine rational relative cohomology. -/ |
| 56 | def complexLinearLocalCohomologyIso (e : E ≃L[ℂ] F) (n : ℕ) : |
| 57 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of F) ({0}ᶜ : Set F) n ≅ |
| 58 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of E) ({0}ᶜ : Set E) n := |
| 59 | (HomologicalComplex.homologyFunctor (ModuleCat ℚ) (ComplexShape.up ℕ) n).mapIso |
| 60 | (complexLinearLocalCochainIso e) |
| 61 | |
| 62 | @[simp] |
| 63 | theorem complexLinearLocalCohomologyIso_hom (e : E ≃L[ℂ] F) (n : ℕ) : |
| 64 | (complexLinearLocalCohomologyIso e n).hom = |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 66 | (complexLinearTopIso e).hom (complexLinearEquiv_mapsTo_puncture e) n := |
| 67 | rfl |
| 68 | |
| 69 | variable (E : Type) [NormedAddCommGroup E] [NormedSpace ℂ E] [FiniteDimensional ℂ E] |
| 70 | |
| 71 | /-- An actual continuous linear coordinate system in the full complex dimension. -/ |
| 72 | def finiteComplexCoordinates : E ≃L[ℂ] (Fin (Module.finrank ℂ E) → ℂ) := |
| 73 | ContinuousLinearEquiv.ofFinrankEq (Module.finrank_fin_fun ℂ).symm |
| 74 | |
| 75 | /-- Rational local cohomology at zero, with the actual punctured complement. -/ |
| 76 | abbrev finiteComplexLocalCohomology (n : ℕ) : ModuleCat ℚ := |
| 77 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of E) ({0}ᶜ : Set E) n |
| 78 | |
| 79 | /-- Actual coordinates identify local cohomology with the standard normal model. -/ |
| 80 | def finiteComplexLocalCohomologyIso (n : ℕ) : |
| 81 | finiteComplexLocalCohomology E n ≅ |
| 82 | RationalLocalPurity.Cycles.complexNormalRationalLocalCohomology (Module.finrank ℂ E) n := |
| 83 | (complexLinearLocalCohomologyIso (finiteComplexCoordinates E) n).symm |
| 84 | |
| 85 | /-- Top local rational cohomology is one-dimensional with its specified |
| 86 | normalization transported by an actual complex coordinate map. -/ |
| 87 | def finiteComplexTopCohomologyIso : |
| 88 | finiteComplexLocalCohomology E (2 * Module.finrank ℂ E) ≅ ModuleCat.of ℚ ℚ := |
| 89 | finiteComplexLocalCohomologyIso E (2 * Module.finrank ℂ E) ≪≫ |
| 90 | RationalLocalPurity.Cycles.complexNormalRationalTopCohomologyIso (Module.finrank ℂ E) |
| 91 | |
| 92 | /-- Local rational cohomology vanishes in every other degree, including the |
| 93 | zero-dimensional case with its genuine punctured pair. -/ |
| 94 | theorem finiteComplexLocalCohomology_isZero (n : ℕ) (hn : n ≠ 2 * Module.finrank ℂ E) : |
| 95 | IsZero (finiteComplexLocalCohomology E n) := |
| 96 | (RationalLocalPurity.Cycles.complexNormalRationalLocalCohomology_isZero (Module.finrank ℂ E) n hn).of_iso |
| 97 | (finiteComplexLocalCohomologyIso E n) |
| 98 | |
| 99 | /-- The normalized local rational class. -/ |
| 100 | def finiteComplexLocalClass : finiteComplexLocalCohomology E (2 * Module.finrank ℂ E) := |
| 101 | (finiteComplexTopCohomologyIso E).inv 1 |
| 102 | |
| 103 | @[simp] |
| 104 | theorem finiteComplexLocalClass_normalization : |
| 105 | (finiteComplexTopCohomologyIso E).hom (finiteComplexLocalClass E) = 1 := by |
| 106 | exact (finiteComplexTopCohomologyIso E).toLinearEquiv.apply_symm_apply 1 |
| 107 | |
| 108 | theorem finiteComplexLocalClass_ne_zero : finiteComplexLocalClass E ≠ 0 := by |
| 109 | intro h |
| 110 | have heq := finiteComplexLocalClass_normalization E |
| 111 | rw [h, map_zero] at heq |
| 112 | exact zero_ne_one heq |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.CycleClass.Geometric.FiniteComplexLocalPurity.Cycles |