Skip to content

[WIP] dependently typed implementation of peephole rewrite verification#492

Draft
math-fehr wants to merge 3 commits into
mainfrom
math-fehr/equation-lemma-dep-typed
Draft

[WIP] dependently typed implementation of peephole rewrite verification#492
math-fehr wants to merge 3 commits into
mainfrom
math-fehr/equation-lemma-dep-typed

Conversation

@math-fehr
Copy link
Copy Markdown
Collaborator

Exploration of using dependent types in the interpreter to make proofs much simpler in the peephole rewrite verification

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VeIR Benchmarks

Details
Benchmark suite Current: 862a0e8 Previous: bb6ce4c Ratio
add-fold-worklist/create 1893000 ns 2235000 ns 0.85
add-fold-worklist/rewrite 3447000 ns 3738000 ns 0.92
add-fold-worklist-local/create 1848000 ns 2196000 ns 0.84
add-fold-worklist-local/rewrite 2857000 ns 3048000 ns 0.94
add-zero-worklist/create 1860000 ns 2247000 ns 0.83
add-zero-worklist/rewrite 2199000 ns 2418000 ns 0.91
add-zero-reuse-worklist/create 1546000 ns 1941000 ns 0.80
add-zero-reuse-worklist/rewrite 1761000 ns 2009000 ns 0.88
mul-two-worklist/create 1848000 ns 2293000 ns 0.81
mul-two-worklist/rewrite 4810000 ns 5320000 ns 0.90
add-fold-forwards/create 1830000 ns 2326000 ns 0.79
add-fold-forwards/rewrite 2750000 ns 3023000 ns 0.91
add-zero-forwards/create 1857000 ns 2258000 ns 0.82
add-zero-forwards/rewrite 1781000 ns 1919000 ns 0.93
add-zero-reuse-forwards/create 1537000 ns 1884000 ns 0.82
add-zero-reuse-forwards/rewrite 1387000 ns 1541000 ns 0.90
mul-two-forwards/create 1904000 ns 2192000 ns 0.87
mul-two-forwards/rewrite 3233000 ns 3681000 ns 0.88
add-zero-reuse-first/create 1562000 ns 1867000 ns 0.84
add-zero-reuse-first/rewrite 9000 ns 8000 ns 1.13
add-zero-lots-of-reuse-first/create 1572000 ns 1832000 ns 0.86
add-zero-lots-of-reuse-first/rewrite 759000 ns 767000 ns 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@math-fehr math-fehr force-pushed the math-fehr/equation-lemma-dep-typed branch 2 times, most recently from 2fcb5b9 to f4dc8ad Compare May 6, 2026 05:15
@math-fehr math-fehr force-pushed the math-fehr/equation-lemma-dep-typed branch from f4dc8ad to e8dde38 Compare May 8, 2026 07:35
@math-fehr math-fehr force-pushed the math-fehr/equation-lemma-dep-typed branch 4 times, most recently from bf52e3c to 4a5f847 Compare May 11, 2026 20:31
@math-fehr math-fehr force-pushed the math-fehr/equation-lemma-dep-typed branch from 4a5f847 to 862a0e8 Compare May 11, 2026 21:56
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