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.Adelic.SpecialUnitary |
| 2 | |
| 3 | /-! # Special Unitary Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SpecialUnitaryBaseChange.Approximation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Continuous scalar extension of determinant-one unitary matrices |
| 12 | along a specified homomorphism that preserves conjugation. -/ |
| 13 | |
| 14 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 15 | |
| 16 | variable {R S : Type*} [CommRing R] [StarRing R] [CommRing S] [StarRing S] |
| 17 | {n : Type*} [Fintype n] [DecidableEq n] |
| 18 | (f : R →+* S) (hf : ∀ x, f (star x) = star (f x)) (H : Matrix n n R) |
| 19 | |
| 20 | def specialUnitaryBaseChange : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H →* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) where |
| 21 | toFun g := ⟨Units.map (f.mapMatrix : Matrix n n R →+* Matrix n n S).toMonoidHom g.val, |
| 22 | (RepresentationTheory.Weil.AdelicSplitting.UnitaryBase.Construction.unitaryBaseChange f hf H (RepresentationTheory.Theta.Adelic.SpecialUnitary.includeUnitary H g)).property, by |
| 23 | apply Units.ext |
| 24 | change (g.val.val.map f).det = 1 |
| 25 | have hd : g.val.val.det = 1 := congrArg Units.val g.property.2 |
| 26 | exact (f.map_det g.val.val).symm.trans ((congrArg f hd).trans (map_one f))⟩ |
| 27 | map_one' := by apply Subtype.ext; exact map_one _ |
| 28 | map_mul' g h := by apply Subtype.ext; exact map_mul _ _ _ |
| 29 | |
| 30 | theorem specialUnitaryBaseChange_matrix (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H) : |
| 31 | (specialUnitaryBaseChange f hf H g).val.val = g.val.val.map f := rfl |
| 32 | |
| 33 | variable [TopologicalSpace R] [TopologicalSpace S] |
| 34 | |
| 35 | theorem specialUnitaryBaseChange_continuous (hfc : Continuous f) : |
| 36 | Continuous (specialUnitaryBaseChange f hf H) := by |
| 37 | have hm : Continuous (f.mapMatrix : Matrix n n R →+* Matrix n n S) := |
| 38 | continuous_pi (fun i => continuous_pi (fun j => |
| 39 | hfc.comp ((continuous_apply j).comp (continuous_apply i)))) |
| 40 | have hu : Continuous (Units.map (f.mapMatrix : Matrix n n R →+* Matrix n n S).toMonoidHom) := |
| 41 | hm.units_map _ |
| 42 | exact (hu.comp continuous_subtype_val).subtype_mk _ |
| 43 | |
| 44 | def specialUnitaryBaseChangeContinuous (hfc : Continuous f) : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H →ₜ* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) := |
| 45 | ⟨specialUnitaryBaseChange f hf H, specialUnitaryBaseChange_continuous f hf H hfc⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | /-! A specified continuous ring equivalence preserving conjugation |
| 50 | induces a continuous equivalence of the actual special unitary groups. -/ |
| 51 | |
| 52 | open OAI.RepresentationTheory.Theta.Adelic.SpecialUnitary |
| 53 | |
| 54 | variable {R S : Type*} [CommRing R] [StarRing R] [CommRing S] [StarRing S] |
| 55 | {n : Type*} [Fintype n] [DecidableEq n] |
| 56 | (f : R ≃+* S) (hf : ∀ x, f (star x) = star (f x)) (H : Matrix n n R) |
| 57 | |
| 58 | theorem specialUnitaryBaseChange_bijective : |
| 59 | Function.Bijective (specialUnitaryBaseChange f.toRingHom hf H) := by |
| 60 | constructor |
| 61 | · intro g h he |
| 62 | apply Subtype.ext |
| 63 | apply Units.ext |
| 64 | apply Matrix.ext |
| 65 | intro i j |
| 66 | apply f.injective |
| 67 | exact congrArg (fun x : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) => x.val.val i j) he |
| 68 | · intro g |
| 69 | have hfi (x : S) : f.symm (star x) = star (f.symm x) := by |
| 70 | apply f.injective |
| 71 | rw [f.apply_symm_apply, hf, f.apply_symm_apply] |
| 72 | have hH : (H.map f).map f.symm = H := by |
| 73 | apply Matrix.ext |
| 74 | intro i j |
| 75 | exact f.symm_apply_apply (H i j) |
| 76 | let x := specialUnitaryBaseChange f.symm.toRingHom hfi (H.map f) g |
| 77 | have hx : x.val ∈ RepresentationTheory.Theta.Adelic.SpecialUnitary.specialUnitary H := by |
| 78 | have hform := x.property.1 |
| 79 | change x.val.val.conjTranspose * ((H.map f).map f.symm) * x.val.val = |
| 80 | (H.map f).map f.symm at hform |
| 81 | rw [hH] at hform |
| 82 | exact ⟨hform, x.property.2⟩ |
| 83 | refine ⟨⟨x.val, hx⟩, ?_⟩ |
| 84 | apply Subtype.ext |
| 85 | apply Units.ext |
| 86 | apply Matrix.ext |
| 87 | intro i j |
| 88 | exact f.apply_symm_apply (g.val.val i j) |
| 89 | |
| 90 | def specialUnitaryScalarEquiv : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H ≃* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) := |
| 91 | MulEquiv.ofBijective (specialUnitaryBaseChange f.toRingHom hf H) |
| 92 | (specialUnitaryBaseChange_bijective f hf H) |
| 93 | |
| 94 | theorem specialUnitaryScalarEquiv_symm_units (g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f)) : |
| 95 | ((specialUnitaryScalarEquiv f hf H).symm g).val = |
| 96 | Units.map f.symm.toRingHom.mapMatrix.toMonoidHom g.val := by |
| 97 | apply Units.ext |
| 98 | apply Matrix.ext |
| 99 | intro i j |
| 100 | have h := congrArg (fun x : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) => x.val.val i j) |
| 101 | ((specialUnitaryScalarEquiv f hf H).apply_symm_apply g) |
| 102 | change f (((specialUnitaryScalarEquiv f hf H).symm g).val.val i j) = g.val.val i j at h |
| 103 | exact (f.symm_apply_apply _).symm.trans (congrArg f.symm h) |
| 104 | |
| 105 | variable [TopologicalSpace R] [TopologicalSpace S] |
| 106 | |
| 107 | theorem specialUnitaryScalarEquiv_symm_continuous (hfc : Continuous f.symm) : |
| 108 | Continuous (specialUnitaryScalarEquiv f hf H).symm := by |
| 109 | have hm : Continuous (f.symm.toRingHom.mapMatrix : Matrix n n S →+* Matrix n n R) := |
| 110 | continuous_pi (fun i => continuous_pi (fun j => |
| 111 | hfc.comp ((continuous_apply j).comp (continuous_apply i)))) |
| 112 | have hu : Continuous (fun g : RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) => |
| 113 | Units.map f.symm.toRingHom.mapMatrix.toMonoidHom g.val) := |
| 114 | (hm.units_map _).comp continuous_subtype_val |
| 115 | exact (hu.congr (fun g => (specialUnitaryScalarEquiv_symm_units f hf H g).symm)).subtype_mk _ |
| 116 | |
| 117 | def specialUnitaryScalarHomeomorph (hfc : Continuous f) (hfic : Continuous f.symm) : |
| 118 | RepresentationTheory.Theta.Adelic.SpecialUnitary.SU H ≃ₜ* RepresentationTheory.Theta.Adelic.SpecialUnitary.SU (H.map f) where |
| 119 | __ := specialUnitaryScalarEquiv f hf H |
| 120 | continuous_toFun := specialUnitaryBaseChange_continuous f.toRingHom hf H hfc |
| 121 | continuous_invFun := specialUnitaryScalarEquiv_symm_continuous f hf H hfic |
| 122 | |
| 123 | end |
| 124 | |
| 125 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.SpecialUnitaryBaseChange.Approximation |