Skip to content
New issue

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

induction with eqn: gives an undocumented (and wrong!) error message #6863

Open
JasonGross opened this issue Feb 28, 2018 · 0 comments
Open
Labels
kind: documentation Additions or improvement to documentation. kind: user messages Improvement of error messages, new warnings, etc. part: tactics

Comments

@JasonGross
Copy link
Member

Version

8.7.1

Description of the problem

Goal True /\ True -> True.
  intro H.
  induction H eqn:H'. (* Error: a is used in conclusion. *)

The issue here is that the term that induction H eqn:H' builds contains an illegal elimination of a propositional type into Type; this is seen by noticing that the error goes away if /\ is changed to *. I have no strong opinion on whether or not induction should support eqn: on propositional hypotheses (my weak opinion is that it should), but it should definitely not be giving these misleading error messages, and the error message that it gives, whatever it is, should be documented.

@JasonGross JasonGross added kind: documentation Additions or improvement to documentation. kind: user messages Improvement of error messages, new warnings, etc. part: tactics labels Feb 28, 2018
@Alizter Alizter added this to Fixing in User documentation May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: documentation Additions or improvement to documentation. kind: user messages Improvement of error messages, new warnings, etc. part: tactics
Projects
Status: Fixing
Development

No branches or pull requests

1 participant