Leonardo de Moura
8f8bb8c940
chore: update stage0
2022-07-07 23:01:06 -07:00
Leonardo de Moura
6ef81e1cdf
fix: bug at the code specialization cache
...
closes #1292
2022-07-07 22:59:18 -07:00
Leonardo de Moura
d6a73bf03c
chore: update stage0
2022-07-07 20:26:40 -07:00
Leonardo de Moura
c9771fa1b2
chore: unused variables
2022-07-07 20:24:18 -07:00
Leonardo de Moura
58619291e9
feat: better qualified name support in recursive definitions
2022-07-07 20:15:25 -07:00
tydeu
185e10f6f3
misc: hoist facet name check to load + related bugfixes/refactors
2022-07-07 21:38:55 -04:00
tydeu
c45088b2ea
chore: start next Lake version
2022-07-07 21:38:54 -04:00
Leonardo de Moura
db47664d4a
fix: discrepancy between isDefEq and whnf for transparency mode instances
2022-07-07 15:39:58 -07:00
Leonardo de Moura
dd924e5270
chore: remove codegen option
...
We should use `noncomputable` modifier instead.
closes #1288
2022-07-07 08:18:30 -07:00
Leonardo de Moura
fce7697151
fix: def _root_ and dotted notation in recursive definitions
...
closes #1289
2022-07-07 07:57:51 -07:00
Sebastian Ullrich
305866dba2
feat: "linting" profiler metric
2022-07-07 14:23:59 +02:00
Sebastian Ullrich
29bdc0ceac
fix: bound syntax kind at v:(ppSpace ident) etc.
2022-07-07 11:49:35 +02:00
Leonardo de Moura
0c30372f93
doc: add todo for expandDelayedAssigned
2022-07-06 20:08:12 -07:00
Leonardo de Moura
2494f1d4a4
chore: fix doc
2022-07-06 19:56:25 -07:00
Leonardo de Moura
ddae76aed2
chore: update stage0
2022-07-06 19:46:15 -07:00
Leonardo de Moura
0cecbe2ce6
chore: update stage0
2022-07-06 19:43:57 -07:00
Leonardo de Moura
71550c55a9
fix: @ scope
2022-07-06 19:42:43 -07:00
Leonardo de Moura
2fcb784372
feat: default value for coeAtOutParam parameter
2022-07-06 19:00:32 -07:00
Leonardo de Moura
01d0ca8cfe
doc: coeAtOutParam todo's
2022-07-06 18:58:40 -07:00
Leonardo de Moura
f8c7bd71aa
fix: position information for toStream application at do-notation
2022-07-06 18:50:45 -07:00
Leonardo de Moura
c5e00c2bde
fix: do not create coercion placeholder if function is partially applied
2022-07-06 18:38:11 -07:00
Leonardo de Moura
645c3e777d
feat: disable coeAtOutParam when @ (aka explicit = true) is used
2022-07-06 18:31:39 -07:00
Leonardo de Moura
0425fabf8f
test: test for output parameter + coercion issue
2022-07-06 16:55:08 -07:00
Leonardo de Moura
42548adc5d
fix: typo at addImplicitArg
2022-07-06 16:53:57 -07:00
Leonardo de Moura
9ba65fee83
fix: a coercion around an output parameter (and promotion to synthetic opaque) should only be used if there in no other way to infer parameter
...
We need this refinement for declarations such as
```
def add_one {X} [Trait X] [One (Trait.R X)] [HAdd X (Trait.R X) X] (x : X) : X := x + (One.one : (Trait.R X))
```
from test 948.lean
2022-07-06 16:38:39 -07:00
Leonardo de Moura
ab16278ce4
fix: missing synthesizeSyntheticMVars at elabSubst
2022-07-06 16:15:29 -07:00
Leonardo de Moura
aa9167834b
fix: coeAtOutParam can only be used after Coe.lean
2022-07-06 16:06:11 -07:00
Leonardo de Moura
55ad7beb8d
feat: add coercion placeholder for applications that return an output parameter of a local instance
2022-07-06 15:42:39 -07:00
Leonardo de Moura
e7bc114ba2
fix: bug at withAssignableSyntheticOpaque
2022-07-06 15:24:17 -07:00
Leonardo de Moura
ec4794ad10
chore: use withAssignableSyntheticOpaque
2022-07-06 15:24:17 -07:00
Leonardo de Moura
608a306ef0
refactor: simplify/cleanup DelayedMetavarAssignment
2022-07-06 15:24:17 -07:00
Leonardo de Moura
81ed8b0b32
chore: cleanup
2022-07-06 15:24:17 -07:00
Sebastian Ullrich
d679044a9b
chore: Nix: use --deps-json for faster, single IFD per package
2022-07-06 16:12:30 +02:00
Sebastian Ullrich
ec991f3761
chore: update stage0
2022-07-06 16:12:30 +02:00
Sebastian Ullrich
775ed70a84
feat: add lean --print-deps-json
2022-07-06 16:12:30 +02:00
Sebastian Ullrich
a16eff2996
chore: Nix: implement roots
2022-07-06 16:12:30 +02:00
Leonardo de Moura
38e1f6ba82
fix: missing instantiateMVars
2022-07-05 20:45:53 -07:00
Leonardo de Moura
0a5df7cd6d
chore: style
2022-07-05 20:45:53 -07:00
tydeu
6e4bca57c8
chore: update Lake
2022-07-05 17:27:41 -07:00
tydeu
ee59d66268
release: 3.2.1
2022-07-05 19:28:40 -04:00
tydeu
adc6317e7b
chore: bump Lean version
2022-07-05 19:15:45 -04:00
tydeu
958f38b31e
feat: setup lean/lake env for server even if config has errors
2022-07-05 19:08:47 -04:00
tydeu
0a53ecb768
feat: add module file path helpers
2022-07-05 18:10:37 -04:00
tydeu
44f8e27a29
refactor: LeanExe.facet -> exeFacet
2022-07-05 17:46:44 -04:00
tydeu
3229d5084c
fix: properly update deps w/ no branch or dir but no manifest
...
closes leanprover/lake#94
2022-07-05 17:36:38 -04:00
Leonardo de Moura
91d48c9150
chore: update stage0
2022-07-05 14:29:45 -07:00
Leonardo de Moura
627594b88a
fix: "dot"-notation should apply default instances before failing
...
See new test for motivating example.
2022-07-05 14:27:55 -07:00
Leonardo de Moura
13a49da496
chore: update stage0
2022-07-05 13:25:50 -07:00
Leonardo de Moura
2b2d4245dc
fix: extensible tactics bug
...
See comment at `expandMacros`
2022-07-05 13:20:22 -07:00
tydeu
df8085b7c2
fix: don't set LEAN_CC unless necessary + detect src dirs
...
closes leanprover/lake#93
2022-07-05 15:41:33 -04:00