Closed seanmcl closed 4 hours ago
Hey! Thanks for taking interest in LSpec.
LSpec uses the SlimCheck
module to do property testing, and large parts of the SlimCheck
module is taken from SlimCheck
in Mathlib. The error you're getting is probably a result of imports from the two copies of Slimcheck
in Mathlib and LSpec overlapping.
A workaround to this is being more granular about your Mathlib and/or LSpec imports to avoid repeatedly importing the SlimCheck module..
Great, thank you. Importing Mathlib.Tactic
was the culprit. May be nice if SlimCheck became its own repo!
Great, thank you. Importing
Mathlib.Tactic
was the culprit. May be nice if SlimCheck became its own repo!
No problem! I believe a large part of SlimCheck has been factored out into https://github.com/leanprover-community/plausible very recently. In fact, slimcheck has already been removed from mathlib at the more recent tags.
Hi! Relatively new to Lean, so forgive me if this is a newbie error.
I have a project using mathlib at 4.12.0
I tried LSpec at your 4.12.0 tag
When I tried to
import LSpec
I getDid I do something wrong here? Thanks.