Zulip Chat Archive

Stream: mathlib4

Topic: unrelated build failure in !4#4831


Eric Wieser (Jun 12 2023 at 09:51):

This PR, !4#4831, (about tensor products) is causing a build failure (about proving sqrt 5 ≠ 0 in the context of the golden ratio). Is this a cache collision somehow? Is simp being non-deterministic in some way?

Eric Wieser (Jun 12 2023 at 10:05):

Ah, this was caused by a import Mathlib.Tactic being removed

Eric Wieser (Jun 12 2023 at 10:06):

Should we have a lint rule that forbids import Mathlib.Tactic?

Alex J. Best (Jun 12 2023 at 12:39):

Made !4#4991 for that

Eric Wieser (Jun 12 2023 at 13:07):

LGTM, let's wait for a third opinion that we want to forbid that import

Kevin Buzzard (Jun 12 2023 at 13:15):

I wrote the file Mathlib.Tactic for teaching purposes and it's serving its purpose well. In Lean 4 import Mathlib is ridiculously quick but it feels a bit dirty.

Alex J. Best (Jun 12 2023 at 13:21):

Yeah my thinking was that we had this linter rule in mathlib 3, then when mathlib 4 started there was no "import tactic" until Kevin came along and made it which is very useful, but hopefully having the same linter as we had in mathlib 3 should be uncontroversial, but its of course good to have the discussion


Last updated: Dec 20 2023 at 11:08 UTC