E.W.Ayers
562070fe8b
refactor: more extract methods from transform
2022-06-17 17:47:51 -07:00
E.W.Ayers
c8fc371eb9
fix: test
2022-06-17 17:47:51 -07:00
E.W.Ayers
8311c88fd0
refactor: extract methods from Lean.Meta.transform
...
Lean.Meta.transform is created with a series of recursive
visit functions. However these visit functions are useful
on their own outside of transform for traversing expressions.
This commit moves the visit functions outside the main function.
2022-06-17 17:47:51 -07:00
E.W.Ayers
ece1c1085c
feat: add Expr lensing functions using SubExpr.Pos
2022-06-17 17:47:51 -07:00
E.W.Ayers
2fe933cdf5
refactor: make SubExpr.Pos a definition
...
Instead of an abbreviation. It is easier to understand
Pos operations in terms of 'push' and 'pop' rather than
through arithmetic.
2022-06-17 17:47:51 -07:00
Leonardo de Moura
bbc196eeb7
fix: make sure WF/Fix.lean tolerates MatcherApp.addArg? failures
...
see #1228
2022-06-17 17:37:33 -07:00
Leonardo de Moura
52a0de00e4
feat: report error on ambiguous export and open commands
...
This commit improves the fix for issue #1224
2022-06-17 09:58:36 -07:00
Leonardo de Moura
e985eb2b8a
fix: refine resolveNamespace
...
see issue #1224
2022-06-17 09:51:00 -07:00
tydeu
aa4b82c53f
chore: update Lean version
2022-06-17 04:39:47 -04:00
Sebastian Ullrich
dad47195da
chore: adapt to where syntax change
2022-06-17 04:39:47 -04:00
Leonardo de Moura
f0e2696ec8
doc: update release notes
2022-06-16 18:22:23 -07:00
Leonardo de Moura
81a685d97c
test: issue #1224
...
closes #1224
2022-06-16 18:01:09 -07:00
Leonardo de Moura
a6462f5bd8
feat: improve open/export
2022-06-16 18:00:33 -07:00
Leonardo de Moura
d5476fb3b3
refactor: move toMessageList, add throwErrorWithNestedErrors
2022-06-16 18:00:09 -07:00
Leonardo de Moura
8ca3e14651
feat: change namespace resolution procedure
...
see #1224
2022-06-16 17:31:49 -07:00
Leonardo de Moura
d56163bd0e
refactor: resolveNamespace now return a List
2022-06-16 17:16:36 -07:00
François G. Dorais
bc206b2992
fix: LawfulBEq class
...
make arguments implicit and protect `LawfulBEq.rfl`
2022-06-16 15:33:32 -07:00
Leonardo de Moura
8d9428261e
chore: remove Fix.lean
...
see #1208
2022-06-16 15:30:47 -07:00
Leonardo de Moura
9e7a6fa085
chore: remove dead structure
2022-06-16 15:23:23 -07:00
Sebastian Ullrich
b1e3607739
fix: match tactic with multiple LHSs
2022-06-16 15:21:46 -07:00
Mac
7447cb444c
ci: skip duplicate/unnecessary jobs
2022-06-16 18:08:36 -04:00
Sebastian Ullrich
0777d01cf9
chore: update Lake
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
72a5c582cf
chore: Nix: ignore build messages in test capture
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
4212cc740b
refactor: move linebreak check into sepBy(1)Indent
...
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
6f096e0f0d
chore: fix tests
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
6982536108
fix: one more struct instance syntax manipulation
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
0f6e6c8a51
chore: update stage0
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
b585b2251e
fix: adapt to stricter grammar
2022-06-16 23:33:57 +02:00
Sebastian Ullrich
ce054fb2e7
fix: introduce semicolonOrLinebreak, replace many(1) with sepBy(1) where appropriate
2022-06-16 23:33:57 +02:00
tydeu
f5126bc82a
chore: remove lean-toolchain from version agnostic tests
2022-06-16 17:33:00 -04:00
tydeu
4ffe900d93
chore: update Lean version
2022-06-16 17:33:00 -04:00
Leonardo de Moura
8d854900fd
chore: replace constant with opaque
2022-06-16 17:33:00 -04:00
Leonardo de Moura
4b7188e0ce
chore: opaque is now a command keyword
2022-06-16 17:33:00 -04:00
Sebastian Ullrich
7a3ee51d05
doc: missing word
2022-06-16 10:12:07 +02:00
tydeu
61926bbb32
chore: fix test
2022-06-16 02:24:46 -04:00
tydeu
eb7979b332
test: add test for leanprover/lake#75
2022-06-16 02:12:40 -04:00
tydeu
02ee011a0e
refactor: simplify module target code + related cleanup
...
closes leanprover/lake#75
2022-06-16 02:04:31 -04:00
Mariana Alanis
198179d0cc
fix: add a better handling in case only worker crashes (apply CR comments)
2022-06-15 18:40:44 -07:00
Mariana Alanis
e61799a77f
fix: add a better handling in case only worker crashes (CR comments)
2022-06-15 18:40:44 -07:00
Mariana Alanis
30f3d6f82d
fix: add a better handling in case only worker crashes (CR comments)
2022-06-15 18:40:44 -07:00
Mariana Alanis
4d7d82af86
fix: add a better handling in case only worker crashes (CR comments)
2022-06-15 18:40:44 -07:00
Mariana Alanis
b0f9754e0f
fix: add a better handling in case only worker crashes
2022-06-15 18:40:44 -07:00
Mariana Alanis
6b75ca9734
fix: add a better handlng in case only worker crashes (and server stays available)
2022-06-15 18:40:44 -07:00
Leonardo de Moura
d2888a49d7
chore: remove old hack that is not needed anymore
2022-06-15 16:36:54 -07:00
Leonardo de Moura
3228db29dd
chore: use double ticks
2022-06-15 07:17:17 -07:00
Sebastian Ullrich
524ae5abf7
chore: CI: purge ccache
2022-06-15 13:39:24 +02:00
Sebastian Ullrich
23d157a3ff
chore: remove dead code
2022-06-15 12:43:59 +02:00
Sebastian Ullrich
bfce841985
chore: update stage0
2022-06-15 10:01:47 +02:00
Leonardo de Moura
5896e6f1d6
chore: fix docs
2022-06-14 17:35:33 -07:00
Leonardo de Moura
540e9e85f3
chore: update release notes
2022-06-14 17:31:26 -07:00