Leonardo de Moura
29b340aa36
fix: consume Expr.mdata at congr tactic
...
fixes #1118
2022-04-25 06:33:32 -07:00
Leonardo de Moura
3ad8dcb7ff
fix: nasty interaction between TC resolution and Eta for structures
...
See
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.60constructor.60.20and.20.60Applicative.60/near/279984801
2022-04-24 08:19:29 -07:00
Leonardo de Moura
47b379e1bc
feat: dsimp! tactic
2022-04-23 18:41:04 -07:00
Leonardo de Moura
342a26a023
feat: dsimp tactic
2022-04-23 18:05:18 -07:00
Leonardo de Moura
13bcbe91cd
fix: regression reported at issue #1113
...
see issue #1113
2022-04-23 15:39:04 -07:00
Leonardo de Moura
4ab57475a0
chore: simplify proofs
2022-04-23 12:47:10 -07:00
Leonardo de Moura
e25a116821
chore: RELEASES.md
2022-04-23 12:16:36 -07:00
Leonardo de Moura
ed12b62e28
fix: InfoTree was missing information for (pseudo) match patterns such as x + 1.
...
This kind of pattern has to be reduced to a constructor, and the
`PatternWithRef` information was being lost in the process.
2022-04-23 12:08:59 -07:00
Leonardo de Moura
305d8e641c
chore: style
2022-04-23 10:47:53 -07:00
Sebastian Ullrich
eb7bf2b272
fix: show single final state after tactic combinator
2022-04-23 17:42:32 +02:00
Sebastian Ullrich
240c5e15e9
fix: show final goal state at end of tactic combinator
2022-04-23 17:15:32 +02:00
Leonardo de Moura
34c75fc443
feat: allow ▸ even if the expected type is not available
...
see issue #1116
2022-04-23 08:00:27 -07:00
Leonardo de Moura
36fad4bba0
fix: do not assign metavariables in the major premise type when trying K
2022-04-23 07:31:51 -07:00
Leonardo de Moura
a82abee1b2
feat: sum of monomials normal form by reflection
2022-04-22 18:51:48 -07:00
Leonardo de Moura
875bf9bf34
fix: apply dsimp at lambda binders
...
This fixes another regression reported at #1113
2022-04-22 13:10:21 -07:00
Leonardo de Moura
c13ed7c0de
fix: regression reported at #1113
...
See #1113
2022-04-22 11:43:58 -07:00
Leonardo de Moura
864c4c5030
chore: update stage0
2022-04-22 09:53:47 -07:00
Leonardo de Moura
2a2aeec085
feat: LSP semantic token for where and let rec declarations
2022-04-22 09:52:20 -07:00
Sebastian Ullrich
ca3f1a84b0
doc: fix example style
2022-04-22 16:26:16 +02:00
Leonardo de Moura
a5bf0d5ea5
chore: invert setup chapters by making the quickstart the default and the other one "extended setup notes"
2022-04-21 18:09:54 -07:00
Leonardo de Moura
66c82dadc9
fix: the default value for structure fields may now depend on the structure parameters
2022-04-21 17:38:19 -07:00
Leonardo de Moura
09dfd97593
chore: remove temporary workaround
2022-04-21 16:29:08 -07:00
Leonardo de Moura
46dbddabd5
chore: update stage0
2022-04-21 16:27:00 -07:00
Leonardo de Moura
d1f10a2e71
feat: apply rfl theorems at dsimp
...
closes #1113
2022-04-21 16:26:57 -07:00
Leonardo de Moura
2a0dc1804b
feat: improve isRflProof and isRflTheorem
...
The `Eq.symm` of a `rfl` theorem is a `rfl` theorem, the application
of `rfl` theorem too.
2022-04-21 15:40:38 -07:00
Leonardo de Moura
57c3114875
fix: simpAll and tests
...
We need another `update stage0` to remove workaround at `AC.lean`
2022-04-21 15:00:07 -07:00
Leonardo de Moura
da33347e9d
fix: use defauld reducibility setting at mkImpDepCongrCtx and mkImpCongrCtx
2022-04-21 14:55:29 -07:00
Leonardo de Moura
abc75053b6
chore: update stage0
2022-04-21 13:43:36 -07:00
Leonardo de Moura
f891c5724d
feat: track rfl simp theorems
...
See issue #1113
We need update stage0 before closing the issue.
2022-04-21 13:42:04 -07:00
Leonardo de Moura
0b92195ec8
feat: refine auto bound implicit feature
2022-04-21 10:17:15 -07:00
Leonardo de Moura
d81c124479
chore: update stage0
2022-04-21 08:37:31 -07:00
Leonardo de Moura
4727fd6883
feat: do not hightlight auxiliary declarations used to compile recursive definitions as variables
...
They are "morally" constants.
2022-04-21 08:11:22 -07:00
Leonardo de Moura
d8ad343885
test: add Expr.eq_of_toPoly_eq
2022-04-20 23:04:29 -07:00
Leonardo de Moura
6bdeb6c9cb
test: add support for sub as som.lean
2022-04-20 22:59:55 -07:00
Leonardo de Moura
6e09dfae1e
test: simplify sum of monomials
2022-04-20 22:31:52 -07:00
Leonardo de Moura
14bfe57ba8
test: sum of monomials by reflection
2022-04-20 19:19:50 -07:00
Leonardo de Moura
2a36ae4627
feat: add List.le_antisymm
2022-04-20 16:31:25 -07:00
Leonardo de Moura
9852fe3db8
feat: add simp theorems
2022-04-20 16:14:01 -07:00
Leonardo de Moura
bb3fc358c9
feat: add LawfulBEq Int instance
2022-04-20 14:52:41 -07:00
Leonardo de Moura
73076b855c
fix: bug at processGenDiseq
2022-04-20 10:46:05 -07:00
Leonardo de Moura
4a18679c92
chore: include problematic match auxiliary declaration name in the error message
2022-04-20 10:46:05 -07:00
Sebastian Ullrich
e1fbfb677e
doc: missing file
2022-04-20 19:13:53 +02:00
Sebastian Ullrich
84cc167f95
doc: fix example code & style
2022-04-20 19:05:43 +02:00
Sebastian Ullrich
c354a9f62f
doc: link orphan syntax tutorial
2022-04-20 18:49:38 +02:00
Sebastian Ullrich
5f6bbe59ef
doc: fold sub-chapters by default
2022-04-20 18:46:30 +02:00
Sebastian Ullrich
b6446902c2
feat: server.stderrAsMessages option
...
/cc @leodemoura
2022-04-19 22:29:26 +02:00
Leonardo de Moura
597313135a
fix: index out of bounds at computeFixedIndexBitMask
...
closes #1112
2022-04-19 05:21:43 -07:00
Leonardo de Moura
d0ccb73fc9
chore: update stage0
2022-04-19 05:11:19 -07:00
Leonardo de Moura
556ace5cc1
chore: update RELEASES.md
2022-04-18 17:03:01 -07:00
Leonardo de Moura
4848ad4869
feat: implement autoUnfold at simp
...
Right now, it only supports the following kind of definitions
- Recursive definitions that support smart unfolding.
- Non-recursive definitions where the body is a match-expression. This
kind of definition is only unfolded if the match can be reduced.
2022-04-18 16:51:52 -07:00