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.Geometry.ComplexBall.RealQuadratic |
| 2 | import OAI.Geometry.ComplexBall.ArithmeticQuotientBoostBall |
| 3 | |
| 4 | /-! # Real Points -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexBall.RealPoints.ArithmeticQuotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Topological identification of the real polynomial point group with |
| 11 | complex special unitary matrices. Both directions use explicit coordinates. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.Topology |
| 15 | |
| 16 | lemma regularUnitaryEquiv_matrix {k : Type} [Field k] (d b : k) |
| 17 | (g : ArithmeticQuotientEquationsData.SU (starRingEnd (QuadraticAlgebra k d 0)) (algebraMap k _ b)) : |
| 18 | (ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b g).val.val = ArithmeticQuotientEquationsData.regularMatrix d g.val.val := rfl |
| 19 | |
| 20 | lemma regularUnitaryEquiv_symm_matrix {k : Type} [Field k] (d b : k) |
| 21 | (g : (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints) : |
| 22 | ((ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b).symm g).val.val = ArithmeticQuotientEquationsData.decodeMatrix d g.val.val := by |
| 23 | have h := congrArg (fun x : (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints => |
| 24 | ArithmeticQuotientEquationsData.decodeMatrix d x.val.val) ((ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b).apply_symm_apply g) |
| 25 | rw [regularUnitaryEquiv_matrix, ArithmeticQuotientEquationsData.decode_regularMatrix] at h |
| 26 | exact h |
| 27 | |
| 28 | def realUnitaryPointsEquiv (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) : |
| 29 | (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints ≃* ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ) := |
| 30 | (ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b).symm.trans (RealQuadratic.ArithmeticQuotient.realQuadraticUnitaryEquiv d r b hr hr0) |
| 31 | |
| 32 | lemma realUnitaryPointsEquiv_entry (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) |
| 33 | (g : (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints) (i j : Fin 3) : |
| 34 | (realUnitaryPointsEquiv d r b hr hr0 g).val i j = |
| 35 | RealQuadratic.ArithmeticQuotient.realQuadraticHom d r hr (ArithmeticQuotientEquationsData.decodeMatrix d g.val.val i j) := by |
| 36 | change (RealQuadratic.ArithmeticQuotient.realQuadraticUnitaryEquiv d r b hr hr0 |
| 37 | ((ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b).symm g)).val i j = _ |
| 38 | rw [RealQuadratic.ArithmeticQuotient.realQuadraticUnitaryEquiv_entry] |
| 39 | exact congrArg (fun M => RealQuadratic.ArithmeticQuotient.realQuadraticHom d r hr (M i j)) |
| 40 | (regularUnitaryEquiv_symm_matrix d b g) |
| 41 | |
| 42 | lemma realUnitaryPointsEquiv_symm_matrix (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) |
| 43 | (g : ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ)) : |
| 44 | ((realUnitaryPointsEquiv d r b hr hr0).symm g).val.val = |
| 45 | ArithmeticQuotientEquationsData.regularMatrix d (fun i j => RealQuadratic.ArithmeticQuotient.realQuadraticInverse d r (g.val i j)) := by |
| 46 | change (ArithmeticQuotientSplitUnitary.regularUnitaryEquiv d b ((RealQuadratic.ArithmeticQuotient.realQuadraticUnitaryEquiv d r b hr hr0).symm g)).val.val = _ |
| 47 | rw [regularUnitaryEquiv_matrix] |
| 48 | apply congrArg (ArithmeticQuotientEquationsData.regularMatrix d) |
| 49 | apply Matrix.ext |
| 50 | intro i j |
| 51 | exact RealQuadratic.ArithmeticQuotient.realQuadraticUnitaryEquiv_symm_entry d r b hr hr0 g i j |
| 52 | |
| 53 | lemma realUnitaryPointsEquiv_continuous (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) : |
| 54 | Continuous (realUnitaryPointsEquiv d r b hr hr0) := by |
| 55 | apply IsInducing.subtypeVal.continuous_iff.mpr |
| 56 | apply IsInducing.subtypeVal.continuous_iff.mpr |
| 57 | apply continuous_pi |
| 58 | intro i |
| 59 | apply continuous_pi |
| 60 | intro j |
| 61 | change Continuous (fun g : (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints => |
| 62 | (realUnitaryPointsEquiv d r b hr hr0 g).val i j) |
| 63 | simp_rw [realUnitaryPointsEquiv_entry, RealQuadratic.ArithmeticQuotient.realQuadraticHom_apply] |
| 64 | dsimp [ArithmeticQuotientEquationsData.decodeMatrix] |
| 65 | fun_prop |
| 66 | |
| 67 | lemma realUnitaryPointsEquiv_symm_continuous (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) : |
| 68 | Continuous (realUnitaryPointsEquiv d r b hr hr0).symm := by |
| 69 | apply IsInducing.subtypeVal.continuous_iff.mpr |
| 70 | apply IsInducing.subtypeVal.continuous_iff.mpr |
| 71 | apply continuous_pi |
| 72 | intro i |
| 73 | apply continuous_pi |
| 74 | intro j |
| 75 | change Continuous (fun g : ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ) => |
| 76 | ((realUnitaryPointsEquiv d r b hr hr0).symm g).val.val i j) |
| 77 | simp_rw [realUnitaryPointsEquiv_symm_matrix] |
| 78 | obtain ⟨⟨i, a⟩, rfl⟩ := ArithmeticQuotientEquationsData.pairIndex.surjective i |
| 79 | obtain ⟨⟨j, c⟩, rfl⟩ := ArithmeticQuotientEquationsData.pairIndex.surjective j |
| 80 | suffices hc : Continuous (fun g : ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ) => |
| 81 | ArithmeticQuotientEquationsData.quadraticRegular d (RealQuadratic.ArithmeticQuotient.realQuadraticInverse d r (g.val i j)) a c) by |
| 82 | exact hc.congr (fun g => (ArithmeticQuotientEquationsData.regularMatrix_entry d |
| 83 | (fun i j => RealQuadratic.ArithmeticQuotient.realQuadraticInverse d r (g.val i j)) i j a c).symm) |
| 84 | fin_cases a <;> fin_cases c <;> dsimp [ArithmeticQuotientEquationsData.quadraticRegular, RealQuadratic.ArithmeticQuotient.realQuadraticInverse] <;> fun_prop |
| 85 | |
| 86 | def realUnitaryPointsContinuousEquiv (d r b : ℝ) (hr : r ^ 2 = -d) (hr0 : r ≠ 0) : |
| 87 | (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints ≃ₜ* ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ) where |
| 88 | toMulEquiv := realUnitaryPointsEquiv d r b hr hr0 |
| 89 | continuous_toFun := realUnitaryPointsEquiv_continuous d r b hr hr0 |
| 90 | continuous_invFun := realUnitaryPointsEquiv_symm_continuous d r b hr hr0 |
| 91 | |
| 92 | def negativeRealUnitaryPointsEquiv (d b : ℝ) (hd : d < 0) : |
| 93 | (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints ≃ₜ* ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ) := |
| 94 | realUnitaryPointsContinuousEquiv d (Real.sqrt (-d)) b |
| 95 | (Real.sq_sqrt (by linarith)) (ne_of_gt (Real.sqrt_pos.mpr (by linarith))) |
| 96 | |
| 97 | theorem realUnitaryPoints_compact_of_positive (d b : ℝ) (hd : d < 0) (hb : 0 < b) : |
| 98 | CompactSpace (ArithmeticQuotientSplitUnitary.unitaryAlgebraicGroup d b).RationalPoints := by |
| 99 | let : CompactSpace (ArithmeticQuotientEquationsData.SU (starRingEnd ℂ) (b : ℂ)) := |
| 100 | ArithmeticQuotientBoostBall.compact_complex_unitary_of_positive (b : ℂ) hb |
| 101 | exact (negativeRealUnitaryPointsEquiv d b hd).symm.toHomeomorph.compactSpace |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.Geometry.ComplexBall.RealPoints.ArithmeticQuotient |