We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using local notation some declarations can silently not be added to the environment
variable {ι E : Type} (I : ι) local notation "ℝ" => ι def ha (_I : ι) (_f : ℝ → E) : Prop := True variable {f : ℝ → E} theorem tndsto (h : ha I f) : True := trivial #check tndsto
Expected behavior: tndsto should be added to the environment and be printed by #check
tndsto
#check
Actual behavior: Without error or warning on tndsto itself nothing happens and check fails
Reproduces how often: 100%
latest, cross platform
Came up in mathlib porting this is a minimized version of the issue observed in https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Lean.204.20doesn't.20add.20lemma.20to.20the.20environment leanprover-community/mathlib4#4695
The text was updated successfully, but these errors were encountered:
For cross referencing purposes: this is likely related to #2226 and may have the same root cause.
Sorry, something went wrong.
No branches or pull requests
Prerequisites
Description
When using local notation some declarations can silently not be added to the environment
Steps to Reproduce
Expected behavior:
tndsto
should be added to the environment and be printed by#check
Actual behavior: Without error or warning on tndsto itself nothing happens and check fails
Reproduces how often: 100%
Versions
latest, cross platform
Additional Information
Came up in mathlib porting this is a minimized version of the issue observed in https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Lean.204.20doesn't.20add.20lemma.20to.20the.20environment
leanprover-community/mathlib4#4695
The text was updated successfully, but these errors were encountered: