Leonardo de Moura
|
84deddcca9
|
feat(library/tactic/rewrite_tactic): apply 'reflexivity' tactic after 'rewrite' instead of hard coded solution
|
2015-05-05 20:23:49 -07:00 |
|
Leonardo de Moura
|
c7a20644c0
|
fix(library/tactic/rewrite_tactic): bug in rewrite tactic (HoTT mode)
closes #580
|
2015-05-05 19:25:15 -07:00 |
|
Leonardo de Moura
|
a4efefb6ff
|
feat(library/tactic/rewrite_tactic): display type error message when
rewrite tactic fails
|
2015-05-05 19:23:41 -07:00 |
|
Leonardo de Moura
|
616f49c2e4
|
feat(frontends/lean): improved 'obtains' expression
|
2015-05-05 18:30:16 -07:00 |
|
Leonardo de Moura
|
c0c0490db3
|
feat(library/export): simplify format
|
2015-05-04 18:22:12 -07:00 |
|
Leonardo de Moura
|
701b0ae66f
|
feat(library): export environment in textual format
closes #577
|
2015-05-04 18:05:00 -07:00 |
|
Leonardo de Moura
|
6571c47353
|
feat(library/normalize): add '[unfold-m]' hint
See issue #496
|
2015-05-04 14:23:04 -07:00 |
|
Leonardo de Moura
|
3c8c75470f
|
fix(library/tactic/exact_tactic): do not report unassigned metavariables in the 'refine' tactic
|
2015-05-03 21:08:09 -07:00 |
|
Leonardo de Moura
|
326048df54
|
feat(library/tactic/inversion_tactic): clear variables that have been eliminated by cases tactic
see discussion at:
https://groups.google.com/forum/#!topic/lean-discuss/oyzgIqdMyNc
|
2015-05-02 19:33:59 -07:00 |
|
Leonardo de Moura
|
e1dc18f6b6
|
fix(library/tactic/inversion_tactic): check whether eliminator can only eliminate to Prop
fixes #571
|
2015-05-02 17:48:08 -07:00 |
|
Leonardo de Moura
|
e379034b95
|
feat(library/tactic): improve 'assumption' tactic
- It uses the unifier in "conservative" mode
- It only affects the current goal
closes #570
|
2015-05-02 17:33:54 -07:00 |
|
Leonardo de Moura
|
b39fe17dee
|
feat(library/tactic): add 'transitiviy', 'reflexivity' and 'symmetry' tactics
closes #500
|
2015-05-02 15:48:25 -07:00 |
|
Leonardo de Moura
|
cd17618f4a
|
refactor(library): replace 'calc_trans', 'calc_symm', 'calc_refl' and 'calc_subst' commands with attributes '[symm]', '[refl]', '[trans]' and '[subst]'
These attributes are used by the calc command.
They will also be used by tactics such as 'reflexivity', 'symmetry' and
'transitivity'.
See issue #500
|
2015-05-02 15:15:35 -07:00 |
|
Leonardo de Moura
|
415ca2b93f
|
feat(library/tactic): add 'congruence' tactic
It is the f_equal described at issue #500.
|
2015-05-02 12:58:46 -07:00 |
|
Leonardo de Moura
|
2054d67483
|
chore(library/tactic/rewrite_tactic): fix style
|
2015-05-01 19:49:48 -07:00 |
|
Leonardo de Moura
|
9dc0388022
|
fix(library/tactic/rewrite_tactic): bug when rewriting hypotheses
|
2015-05-01 19:45:23 -07:00 |
|
Leonardo de Moura
|
ac8ba6a3cf
|
feat(library/tactic): add 'subst' tactic
see issue #500
|
2015-05-01 19:31:24 -07:00 |
|
Leonardo de Moura
|
b0759f3986
|
fix(library/tactic/rewrite_tactic): bug when rewriting multiple hypotheses
|
2015-05-01 19:03:43 -07:00 |
|
Leonardo de Moura
|
de369a0a0a
|
feat(library/tactic/injection_tactic): improve 'injection' tactic
see issue #500
|
2015-05-01 15:49:56 -07:00 |
|
Leonardo de Moura
|
9ba8b284a1
|
fix(library/tactic/apply_tactic): add eapply, and fix issue #361
|
2015-05-01 15:08:00 -07:00 |
|
Leonardo de Moura
|
63eb155c7e
|
feat(library/tactic): add 'injection' tactic
see issue #500
|
2015-05-01 12:45:21 -07:00 |
|
Leonardo de Moura
|
7e9f574ef3
|
fix(library/tactic/apply_tactic): use internally 'apply' instead of 'fapply' as the default "apply" tactic
This changes improves the 'constructor' tactic
|
2015-04-30 21:58:35 -07:00 |
|
Leonardo de Moura
|
2d9c950144
|
feat(library/tactic/constructor_tactic): allow 'constructor' tactic without index
see issue #500
|
2015-04-30 21:15:07 -07:00 |
|
Leonardo de Moura
|
15e52b06df
|
fix(library/tactic/constructor_tactic): bug in constructor tactic
see example (constr_tac2.lean) in comment at issue #500
|
2015-04-30 20:18:24 -07:00 |
|
Leonardo de Moura
|
d18f9c7607
|
fix(library/tactic/constructor_tactic): use 1 (instead of 0) to reference the first constructor
see comment at issue #500
|
2015-04-30 20:08:00 -07:00 |
|
Leonardo de Moura
|
0b995c4fe3
|
fix(library/tactic/rewrite_tactic): relax reducibility constraints in some parts of the rewrite tactic
fixes #567
|
2015-04-30 18:22:58 -07:00 |
|
Leonardo de Moura
|
d152f38518
|
feat(library/tactic): add 'constructor', 'split', 'left', 'right' and 'existsi' tactics
see issue #500
|
2015-04-30 17:52:29 -07:00 |
|
Leonardo de Moura
|
1c6067bac2
|
feat(library/tactic): add 'exfalso' tactic
see issue #500
|
2015-04-30 15:43:07 -07:00 |
|
Leonardo de Moura
|
d546b019fb
|
fix(library/tactic/rewrite_tactic): assertion violation when checking
dependencies at rewrite tactic
|
2015-04-30 15:41:57 -07:00 |
|
Leonardo de Moura
|
936e024128
|
fix(library/tactic/rewrite_tactic): bug in rewrite hypothesis in HoTT mode
|
2015-04-30 15:30:25 -07:00 |
|
Leonardo de Moura
|
9c8a63caec
|
feat(library/tactic): add 'contradiction' tactic
see issue #500
Remark: this tactic also applies no_confusion to take care of a contradiction
|
2015-04-30 13:47:40 -07:00 |
|
Leonardo de Moura
|
3233008039
|
feat(library/tactic): allow user to name generalized term in the 'generalize' tactic
closes #421
|
2015-04-30 11:57:40 -07:00 |
|
Leonardo de Moura
|
3912bc24c8
|
feat(frontends/lean): nicer syntax for 'intros' 'reverts' and 'clears'
|
2015-04-30 11:00:39 -07:00 |
|
Leonardo de Moura
|
dce7177382
|
feat(library/tactic/change_tactic): improve 'change' tactic
- Better error messages
- Try to solve unification constraints produced during is_def_eq test
addresses comment on issue #531
|
2015-04-29 13:31:09 -07:00 |
|
Leonardo de Moura
|
d055947243
|
feat(library/tactic/rewrite_tactic): ignore implicit argument when matching at rewrite tactic
|
2015-04-29 12:51:33 -07:00 |
|
Leonardo de Moura
|
182a8a542e
|
feat(library/tactic/rewrite_tactic): store exception "what" message in rewrite trace
|
2015-04-29 12:46:41 -07:00 |
|
Leonardo de Moura
|
b790ca9806
|
fix(library/tactic/rewrite_tactic): type check rewriting steps
closes #550
|
2015-04-29 12:16:37 -07:00 |
|
Leonardo de Moura
|
91abba3c3d
|
refactor(kernel): rename method
|
2015-04-29 11:46:27 -07:00 |
|
Leonardo de Moura
|
d2c7b5c319
|
feat(library/tactic): add 'let' tactic
closes #555
|
2015-04-28 17:24:43 -07:00 |
|
Leonardo de Moura
|
ca8943f45b
|
feat(library,hott): remove rapply tactic
|
2015-04-27 15:06:16 -07:00 |
|
Leonardo de Moura
|
9d01868361
|
feat(frontends/lean): use rewrite tactic to implement unfold (it has a unfold step)
closes #502
|
2015-04-24 17:23:12 -07:00 |
|
Leonardo de Moura
|
28404fe16d
|
fix(library/tactic/rewrite_tactic): second problem reported at issue #548
closes #548
|
2015-04-24 16:49:32 -07:00 |
|
Leonardo de Moura
|
4148d6b8cc
|
fix(library/tactic/rewrite_tactic): first two problems at issue #548
|
2015-04-24 16:07:00 -07:00 |
|
Leonardo de Moura
|
8241863abe
|
feat(kernel/hits): add two builtin HITs: type_quotient and trunc
|
2015-04-23 15:32:31 -07:00 |
|
Leonardo de Moura
|
2613e7c444
|
fix(frontends/lean): bug when handling identifiers in tactics
This bug was reported by Jeremy in the Lean Google group:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/lean-discuss/ZKJ8WPPEVJA/n05x6rPRzvMJ
|
2015-04-22 16:03:22 -07:00 |
|
Leonardo de Moura
|
91f21c007a
|
feat(frontends/lean): remove 'context' command
|
2015-04-22 11:32:02 -07:00 |
|
Leonardo de Moura
|
bf8a7eb9b4
|
fix(library/scoped_ext): bug in local metadata in sections
The problem is described in issue #554
|
2015-04-21 18:56:28 -07:00 |
|
Leonardo de Moura
|
697a536d9e
|
fix(library/tactic/inversion_tactic): type incorrect term being built by 'cases' tactic
fixes #545
|
2015-04-20 19:24:52 -07:00 |
|
Leonardo de Moura
|
eb23a30626
|
feat(library/unifier): additional memory checks
|
2015-04-20 17:41:08 -07:00 |
|
Leonardo de Moura
|
28dad944c5
|
fix(library/unifier): cyclic assignment (?M <- ?M)
This was producing nonterminating behavior on example described at issue #489
|
2015-04-20 17:35:37 -07:00 |
|