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.Kernel.IntrinsicFrameOn |
| 2 | |
| 3 | /-! # Intrinsic Frame Ratio -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameRatio.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The relative compact-action frame is independent of the ball point. |
| 10 | This uses locality of the actual position projection and the fact that |
| 11 | compact changes fix the distinguished place. -/ |
| 12 | |
| 13 | open scoped _root_.NumberField Classical _root_.Matrix _root_.Matrix.Norms.Elementwise |
| 14 | |
| 15 | open OAI.RepresentationTheory.Theta.Adelic.BallNatural OAI.RepresentationTheory.Theta.Adelic.BallGeometryData OAI.RepresentationTheory.Theta.Adelic.DataTheta |
| 16 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactChoices.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicCompactActionParameter.Intrinsic OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameOn.IntrinsicPlaceProjection |
| 17 | open OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameOn.IntrinsicVariation OAI.RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.IntrinsicHalfFrame OAI.RepresentationTheory.Theta.Kernel.IntrinsicParameterGraph.Intrinsic |
| 18 | |
| 19 | theorem fixed_projection_frame_ratio {I : Type} [Fintype I] [DecidableEq I] |
| 20 | (F₀ : (Matrix I I ℂ)ˣ) (F₁ H₀ H₁ P S : Matrix I I ℂ) |
| 21 | (hF : S * F₀.val = F₀.val * P) (hH : S * H₀ = H₀ * P) |
| 22 | (hfix : H₀ * P = F₀.val * P) (hvar : (F₁ - F₀.val) * P = F₁ - F₀.val) |
| 23 | (hmove : H₁ - H₀ = F₁ - F₀.val) : |
| 24 | F₁ * (F₀.inv * H₀) = H₁ := by |
| 25 | have hproj : P * (F₀.inv * H₀) = P := by |
| 26 | have he : F₀.val * (P * (F₀.inv * H₀)) = F₀.val * P := by |
| 27 | calc |
| 28 | _ = (F₀.val * P) * F₀.inv * H₀ := by simp only [Matrix.mul_assoc] |
| 29 | _ = (S * F₀.val) * F₀.inv * H₀ := by rw [hF] |
| 30 | _ = S * H₀ := by rw [Matrix.mul_assoc S,F₀.val_inv,Matrix.mul_one] |
| 31 | _ = F₀.val * P := hH.trans hfix |
| 32 | have hc := congrArg (fun M => F₀.inv * M) he |
| 33 | simpa only [← Matrix.mul_assoc,F₀.inv_val,Matrix.one_mul] using hc |
| 34 | have hdiff : (F₁ - F₀.val) * (F₀.inv * H₀) = F₁ - F₀.val := by |
| 35 | calc |
| 36 | _ = ((F₁ - F₀.val) * P) * (F₀.inv * H₀) := by rw [hvar] |
| 37 | _ = (F₁ - F₀.val) * P := by rw [Matrix.mul_assoc,hproj] |
| 38 | _ = F₁ - F₀.val := hvar |
| 39 | have he : F₁ * (F₀.inv * H₀) - H₀ = H₁ - H₀ := by |
| 40 | simpa only [Matrix.sub_mul,← Matrix.mul_assoc,F₀.val_inv,Matrix.one_mul] using |
| 41 | hdiff.trans hmove.symm |
| 42 | simpa only [sub_add_cancel] using congrArg (fun M => M + H₀) he |
| 43 | |
| 44 | variable {F : Type} [Field F] [NumberField F] {d : F} |
| 45 | variable {H : (Matrix (Fin 3) (Fin 3) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 46 | variable {K : (Matrix (Fin 2) (Fin 2) (Weil.AdelicSplitting.UnitaryBase.Construction.Quadratic F d))ˣ} |
| 47 | variable {A : Adelic.BallGeometryData.BallArithmeticData F d 2 H K} (B : Adelic.DataTheta.ComparisonData F H K A) |
| 48 | variable {P : Weil.AdelicSplitting.Assembly.Construction.GlobalFrames F d 3 2 H K} |
| 49 | |
| 50 | theorem action_frame_ratio (hC : Adelic.DataTheta.CoordinateIdentification B P) (hG : Adelic.DataTheta.GeometryIdentification B) |
| 51 | (p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice A) (z w : Adelic.BallNatural.Ball) : |
| 52 | (B.frame z).val * ((B.frame w).inv * IntrinsicParameterGraph.IntrinsicHalfFrame.parameterFrame B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)) = |
| 53 | IntrinsicParameterGraph.IntrinsicHalfFrame.parameterFrame B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,z.val) := |
| 54 | fixed_projection_frame_ratio (B.frame w) (B.frame z).val |
| 55 | (IntrinsicParameterGraph.IntrinsicHalfFrame.parameterFrame B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)) (IntrinsicParameterGraph.IntrinsicHalfFrame.parameterFrame B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,z.val)) |
| 56 | (IntrinsicFrameOn.IntrinsicPlaceProjection.framePlaceMatrix A A.distinguished) (IntrinsicFrameOn.IntrinsicPlaceProjection.positionPlaceMatrix B A.distinguished) |
| 57 | (IntrinsicFrameOn.IntrinsicPlaceProjection.native_frame_place B hC hG A.distinguished w) (IntrinsicFrameOn.IntrinsicPlaceProjection.action_frame_place B hC hG p A.distinguished w) |
| 58 | (IntrinsicFrameOn.IntrinsicVariation.action_position_distinguished B hG p w) (IntrinsicFrameOn.IntrinsicVariation.native_position_variation B hG z w) |
| 59 | (IntrinsicFrameOn.IntrinsicVariation.action_position_variation B hG p z w) |
| 60 | |
| 61 | theorem action_position_determinant_constant (hC : Adelic.DataTheta.CoordinateIdentification B P) |
| 62 | (hG : Adelic.DataTheta.GeometryIdentification B) (p : IntrinsicCompactChoices.Intrinsic.CompactFrameChoice A) (z w : Adelic.BallNatural.Ball) : |
| 63 | (IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,z.val)).det = |
| 64 | (IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)).det := by |
| 65 | have h := congrArg Matrix.det (action_frame_ratio B hC hG p z w) |
| 66 | have hf (x : Adelic.BallNatural.Ball) : IntrinsicParameterGraph.IntrinsicHalfFrame.frameExtension B x.val = (B.frame x).val := dite_eq_left x.property |
| 67 | have hw : (B.frame w).inv.det * (B.frame w).val.det = 1 := by |
| 68 | rw [← Matrix.det_mul,(B.frame w).inv_val,Matrix.det_one] |
| 69 | have he : (B.frame z).val.det * (IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)).det = |
| 70 | (B.frame z).val.det * (IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,z.val)).det := by |
| 71 | simp only [IntrinsicParameterGraph.IntrinsicHalfFrame.parameterFrame,hf,Matrix.det_mul] at h |
| 72 | calc |
| 73 | _ = (B.frame z).val.det * |
| 74 | ((IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)).det * |
| 75 | ((B.frame w).inv.det * (B.frame w).val.det)) := by rw [hw,mul_one] |
| 76 | _ = (B.frame z).val.det * ((B.frame w).inv.det * |
| 77 | ((IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,w.val)).det * (B.frame w).val.det)) := by ring |
| 78 | _ = (IntrinsicParameterGraph.Intrinsic.parameterPositionBlock B (IntrinsicCompactActionParameter.Intrinsic.actionParameter A p,z.val)).det * (B.frame z).val.det := h |
| 79 | _ = _ := mul_comm _ _ |
| 80 | exact (mul_left_cancel₀ (isUnit_iff_ne_zero.mp |
| 81 | ((Matrix.isUnit_iff_isUnit_det _).mp (Units.isUnit (B.frame z)))) he).symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.RepresentationTheory.Theta.Kernel.IntrinsicFrameRatio.Intrinsic |