Soonho Kong
|
72f0fc29fd
|
fix(emacs/lean-mode.el): check header and footer in lean-exec-at-pos-extract-body
close #747
|
2015-07-28 11:13:31 -07:00 |
|
Leonardo de Moura
|
08b23d8b4f
|
test(tests/lean/extra): add test for "show goal" feature
|
2015-07-27 21:03:16 -07:00 |
|
Soonho Kong
|
e61a61da8b
|
feat(emacs/lean-mode.el): use lean-info-mode in lean-exec-at-pos
|
2015-07-27 20:26:28 -07:00 |
|
Leonardo de Moura
|
91f83835bb
|
fix(frontends/lean/elaborator): "show goal" command line option for nested "begin...end" blocks
|
2015-07-27 20:11:27 -07:00 |
|
Leonardo de Moura
|
a3b570c852
|
test(tests/lean/extra): test for Soonho
|
2015-07-27 19:32:27 -07:00 |
|
Soonho Kong
|
a9630edfed
|
feat(emacs/lean-mode.el): handle delimiter for lean-exec-at-pos
Related issue: #499
|
2015-07-27 19:28:16 -07:00 |
|
Daniel Selsam
|
ee11fca69b
|
refactor(src/library/export): disambiguate export keywords
|
2015-07-27 19:08:26 -07:00 |
|
Leonardo de Moura
|
b4504357b2
|
fix(shell/lean): do not update cache file in query mode
query mode is "show goal" and "show hole" command line options
|
2015-07-27 19:00:36 -07:00 |
|
Leonardo de Moura
|
d50fa26ca2
|
fix(frontends/lean/parser): caching problem when using "show hole" and "show goal" command line options
|
2015-07-27 18:55:20 -07:00 |
|
Leonardo de Moura
|
0786841c71
|
feat(frontends/lean): use uniform delimiter
|
2015-07-27 18:45:33 -07:00 |
|
Leonardo de Moura
|
3fb16d6287
|
feat(frontends/lean): add "show hole" command line option
|
2015-07-27 18:42:57 -07:00 |
|
Leonardo de Moura
|
68370d5c8e
|
feat(frontends/lean): process "show goal" command line option
|
2015-07-27 17:44:43 -07:00 |
|
Jeremy Avigad
|
d02b83b6d6
|
feat(library/theories/number_theory/prime_factorization): prove that n is equal to its prime factorization
|
2015-07-27 15:16:16 -07:00 |
|
Daniel Selsam
|
214b5b8b58
|
refactor(src/library/export): prefix export keywords with #
|
2015-07-27 15:07:12 -07:00 |
|
Leonardo de Moura
|
b2bd6b1ff8
|
feat(library/simplifier): simplification sets for hypothesis and conclusion
|
2015-07-27 14:59:21 -07:00 |
|
Leonardo de Moura
|
966e0109ff
|
feat(library/simplifier): initialize simplification set.
|
2015-07-27 14:59:21 -07:00 |
|
Leonardo de Moura
|
4131bb3dec
|
feat(util/name_set): add to_name_set auxiliary function
|
2015-07-27 14:59:21 -07:00 |
|
Soonho Kong
|
6de86ff749
|
fix(emacs/lean-mode.el): attach sentinel to lean-exec-at-pos
Close #499
Usage:
(add-hook 'lean-mode-hook '(lambda ()
(lean-define-key-binding "\C-c\C-g"
'(lean-exec-at-pos "lean-goal" "*Lean Goal*" "--goal"))))
|
2015-07-27 13:17:16 -07:00 |
|
Leonardo de Moura
|
b3cd3efbb4
|
refactor(hott): fix "sorry"s at int/basic.hlean, and comment the remaining "sorry"s
|
2015-07-27 08:34:11 -07:00 |
|
Leonardo de Moura
|
8c06803f54
|
test(tests/lean): add regression for issue #737
|
2015-07-27 07:59:18 -07:00 |
|
Jeremy Avigad
|
6355670ac4
|
fix(library/data/nat/nat.md): add 'find' to markdown file
|
2015-07-27 07:46:59 -07:00 |
|
Jeremy Avigad
|
3fc74c2ba8
|
feat(library/theories/combinatorics/choose): show the number of subsets of s of size k is choose (card s) k
|
2015-07-27 07:46:59 -07:00 |
|
Jeremy Avigad
|
471c9058eb
|
fix/feat(library/logic/connectives,library/data/{finset,set}): fix names or.left_distrib etc., fix implicit arguments, and make small additions
|
2015-07-27 07:46:59 -07:00 |
|
Leonardo de Moura
|
a124bc246a
|
feat(library/data/fin): add equivalences between fin types
|
2015-07-26 15:42:39 -07:00 |
|
Leonardo de Moura
|
d95e3c1e1d
|
feat(library/data/equiv): basic equivalences
|
2015-07-26 13:06:01 -07:00 |
|
Leonardo de Moura
|
72d6550a7a
|
feat(library/data/bag): show that subbag predicate is decidable when A has decidable equality
|
2015-07-25 17:44:03 -07:00 |
|
Leonardo de Moura
|
31b1606658
|
feat(library/data/bag): add subbag predicate
|
2015-07-25 14:31:24 -07:00 |
|
Leonardo de Moura
|
a883b72a25
|
fix(library/data): 'choose' -> 'find' renaming problems
|
2015-07-25 11:25:04 -07:00 |
|
Jeremy Avigad
|
1cc6be6052
|
feat(library/data/finset/comb): define powerset
|
2015-07-25 14:02:44 -04:00 |
|
Jeremy Avigad
|
c9d6cc5255
|
feat(library/data/{finset,set}): various basic facts
|
2015-07-25 14:02:44 -04:00 |
|
Jeremy Avigad
|
9cd7db3fea
|
fix(library/data/list/perm): fix typo in theorem names
|
2015-07-25 14:02:44 -04:00 |
|
Jeremy Avigad
|
d3cd0bb8ff
|
refactor(library/data/nat/find): rename 'choose' to 'find' to avoid conflict with combinatorics 'choose'
|
2015-07-25 14:02:44 -04:00 |
|
Leonardo de Moura
|
43f5f70414
|
feat(library/data/bag): add basic properties for bag intersection and union
|
2015-07-25 08:37:30 -07:00 |
|
Leonardo de Moura
|
ebf8c7fbdb
|
feat(library/data): define bag using quotients
|
2015-07-24 23:45:08 -07:00 |
|
Leonardo de Moura
|
8be82d7405
|
feat(data/list): add count for lists
|
2015-07-24 23:44:11 -07:00 |
|
Leonardo de Moura
|
99a9dec93f
|
refactor(library/data/real/basic): declare 'real' in the toplevel like 'nat', 'int' and 'rat'
|
2015-07-24 11:59:46 -07:00 |
|
Leonardo de Moura
|
5c7a20e5bd
|
fix(library/unifier): crash when unifying constraints of the form (pr t =?= s)
where pr is a projection and t is a stuck term
see issue #737
|
2015-07-24 11:52:46 -07:00 |
|
Leonardo de Moura
|
0f2c0b6512
|
feat(library/data/real/basic): replace 'have ... [visible]' with 'assert ...'
Remove comments about "sorry"s. Mario has fixed all of them.
|
2015-07-24 10:07:16 -07:00 |
|
Leonardo de Moura
|
f7440ff068
|
fix(tests/lean): adjust tests to reflect changes in the standard library
|
2015-07-24 09:59:49 -07:00 |
|
Mario Carneiro
|
066b0fcdf9
|
feat(library): clean up "sorry"s in library
Breaking changes: pnat was redefined to use subtype instead of a custom inductive type, which affects the notation for pnat 2 and 3
|
2015-07-24 12:21:33 -04:00 |
|
Leonardo de Moura
|
bcf057f4f3
|
feat(frontends/lean): display '[congr]' attribute when printing theorems
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
3e6b80d38c
|
feat(library/util): disable local constant purification when pretty printing goals
This feature generates confusion.
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
f1a19a10c4
|
fix(library/util): incorrect hypothesis renaming when pretty printing goals
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
e221d38790
|
feat(library/tactic/assert_tactic): allow duplicate names for hypotheses in assert tactic
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
e0209a1532
|
feat(frontends/lean): better error localization for 'have'-expressions in tactic mode
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
946308b187
|
feat(frontends/lean): allow anonymous 'have'-expressions in tactic mode
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
faab1e449f
|
fix(tests/lean/rw_set3): update test to reflect changes in the standard library
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
5f4576a7f7
|
test(tests/lean): add test for '[congr]' attribute validation
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
844caf32e4
|
feat(frontends/lean/bultin_cmds): add 'print [congr]' command for displaying active congruence rules
|
2015-07-23 18:52:59 -07:00 |
|
Leonardo de Moura
|
3329dc0ec7
|
feat(library/simplifier/simp_rule_set): add '[congr]' attribute validation
|
2015-07-23 18:52:58 -07:00 |
|