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.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.IntegralModelLift |
| 2 | |
| 3 | /-! # Model Lift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ModelLift.BundleCycles.IntegralModelLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Integral elements of a model embed in any integrally closed local |
| 10 | ring containing the base and sharing the specified fraction field. -/ |
| 11 | |
| 12 | variable (R A B L : Type*) [CommRing R] [CommRing A] [CommRing B] [Field L] |
| 13 | [Algebra R A] [Algebra R B] [Algebra R L] [Algebra A L] [Algebra B L] |
| 14 | [IsScalarTower R A L] [IsScalarTower R B L] |
| 15 | [IsIntegrallyClosed B] [IsFractionRing B L] [Algebra.IsIntegral R A] |
| 16 | |
| 17 | include R |
| 18 | |
| 19 | theorem exists_lift_element (a : A) : ∃ b : B, algebraMap B L b = algebraMap A L a := by |
| 20 | exact (isIntegrallyClosed_iff L).mp ‹IsIntegrallyClosed B› |
| 21 | ((Algebra.IsIntegral.isIntegral (R := R) a).algebraMap (B := L)).tower_top |
| 22 | |
| 23 | def lift : A →+* B where |
| 24 | toFun a := (exists_lift_element R A B L a).choose |
| 25 | map_one' := by |
| 26 | apply IsFractionRing.injective B L |
| 27 | rw [(exists_lift_element R A B L 1).choose_spec, map_one, map_one] |
| 28 | map_zero' := by |
| 29 | apply IsFractionRing.injective B L |
| 30 | rw [(exists_lift_element R A B L 0).choose_spec, map_zero, map_zero] |
| 31 | map_add' a b := by |
| 32 | apply IsFractionRing.injective B L |
| 33 | rw [(exists_lift_element R A B L (a + b)).choose_spec, map_add, map_add, |
| 34 | (exists_lift_element R A B L a).choose_spec, (exists_lift_element R A B L b).choose_spec] |
| 35 | map_mul' a b := by |
| 36 | apply IsFractionRing.injective B L |
| 37 | rw [(exists_lift_element R A B L (a * b)).choose_spec, map_mul, map_mul, |
| 38 | (exists_lift_element R A B L a).choose_spec, (exists_lift_element R A B L b).choose_spec] |
| 39 | |
| 40 | theorem algebraMap_lift (a : A) : |
| 41 | algebraMap B L (lift R A B L a) = algebraMap A L a := |
| 42 | (exists_lift_element R A B L a).choose_spec |
| 43 | |
| 44 | theorem lift_algebraMap (r : R) : lift R A B L (algebraMap R A r) = algebraMap R B r := by |
| 45 | apply IsFractionRing.injective B L |
| 46 | rw [algebraMap_lift, ← IsScalarTower.algebraMap_apply, ← IsScalarTower.algebraMap_apply] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Integral.ModelLift.BundleCycles.IntegralModelLift |