Zulip Chat Archive
Stream: maths
Topic: Pi instances
NicolΓ² Cavalleri (Jun 09 2021 at 11:58):
It seems that if I have [β x, normed_space π (E x)]
lean does not find and instance of [β x, module π (E x)]
. Does this mean I have to redeclare the instance hierarchy for pi instances? Or am I doing something wrong? In case yes, is there a trick?
Eric Wieser (Jun 09 2021 at 12:05):
This sounds similar to the problem we've been seeing with dfinsupp
which also has this type of instance argument. Can you give a MWE?
Kevin Buzzard (Jun 09 2021 at 12:10):
import analysis.normed_space.basic
variables {π : Type} [normed_field π]
{E : Type β Type} [β x, normed_group (E x)]
variable [β x, normed_space π (E x)]
example : β x, module π (E x) := infer_instance
-- works fine for me
Last updated: Dec 20 2023 at 11:08 UTC