Skip to content

Deprecate elimtype and casetype tactics#16904

Merged
coqbot-app[bot] merged 4 commits intorocq-prover:masterfrom
ppedrot:deprecate-elim-case-type
Jan 3, 2023
Merged

Deprecate elimtype and casetype tactics#16904
coqbot-app[bot] merged 4 commits intorocq-prover:masterfrom
ppedrot:deprecate-elim-case-type

Conversation

@ppedrot
Copy link
Copy Markdown
Member

@ppedrot ppedrot commented Nov 24, 2022

These are basically vestigial tactics that survived the V7-V8 geological crisis. They only survived in some rare instances in the stdlib, and I suspect that they're just not used in the CI. In order to test this the last commit of the PR removes them just to see what happens, as an experiment.

EDIT: all the instances of elimtype removed from the stdlib in this PR were already there in Coq V5, so we're really talking archaeology here.

@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Nov 24, 2022
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Nov 24, 2022
@coqbot-app
Copy link
Copy Markdown
Contributor

coqbot-app Bot commented Nov 24, 2022

The job library:ci-fiat_crypto_legacy has failed in allow failure mode
ping @JasonGross

@ppedrot
Copy link
Copy Markdown
Member Author

ppedrot commented Nov 25, 2022

A cursory look at the sources of the broken CI devs seem to indicate that all uses of elimtype should just be turned into exfalso.

ppedrot added a commit to ppedrot/bbv that referenced this pull request Nov 25, 2022
This means turning some elimtype False into exfalso.
ppedrot added a commit to ppedrot/kami that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/coqprime that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/smtcoq that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/corn that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/jasmin that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/tlc that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/Coq-Equations that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/fiat that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/fiat that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/fiat that referenced this pull request Nov 25, 2022
ppedrot added a commit to ppedrot/sf that referenced this pull request Nov 25, 2022
eponier pushed a commit to jasmin-lang/jasmin that referenced this pull request Nov 25, 2022
JasonGross pushed a commit to ppedrot/fiat that referenced this pull request Nov 25, 2022
JasonGross pushed a commit to mit-plv/fiat that referenced this pull request Nov 25, 2022
@Zimmi48
Copy link
Copy Markdown
Member

Zimmi48 commented Nov 25, 2022

The use of elimtype should be removed from the description of exfalso in the refman.

charguer added a commit to charguer/tlc that referenced this pull request Nov 25, 2022
Adapt w.r.t. rocq-prover/rocq#16904 by removing references to "elimtype False".
samuelgruetter added a commit to mit-plv/bbv that referenced this pull request Nov 25, 2022
samuelgruetter added a commit to mit-plv/kami that referenced this pull request Nov 25, 2022
vbgl pushed a commit to jasmin-lang/jasmin that referenced this pull request Nov 28, 2022
(cherry picked from commit de18c89)
ckeller pushed a commit to smtcoq/smtcoq that referenced this pull request Nov 28, 2022
bcpierce00 added a commit to DeepSpec/sf that referenced this pull request Nov 28, 2022
vbgl pushed a commit to jasmin-lang/jasmin that referenced this pull request Nov 29, 2022
(cherry picked from commit de18c89)
(cherry picked from commit 18dddf3)
@coqbot-app
Copy link
Copy Markdown
Contributor

coqbot-app Bot commented Nov 30, 2022

The job library:ci-fiat_crypto_legacy has failed in allow failure mode
ping @JasonGross

ppedrot added a commit to rocq-prover/equations that referenced this pull request Dec 5, 2022
We take the opportunity to use the stdlib-registered empty type instead of the
literal Coq.Logic.False type, so as to be more modular.
@ppedrot ppedrot added the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 21, 2022
@ppedrot ppedrot force-pushed the deprecate-elim-case-type branch from f6f2638 to dd25f5b Compare December 21, 2022 13:59
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Dec 21, 2022
@ppedrot ppedrot marked this pull request as ready for review December 21, 2022 14:00
@ppedrot ppedrot requested review from a team as code owners December 21, 2022 14:00
xavierleroy pushed a commit to AbsInt/CompCert that referenced this pull request Dec 22, 2022
Alizter pushed a commit to Alizter/flocq-fork that referenced this pull request Dec 24, 2022
Alizter pushed a commit to Alizter/flocq-fork that referenced this pull request Dec 24, 2022
Alizter pushed a commit to Alizter/flocq-fork that referenced this pull request Dec 24, 2022
For some reason I only commited the elimtype removal in the MR, and didn't
push the casetype removal.
Alizter pushed a commit to Alizter/flocq-fork that referenced this pull request Dec 24, 2022
Adapt w.r.t. rocq-prover/rocq#16904 (again).

See merge request flocq/flocq!21
And stop manually adding it in common.edit_mlg.
@coqbot-app coqbot-app Bot added the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label Dec 30, 2022
@Zimmi48
Copy link
Copy Markdown
Member

Zimmi48 commented Dec 30, 2022

I have pushed a commit fixing the issue I had reported in the doc, as well as common.edit_mlg. (BTW, @jfehrle, it would be nicer if make doc_gram_verify failed when an entry is redundantly defined in both fullGrammar and common.edit_mlg. Apparently, this is not the case.)

@SkySkimmer SkySkimmer self-assigned this Jan 3, 2023
@SkySkimmer SkySkimmer removed the needs: full CI The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI. label Jan 3, 2023
@SkySkimmer
Copy link
Copy Markdown
Contributor

@coqbot merge now

@coqbot-app coqbot-app Bot merged commit 30f230b into rocq-prover:master Jan 3, 2023
@jfehrle
Copy link
Copy Markdown
Member

jfehrle commented Jan 18, 2023

I have pushed a commit fixing the issue I had reported in the doc, as well as common.edit_mlg. (BTW, @jfehrle, it would be nicer if make doc_gram_verify failed when an entry is redundantly defined in both fullGrammar and common.edit_mlg. Apparently, this is not the case.)

There already is such a check, but it is only applied when you add the production to a nonterminal. It's not applied for editing operations such as SPLICE. Supporting those would take a bit more effort. Why don't you add this to #16652 so it's tracked?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: cleanup Code removal, deprecation, refactorings, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants