Prerequisites
Please put an X between the brackets as you perform the following steps:
Description
def Foo : Prop := ∀ a : Nat, a = a
protected theorem Foo.intro : Foo := sorry
example : Foo := .intro
produces
invalid dotted identifier notation, unknown identifier `Eq.intro` from expected type
Foo
on the example
Expected behavior: Anonymous dot notation works here
Actual behavior: Anonymous dot notation doesn't work here
Context
In Mathlib, anonymous dot notation on Monotone fails due to this bug. See eg leanprover-community/mathlib4#13338 (comment).
Versions
4.10.0-rc2
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
produces
on the
exampleExpected behavior: Anonymous dot notation works here
Actual behavior: Anonymous dot notation doesn't work here
Context
In Mathlib, anonymous dot notation on
Monotonefails due to this bug. See eg leanprover-community/mathlib4#13338 (comment).Versions
4.10.0-rc2
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.