Commit graph

36377 commits

Author SHA1 Message Date
Leonardo de Moura
f46eedac84 fix: fixes #655 2021-09-07 12:17:28 -07:00
Leonardo de Moura
a8007ee827 chore: update stage0 2021-09-07 08:26:55 -07:00
Leonardo de Moura
c8406a301d chore: reduce src/include/lean 2021-09-07 08:24:54 -07:00
Leonardo de Moura
c93982d10c chore: disable pp.analyze for now
see #651
2021-09-07 07:51:43 -07:00
Leonardo de Moura
ebd8f1efa7 chore: avoid object.h dependencies 2021-09-07 07:31:48 -07:00
Daniel Selsam
b36baa143f feat: improved name-unresolving in delab
Fixes #641
2021-09-07 16:26:00 +02:00
Henrik Böving
b46aa05241 doc: new way to install lean4-mode
The current installation procedure requires you to have and update a checkout
of lean4 yourself which is rather annoying if you are just someone who
wants to work with lean4-mode for another project. straight.el +
use-package provide a nice alternative to the current approach.
2021-09-07 16:23:18 +02:00
Henrik Böving
4eca7c2a39 fix: add lsp-mode to the lean4-mode dependencies
lean4-mode implicitly relies on lsp-mode being installed, however this
dependency is not explicitly declared. The version used is the latest
release version which seemed to work out for me.
2021-09-07 16:23:18 +02:00
Leonardo de Moura
e2cc056cdd fix: assertion violation 2021-09-07 07:16:12 -07:00
Leonardo de Moura
d643dfd1c7 chore: update stage0 2021-09-06 12:02:41 -07:00
Leonardo de Moura
70f2200778 chore: remove enum command
Now, `inductive` is also efficient for big enumeration types
2021-09-06 12:01:37 -07:00
Leonardo de Moura
1ce2ff394c chore: update stage0 2021-09-06 11:57:21 -07:00
Leonardo de Moura
d174ffb075 chore: update stage0 2021-09-06 11:55:51 -07:00
Leonardo de Moura
a7c621854e feat: optimized noConfusion for enumeration types 2021-09-06 11:52:36 -07:00
Leonardo de Moura
d43a1c7d9a chore: move Constructions to Meta 2021-09-06 10:51:11 -07:00
Leonardo de Moura
ab63382158 feat: add helper functions for optimized noConfusion 2021-09-06 10:33:34 -07:00
Leonardo de Moura
09326df213 chore: fix test output 2021-09-06 07:39:57 -07:00
Leonardo de Moura
ec30a6b7e8 chore: update stage0 2021-09-06 07:37:16 -07:00
Leonardo de Moura
1d68f38aa6 feat: use approxDepth to compute hash code 2021-09-06 07:36:41 -07:00
Leonardo de Moura
5ce97286bb chore: update stage0 2021-09-06 07:28:10 -07:00
Leonardo de Moura
fa29428934 feat: use 8-bits to store the approximate depth on an expression
We are going to use this information to (try to) minimize the number
of hash collisions.
2021-09-06 07:26:51 -07:00
Leonardo de Moura
65509c5617 doc: add basic perf documentation 2021-09-06 07:12:36 -07:00
Leonardo de Moura
20022f3c6d chore: update stage0 2021-09-05 20:44:08 -07:00
Leonardo de Moura
a8044eb252 feat: improve Match module for patterns containing Fin and UInt literals 2021-09-05 20:43:40 -07:00
Leonardo de Moura
fc334ffbee fix: pattern matching on UInt 2021-09-05 19:15:59 -07:00
Leonardo de Moura
0d751f3bd3 chore: update stage0 2021-09-05 18:49:02 -07:00
Leonardo de Moura
dc3b4a06f3 fix: missing case 2021-09-05 18:43:39 -07:00
Leonardo de Moura
fa94ce0660 chore: fix test output 2021-09-05 17:49:03 -07:00
Leonardo de Moura
da31ea4b5b chore: update stage0 2021-09-05 17:17:30 -07:00
tydeu
8d3e72d742 release: 2.0 2021-09-05 20:17:23 -04:00
tydeu
f1865d4290 test: remove meanigful version information from bootstrap test 2021-09-05 20:15:46 -04:00
tydeu
22ee974ac8 chore: bump Lean version 2021-09-05 20:04:44 -04:00
Leonardo de Moura
6f075e6ece feat: add enum command for declaring enumeration types
closes #654
2021-09-05 16:58:49 -07:00
tydeu
103e8ab61c test: convert examples' main test.sh into a Makefile 2021-09-05 19:54:39 -04:00
tydeu
f92afee9b4 fix: args bug with CLI 2021-09-05 19:47:13 -04:00
Leonardo de Moura
e4410cfbf8 chore: missing Fin instances 2021-09-05 16:09:18 -07:00
tydeu
d6d395619f chore: cleanup solveDeps 2021-09-05 19:03:41 -04:00
tydeu
09af870b71 feat: add config option for separate binary module root 2021-09-05 19:01:09 -04:00
Leonardo de Moura
c3bb948009 feat: ignore nested proofs in patterns 2021-09-05 15:46:03 -07:00
tydeu
8601c0fe78 refactor: purify BuildModule somewhat + associated cleanup 2021-09-05 18:05:45 -04:00
tydeu
6863bb8095 refactor: ModuleTarget -> ActiveModuleTarget 2021-09-05 16:30:28 -04:00
tydeu
4b9a765cfb refactor PackageTarget -> ActivePackageTarget 2021-09-05 16:29:18 -04:00
tydeu
d4ba706198 refactor: purify BuildBin.lean 2021-09-05 15:37:16 -04:00
Leonardo de Moura
029c5b74a2 feat: ignore implicit arguments at congr conv tactic 2021-09-05 09:44:52 -07:00
Leonardo de Moura
d3c487ddbf feat: change lhs and rhs conv tactic semantics
They can now be applied to non binary applications.
2021-09-05 09:29:40 -07:00
tydeu
92696d48f6 feat: use olean instead of lean hash for module targets 2021-09-05 01:01:40 -04:00
tydeu
720ecbd568 refactor: more cleanup (primarly Trace.lean) 2021-09-05 00:31:23 -04:00
Wojciech Nawrocki
b6971e4733 fix: don't crash watchdog on notifications to closed files 2021-09-04 18:50:27 -07:00
Leonardo de Moura
ef8aadcbea fix: fixes #653 2021-09-04 18:42:33 -07:00
Leonardo de Moura
aedc706e7d feat: in modifier at conv tactic
It is just a macro for `pattern`
2021-09-04 18:20:33 -07:00