Sebastian Ullrich
db304448de
fix: leanpkg: rebuild if dependencies or leanpkg.toml (e.g. lean_version) changed
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
693c2ccf71
feat: min, max, List.min/maximum?
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
0e7ed52111
feat: leanpkg: suppress "uncaught exception: ..." message
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
6857076df4
feat: leanpkg build without external dependencies
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
37dcbf3421
feat: have Ord imply LT/LE
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
a9fa84815b
feat: IO.createDir, IO.createDirAll
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
94aea76922
feat: FilePath.metadata
2021-05-30 17:29:54 +02:00
Sebastian Ullrich
8cb116ed11
feat: leanpkg: better root file detection
2021-05-30 17:29:54 +02:00
Wojciech Nawrocki
e5182fe4af
fix: exported symbol arities
2021-05-29 07:56:54 +02:00
Sebastian Ullrich
fdad29770b
chore: Nix: expose vscode & extension without lean-dev wrapper
2021-05-28 15:31:20 +02:00
Sebastian Ullrich
9f72ebe29b
fix: source search path from leanpkg print-paths
2021-05-28 15:30:42 +02:00
Sebastian Ullrich
e4995ce8ba
feat: add convenience coercion from String to FilePath
2021-05-28 14:19:59 +02:00
Sebastian Ullrich
619873c842
feat: make System.FilePath opaque
2021-05-28 14:19:59 +02:00
Sebastian Ullrich
98a4dfc429
fix: module names on case-insensitive platforms
2021-05-28 14:19:59 +02:00
Sebastian Ullrich
4354534fda
feat: make FilePath a concrete type
...
Resolves #363
2021-05-28 14:19:59 +02:00
Leonardo de Moura
96b5574f21
fix: use withoutProofIrrelevance at getFixedPrefix
2021-05-27 13:42:22 -07:00
Leonardo de Moura
a247249880
feat: add configuration option for disabling proof irrelevance at MetaM
2021-05-27 13:37:26 -07:00
Leonardo de Moura
773dcf3f2e
fix: skippingBinders
...
This method was assuming the arguments of a `match` auxiliary
application were lambdas. This is not true for the automatically
generated equation theorems.
2021-05-26 20:09:12 -07:00
Leonardo de Moura
341cd7d296
fix: accidental free variable id reuse in the pretty printer
2021-05-26 16:20:50 -07:00
Sebastian Ullrich
b8be3664b1
chore: Nix: fix leanpkg wrapper error message
2021-05-26 20:37:43 +02:00
Sebastian Ullrich
f81abe158c
fix: memleak in release build
2021-05-26 10:24:45 +02:00
Sebastian Ullrich
2988897cac
feat: IO.FS.readDir
2021-05-26 09:47:43 +02:00
Wojciech Nawrocki
18e6f78089
fix: publish header processing message log
2021-05-26 09:30:29 +02:00
Sebastian Ullrich
02e917793e
chore: Nix: default lean-dev to Lean w/ package
...
Restores `lean4-diff-test-file` and similar functionality
2021-05-25 15:24:54 +02:00
Sebastian Ullrich
ef475de45b
chore: update stage0
2021-05-25 14:25:28 +02:00
Sebastian Ullrich
e918e39ed0
feat: have: remove unnecessary whitespace check and allow name- and type-less have
2021-05-25 14:25:14 +02:00
Leonardo de Moura
fb0c62d546
chore: update stage0
2021-05-22 19:28:13 -07:00
Leonardo de Moura
8b4cdcfddd
chore: fix mutable variable shadowing
2021-05-22 19:24:41 -07:00
Leonardo de Moura
5d22752b10
chore: update stage0
2021-05-22 19:24:25 -07:00
Leonardo de Moura
b91e22af2b
fix: fixes #241
2021-05-22 19:10:07 -07:00
Daniel Fabian
c426a816a1
refactor: Make the non-below version of a premise in the below type for inductive predicates implicit.
...
Since it is always fully implied by the below version thereof, it carries no real information and shouldn't be used in pattern matching.
2021-05-22 18:09:32 -07:00
Leonardo de Moura
28b055463f
fix: fixes #471
2021-05-22 15:42:52 -07:00
Leonardo de Moura
edb203ca54
fix: fixes #481
2021-05-21 20:40:26 -07:00
Leonardo de Moura
795e3a8646
chore: use "theorem" instead of "lemma" in messages
2021-05-21 20:35:23 -07:00
Leonardo de Moura
e6f0ce2c47
chore: update stage0
2021-05-21 19:21:08 -07:00
Leonardo de Moura
af4485f40e
fix: fixes #482
2021-05-21 19:20:24 -07:00
Leonardo de Moura
8eceb07caf
feat: new discriminant refinement procedure
2021-05-21 18:08:11 -07:00
Sebastian Ullrich
dd35db610b
feat: server: show final state after tactic combinator
...
No functional change yet because all our combinator have trailing
tactics whose info we prefer
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
4d6c178a6a
refactor: server: actually detect EOF at goalsAt?
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
93327e2324
fix: tactic state on {/·
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
e257caa446
feat: move block tactic macro to Init
2021-05-21 17:13:33 -07:00
Sebastian Ullrich
41cf306788
chore: Nix: cleanup
2021-05-21 17:17:54 +02:00
Sebastian Ullrich
429a450a1b
chore: Nix: minimize closure size of .#lean
2021-05-21 14:54:35 +02:00
Leonardo de Moura
73797841ba
feat: add findDiscrRefinementPath
...
The new method is going to be used to improve the discriminant
refinement procedure.
2021-05-20 21:54:48 -07:00
Leonardo de Moura
ed0b008f41
feat: add helper method Term.commitIfNoErrors?
2021-05-20 20:11:12 -07:00
Leonardo de Moura
2646f134d5
chore: add MonadBacktrack instance for ExceptT
2021-05-20 19:24:28 -07:00
Mac Malone
a6dc9e4ef3
feat: class abbrev now supports a type spec (+ test)
2021-05-20 15:23:30 -07:00
Mac Malone
6c07536b33
feat: simplified, improved class abbrev (+ tests)
2021-05-20 15:23:29 -07:00
Daniel Fabian
42bd44ab82
refactor: Capture environment modification in mkMatcher.
...
Doing this allows us to add the declaration in the backtracking case of structural recursion.
2021-05-20 15:20:16 -07:00
Sebastian Ullrich
9f3ddb0c43
fix: do not store solved goals in info tree
2021-05-20 15:17:54 -07:00