Zulip Chat Archive
Stream: Is there code for X?
Topic: big subfield is algebra over small subfield
Aaron Liu (Dec 06 2025 at 21:56):
If I have a two subfields A ≤ B, what's the way to construct the obvious Algebra A B?
Junyan Xu (Dec 06 2025 at 22:13):
There are Subfield.extendScalars and IntermediateField.extendScalars
Aaron Liu (Dec 06 2025 at 22:16):
In this case I think I really want to have the same subfield though...
Aaron Liu (Dec 06 2025 at 22:16):
I'll see if I can make this work.
Junyan Xu (Dec 06 2025 at 22:17):
You can also look at how IntermediateField.algebraAdjoinAdjoin.instAlgebraSubtypeMemSubalgebraAdjoinAdjoin works. (In hindsight the smul field defeq could be better ...)
Eric Wieser (Dec 07 2025 at 08:47):
I think using inclusion h |>.toAlgebra ends up safe here
Junyan Xu (Dec 07 2025 at 16:18):
Oh indeed, defining smul to be defeq to multiplication on the ambient type is what we want here ...
Last updated: Dec 20 2025 at 21:32 UTC