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.CompactLattice |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Data |
| 3 | |
| 4 | /-! # Data -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Theta.Geometric.Torus.Data.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Data already constructed before algebraization: a finite-dimensional complex |
| 12 | vector space, a discrete full integer lattice, and the analytic projective |
| 13 | embedding supplied by the reference analytic fiber. No algebraic variety, |
| 14 | Hodge realization, or cohomological comparison is a field of this structure. |
| 15 | -/ |
| 16 | |
| 17 | structure ProjectivePeriodData where |
| 18 | space : Type |
| 19 | [normed : NormedAddCommGroup space] |
| 20 | [complex : NormedSpace ℂ space] |
| 21 | [real : NormedSpace ℝ space] |
| 22 | [tower : IsScalarTower ℝ ℂ space] |
| 23 | [finite : FiniteDimensional ℂ space] |
| 24 | periodIntegerLattice : Submodule ℤ space |
| 25 | [periodIntegerLattice_discrete : DiscreteTopology periodIntegerLattice] |
| 26 | [periodIntegerLattice_full : IsZLattice ℝ periodIntegerLattice] |
| 27 | projective : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.IsProjectiveComplexTorus space periodIntegerLattice.toAddSubgroup |
| 28 | |
| 29 | attribute [instance] ProjectivePeriodData.normed ProjectivePeriodData.complex |
| 30 | ProjectivePeriodData.real ProjectivePeriodData.tower ProjectivePeriodData.finite |
| 31 | ProjectivePeriodData.periodIntegerLattice_discrete ProjectivePeriodData.periodIntegerLattice_full |
| 32 | |
| 33 | namespace ProjectivePeriodData |
| 34 | |
| 35 | def ofCompactProjectiveTorus |
| 36 | (V : Type) [NormedAddCommGroup V] [NormedSpace ℂ V] [NormedSpace ℝ V] |
| 37 | [IsScalarTower ℝ ℂ V] [FiniteDimensional ℂ V] |
| 38 | (L : AddSubgroup V) [DiscreteTopology L] [CompactSpace (V ⧸ L)] |
| 39 | (hprojective : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.IsProjectiveComplexTorus V L) : ProjectivePeriodData := by |
| 40 | let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V |
| 41 | let : DiscreteTopology L.toIntSubmodule := inferInstanceAs (DiscreteTopology L) |
| 42 | let : CompactSpace (V ⧸ L.toIntSubmodule.toAddSubgroup) := by |
| 43 | change CompactSpace (V ⧸ L) |
| 44 | infer_instance |
| 45 | exact { |
| 46 | space := V |
| 47 | periodIntegerLattice := L.toIntSubmodule |
| 48 | periodIntegerLattice_full := CompactLattice.isZLattice_of_compact_quotient L.toIntSubmodule |
| 49 | projective := by |
| 50 | change NumberTheory.ArithmeticGroups.Data.CongruenceLevel.IsProjectiveComplexTorus V L |
| 51 | exact hprojective } |
| 52 | |
| 53 | instance realFinite (D : ProjectivePeriodData) : FiniteDimensional ℝ D.space := |
| 54 | FiniteDimensional.trans ℝ ℂ D.space |
| 55 | |
| 56 | abbrev periodTorus (D : ProjectivePeriodData) := |
| 57 | D.space ⧸ D.periodIntegerLattice.toAddSubgroup |
| 58 | |
| 59 | instance periodTorus_compact (D : ProjectivePeriodData) : CompactSpace D.periodTorus := by |
| 60 | apply isCompact_univ_iff.mp |
| 61 | have hc := IsZLattice.isCompact_range_of_periodic D.periodIntegerLattice |
| 62 | (QuotientAddGroup.mk : D.space → D.periodTorus) |
| 63 | QuotientAddGroup.continuous_mk (by |
| 64 | intro z w hw |
| 65 | rw [QuotientAddGroup.mk_add, (QuotientAddGroup.eq_zero_iff w).mpr hw, add_zero]) |
| 66 | rwa [Set.range_eq_univ.mpr QuotientAddGroup.mk_surjective] at hc |
| 67 | |
| 68 | instance periodTorus_t2 (D : ProjectivePeriodData) : T2Space D.periodTorus := by |
| 69 | let : DiscreteTopology D.periodIntegerLattice.toAddSubgroup := |
| 70 | D.periodIntegerLattice_discrete |
| 71 | let : IsClosed (D.periodIntegerLattice.toAddSubgroup : Set D.space) := |
| 72 | AddSubgroup.isClosed_of_discreteTopology |
| 73 | infer_instance |
| 74 | |
| 75 | end ProjectivePeriodData |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.RepresentationTheory.Theta.Geometric.Torus.Data.CM |