lean4-htt/tests/playground
Joe Hendrix 01104cc81e
chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508)
This adds a number of lemmas for simplification of `Bool` and `Prop`
terms. It pulls lemmas from Mathlib and adds additional lemmas where
confluence or consistency suggested they are needed.

It has been tested against Mathlib using some automated test
infrastructure.

That testing module is not yet included in this PR, but will be included
as part of this.

Note. There are currently some comments saying the origin of the simp
rule. These will be removed prior to merging, but are added to clarify
where the rule came from during review.

---------

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
2024-03-04 23:56:30 +00:00
..
forthelean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
parser perf: Use flat ByteArrays in Trie (#2529) 2023-09-20 13:22:37 +02:00
pldi chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
webserver chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
.gitignore
add_zeros.lean test: benchmarks for simp 2021-03-09 15:09:51 -08:00
arith_eval_nat.lean chore(*): update equation syntax in files and old parser 2019-08-09 11:11:34 +02:00
arith_eval_uint32.lean chore(*): update equation syntax in files and old parser 2019-08-09 11:11:34 +02:00
badreset.lean
badupdate1.lean
bigctorfields.lean fix: allow bigger ctor objects 2021-01-29 18:23:38 -08:00
bool_exhaust_test.lean chore: bool and prop lemmas for Mathlib compatibility and improved confluence (#3508) 2024-03-04 23:56:30 +00:00
cmdparsertest1.lean chore: avoid Has prefix in type classes 2020-10-27 18:29:19 -07:00
compile.sh feat: make LEAN_PATH a mapping from package names to root dirs, remove C++ impl 2019-11-20 16:39:53 +01:00
deriving.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
dir.lean feat(library/init/system/io): new primitives 2019-07-25 18:12:44 -07:00
DiscrTree.lean chore: avoid Has prefix in type classes 2020-10-27 18:29:19 -07:00
environment_extension.lean feat: subsume variables under variable 2021-01-22 14:36:05 +01:00
envtest.lean
eval.lean test(tests/playground/eval): proof of concept for a safe eval function 2019-06-06 17:06:32 -07:00
eval2.lean chore: HasToString => ToString 2020-10-27 16:11:48 -07:00
expander.lean
file.lean feat(library/init/io): add IO.readTextFile 2019-07-18 17:31:31 -07:00
filemap.lean
fix.lean
fix1.lean
flat_parser.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
flat_parser2.lean perf: Use flat ByteArrays in Trie (#2529) 2023-09-20 13:22:37 +02:00
forIn.lean chore: avoid Has prefix in type classes 2020-10-27 18:29:19 -07:00
forIn2.lean chore: avoid Has prefix in type classes 2020-10-27 18:29:19 -07:00
frontend1.lean feat(library/init/lean/elaborator/term): add elabList, and fix elabTermAux 2019-09-14 08:41:49 -07:00
gen.lean
hash.lean
hashable.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
ir.lean chore: avoid Expr constructors in tests 2019-11-14 16:54:36 -08:00
lazylist.lean feat: subsume variables under variable 2021-01-22 14:36:05 +01:00
levelparsertest1.lean fix(library/init/lean/parser/parser): prattParser 2019-07-01 16:00:58 -07:00
lowtech_expander.lean chore: avoid Has prefix in type classes 2020-10-27 18:29:19 -07:00
map_perf.lean
mapVShmap.lean feat: top-down heuristic delaboration 2021-08-03 09:13:18 +02:00
matchEqs.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
moddata.lean
modtest1.lean chore(*): update equation syntax in files and old parser 2019-08-09 11:11:34 +02:00
nnf.lean chore: increase test size 2021-03-04 17:27:24 -08:00
noConfusionDecEqExp.lean test: alternative encoding experiment for decEq and noConfusion 2022-11-23 18:46:10 -08:00
oldcompile.sh feat: make LEAN_PATH a mapping from package names to root dirs, remove C++ impl 2019-11-20 16:39:53 +01:00
oldrun.sh
opts.lean
parser1.lean feat(library/init/lean/parser): universe level parser and bug fixes 2019-06-30 09:02:06 -07:00
parser2.lean test(tests/playground/parser2): proof of concept 2019-06-20 16:48:17 -07:00
partial_eq_lemma.lean
patch.lean fix(library/playground/patch): updateArgs => modifyArgs 2019-08-09 16:05:29 -07:00
patcheqnspace.lean chore(library/init): eliminate whitespaces using another patch script 2019-08-09 09:01:39 -07:00
patcheqnspace2.lean chore(library/init): fix whitspaces before => 2019-08-09 09:13:49 -07:00
perf.lean
persistentarray.lean feat(library/init/data/persistentarray/basic): PersistentArray.pop 2019-08-04 11:50:05 -07:00
pge.lean test: pge example 2022-04-17 15:17:28 -07:00
phashmap.lean feat(library/init/data/persistenthashmap/basic): add PersistentHashMap.contains 2019-08-09 11:25:01 -07:00
primes.hs
qsort64.lean perf(library/init/lean/compiler/ir/boxing): create auxiliary constants for caching the value of boxed/unboxed literals and constants 2019-09-11 10:37:35 -07:00
rand.lean
reelab.lean chore: fix tests 2020-05-26 15:05:01 -07:00
ref2.lean
run.sh
seq1.lean test: perf experiments 2021-03-09 13:42:47 -08:00
seq2.lean test: perf experiments 2021-03-09 13:42:47 -08:00
simp_binders.lean test: benchmarks for simp 2021-03-09 15:09:51 -08:00
simpleTypes.lean feat: add inferType for LCNF 2022-08-09 17:33:24 -07:00
sizeof1.lean chore: update tests 2021-01-27 15:17:51 -08:00
sizeof2.lean chore: update tests 2021-01-27 15:17:51 -08:00
sizeof3.lean chore: update tests 2021-01-27 15:17:51 -08:00
sleep_save.lean fix: save when used as last tactic 2023-06-07 14:29:45 -07:00
smap.lean
som.lean feat: sum of monomials normal form by reflection 2022-04-22 18:51:48 -07:00
split.lean
task_test.lean chore: fix test 2020-06-17 21:28:37 -07:00
task_test2.lean chore(tests/playground/task_testX): update syntax 2019-09-12 18:26:15 +02:00
task_test3.lean chore(tests/playground/task_testX): update syntax 2019-09-12 18:26:15 +02:00
task_test4.lean chore(tests/playground/task_testX): update syntax 2019-09-12 18:26:15 +02:00
termParserAttr.lean chore: snake-case attributes (part 1) 2022-10-19 09:28:08 -07:00
termparsertest1.lean chore: HasToString => ToString 2020-10-27 16:11:48 -07:00
tst.lean
uf1.lean feat: subsume variables under variable 2021-01-22 14:36:05 +01:00
uf1_new.lean feat: subsume variables under variable 2021-01-22 14:36:05 +01:00
unsafe.lean
usizeBug.lean test: interpreter bug 2019-11-18 18:12:33 -08:00
view_expander.lean