Zulip Chat Archive

Stream: general

Topic: autogenerated instance names


Johan Commelin (May 03 2021 at 14:14):

Some names seem suboptimal: docs#algebra.tensor_product.tensor_product.algebra

Eric Wieser (May 03 2021 at 14:27):

To be fair the instance is declared in the algebra.tensor_product namespace to begin with

Eric Wieser (May 03 2021 at 14:29):

So the outlook of an acceptable name is already somewhat bleak to begin with.

Johan Commelin (May 03 2021 at 14:30):

Hmm, I thought that the autogenerated names were placed in the root namespace... I guess I'm wrong (-;

Eric Wieser (May 03 2021 at 14:34):

I think it matches the autogenerated name against the current namespace and eliminates a common prefix, which prevents things like nat.nat.ring

Yaël Dillies (Aug 31 2022 at 13:12):

Another funny one: docs#ideal.mv_polynomial.mv_polynomial.ideal.is_jacobson

FR (Aug 31 2022 at 13:32):

Yet another: docs#polynomial.is_splitting_field.polynomial.splitting_field.finite_dimensional


Last updated: Dec 20 2023 at 11:08 UTC