Zulip Chat Archive
Stream: general
Topic: init files not being included
Daniel Selsam (Sep 18 2021 at 22:20):
Is there a reason some files (e.g. init.data.sum.instances
) are not being included in init
(e.g. are not included in init.data.sum.default
)? The result is that lean/all
and mathlib/all
both have different declarations for sum.decidable_eq
. Atleast on the Lean4 side after mathporting, the Lean3
and Mathlib
packages cannot be imported together. It is not a problem, only a minor annoyance.
Mario Carneiro (Sep 18 2021 at 22:35):
What? I would guess that such a file has been forgotten then, because I have never seen a file from init.*
being imported in a non-prelude
file
Mario Carneiro (Sep 18 2021 at 22:35):
Yep, init.data.sum.instances
is imported nowhere
Mario Carneiro (Sep 18 2021 at 22:36):
Do you know any other files in init.*
which are not reachable from init.default
?
Daniel Selsam (Sep 18 2021 at 22:44):
Not off the top of my head.
Mario Carneiro (Sep 18 2021 at 23:00):
How did you make lean/all
? Can you send it to me?
Mario Carneiro (Sep 18 2021 at 23:00):
leanproject mk-all
doesn't seem to work in lean/library
Mario Carneiro (Sep 18 2021 at 23:06):
Ah, I got it. Looks like there is one other orphan file: init.meta.decl_cmds
Mario Carneiro (Sep 18 2021 at 23:07):
I recognize this file, it was used for the original version of to_additive
before it got fancy
Last updated: Dec 20 2023 at 11:08 UTC