Making Theorem with more flexible + code cleanup - #18743
Merged
coqbot-app[bot] merged 6 commits intoMay 16, 2024
Merged
Conversation
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 4, 2024 18:58
9993056 to
0f62e92
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 5, 2024 18:24
0f62e92 to
534020c
Compare
Contributor
|
🔴 CI failure at commit 534020c without any failure in the test-suite ✔️ Corresponding job for the base commit 5dcfab5 succeeded ❔ Ask me to try to extract a minimal test case that can be added to the test-suite 🏃
|
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 6, 2024 18:02
534020c to
00979f2
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 6, 2024 18:11
00979f2 to
d1a30de
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 6, 2024 19:57
d1a30de to
08bb4a3
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
March 6, 2024 21:34
08bb4a3 to
82fc99e
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
April 24, 2024 20:09
c71959f to
24f0e34
Compare
Contributor
|
@coqbot run full ci |
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
May 6, 2024 17:26
24f0e34 to
df1b51f
Compare
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
2 times, most recently
from
May 6, 2024 17:45
8e76c4a to
d22cb11
Compare
herbelin
added a commit
to herbelin/github-coq
that referenced
this pull request
May 6, 2024
herbelin
added a commit
to herbelin/github-coq
that referenced
this pull request
May 8, 2024
herbelin
force-pushed
the
master+more-flexible-theorem-with
branch
from
May 8, 2024 09:56
44d083f to
d5887d5
Compare
Member
Author
|
I believe this to be ready. Most of the PR is about simplifying the code, while the first commit removes the (useless) restriction of corecursive |
Contributor
|
@coqbot run full ci |
SkySkimmer
reviewed
May 15, 2024
No strict requirement to be in the same inductive type. For instance, we could be in "tree" and "list tree". We could alternatively test whether there is a circularity between the types, but that may be costly.
…ifications Examples of simplifications: - keeping only one the two redundant copies of possible recursion indices in "mutual_info" - simplifying a check that Program Co/Fixpoint is guarded so far - "prg_fixkind" was basically another name for "compute_guard": we change the flow of information so that they play the same role Co-authored-by: Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>
- We accept, if coinductive, that the conclusions have the same or different coinductive types in any order. - When the conclusions are coinductive and enough hypotheses are inductive, we postpone the decision between fix and cofix to Qed-time.
…definitions. That is in: - start_mutual_with_initialization (interactive) - add_mutual_definition (Program) - declare_mutually_recursive (non-interactive)
ejgallego
approved these changes
May 15, 2024
ejgallego
left a comment
Contributor
There was a problem hiding this comment.
Thanks Hugo! LGTM (I only looked at the part I'm familiar with tho)
Contributor
|
@coqbot merge now |
Contributor
|
@SkySkimmer: Please take care of the following overlays:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The PR simplifies
Theorem withand makes it more flexible:mutual_infohad two redundant copies of the possible recursion indices.Depends on PR #18741 (merged)
and #18742.Overlay: rocq-prover/equations#584