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

Strong natural induction should be simpler #22

Open
SnarkBoojum opened this issue Aug 10, 2021 · 0 comments
Open

Strong natural induction should be simpler #22

SnarkBoojum opened this issue Aug 10, 2021 · 0 comments

Comments

@SnarkBoojum
Copy link
Contributor

I'm a teacher trying to see how far coq is to being usable (and hoping to improve the situation) ; anytime I have a so-called strong induction, I find I always use the same line to get around it, so it's easy to just take it in Ltac and be done:

  Ltac strong_nat_induction n := elim: n {-2}n (leqnn n).

makes it possible to do something like:

  strong_nat_induction n => [|n IHn].

in proof scripts, and that looks much easier for students.

(NB: I have seen issue coq/coq#5343, but what I'm asking is more in terms of usability than in terms of feature.)

@proux01 proux01 transferred this issue from coq/coq Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant