Skip to content

Anonymous dot notation fails on propositions defined by  #4761

@YaelDillies

Description

@YaelDillies

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P-mediumWe may work on this issue if we find the timebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions