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

speedup wf{3,4}_of_wf by factorizing raw matches to definitions #157

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

SkySkimmer
Copy link
Contributor

@SkySkimmer SkySkimmer commented Jul 29, 2024

This greatly reduces term size (tree size 1988106 -> 1121651 for wf3_of_wf).

Timings before:
(Time Succeed Qed includes some time which isn't in Time Qed, see also coq/coq#19426)

wf3
tactics 2.2s
qed 1.09s
succeed qed 1.25s

wf4
tactics 14.5s
qed 7.4s
succeed qed 8.5s

After:

wf3
tactics 1.4s
qed 0.6s
succeed qed 0.65s

wf4
tactics 8s
qed 3.6s
succeed qed 4s

@JasonGross JasonGross enabled auto-merge (squash) July 29, 2024 19:33
@SkySkimmer
Copy link
Contributor Author

CI looks bugged, it's complaining about python versions AFAICT

@JasonGross
Copy link
Collaborator

Indeed, I'm guessing the docker image or the apt repositories were recently updated, let's see if #158 fixes it

This greatly reduces term size (tree size 1988106 -> 1121651 for
wf3_of_wf).

Timings before:
(Succeed Qed includes some time which isn't in Time Qed, see also
coq/coq#19426)

wf3
tactics 2.2s
qed 1.09s
succeed qed 1.25s

wf4
tactics 14.5s
qed 7.4s
succeed qed 8.5s

After:

wf3
tactics 1.4s
qed 0.6s
succeed qed 0.65s

wf4
tactics 8s
qed 3.6s
succeed qed 4s
@JasonGross JasonGross merged commit 19f344b into mit-plv:master Jul 29, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants