Scott Morrison
0fc3702d02
chore: remove superfluous abbrev
...
This abbreviation already exists as Lean.Meta.FVarIdToLemmaId, which is imported. (And in fact the code relies on the fact they are definitionally equal.)
Closes #781 .
2021-11-15 18:21:55 -08:00
Scott Morrison
835bd0869b
feat: simpLocation
2021-11-15 18:20:50 -08:00
Leonardo de Moura
2a7b33089a
fix: transparency settings at simp TC check
...
fixes #790
2021-11-15 18:09:31 -08:00
Leonardo de Moura
4b2fa38cb8
fix: #check_failure command should succeed if there are stuck TC problems
2021-11-15 16:56:55 -08:00
Leonardo de Moura
9a152d2051
fix: use withSynthesize at elabStructInstance
...
fixes #783
2021-11-15 16:45:26 -08:00
tydeu
781a28b8f4
chore: update Lake
2021-11-11 09:38:42 +01:00
tydeu
f0fd17138c
fix: pass --trust to frontend
2021-11-11 08:39:53 +01:00
Sebastian Ullrich
6e4fcaaea9
fix: produce info tree even on macro or elab failure
2021-11-11 08:39:31 +01:00
Sebastian Ullrich
8df2b07209
refactor: remove double exception layer in RequestM
2021-11-09 16:58:13 +01:00
Sebastian Ullrich
d8d7eba6c5
feat: liftExcept
2021-11-09 16:58:13 +01:00
Leonardo de Moura
743810b77a
feat: use binrel_no_prop% to define == notation
...
fixes #764
2021-11-09 07:46:10 -08:00
Leonardo de Moura
ced179f2f5
feat: elaborate binrel_no_prop%
2021-11-09 07:24:46 -08:00
Leonardo de Moura
3c00c3270e
feat: add variant of binrel%
2021-11-09 06:51:54 -08:00
Sebastian Ullrich
138d9eea43
fix: server: custom search path should win over package one should win over system one
...
I think that's all permutations now
2021-11-09 14:27:13 +01:00
Sebastian Ullrich
a345a98ef7
chore: fix foreign test on macOS
2021-11-09 11:03:14 +01:00
Sebastian Ullrich
d7b8479760
chore: use configured C++ compiler for foreign test
...
Fixes #775
2021-11-09 09:27:10 +01:00
tydeu
7fcfb78fd5
feat: use BaseIO at MonadLift (ST IO.RealWorld)
2021-11-09 09:11:33 +01:00
Leonardo de Moura
a5b1b8de4f
fix: bug at Offset.lean
...
Offset equalities should not assume default `Nat` instances for
numerals, `+`, `*`, and `-` have been used.
fixes #755
2021-11-08 18:27:25 -08:00
Leonardo de Moura
84d4d771ca
fix: bug at addPPExplicitToExposeDiff
2021-11-08 18:25:57 -08:00
Sebastian Ullrich
177d45a752
chore: fail without decreasing proof
2021-11-06 18:29:59 +01:00
tydeu
f262f77396
chore: update Lake
2021-11-06 09:18:15 +01:00
Leonardo de Moura
b28f92a9ea
feat: improve error message produced by #eval command when it fails to synthesize "eval" instance
...
closes #765
2021-11-05 15:03:57 -07:00
Leonardo de Moura
7e0bc23e5d
chore: cleanup syntax
2021-11-05 15:03:57 -07:00
tydeu
3f867acfd7
feat: decidable Prop Eq based on propext
2021-11-05 14:09:53 -07:00
Mac
eb5852448e
feat: generalize IO task functions to BaseIO := EIO Empty ( #744 )
...
* feat: generalize `asTask`/`bindTask`/`mapTask` to `EIO`
* feat: generalize task functions to the `EIO Empty` monad
* chore: fix test + correct doc
* feat: further generalize task functions to `RealM := EIO Empty`
* chore: `RealM`/Task API touch-ups
* refactor: `abbrev RealM` -> `def BaseIO`
* chore: remame args / remove `EIO.toBaseIO_` as per code review
* refactor: use `BaseIO` at `checkCanceled`/`getNumHeartbeats`
* chore: fix `lean_io_bind_task_fn` signature error
2021-11-04 15:37:55 -07:00
Sebastian Ullrich
85fb03f22c
fix: cannot dynamically link against library that depends on statically linked runtime on Windows
2021-11-04 15:32:07 -07:00
Sebastian Ullrich
697e34e229
test: --load-dynlib
2021-11-04 15:32:07 -07:00
Sebastian Ullrich
1adefe197b
fix: leanc: respect LEAN_SYSROOT
2021-11-04 15:32:07 -07:00
Sebastian Ullrich
4b51d00fcb
feat: --load-dynlib
2021-11-04 15:32:07 -07:00
Sebastian Ullrich
5a65189894
chore: use empty string for --githash instead of weird "GITDIR-NOTFOUND" when not building from commit
2021-11-04 15:29:48 -07:00
Sebastian Ullrich
b5e7b2ab6e
feat: Lean.githash
2021-11-04 15:29:48 -07:00
Sebastian Ullrich
6e45685310
fix: propositions should never be considered enum types
2021-11-04 15:27:15 -07:00
Sebastian Ullrich
89ab3cadf9
doc: server: mention infoTree test
2021-11-04 18:31:36 +01:00
Sebastian Ullrich
756a2ae99a
doc: server: update & extend readme
2021-11-04 18:31:36 +01:00
Sebastian Ullrich
e92f7f1b4b
refactor: server: assume 1 info tree per snapshot
2021-11-04 18:31:36 +01:00
Sebastian Ullrich
fc5082eaef
perf: server: reset info trees for each snapshot
2021-11-04 18:31:36 +01:00
Wojciech Nawrocki
bbaf98addf
fix: relax LSP spec compliance
2021-11-01 09:11:31 -07:00
Wojciech Nawrocki
128a71c726
fix: excessive RPC logging
2021-11-01 09:11:31 -07:00
Leonardo de Moura
5f119cb54f
feat: avoid metavariables at CompletionItems
...
Not sure whether it helps or creates more confusion.
Note that we are still using the `?` prefix for metavariables on the
InfoView and hover info.
2021-10-29 08:01:21 -07:00
Chris Lovett
d3da41bac6
chore: remove unused header from lean.h
2021-10-29 09:43:19 +02:00
Leonardo de Moura
68120b24b8
feat: add docstring to CompletionItem
...
closes #746
2021-10-28 08:14:40 -07:00
Sebastian Ullrich
f92d494c48
chore: do not distribute Lake examples
2021-10-28 16:23:14 +02:00
Leonardo de Moura
3367501511
fix: inaccessible annotations at isDefEq issue
...
Issue was reported at
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Change.20in.20pattern.20matching.3B.20expected.20behaviour.3F/near/259059096
fixes #742
2021-10-27 09:26:12 -07:00
Leonardo de Moura
352391bfcb
chore: remove mpz_get_d dependency
2021-10-26 12:40:20 -07:00
Leonardo de Moura
c25758e314
chore: remove mpz dead code
2021-10-26 12:28:33 -07:00
Leonardo de Moura
6d0fa6da7c
chore: remove mpz dead code
2021-10-26 12:05:19 -07:00
Leonardo de Moura
fa9c5ad21a
chore: remove mpq
2021-10-26 11:56:37 -07:00
Gabriel Ebner
95b769cd5d
fix: add missing borrow annotations
2021-10-26 11:51:30 -07:00
Gabriel Ebner
61e0eab23f
refactor: reimplement ofScientific for floats
2021-10-26 11:51:30 -07:00
Gabriel Ebner
5aab241f7a
fix: show correct popup for a + b
2021-10-26 20:19:27 +02:00