Leonardo de Moura
a509b0c615
test: Sign
2022-03-30 13:33:29 -07:00
Leonardo de Moura
1a8840330f
test: add test for example that does not work in Lean3
...
cc @eric-wieser
2022-03-30 12:59:55 -07:00
Leonardo de Moura
e53e088be8
test: make it clear the proofs hold by reflexivity
2022-03-30 12:40:30 -07:00
Leonardo de Moura
6056a4cbfa
test: stars_and_bars
2022-03-30 12:38:05 -07:00
Leonardo de Moura
b6ce9fa4b1
doc: add palindromes.lean
2022-03-30 11:22:58 -07:00
Leonardo de Moura
df3a8eb126
feat: add helper List.append simp theorems
2022-03-30 11:11:03 -07:00
Leonardo de Moura
c9926b3a8b
chore: update stage0
2022-03-29 18:53:47 -07:00
Leonardo de Moura
46ce3013d0
feat: cleanup local context before elaborating match alternatives RHS
2022-03-29 18:52:07 -07:00
Leonardo de Moura
815364768d
chore: update stage0
2022-03-29 15:57:45 -07:00
E.W.Ayers
00151f39a1
doc: explain MonadControl
2022-03-29 15:55:08 -07:00
Leonardo de Moura
d1e4712038
fix: smart unfolding
...
See new comment to understand the issue.
closes #1081
2022-03-29 15:49:14 -07:00
Leonardo de Moura
a8bb7fab93
fix: typo at findRecArg
...
The code was not traversing the indices if the datatype has parameters
2022-03-29 12:12:43 -07:00
Leonardo de Moura
86432f1833
feat: improve let-pattern and have-pattern macro expansion
2022-03-29 07:33:22 -07:00
Sebastian Ullrich
6dfddbe2e7
feat: quotation precheck for choice nodes
2022-03-29 10:50:11 +02:00
Leonardo de Moura
c7321e0061
chore: remove revert hack from example
2022-03-28 17:18:36 -07:00
Leonardo de Moura
a06cd40e29
feat: improve match expression support at simp
2022-03-28 17:17:01 -07:00
Leonardo de Moura
5ca9b49235
chore: cleanup proof
2022-03-28 14:58:02 -07:00
Leonardo de Moura
2a37f53fca
chore: fix core library
2022-03-28 14:32:04 -07:00
Leonardo de Moura
21f7c297e6
chore: update stage0
2022-03-28 14:30:35 -07:00
Leonardo de Moura
3c964f3b9f
feat: substitute auxiliary equations introduced by the split tactic
2022-03-28 14:29:28 -07:00
Leonardo de Moura
314bd3ae4c
fix: simpH? at match expression equation theorem generator
...
closes #1080
2022-03-28 12:48:54 -07:00
Leonardo de Moura
2dea5471da
feat: add support for HEq to the subst tactic
2022-03-28 12:23:55 -07:00
Leonardo de Moura
334f4f6c85
test: for issue #1079
...
The error reported on issue #1079 does not happen in the master branch.
closes #1079
2022-03-28 07:19:55 -07:00
Leonardo de Moura
4e008cf8b7
chore: move to tests
2022-03-27 14:57:33 -07:00
Leonardo de Moura
4801b37cfb
fix: exfalso
2022-03-27 14:56:24 -07:00
Leonardo de Moura
a2c9b6a8be
chore: rename Substate => State.le
2022-03-27 09:30:55 -07:00
Leonardo de Moura
3fe7db1bbf
chore: remove dead theorem
2022-03-27 09:15:55 -07:00
Leonardo de Moura
b2ef678199
doc: constant propagation for simple imperative language
2022-03-27 09:02:37 -07:00
Leonardo de Moura
3b7c3c0017
chore: add TODO's
2022-03-26 18:59:43 -07:00
Leonardo de Moura
11ed51dcb2
doc: example for the tutorial
2022-03-26 18:52:53 -07:00
Sebastian Ullrich
85c7772f4c
doc: fix ReST markup
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
bef34e30e7
feat: Nix: render examples using LeanInk+Alectryon
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
282147631f
chore: Nix: add LeanInk + Alectyron to docs flake
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
19925f8ec1
chore: Nix: move docs build into sub-flake
...
workflow is not ideal right now because of poor support for sub-flakes,
but I also don't want the doc input in the main flake...
2022-03-26 22:50:04 +01:00
Sebastian Ullrich
4a9bc88a4e
chore: fix USE_GMP=OFF by removing GMP linking customization
2022-03-26 16:29:52 +01:00
Sebastian Ullrich
1949b3f676
chore: CI: propagate prepare-llvm failures
2022-03-26 16:29:52 +01:00
Sebastian Ullrich
7ce5b0c4ff
feat: CI: build darwin_aarch64
2022-03-26 16:29:52 +01:00
Wojciech Nawrocki
96770b4d83
refactor: remove some code duplication
2022-03-26 06:26:41 -07:00
Wojciech Nawrocki
9223bf3640
feat: environment extension for RPC procedures
2022-03-26 06:26:41 -07:00
Sebastian Ullrich
e3a652de98
chore: CI: fix Linux/aarch64 tarball name, remove cpack config
2022-03-26 10:40:43 +01:00
Leonardo de Moura
c69b4d1f8d
chore: update stage0
2022-03-25 19:15:45 -07:00
Leonardo de Moura
a2e467eb32
fix: mkEqnTypes
...
stop as soon as `lhs` and `rhs` are definitionally equal, and avoid
unnecessary case analysis.
This commit fixes the last issue exposed by #1074
fixes #1074
2022-03-25 19:13:21 -07:00
Leonardo de Moura
3a310fb122
fix: the eta for structures implementation in the elaborator was different from the implementation in the kernel
...
This issue was exposed by issue #1074
2022-03-25 18:24:15 -07:00
Leonardo de Moura
d4d5d3693e
chore: update stage0
2022-03-25 18:18:03 -07:00
Leonardo de Moura
1900efd91a
chore: add pp_expr helper function
2022-03-25 18:16:18 -07:00
Leonardo de Moura
7307b02fd7
fix: missing test at has_trivial_structure
...
see #1074
2022-03-25 17:36:30 -07:00
Sebastian Ullrich
2740cab3fc
chore: update RELEASES
2022-03-26 00:02:13 +01:00
Leonardo de Moura
130bbfc501
chore: update README
2022-03-25 14:48:07 -07:00
Leonardo de Moura
9aca413e31
chore: add link to doc/examples
2022-03-25 14:46:43 -07:00
Leonardo de Moura
6da9119516
doc: add Parametric Higher-Order Abstract Syntax example
2022-03-25 14:42:24 -07:00