Open YaelDillies opened 1 week ago
Please put an X between the brackets as you perform the following steps:
Tagging a structure Foo with @[local ext] generates global Foo.ext and Foo.ext_iff. It seems better to generate them as private lemmas instead.
Foo
@[local ext]
Foo.ext
Foo.ext_iff
private
Zulip
In file MWE:
MWE
@[local ext] structure Foo where toNat := Nat
In another file,
import MWE #check Foo.ext #check Foo.ext_iff
Expected behavior: The #checks fail
#check
Actual behavior: They succeed
4.14.0-rc2 Ubuntu
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.
Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
Tagging a structure
Foo
with@[local ext]
generates globalFoo.ext
andFoo.ext_iff
. It seems better to generate them asprivate
lemmas instead.Context
Zulip
Steps to Reproduce
In file
MWE
:In another file,
Expected behavior: The
#check
s failActual behavior: They succeed
Versions
4.14.0-rc2 Ubuntu
Impact
Add :+1: to issues you consider important. If others are impacted by this issue, please ask them to add :+1: to it.