Cleanup: replace *FormList by Lib.List[Form]#46
Open
jrosain wants to merge 3 commits intoGoelandProver:masterfrom
Open
Cleanup: replace *FormList by Lib.List[Form]#46jrosain wants to merge 3 commits intoGoelandProver:masterfrom
*FormList by Lib.List[Form]#46jrosain wants to merge 3 commits intoGoelandProver:masterfrom
Conversation
48f6ade to
762cee0
Compare
762cee0 to
80a21ba
Compare
80a21ba to
bd2e783
Compare
bd2e783 to
109a9fe
Compare
109a9fe to
b33e6ae
Compare
Member
|
The Rocq output for |
Member
Author
|
I'm backporting the issue over here.
|
jrosain
commented
Feb 7, 2026
Comment on lines
+105
to
+116
| target := Lib.ListIndexOf(proof.GetTargetForm(), hypotheses) | ||
| var actualTarget int | ||
| switch t := target.(type) { | ||
| case Lib.Some[int]: | ||
| actualTarget = t.Val | ||
| case Lib.None[int]: | ||
| Glob.Anomaly("coq", fmt.Sprintf( | ||
| "Index of %s not found in %s", | ||
| proof.GetTargetForm().ToString(), | ||
| Lib.ListToString(hypotheses, ", ", "[]"), | ||
| )) | ||
| } |
Member
Author
There was a problem hiding this comment.
Looks like the issue comes from here: we now check whether the formula is found or not.
This is probably a bug that comes from deeper (i.e., most likely from the deskolemization algorithm). We should probably bear with it until the rework of the deskolemization algorithm.
Member
Author
|
We should probably create an issue about that when this PR is merged. |
Member
Author
Fixed. |
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.
Removed
FormListand replaced everything withLib.List[Form].This makes us win between 5 and 10s on
SYN007+1.014.pon my machine.PR dependencies