Leonardo de Moura
|
fb45eb4964
|
fix: universe polymorphic enumeration types
Fixes issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Incorrect.20number.20of.20universe.20levels.20parameters/near/284283021
|
2022-05-30 06:43:46 -07:00 |
|
Leonardo de Moura
|
ca6f53b407
|
feat: use subst_vars at builtin decreasing_tactic
|
2022-05-28 16:24:32 -07:00 |
|
Leonardo de Moura
|
40fc64480a
|
feat: add tactic subst_vars
|
2022-05-28 16:19:34 -07:00 |
|
Leonardo de Moura
|
2c5bafcbd8
|
fix: dead variables at match equation hypotheses
This commit addresses an issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Structural.20Recursion.20Problem/near/284238723
|
2022-05-28 16:09:35 -07:00 |
|
Leonardo de Moura
|
34bbe5d12c
|
feat: add simp theorem List.of_toArray_eq_toArray (as bs : List α) : (as.toArray = bs.toArray) = (as = bs) := by
|
2022-05-27 18:26:48 -07:00 |
|
Leonardo de Moura
|
fbd8224b4d
|
fix: allow recursive occurrences in binder types at WF/PackDomain.lean
fixes #1171
|
2022-05-27 11:23:51 -07:00 |
|
Leonardo de Moura
|
25126cd057
|
fix: autoParam is structure fields lost in multiple inheritance
closes #1158
|
2022-05-26 14:35:47 -07:00 |
|
Leonardo de Moura
|
fc606f3ab5
|
fix: closes #1156
|
2022-05-26 12:51:28 -07:00 |
|
Leonardo de Moura
|
988697b431
|
fix: fixes #1169
|
2022-05-26 07:05:32 -07:00 |
|
Leonardo de Moura
|
944063682e
|
fix: another specialize.cpp bug
This is just a workaround. This code has to be ported to Lean.
The issue has been reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/.28kernel.29.20unknown.20constant/near/283750650
|
2022-05-25 20:36:18 -07:00 |
|
Leonardo de Moura
|
bef1cd4872
|
fix: make structure instance notation (e.g., { a, b }) works in patterns after we define the Set notation in Mathlib
|
2022-05-25 19:14:22 -07:00 |
|
Leonardo de Moura
|
7c427c1ef2
|
fix: make sure let-expressions do not affect the structural recursion module
This issue has been reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Termination.20check.20not.20preserved.20under.20let.20binding.2E/near/282934378
|
2022-05-23 13:42:48 -07:00 |
|
Leonardo de Moura
|
2fc23a2a2b
|
feat: make sure we can use split to synthesize code
|
2022-05-23 11:55:57 -07:00 |
|
Leonardo de Moura
|
56cd6c1ff5
|
fix: we should not use implicit targets when creating the key for the CustomEliminator map
|
2022-05-20 06:55:23 -07:00 |
|
Wojciech Nawrocki
|
bea68819c9
|
feat: support optional RPC fields
|
2022-05-12 13:22:37 -07:00 |
|
Wojciech Nawrocki
|
fbb20d465b
|
fix: RpcEncoding tests
|
2022-05-12 08:38:09 -07:00 |
|
Sebastian Ullrich
|
392640d292
|
feat: allow keyword-like projection identifiers
|
2022-05-10 12:25:30 -07:00 |
|
Leonardo de Moura
|
f58afaaa43
|
fix: make sure let _ := val and let _ : type := val are treated at letIdDecl
closes #1114
|
2022-05-10 06:52:27 -07:00 |
|
Leonardo de Moura
|
7ce0471f28
|
feat: improve binrel% elaborator
It now relies on `binop%` too, and addresses issue reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Regression.20in.20coercion.20inference/near/281737387
|
2022-05-09 18:39:52 -07:00 |
|
Leonardo de Moura
|
fc03b2fc31
|
feat: unfold ident,+
|
2022-05-09 07:09:53 -07:00 |
|
Leonardo de Moura
|
ab31f9ad5d
|
fix: fixes #1143
|
2022-05-07 15:27:34 -07:00 |
|
Leonardo de Moura
|
2c8c20d424
|
feat: add [eliminator] attribute specifying default recursors/eliminators for the cases and induction tactics
|
2022-05-07 15:09:42 -07:00 |
|
Leonardo de Moura
|
af5e13e534
|
feat: improve binop% elaboration function
|
2022-05-07 10:32:55 -07:00 |
|
Leonardo de Moura
|
38baeaf373
|
feat: backtrack when applying default instances if subproblems cannot be solved
|
2022-05-07 09:56:38 -07:00 |
|
Leonardo de Moura
|
8c23bef399
|
feat: add support for casesOn applications to structural and well-founded recursion modules
|
2022-05-06 17:12:10 -07:00 |
|
Leonardo de Moura
|
c65537aea5
|
feat: Option is a Monad again
TODO: remove `OptionM` after update stage0
see: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Do.20we.20still.20need.20OptionM.3F/near/279761084
|
2022-05-04 15:27:42 -07:00 |
|
Leonardo de Moura
|
a1af8074c9
|
feat: improve discriminant refinement procedure
|
2022-05-04 14:46:43 -07:00 |
|
Leonardo de Moura
|
16ed5a3213
|
fix: erase_irrelevant.cpp
It addresses issue reported at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/'unreachable'.20code.20was.20reached.20by.20termination.20check/near/281159704
|
2022-05-04 08:06:59 -07:00 |
|
Leonardo de Moura
|
94b5a9b460
|
feat: improve split tactic
|
2022-05-03 17:46:50 -07:00 |
|
Sebastian Ullrich
|
e76a2a6d9e
|
chore: normalize spelling
|
2022-05-03 10:26:11 +02:00 |
|
Leonardo de Moura
|
109363bc7e
|
fix: closes #1132
|
2022-05-01 08:18:30 -07:00 |
|
Leonardo de Moura
|
4eb2cfec46
|
feat: make sure case' ... => tac does not use done after tac
|
2022-05-01 07:30:11 -07:00 |
|
Leonardo de Moura
|
862492778a
|
test: add deq_correct test from Zulip
|
2022-04-29 15:50:40 -07:00 |
|
Leonardo de Moura
|
cddf9ddd95
|
fix: forallAltTelescope heterogeneous equality support
|
2022-04-29 15:37:20 -07:00 |
|
Leonardo de Moura
|
95ea0b92ea
|
chore: fix test
|
2022-04-29 12:40:32 -07:00 |
|
Leonardo de Moura
|
575b1187c5
|
feat: add Tactic.Context.recover for controlling error recovery
Moreover, when executing `tac_1 <|> tac_2`, we now disable error
recovery at `tac_1`.
closes #1126 #1127
|
2022-04-27 10:47:15 -07:00 |
|
Mario Carneiro
|
f37b700e6e
|
fix: use correct number of none patterns for antiquotation splice
|
2022-04-27 09:55:27 +02:00 |
|
Leonardo de Moura
|
6af1da450e
|
feat: disable only eta for classes during TC resolution
closes #1123
|
2022-04-26 08:20:39 -07:00 |
|
Leonardo de Moura
|
6bc5433b17
|
fix: add support for heterogeneous equality at processGenDiseq
|
2022-04-25 16:56:03 -07:00 |
|
Leonardo de Moura
|
0c8a6d8977
|
feat: exists es:term,+ tactic
cc: @fgdorais
|
2022-04-25 15:35:31 -07:00 |
|
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
|
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
|
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
|
66c82dadc9
|
fix: the default value for structure fields may now depend on the structure parameters
|
2022-04-21 17:38:19 -07:00 |
|