test: add System F cbv benchmark (#12623)
This PR adds a System F formalization as a `cbv` tactic benchmark. It is a translation of the Rocq case study from: *Definitional Proof Irrelevance Made Accessible* by Thiago Felicissimo, Yann Leray, Loïc Pujet, Nicolas Tabareau, Éric Tanter, Théo Winterhalter The authors have given permission to use their development. The benchmark includes: - A full System F formalization (substitution lemmas, confluence of λ-calculus, strong normalization) - A `pow2DoubleEq` benchmark that verifies 2^(n+1) = 2^n + 2^n via normalization in System F, measuring both `cbv` tactic time and kernel checking time for n = 0..6 Co-Authored-By: @david-christiansen Co-authored-by: David Thrane Christiansen <david@davidchristiansen.dk>
This commit is contained in:
parent
73751bbb27
commit
722813105d
2 changed files with 1641 additions and 1 deletions
1634
tests/bench/cbv/system_f.lean
Normal file
1634
tests/bench/cbv/system_f.lean
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -694,4 +694,10 @@
|
|||
tags: [other]
|
||||
run_config:
|
||||
<<: *time
|
||||
cmd: lean ./cbv/merge_sort.lean
|
||||
cmd: lean ./cbv/merge_sort.lean
|
||||
- attributes:
|
||||
description: cbv tactic (System F normalization)
|
||||
tags: [other]
|
||||
run_config:
|
||||
<<: *time
|
||||
cmd: lean ./cbv/system_f.lean
|
||||
Loading…
Add table
Reference in a new issue