Leonardo de Moura
1caff852fb
chore: remove getOp functions
2022-07-09 16:09:28 -07:00
Leonardo de Moura
e55684b0c0
chore: update stage0
2022-07-09 16:04:54 -07:00
Leonardo de Moura
fd371ea812
chore: remove getOp builtin support
2022-07-09 16:04:17 -07:00
Leonardo de Moura
36ebccb822
chore: fix tests
2022-07-09 15:59:44 -07:00
Leonardo de Moura
e4b358a01e
refactor: prepare to elaborate a[i] notation using typeclasses
2022-07-09 15:24:22 -07:00
Leonardo de Moura
e30ac86bd5
chore: update stage0
2022-07-09 14:44:47 -07:00
Leonardo de Moura
4c707d3b3c
feat: use binop% to elaborate %-applications
...
Motivation: make sure the behavior is consistent with other arithmetic
operators.
This commit also removes the instance
```
instance : HMod (Fin n) Nat (Fin n) where
hMod := Fin.modn
```
because we have a coercion from `Fin n` to `Nat`.
Thus, given `a : Fin n` and `b : Nat`, `a % b` is ambiguous.
2022-07-09 14:38:35 -07:00
Leonardo de Moura
305630cc23
fix: ElabAppArgs.finalize bug
2022-07-09 13:53:15 -07:00
Leonardo de Moura
a6151a9708
chore: update stage0
2022-07-09 12:20:35 -07:00
Leonardo de Moura
0074038405
fix: missing term info
2022-07-09 12:19:10 -07:00
tydeu
62bdde1548
chore: update Lean version
2022-07-09 15:08:09 -04:00
Leonardo de Moura
2f6eb84ace
chore: cleanup
2022-07-09 12:06:29 -07:00
Sebastian Ullrich
03da79a603
fix: restore script arg syntax
2022-07-09 15:05:19 -04:00
Sebastian Ullrich
1ea2a52448
chore: adapt to simpleBinder removal
2022-07-09 15:05:18 -04:00
Leonardo de Moura
b33aa09384
chore: the for in elaborator now propagates the element type to the body
2022-07-09 14:54:40 -04:00
Leonardo de Moura
2873a1b250
chore: unused variable warningns
2022-07-09 07:52:59 -07:00
Leonardo de Moura
defff00787
chore: remove workaround
2022-07-09 07:47:05 -07:00
Sebastian Ullrich
61b01ea3b3
Revert "chore: work around for type inference"
...
This reverts commit 6c64b1b20b .
2022-07-09 10:47:38 +02:00
tydeu
25d3860823
feat: lake exe CLI to run workspace exes
...
closes leanprover/lake#82
2022-07-09 02:47:01 -04:00
Sebastian Ullrich
b57ca74794
chore: skip elan test if no elan found
2022-07-08 23:05:12 -04:00
Sebastian Ullrich
49a025889a
chore: remove redundant declaration in .envrc
2022-07-08 23:05:12 -04:00
Sebastian Ullrich
a45d86cb96
chore: update flake.nix
2022-07-08 23:05:12 -04:00
tydeu
958e3fc4da
feat: add shorthands for lake script run/list
...
closes leanprover/lake#88
2022-07-08 23:03:42 -04:00
tydeu
ca04bf9b43
refactor: reorg cli code some (e.g., split cmds into defs)
2022-07-08 22:51:07 -04:00
Leonardo de Moura
b204ed8cee
chore: update stage0
2022-07-08 17:33:11 -07:00
Leonardo de Moura
7e578bc122
chore: update stage0
2022-07-08 17:30:07 -07:00
Leonardo de Moura
bdaabd4e7b
feat: propagate return type to for-in block
2022-07-08 17:29:30 -07:00
Leonardo de Moura
71edf731f9
fix: missing withFreshMacroScope
2022-07-08 17:25:29 -07:00
Leonardo de Moura
b8991586bd
chore: update stage0
2022-07-08 16:55:44 -07:00
Leonardo de Moura
eb06b90b17
chore: add workaround
2022-07-08 16:54:44 -07:00
Leonardo de Moura
39f598a3e1
chore: update Lake
2022-07-08 16:42:18 -07:00
Leonardo de Moura
77b68688e7
chore: update stage0
2022-07-08 16:36:52 -07:00
Leonardo de Moura
d50b33175d
feat: improve forIn elaborator element type propagation
2022-07-08 16:34:42 -07:00
tydeu
0fbd7a866a
feat: replace __args__ with get_config? + related refactors
2022-07-08 19:00:52 -04:00
Leonardo de Moura
7cf31f7360
chore: update comment
2022-07-08 15:34:09 -07:00
Leonardo de Moura
3c7053635b
chore: update stage0
2022-07-08 15:31:26 -07:00
Leonardo de Moura
e4e0f775d6
feat: improve outParam as result type support
2022-07-08 15:29:48 -07:00
Sebastian Ullrich
32118a832d
fix: update to adjusted Lake update
2022-07-08 23:24:30 +02:00
Sebastian Ullrich
0f6bda61c9
chore: Nix: buildLeanPackage devShell
2022-07-08 23:24:04 +02:00
Sebastian Ullrich
f5eaa525b3
chore: disable Nix macOS once more
...
I guess it's not that attractive without ARM support anyway
2022-07-08 23:01:50 +02:00
Sebastian Ullrich
8f70c346fd
chore: Nix: fix develop shell
2022-07-08 21:49:50 +02:00
Leonardo de Moura
2472a6a1ea
chore: fix build
...
Another ugly hack to survive until we port the code generator to Lean.
2022-07-08 10:34:50 -07:00
Sebastian Ullrich
7ee5203dbb
chore: update stage0
2022-07-08 19:06:10 +02:00
Sebastian Ullrich
d7bcc271be
refactor: avoid nested sequence in simpleBinder
2022-07-08 19:06:10 +02:00
Sebastian Ullrich
75b0b50983
fix: backtrack on unexpected non-identifier in parenthesizer
2022-07-08 14:49:08 +02:00
Sebastian Ullrich
4f1c3faa6e
chore: Nix: re-enable nix develop on bare derivations
2022-07-08 14:49:08 +02:00
Sebastian Ullrich
6d1b2094e9
chore: nix flake update
...
This comes with ccache 4.6.1, which seems to fix the specific
miscompilation I managed to reproduce with 4.6.0
2022-07-08 13:46:57 +02:00
Leonardo de Moura
5455c16fc5
chore: update stage0
2022-07-07 23:41:00 -07:00
Leonardo de Moura
bf91956449
fix: add workaround for issue #1293
...
This is a temporary hack until we port the C++ code to Lean.
closes #1293
2022-07-07 23:39:35 -07:00
Leonardo de Moura
438fce8da7
chore: update stage0
2022-07-07 23:03:06 -07:00