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.Manifold |
| 2 | |
| 3 | /-! # Chart Differences -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local period lifts differ by continuous lattice-valued functions. -/ |
| 10 | |
| 11 | open _root_.Topology |
| 12 | open scoped Classical |
| 13 | |
| 14 | variable (Φ : Torus.Data.CM.ProjectivePeriodData) |
| 15 | |
| 16 | theorem Torus.Data.CM.ProjectivePeriodData.periodChart_difference_mem (i j z : Φ.periodTorus) |
| 17 | (hi : z ∈ (Φ.periodChart i).source) (hj : z ∈ (Φ.periodChart j).source) : |
| 18 | Φ.periodChart j z - Φ.periodChart i z ∈ Φ.periodIntegerLattice := by |
| 19 | change Φ.periodChart j z - Φ.periodChart i z ∈ Φ.periodIntegerLattice.toAddSubgroup |
| 20 | apply (QuotientAddGroup.eq_zero_iff _).mp |
| 21 | rw [QuotientAddGroup.mk_sub] |
| 22 | have hei : (QuotientAddGroup.mk (Φ.periodChart i z) : Φ.periodTorus) = z := by |
| 23 | rw [← Φ.periodChart_symm i] |
| 24 | exact (Φ.periodChart i).left_inv hi |
| 25 | have hej : (QuotientAddGroup.mk (Φ.periodChart j z) : Φ.periodTorus) = z := by |
| 26 | rw [← Φ.periodChart_symm j] |
| 27 | exact (Φ.periodChart j).left_inv hj |
| 28 | rw [hei, hej, sub_self] |
| 29 | |
| 30 | def Torus.Data.CM.ProjectivePeriodData.periodChartDifference (i j z : Φ.periodTorus) : Φ.periodIntegerLattice := |
| 31 | if h : z ∈ (Φ.periodChart i).source ∩ (Φ.periodChart j).source then |
| 32 | ⟨Φ.periodChart j z - Φ.periodChart i z, Φ.periodChart_difference_mem i j z h.1 h.2⟩ |
| 33 | else 0 |
| 34 | |
| 35 | theorem Torus.Data.CM.ProjectivePeriodData.periodChartDifference_val (i j z : Φ.periodTorus) |
| 36 | (h : z ∈ (Φ.periodChart i).source ∩ (Φ.periodChart j).source) : |
| 37 | (Φ.periodChartDifference i j z).val = Φ.periodChart j z - Φ.periodChart i z := by |
| 38 | simp only [Torus.Data.CM.ProjectivePeriodData.periodChartDifference, dite_eq_left h] |
| 39 | |
| 40 | theorem Torus.Data.CM.ProjectivePeriodData.periodChartDifference_self (i z : Φ.periodTorus) : Φ.periodChartDifference i i z = 0 := by |
| 41 | by_cases h : z ∈ (Φ.periodChart i).source ∩ (Φ.periodChart i).source |
| 42 | · apply Subtype.ext |
| 43 | rw [Φ.periodChartDifference_val i i z h, sub_self] |
| 44 | rfl |
| 45 | · simp only [Torus.Data.CM.ProjectivePeriodData.periodChartDifference, dite_eq_right h] |
| 46 | |
| 47 | theorem Torus.Data.CM.ProjectivePeriodData.periodChartDifference_add (i j k z : Φ.periodTorus) |
| 48 | (h : z ∈ (Φ.periodChart i).source ∩ (Φ.periodChart j).source ∩ (Φ.periodChart k).source) : |
| 49 | Φ.periodChartDifference j k z + Φ.periodChartDifference i j z = Φ.periodChartDifference i k z := by |
| 50 | apply Subtype.ext |
| 51 | change (Φ.periodChartDifference j k z).val + (Φ.periodChartDifference i j z).val = _ |
| 52 | rw [Φ.periodChartDifference_val j k z ⟨h.1.2, h.2⟩, |
| 53 | Φ.periodChartDifference_val i j z h.1, Φ.periodChartDifference_val i k z ⟨h.1.1, h.2⟩] |
| 54 | abel |
| 55 | |
| 56 | theorem Torus.Data.CM.ProjectivePeriodData.periodChartDifference_continuousOn (i j : Φ.periodTorus) : |
| 57 | ContinuousOn (Φ.periodChartDifference i j) ((Φ.periodChart i).source ∩ (Φ.periodChart j).source) := by |
| 58 | rw [continuousOn_iff_continuous_domRestrict] |
| 59 | apply continuous_induced_rng.mpr |
| 60 | have hi : ContinuousOn (Φ.periodChart i) ((Φ.periodChart i).source ∩ (Φ.periodChart j).source) := |
| 61 | (Φ.periodChart i).continuousOn.mono Set.inter_subset_left |
| 62 | have hj : ContinuousOn (Φ.periodChart j) ((Φ.periodChart i).source ∩ (Φ.periodChart j).source) := |
| 63 | (Φ.periodChart j).continuousOn.mono Set.inter_subset_right |
| 64 | exact (hj.domRestrict.sub hi.domRestrict).congr |
| 65 | (fun z => (Φ.periodChartDifference_val i j z.val z.property).symm) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.RepresentationTheory.Theta.Geometric |