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.NumberTheory.Quaternion.Arithmetic.SpanLocal |
| 2 | |
| 3 | /-! # Ordered Product Derivative -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.Quaternion.Arithmetic.OrderedProductDerivative |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The first derivative of an ordered, possibly noncommutative product |
| 12 | at a point where every factor equals one. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | theorem orderedProduct_eq_one |
| 17 | {ι E A : Type*} [Monoid A] (l : List ι) (f : ι → E → A) (x : E) |
| 18 | (hf : ∀ i ∈ l, f i x = 1) : (l.map (fun i => f i x)).prod = 1 := by |
| 19 | induction l with |
| 20 | | nil => rfl |
| 21 | | cons i l ih => |
| 22 | rw [List.map_cons, List.prod_cons, hf i (List.mem_cons_self ..), |
| 23 | ih (fun j hj => hf j (List.mem_cons_of_mem i hj)), one_mul] |
| 24 | |
| 25 | theorem hasStrictFDerivAt_orderedProduct_one |
| 26 | {κ ι E A : Type*} [NontriviallyNormedField κ] |
| 27 | [NormedAddCommGroup E] [NormedSpace κ E] |
| 28 | [NormedRing A] [NormedAlgebra κ A] |
| 29 | (l : List ι) (f : ι → E → A) (f' : ι → E →L[κ] A) (x : E) |
| 30 | (hf : ∀ i ∈ l, HasStrictFDerivAt (f i) (f' i) x) |
| 31 | (h1 : ∀ i ∈ l, f i x = 1) : |
| 32 | HasStrictFDerivAt (fun y => (l.map (fun i => f i y)).prod) |
| 33 | (l.map f').sum x := by |
| 34 | induction l with |
| 35 | | nil => exact hasStrictFDerivAt_const 1 x |
| 36 | | cons i l ih => |
| 37 | have hi := hf i (List.mem_cons_self ..) |
| 38 | have ht := ih (fun j hj => hf j (List.mem_cons_of_mem i hj)) |
| 39 | (fun j hj => h1 j (List.mem_cons_of_mem i hj)) |
| 40 | have hp := hi.mul' ht |
| 41 | convert! hp using 1 |
| 42 | rw [List.map_cons, List.sum_cons, h1 i (List.mem_cons_self ..), |
| 43 | orderedProduct_eq_one l f x (fun j hj => h1 j (List.mem_cons_of_mem i hj))] |
| 44 | simp only [MulOpposite.op_one, one_smul, add_comm] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | /-! Exponential and logarithm derivatives over the closed prime local |
| 49 | field, with scalar actions made explicit. -/ |
| 50 | |
| 51 | open scoped Classical _root_.NumberField |
| 52 | open IsDedekindDomain |
| 53 | |
| 54 | theorem hasStrictFDerivAt_id_restrictScalars |
| 55 | {κ K E : Type*} [NontriviallyNormedField κ] [NontriviallyNormedField K] |
| 56 | [NormedAlgebra κ K] [NormedAddCommGroup E] [NormedSpace K E] |
| 57 | [NormedSpace κ E] [IsScalarTower κ K E] {f : E → E} {x : E} |
| 58 | (hf : HasStrictFDerivAt f (ContinuousLinearMap.id K E) x) : |
| 59 | HasStrictFDerivAt f (ContinuousLinearMap.id κ E) x := by |
| 60 | convert! hf.restrictScalars κ using 1 |
| 61 | |
| 62 | attribute [local instance] TangentBracket.finiteClosedPrimeNontriviallyNormedField |
| 63 | |
| 64 | variable {F : Type} [Field F] [NumberField F] |
| 65 | |
| 66 | @[instance_reducible] |
| 67 | def finitePrimeNormedSpace (v : HeightOneSpectrum (𝓞 F)) |
| 68 | (A : Type*) [NormedAddCommGroup A] [NormedSpace (v.adicCompletion F) A] : |
| 69 | NormedSpace (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A where |
| 70 | norm_smul_le a x := norm_smul_le (a : v.adicCompletion F) x |
| 71 | |
| 72 | @[instance_reducible] |
| 73 | def finitePrimeNormedAlgebra (v : HeightOneSpectrum (𝓞 F)) |
| 74 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] : |
| 75 | NormedAlgebra (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A := |
| 76 | NormedAlgebra.restrictScalars (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) |
| 77 | (v.adicCompletion F) A |
| 78 | |
| 79 | attribute [local instance 50] finitePrimeNormedAlgebra |
| 80 | |
| 81 | theorem finitePrimeScalarTower (v : HeightOneSpectrum (𝓞 F)) |
| 82 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] : |
| 83 | IsScalarTower (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) A where |
| 84 | smul_assoc a b x := smul_assoc (a : v.adicCompletion F) b x |
| 85 | |
| 86 | attribute [local instance] finitePrimeScalarTower |
| 87 | |
| 88 | theorem finiteExp_hasStrictFDerivAt_prime (v : HeightOneSpectrum (𝓞 F)) |
| 89 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 90 | HasStrictFDerivAt (NormedSpace.exp : A → A) |
| 91 | (ContinuousLinearMap.id (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A) 0 := by |
| 92 | refine @hasStrictFDerivAt_id_restrictScalars |
| 93 | (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) A |
| 94 | _ _ _ _ _ _ ?_ _ _ (LocalCompletion.finite_exponential_hasStrictFDerivAt v A) |
| 95 | constructor |
| 96 | intro a b x |
| 97 | change ((a : v.adicCompletion F) * b) • x = (a : v.adicCompletion F) • (b • x) |
| 98 | exact mul_smul _ _ _ |
| 99 | |
| 100 | theorem finiteLog_hasStrictFDerivAt_prime (v : HeightOneSpectrum (𝓞 F)) |
| 101 | (A : Type*) [NormedRing A] [NormedAlgebra (v.adicCompletion F) A] [CompleteSpace A] : |
| 102 | HasStrictFDerivAt (SpanLocal.finiteLocalLog v A) |
| 103 | (ContinuousLinearMap.id (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) A) 1 := by |
| 104 | refine @hasStrictFDerivAt_id_restrictScalars |
| 105 | (TangentBracket.closedPrimeSubfield (v.adicCompletion F)) (v.adicCompletion F) A |
| 106 | _ _ _ _ _ _ ?_ _ _ (SpanLocal.finiteLocalLog_hasStrictFDerivAt v A) |
| 107 | constructor |
| 108 | intro a b x |
| 109 | change ((a : v.adicCompletion F) * b) • x = (a : v.adicCompletion F) • (b • x) |
| 110 | exact mul_smul _ _ _ |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.NumberTheory.Quaternion.Arithmetic.OrderedProductDerivative |