Leonardo de Moura
c34adb7dd5
feat: allow partial definitions to be define if type is non empty
2022-01-14 16:50:36 -08:00
Leonardo de Moura
f1adedb2de
feat: add Classical.ofNonempty
2022-01-14 15:59:11 -08:00
Leonardo de Moura
83b69bc340
refactor: move Classical.choice and Nonempty to Prelude
2022-01-14 15:59:11 -08:00
Sebastian Ullrich
6ec406b7d0
feat: System.FilePath.walkDir
2022-01-14 16:22:14 +01:00
Joscha
bce56fdc0c
feat: implement reference request
2022-01-14 09:18:57 +01:00
Leonardo de Moura
3fbf5acbee
fix: add missing [reducible] annotations Init/WF.lean
2022-01-12 17:12:55 -08:00
Leonardo de Moura
7fe6881c42
feat: use new termination_by syntax
2022-01-12 16:23:25 -08:00
Leonardo de Moura
45bd328d5e
fix: tests and add WellFoundedRelation.rel to list of definitions to unfold at decreasing_tactic
2022-01-12 08:28:03 -08:00
Leonardo de Moura
1a6abe1dad
feat: WellFoundedRelation as a class
2022-01-12 08:28:03 -08:00
Leonardo de Moura
381f66428a
chore: use termination_by'
...
We are going to define a higher level syntax for `termination_by`.
2022-01-11 15:00:53 -08:00
Leonardo de Moura
0434c36f89
chore: remove old version
2022-01-11 14:50:15 -08:00
Leonardo de Moura
ca89da28d0
chore: prepare to rename default_decreasing_tactic
2022-01-11 14:42:25 -08:00
Leonardo de Moura
2464da0dca
feat: add support for PSigma.Lex at default_decreasing_tactic
2022-01-11 14:41:28 -08:00
Leonardo de Moura
ec49c31337
chore: make sure PSigma.lex signature is similar to Prod.lex
2022-01-11 14:37:53 -08:00
Leonardo de Moura
93f3773d83
chore: cleanup
2022-01-10 16:25:07 -08:00
Leonardo de Moura
dae3489fe2
feat: remove partials from Init/Data/Array/Basic.lean
2022-01-10 16:05:33 -08:00
Leonardo de Moura
0dd3ce0598
chore: fix test
2022-01-10 14:31:23 -08:00
Leonardo de Moura
7789779020
feat: add simple default tactic for well-founded recursion
2022-01-10 14:26:08 -08:00
Leonardo de Moura
16b4aa81e5
chore: add helper lemmas for well-founded recursion
2022-01-10 14:07:35 -08:00
Leonardo de Moura
241db0fed6
chore: fix name
2022-01-10 13:20:49 -08:00
Leonardo de Moura
b1b4705c14
feat: add unfold tactic parsers
2022-01-07 13:51:45 -08:00
Mario Carneiro
dcaf3c615f
fix: induction generalizing precedence
2022-01-07 10:45:45 +01:00
Mario Carneiro
3253231d59
feat: make rw [] syntactically correct
2022-01-03 07:23:24 -08:00
Gabriel Ebner
bc5bd5a671
feat: allow the compiler to optimize unsafeCast
2022-01-03 07:13:55 -08:00
Sebastian Ullrich
bbfcb1cfb2
perf: allocation-free for i in [n:m] do
2022-01-03 07:03:56 -08:00
Sebastian Ullrich
132898f7e7
fix: reinstate monadic panic workaround
2022-01-03 14:58:24 +01:00
Henrik Böving
4ee058039b
chore: apply suggestions from code review
...
Co-authored-by: Gabriel Ebner <gebner@gebner.org>
2022-01-03 13:43:33 +01:00
Henrik Böving
6fe010d0c2
fix: keep info in auto generated notation delaborators
...
Previously automatically generated delaborators for syntax declared with
the notation (and derived) keywords would silently drop information
during delaboration.
2022-01-03 13:43:33 +01:00
Gabriel Ebner
f43f74e78f
chore: suppress newline after .
2021-12-23 13:56:22 +01:00
Gabriel Ebner
25714a8ee1
fix: calc syntax roundtrip
2021-12-23 13:56:22 +01:00
Sebastian Ullrich
399ad64854
perf: do not specialize Inhabited
2021-12-22 17:48:11 -08:00
tydeu
f4a73889e7
feat: expose more version info (e..g., toolchain)
2021-12-19 10:44:35 +01:00
Sebastian Ullrich
167dccce0b
chore: move Leanpkg.leanVersionString to Init
2021-12-18 10:59:37 -08:00
Mario Carneiro
f22f699d62
feat: split replicate / replicateTR with @[csimp]
2021-12-18 10:58:57 -08:00
Leonardo de Moura
be6bc67eb0
fix: ensure match-expressions compiled using if-then-else can be reduced with TransparencyMode.reducible
...
closes #891
2021-12-18 10:55:42 -08:00
Mario Carneiro
51a78fd7af
fix: change argument order of List.get[!?D]
2021-12-17 14:21:00 -08:00
Mario Carneiro
caf09e85ad
chore: universe generalize implies_true
2021-12-17 14:19:54 -08:00
Gabriel Ebner
e65f3fe810
fix: use redirected stderr for tout()
2021-12-16 10:23:05 -08:00
Joe Hendrix
5a307a93ac
fix: bug at ByteArray.copySlice
2021-12-16 11:05:19 +01:00
Gabriel Ebner
230d6d2cf5
fix: use group for if-then-else
2021-12-15 11:42:38 +00:00
Gabriel Ebner
4f81972996
fix: missing newline before inductionAlt
2021-12-15 11:42:38 +00:00
Gabriel Ebner
7be0d7ec16
fix: space before $
2021-12-15 11:42:38 +00:00
Gabriel Ebner
87faa7a93a
fix: whitespace after rw/simp [<-
2021-12-15 11:42:38 +00:00
Gabriel Ebner
316fa81042
fix: print spaces around <| and |>
2021-12-15 11:42:38 +00:00
Gabriel Ebner
45bcef5dab
refactor: server: use String.firstDiffPos to find changes
...
This is necessary so that we do not reprocess the whole file if
incremental sync is disabled.
2021-12-14 11:55:34 -08:00
tydeu
d518ba7f08
feat: use BaseIO more in Init.System.IO
2021-12-14 09:33:52 +01:00
Sebastian Ullrich
a4633d30e2
fix: option completion after trailing .
2021-12-10 14:19:19 -08:00
Leonardo de Moura
68bd55af32
chore: fix codebase
2021-12-10 13:12:09 -08:00
Leonardo de Moura
84f374702d
feat: add fields isInstance and isType to InteractiveHypothesis
...
see https://github.com/leanprover/vscode-lean4/issues/76
2021-12-10 09:08:55 -08:00
Severen Redwood
af944e69c0
doc: fix typo in documentation for sorry tactic
2021-12-06 17:12:31 +01:00