lean3 icon indicating copy to clipboard operation
lean3 copied to clipboard

Error with meta mutual defs

Open digama0 opened this issue 7 years ago • 0 comments

Prerequisites

  • [X] 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 4be96eaa)

digama0 avatar Apr 17 '18 00:04 digama0