Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Error with meta mutual defs #1957

Open
1 task done
digama0 opened this issue Apr 17, 2018 · 0 comments
Open
1 task done

Error with meta mutual defs #1957

digama0 opened this issue Apr 17, 2018 · 0 comments

Comments

@digama0
Copy link
Contributor

digama0 commented Apr 17, 2018

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • Checked that your issue isn't already filed.
    • Reduced the issue to a self-contained, reproducible test case.

Description

meta mutual def causes the error unexpected error, failed to generate equational lemmas in the front-end. Example:

meta mutual def X, Y
with X : nat → nat | n := 0
with Y : nat → nat | n := 0

Presumably the correct behavior is to not attempt to generate equational lemmas at all, since it is a meta definition.

Versions

Lean v3.4.0 (commit 4be96ea)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant