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

There should be a mode for [dependent destruction] that forbids it from making use of axioms like [JMeq_eq] #66

Open
coqbot opened this issue Apr 21, 2015 · 2 comments

Comments

@coqbot
Copy link
Contributor

coqbot commented Apr 21, 2015

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#4199
From: @JasonGross
Reported version: 8.5
CC: @mattam82

@coqbot
Copy link
Contributor Author

coqbot commented Apr 21, 2015

Comment author: @JasonGross

Perhaps [Set Axiom Free Dependent Destruction] or similar. It seems poor that axioms can creep into developments without the developers being aware, especially from tactics in the standard library.

@coqbot
Copy link
Contributor Author

coqbot commented May 17, 2016

Comment author: @mattam82

Hi Jason,

we're looking at a complete overhaul of dependent destruction with more control on where K/JMeq is needed with Cyprien Mangin. Right now dependent destruction is based on generalizing the goal by heterogeneous equalities, so it would make the tactic fail most of the time with this flag, but if you're interested you could redefine the tactic
[simplify_one_dep_elim_term] to fail or introduce an heterogeneous equality instead of simplifying it (first case of simplify_one_dep_elim_term), or do a trick like in HoTT, requiring a typeclass instance of the axiom.

@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
None yet
Development

No branches or pull requests

1 participant