Leonardo de Moura
d0c86f13bb
chore(library/init/data/nat): rename nat.less_than to nat.less_than_or_equal as suggested by Rob
2017-01-11 17:47:49 -08:00
Leonardo de Moura
d5c3736609
feat(library/init/meta/tactic): add helper tactic
2017-01-11 17:08:03 -08:00
Leonardo de Moura
5d3ac31f25
feat(library/init/data/list/lemmas): add lemmas for POPL demo
2017-01-11 17:07:37 -08:00
Leonardo de Moura
1bb5b2ec01
feat(library/tactic/simp_lemmas): do not pretty print bizarre "perm" flag
2017-01-11 13:48:11 -08:00
Leonardo de Moura
dc7e39887b
refactor(library/tools/super/simp): reorganize simplify lemmas API
2017-01-11 13:47:49 -08:00
Leonardo de Moura
ae56c6d322
feat(frontends/lean/builtin_cmds): improve error message when import is used in the middle of the file
2017-01-11 11:15:29 -08:00
Leonardo de Moura
2df280431a
fix(library/compiler/comp_irrelevant): fix #1302
2017-01-11 11:10:17 -08:00
Leonardo de Moura
a3c7ca1501
feat(shell/completion): do not include internal attribute names in auto completion
2017-01-11 08:40:36 -08:00
Sebastian Ullrich
83bddce900
feat(frontends/lean/info_manager,shell/server,emacs/lean-type): info: provide more metadata
...
* docs: attributes, options, identifiers
* location: attributes, imports
2017-01-11 15:29:14 +01:00
Sebastian Ullrich
7e67b48b2d
chore(util/name): avoid parameter name confusing CLion
...
The overloading of `name` makes it error out on the _entire_ remaining file.
2017-01-11 15:27:37 +01:00
Leonardo de Moura
19e20f7e1a
fix(frontends/lean/elaborator): universe elaboration issue
2017-01-10 22:35:12 -08:00
Leonardo de Moura
178be8d8ea
fix(library/init/coe): coe should be reducible
2017-01-10 20:14:28 -08:00
Leonardo de Moura
e256022746
chore(library/init/meta/tactic): avoid the weird 'command' type when auto completing tactics
2017-01-10 14:59:10 -08:00
Sebastian Ullrich
e0ebe9f4a8
fix(frontends/lean/tactic_evaluator): show VM errors on tactic
2017-01-10 14:42:48 -08:00
Sebastian Ullrich
ed4275ae17
fix(frontends/lean/builtin_cmds): do not complete after namespace
...
Most identifiers used with the command are not namespaces yet
2017-01-10 14:42:48 -08:00
Sebastian Ullrich
8eb39bb982
fix(frontends/lean/parser): catch exceptions thrown by sync_command
2017-01-10 14:42:48 -08:00
Sebastian Ullrich
82bcdebf7c
fix(shell/completion): remove duplicate completion candidates
...
VS Code does not automatically remove them
2017-01-10 14:42:48 -08:00
Leonardo de Moura
00c89f209c
fix(frontends/lean/definition_cmds): fix #1299
2017-01-10 14:38:46 -08:00
Leonardo de Moura
e96bbaee3f
fix(library/type_context): fix #1295
2017-01-10 11:54:38 -08:00
Leonardo de Moura
8e26d200b0
test(tests/lean/run/smt_facts_as_hinst_lemmas): add test for facts as hinst_lemmas
2017-01-10 11:27:22 -08:00
Leonardo de Moura
cd947e263a
fix(library/tactic/smt/congruence_closure): nat numerals do not have a canonical representation
2017-01-10 11:26:50 -08:00
Leonardo de Moura
d987df3db9
feat(library/tactic/smt): allow propositions without universal quantifiers to be tagged as hinst_lemmas
2017-01-10 11:24:27 -08:00
Jeremy Avigad
20edc93b17
fix(library/init/data/list/lemmas): fix theorem names, now nil_append and cons_append
2017-01-10 09:10:33 -08:00
Gabriel Ebner
d6a70b4aa3
chore(library/tools/super/clause_ops): remove unnecessary type annotations
2017-01-10 09:07:37 -08:00
Gabriel Ebner
a586cadfa1
chore(tests/lean/run/super_examples): clean up
2017-01-10 09:07:37 -08:00
Gabriel Ebner
890ba702e6
feat(tools/super/demod): demodulation
2017-01-10 09:07:37 -08:00
Gabriel Ebner
b8f1b16cfe
chore(init/meta/smt/congruence_closure): remove unnecessary line
2017-01-10 09:07:37 -08:00
Gabriel Ebner
e0dd8326c8
feat(tools/super/clause): more compact formatting
2017-01-10 09:07:37 -08:00
Gabriel Ebner
beb355f798
feat(tools/super): clausify during preprocessing
...
Some inference produce terms with large useless redexes such as
(prod.fst (prod.mk _ _)). Since we do normalization during
preprocessing, we can avoid ever even looking at these terms.
2017-01-10 09:07:37 -08:00
Gabriel Ebner
38c311c47a
feat(tools/super/clausifier): fully normalize terms
2017-01-10 09:07:37 -08:00
Gabriel Ebner
244e061f76
refactor(tools/super/simp): do not enable simp by default
...
simp interacts badly with super's term ordering. I believe a better
approach is to pick the term ordering according to the available simp
rules, as in "More SPASS with Isabelle".
2017-01-10 09:07:37 -08:00
Gabriel Ebner
4e1106ffb5
feat(tools/super): use congruence closure
2017-01-10 09:07:37 -08:00
Leonardo de Moura
4f0f989e6f
fix(tests/lean/interactive): expected output
...
@kha The following three tests were broken on my machine. The new
produced output looked correct. So, I updated the expected output files.
Is this ok?
see #1296
2017-01-10 09:05:44 -08:00
Leonardo de Moura
80d0b8d5f5
chore(library,shell): fix style
2017-01-10 09:00:17 -08:00
Sebastian Ullrich
3ae4d0fbee
feat(shell/completion,emacs/lean-company): provide doc string and location with completion candidate
2017-01-10 16:19:32 +01:00
Sebastian Ullrich
2b374cd517
fix(emacs/lean-company): do not highlight prefix of non-prefix match
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
481a217722
feat(shell/completion): prefer exact prefix matches for all completion modes
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
cc3126e944
feat(frontends/lean,library/scoped_ext,shell): complete namespaces
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
fb294f4415
chore(shell/server): info: skip "record" output field if null
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
3c89a79144
feat(shell/completion): sort completions alphabetically (secondary)
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
b04df04120
feat(frontends/lean): rework and simplify completion parsing, enabling completion of empty prefixes
2017-01-10 12:25:33 +01:00
Sebastian Ullrich
7ef1bd1a15
chore(tests/lean/interactive): simplify input format and test full completion output
2017-01-10 12:25:33 +01:00
Leonardo de Moura
25a95e1502
feat(.travis.yml): upload linux binary
2017-01-09 20:49:01 -08:00
Leonardo de Moura
c726f19d32
fix(library/tactic/smt/ematch): warning
2017-01-09 19:28:36 -08:00
Leonardo de Moura
30a962d5e0
test(tests/lean/run): add more tests for the smt_tactic framework
2017-01-09 19:26:29 -08:00
Leonardo de Moura
3acdcaef2c
fix(library/tactic/smt/smt_state): ematch_using should not fail when a ground fact was added but no instance
2017-01-09 19:24:13 -08:00
Leonardo de Moura
a43b856086
feat(library/init/meta/smt): add simp tactics to smt_tactic
...
We can simplify the target without affecting the smt state
2017-01-09 19:19:48 -08:00
Leonardo de Moura
5050e40aec
feat(library/init/meta/smt): add slift smt tactic
2017-01-09 19:07:54 -08:00
Leonardo de Moura
b1c1d2dfa4
feat(library/init/meta): improve dsimp tactic notation
2017-01-09 17:31:35 -08:00
Leonardo de Moura
5d750ba0a4
fix(library/tactic/tactic_state): closes #1293
2017-01-09 16:23:02 -08:00