lean4-htt/tests/bench/mvcgen/sym
Garmelon 49715fe63c
chore: improve how test suite interacts with stages (#12913)
The tests need to run with certain environment variables set that only
cmake really knows and that differ between stages. Cmake could just set
the variables directly when running the tests and benchmarks, but that
would leave no good way to manually run a single benchmark. So cmake
generates some stage-specific scripts instead that set the required
environment variables.

Previously, those scripts were sourced directly by the individual
`run_*` scripts, so the env scripts of different stages would overwrite
each other. This PR changes the setup so they can instead be generated
next to each other. This also simplifies the `run_*` scripts themselves
a bit, and makes `tests/bench/build` less of a hack.
2026-03-16 15:20:03 +00:00
..
cases test: add dite and match splitting to sym-based MVCGen (#12903) 2026-03-12 22:39:43 +00:00
lib test: add dite and match splitting to sym-based MVCGen (#12903) 2026-03-12 22:39:43 +00:00
baseline_add_sub_cancel.lean test: measure VC discharging separately in Sym mvcgen benchmarks (#12551) 2026-02-18 12:03:47 +00:00
lakefile.lean test: add dite and match splitting to sym-based MVCGen (#12903) 2026-03-12 22:39:43 +00:00
lean-toolchain chore: relative lean-toolchains (#12652) 2026-02-25 10:23:35 +00:00
README.md test: document Sym-based mvcGen and tidy up benchmark project (#12350) 2026-02-06 14:12:29 +00:00
run_bench.sh chore: improve how test suite interacts with stages (#12913) 2026-03-16 15:20:03 +00:00
run_test.sh chore: improve how test suite interacts with stages (#12913) 2026-03-16 15:20:03 +00:00
test_vcgen.lean test: add dite and match splitting to sym-based MVCGen (#12903) 2026-03-12 22:39:43 +00:00
vcgen_add_sub_cancel.lean test: add VCGen test suite for sym mvcgen benchmarks (#12855) 2026-03-10 13:32:13 +00:00
vcgen_add_sub_cancel_deep.lean test: add VCGen test suite for sym mvcgen benchmarks (#12855) 2026-03-10 13:32:13 +00:00
vcgen_add_sub_cancel_simp.lean test: apply simp theorems in SymM mvcgen' (#12872) 2026-03-10 17:15:04 +00:00
vcgen_get_throw_set.lean test: add VCGen test suite for sym mvcgen benchmarks (#12855) 2026-03-10 13:32:13 +00:00
vcgen_match_split.lean test: add dite and match splitting to sym-based MVCGen (#12903) 2026-03-12 22:39:43 +00:00
vcgen_pure_precond.lean test: add VCGen test suite for sym mvcgen benchmarks (#12855) 2026-03-10 13:32:13 +00:00
vcgen_reader_state.lean test: add VCGen test suite for sym mvcgen benchmarks (#12855) 2026-03-10 13:32:13 +00:00

Benchmarks for a Sym-based mvcgen

Compares the performance of a Sym-based rewrite of mvcgen with that of a direct, hard-coded solution procedure (the shallow_add_sub_cancel benchmark). To run the benchmarks, launch lake build. To run individual benchmarks, run lake lean vcgen_add_sub_cancel.lean (which runs the VCGen-based version) or lake lean baseline_add_sub_cancel.lean (which runs the baseline hard-coded solution procedure).