ImperialCollegeLondon / FLT

Ongoing Lean formalisation of the proof of Fermat's Last Theorem
Apache License 2.0
262 stars 48 forks source link

Avoiding `Algebra K (adicCompletion L w)` diamond #230

Open kbuzzard opened 4 days ago

kbuzzard commented 4 days ago

If K,L are number fields, L is a K-algebra, and w is a nonzero prime of the integers of L, then right now mathlib provides a SMul K (adicCompletion L w) instance but not an Algebra K (adicCompletion L w) instance, so one has to tread carefully to avoid diamonds. This is a sorry in DedekindDomain/FiniteAdeleRing/BaseChange.lean but should be fixed in mathlib.

@YaelDillies is working on this.