lean4-htt/tests/bench/cbv
Wojciech Różowski 722813105d
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>
2026-02-20 16:46:07 +00:00
..
decide.lean test: add cbv benchmark for evaluating Decidable.decide (#12467) 2026-02-13 13:25:35 +00:00
dedup.lean
divisors.lean
leroy.lean refactor: main loop of the cbv tactic (#12417) 2026-02-11 11:47:18 +00:00
merge_sort.lean test: add List.mergeSort benchmark for cbv tactic (#12588) 2026-02-19 13:59:42 +00:00
system_f.lean test: add System F cbv benchmark (#12623) 2026-02-20 16:46:07 +00:00