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
Warn when automatically lowering an inductive declared with : Type
to Prop
#18989
Open
SkySkimmer
wants to merge
9
commits into
coq:master
Choose a base branch
from
SkySkimmer:warn-auto-lower
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+171
−72
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SkySkimmer
added
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Apr 29, 2024
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Apr 29, 2024
SkySkimmer
added a commit
to SkySkimmer/coq-elpi
that referenced
this pull request
Apr 30, 2024
SkySkimmer
added
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Apr 30, 2024
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Apr 30, 2024
SkySkimmer
added
the
needs: changelog entry
This should be documented in doc/changelog.
label
Apr 30, 2024
Maybe the options should be attributes instead, not sure. |
SkySkimmer
added
request: full CI
Use this label when you want your next push to trigger a full CI.
and removed
needs: changelog entry
This should be documented in doc/changelog.
labels
Apr 30, 2024
SkySkimmer
force-pushed
the
warn-auto-lower
branch
from
April 30, 2024 11:15
0eba1c6
to
8fc9aa8
Compare
coqbot-app
bot
removed
the
request: full CI
Use this label when you want your next push to trigger a full CI.
label
Apr 30, 2024
SkySkimmer
added
kind: enhancement
Enhancement to an existing user-facing feature, tactic, etc.
part: inductives
Inductive types, fixpoints, etc.
labels
May 2, 2024
jfehrle
reviewed
May 3, 2024
github-actions
bot
added
the
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
label
May 5, 2024
SkySkimmer
force-pushed
the
warn-auto-lower
branch
from
May 7, 2024 13:47
8fc9aa8
to
4457a0a
Compare
coqbot-app
bot
added
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
and removed
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
labels
May 7, 2024
github-actions
bot
added
the
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
label
May 16, 2024
SkySkimmer
force-pushed
the
warn-auto-lower
branch
from
May 16, 2024 14:15
4457a0a
to
71788d0
Compare
coqbot-app
bot
removed
the
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
label
May 16, 2024
@coqbot run full ci |
coqbot-app
bot
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
May 16, 2024
github-actions
bot
added
the
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
label
May 17, 2024
SkySkimmer
force-pushed
the
warn-auto-lower
branch
from
May 21, 2024 13:30
71788d0
to
bfb7c74
Compare
coqbot-app
bot
added
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
and removed
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
labels
May 21, 2024
@coqbot run full ci |
coqbot-app
bot
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
May 22, 2024
category theory failure is spurious |
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
May 23, 2024
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
May 23, 2024
github-actions
bot
added
the
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
label
May 26, 2024
simulates what we do when automatically lowering inductives to Prop for inductives explicitly put in Prop.
Note that with sort poly even foo_sind may be impossible to derive.
…sabled except for those which appear to be testing the automatic prop lowering
`identity` is currently a notation for eq in Datatypes deprecated since 8.16. `Logic_Type` was deleted and `notT` moved to Logic at the same time (coq#15256).
Co-authored-by: Jim Fehrle <jim.fehrle@gmail.com>
SkySkimmer
force-pushed
the
warn-auto-lower
branch
from
May 27, 2024 12:13
413c53e
to
cd9b1e7
Compare
coqbot-app
bot
added
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
and removed
needs: rebase
Should be rebased on the latest master to solve conflicts or have a newer CI run.
labels
May 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind: enhancement
Enhancement to an existing user-facing feature, tactic, etc.
needs: full CI
The latest GitLab pipeline that ran was a light CI. Say "@coqbot run full ci" to get a full CI.
part: inductives
Inductive types, fixpoints, etc.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Inductives with no explicit type (eg
Inductive foo := C.
) can still get silently put in Prop.Maybe it would make sense to support
_
as "pick Prop or Type as needed" to make it easier to port indexed inductives? egInductive foo : nat -> Type := .
would becomeInductive foo : nat -> _ := .
(currently it fails saying "not an arity"). But it doesn't look that nice so probably not worth doing.Funind behaviour is slightly changed as we now force its inductives in Type instead of letting them be lowered (forward compatible way to disable the warning).
Overlays: