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.Weil.UnitarySplitting.HaarScaling |
| 2 | import OAI.RepresentationTheory.Weil.UnitarySplitting.QuadraticNorm |
| 3 | |
| 4 | /-! # Field Modulus -/ |
| 5 | |
| 6 | namespace OAI.RepresentationTheory.Weil.UnitarySplitting.FieldModulus.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The multiplicative character measuring the scaling of additive Haar |
| 11 | measure by field multiplication. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped NNReal |
| 15 | |
| 16 | def fieldDilation {F : Type} [NormedField F] (a : Fˣ) : F ≃ₜ+ F where |
| 17 | toFun x := (a : F) * x |
| 18 | invFun x := (↑a⁻¹ : F) * x |
| 19 | left_inv x := by dsimp only; rw [← mul_assoc, Units.inv_mul, one_mul] |
| 20 | right_inv x := by dsimp only; rw [← mul_assoc, Units.mul_inv, one_mul] |
| 21 | map_add' x y := mul_add _ x y |
| 22 | continuous_toFun := continuous_const.mul continuous_id |
| 23 | continuous_invFun := continuous_const.mul continuous_id |
| 24 | |
| 25 | theorem fieldDilation_one {F : Type} [NormedField F] : |
| 26 | fieldDilation (1 : Fˣ) = ContinuousAddEquiv.refl F := by |
| 27 | ext x |
| 28 | exact one_mul x |
| 29 | |
| 30 | theorem fieldDilation_mul {F : Type} [NormedField F] (a b : Fˣ) : |
| 31 | fieldDilation (a * b) = (fieldDilation b).trans (fieldDilation a) := by |
| 32 | ext x |
| 33 | exact mul_assoc (a : F) (b : F) x |
| 34 | |
| 35 | def fieldModulus (F : Type) [NormedField F] [LocallyCompactSpace F] |
| 36 | [MeasurableSpace F] [BorelSpace F] : Fˣ →* ℝ≥0 where |
| 37 | toFun a := addEquivAddHaarChar (fieldDilation a) |
| 38 | map_one' := by rw [fieldDilation_one, addEquivAddHaarChar_refl] |
| 39 | map_mul' a b := by rw [fieldDilation_mul, addEquivAddHaarChar_trans, mul_comm] |
| 40 | |
| 41 | theorem fieldModulus_pos {F : Type} [NormedField F] [LocallyCompactSpace F] |
| 42 | [MeasurableSpace F] [BorelSpace F] (a : Fˣ) : 0 < fieldModulus F a := |
| 43 | addEquivAddHaarChar_pos (fieldDilation a) |
| 44 | |
| 45 | variable {F E : Type} [NormedField F] [NormedField E] [Algebra F E] |
| 46 | variable [CompleteSpace F] [LocallyCompactSpace F] [LocallyCompactSpace E] [FiniteDimensional F E] |
| 47 | variable [MeasurableSpace F] [BorelSpace F] [MeasurableSpace E] [BorelSpace E] |
| 48 | variable (hF : ¬ DiscreteTopology F) (hEmbedding : Continuous (algebraMap F E)) |
| 49 | |
| 50 | def continuousFieldAutomorphism (σ : E ≃ₐ[F] E) : E ≃ₜ+ E where |
| 51 | toAddEquiv := σ.toAddEquiv |
| 52 | continuous_toFun := QuadraticNorm.Construction.fieldAutomorphism_continuous hF hEmbedding σ |
| 53 | continuous_invFun := QuadraticNorm.Construction.fieldAutomorphism_continuous hF hEmbedding σ.symm |
| 54 | |
| 55 | include hF hEmbedding in |
| 56 | omit [LocallyCompactSpace F] [MeasurableSpace F] [BorelSpace F] in |
| 57 | theorem fieldModulus_conjugate (σ : E ≃ₐ[F] E) (b : Eˣ) : |
| 58 | fieldModulus E (Units.map σ.toMonoidHom b) = fieldModulus E b := by |
| 59 | exact (HaarScaling.Construction.addHaarChar_intertwining (continuousFieldAutomorphism hF hEmbedding σ) |
| 60 | (fieldDilation b) (fieldDilation (Units.map σ.toMonoidHom b)) |
| 61 | (fun x => map_mul σ (b : E) x)).symm |
| 62 | |
| 63 | include hF hEmbedding in |
| 64 | theorem fieldModulus_base [SecondCountableTopology F] |
| 65 | (hQuadratic : Module.finrank F E = 2) (a : Fˣ) : |
| 66 | fieldModulus E (Units.map (algebraMap F E).toMonoidHom a) = fieldModulus F a ^ 2 := by |
| 67 | let e := (QuadraticNorm.Construction.quadraticFieldCoordinates hF hEmbedding hQuadratic).trans |
| 68 | (ContinuousLinearEquiv.finTwoArrow F F) |
| 69 | have he (x : E) : |
| 70 | e (fieldDilation (Units.map (algebraMap F E).toMonoidHom a) x) = |
| 71 | HaarScaling.Construction.continuousProdAddEquiv (fieldDilation a) (fieldDilation a) (e x) := by |
| 72 | change e (algebraMap F E (a : F) * x) = ((a : F) * (e x).1, (a : F) * (e x).2) |
| 73 | rw [← Algebra.smul_def, e.map_smul] |
| 74 | rfl |
| 75 | have hh := HaarScaling.Construction.addHaarChar_intertwining e.toContinuousAddEquiv |
| 76 | (fieldDilation (Units.map (algebraMap F E).toMonoidHom a)) |
| 77 | (HaarScaling.Construction.continuousProdAddEquiv (fieldDilation a) (fieldDilation a)) he |
| 78 | rw [HaarScaling.Construction.addHaarChar_prod] at hh |
| 79 | exact hh.trans (pow_two (fieldModulus F a)).symm |
| 80 | |
| 81 | include hF hEmbedding in |
| 82 | theorem fieldModulus_norm [CharZero F] [SecondCountableTopology F] |
| 83 | (hQuadratic : Module.finrank F E = 2) (σ : E ≃ₐ[F] E) |
| 84 | (hne : ∃ z : E, σ z ≠ z) (b : Eˣ) : |
| 85 | fieldModulus E b = fieldModulus F (Units.map (Algebra.norm F) b) := by |
| 86 | have hnorm : b * Units.map σ.toMonoidHom b = |
| 87 | Units.map (algebraMap F E).toMonoidHom (Units.map (Algebra.norm F) b) := by |
| 88 | apply Units.ext |
| 89 | exact (QuadraticNorm.Construction.quadratic_norm_formula hQuadratic σ hne (b : E)).symm |
| 90 | have hh := congrArg (fieldModulus E) hnorm |
| 91 | rw [map_mul, fieldModulus_conjugate hF hEmbedding σ b, |
| 92 | fieldModulus_base hF hEmbedding hQuadratic] at hh |
| 93 | have hs : fieldModulus E b ^ 2 = fieldModulus F (Units.map (Algebra.norm F) b) ^ 2 := by |
| 94 | simpa only [pow_two] using hh |
| 95 | exact (pow_left_inj₀ zero_le zero_le (by decide : (2 : ℕ) ≠ 0)).mp hs |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.RepresentationTheory.Weil.UnitarySplitting.FieldModulus.Construction |