Sebastian Ullrich
95183e4e60
chore: Nix: update vscode-lean4 to 0.0.6
2021-02-13 16:42:21 +01:00
Leonardo de Moura
21878030d1
fix: fixes #310
...
@Kha I implemented the following approach:
- Error if user tries to revert `auxDecl`.
- Clear any `auxDecl` that depends on variables being reverted by the user.
2021-02-12 18:14:42 -08:00
Sebastian Ullrich
75243e7f24
feat: change back seqLeft/Right signature
...
This was originally changed for the sake of `do`, which does not depend on it anymore
2021-02-12 17:08:06 -08:00
Leonardo de Moura
c64d053f9e
test: ite and dite congr test
2021-02-12 16:52:56 -08:00
Leonardo de Moura
4ac78266ad
fix: make sure temporary metavars don't leak
2021-02-12 16:52:56 -08:00
Leonardo de Moura
1945858d89
fix: assigned metavariables in SimpLemmas
2021-02-12 16:52:56 -08:00
Leonardo de Moura
16a6778fb6
fix: avoid nonstandard instances at ite and dite congruence lemmas
...
cc @gebner
2021-02-12 16:52:56 -08:00
Leonardo de Moura
b51e3cb1fe
feat: process congr lemmas at simp
2021-02-12 16:52:56 -08:00
Leonardo de Moura
da91fc4526
refactor: move synthesizeArgs
2021-02-12 16:52:56 -08:00
Sebastian Ullrich
172d47c468
chore: CI: fix
2021-02-12 22:55:22 +01:00
Sebastian Ullrich
5db8073c32
chore: CI: nightlies race condition
2021-02-12 22:16:52 +01:00
Leonardo de Moura
9ba8a30fb2
feat: add Repr instance for CongrLemmas
2021-02-11 18:13:33 -08:00
Leonardo de Moura
3a66dbf0fd
chore: annotate ite/dite congruence lemmas
2021-02-11 17:55:42 -08:00
Leonardo de Moura
88c1b7fc99
chore: update stage0
2021-02-11 17:53:25 -08:00
Leonardo de Moura
ffa4a577be
feat: add @[congr] attribute
2021-02-11 17:51:04 -08:00
Leonardo de Moura
8b3c61dbb0
fix: checkAssignment
2021-02-11 16:56:32 -08:00
Leonardo de Moura
5e0b6a404f
chore: naming convention
2021-02-11 15:05:26 -08:00
Leonardo de Moura
c0f5ab1fa5
feat: add congruence lemmas for simp
2021-02-11 14:07:01 -08:00
Sebastian Ullrich
18aaef4d93
chore: fix test
2021-02-11 18:45:06 +01:00
Sebastian Ullrich
8320ab6177
fix: syntax match: check identifiers (using strict equality)
2021-02-11 17:50:05 +01:00
Sebastian Ullrich
19306a844f
chore: delaborator: print BinderInfo.auxDecl as explicit
2021-02-11 12:13:22 +01:00
Sebastian Ullrich
10bcd0bc9e
fix: #check_failure
2021-02-11 11:30:37 +01:00
Sebastian Ullrich
a74960a4ab
fix: delaborator: match with shadowing
2021-02-11 11:30:25 +01:00
Leonardo de Moura
896ce41b33
chore: fix test
2021-02-10 12:04:33 -08:00
Leonardo de Moura
8815e76b4d
chore: update stage0
2021-02-10 09:59:55 -08:00
Leonardo de Moura
12fb6be170
chore: update stage0
2021-02-10 09:56:14 -08:00
Leonardo de Moura
2aed9a4ec2
chore: special support for match d with | PUnit.unit => rhs
2021-02-10 09:54:12 -08:00
Leonardo de Moura
16429e393d
test: add dep hd test
...
It has been reported in the general channel that this example
generates problems for the Lean 3 elaborator.
2021-02-08 11:26:23 -08:00
Sebastian Ullrich
f7e5fec4d1
feat: lean4-mode: add more suffix characters to word category
2021-02-07 18:27:55 +01:00
Sebastian Ullrich
8b1d02c083
feat: lean4-mode: highlight inaccessible names in goal display using font-lock-comment-face
2021-02-07 18:27:55 +01:00
Leonardo de Moura
be10f35a8d
chore: update stage0
2021-02-06 18:00:29 -08:00
Leonardo de Moura
4e4194af41
feat: add autoBoundImplicit support for structure fields
2021-02-06 17:58:29 -08:00
Leonardo de Moura
023d7605fb
feat: add "transitivity" to "has_loose_bvars_in_domain"
2021-02-06 17:42:38 -08:00
Leonardo de Moura
565f6a9372
chore: fix test
2021-02-06 12:54:53 -08:00
Leonardo de Moura
c984e9be4b
test: for issues #306 and #307
2021-02-06 12:48:43 -08:00
Leonardo de Moura
79c1ea813a
chore: update stage0
2021-02-06 12:37:10 -08:00
Leonardo de Moura
09ad6cc50a
fix: fixes #306 fixes #307
2021-02-06 12:31:51 -08:00
Sebastian Ullrich
f954cec3df
chore: update stage0
2021-02-06 17:45:02 +01:00
Sebastian Ullrich
4d8859140c
feat: improve goal display markup
2021-02-06 17:25:26 +01:00
Sebastian Ullrich
1ca3176143
chore: TacticInfo.format: show range
2021-02-06 17:24:24 +01:00
Sebastian Ullrich
f6359195aa
feat: lean4-mode: support plain goal view
2021-02-06 17:23:52 +01:00
Wojciech Nawrocki
ec903f58d2
feat: bare-bones goal request handler
2021-02-06 10:41:14 +01:00
Wojciech Nawrocki
2aa4a7957e
feat: configurable server edit delay
2021-02-06 10:41:14 +01:00
Wojciech Nawrocki
e383222f92
feat: hovers for fields & refactor
2021-02-06 10:41:14 +01:00
Leonardo de Moura
082cf62da7
chore: update stage0
2021-02-05 18:19:20 -08:00
Leonardo de Moura
78fb026201
test: add test for issue #305
...
Issue #305 was fixed by previous commits submitted today for problems
exposed by the `for in` notation based on typeclasses :)
closes #305
2021-02-05 18:15:11 -08:00
Leonardo de Moura
cb8c1368b4
chore: remove workaround
2021-02-05 18:11:31 -08:00
Leonardo de Moura
9486d6797f
chore: update stage0
2021-02-05 18:03:44 -08:00
Leonardo de Moura
f51328ff11
feat: custom elaborator for forIn
...
This commit also moves `elabBinRel` to `Extra.lean`
2021-02-05 18:01:58 -08:00
Leonardo de Moura
c82c9b3f99
chore: update stage0
2021-02-05 17:04:54 -08:00