Commit graph

24104 commits

Author SHA1 Message Date
Leonardo de Moura
1624e42a5d chore: cleaup 2021-08-19 14:39:58 -07:00
Leonardo de Moura
bffefa61bd feat: extend contradiction for MatchEqs.lean 2021-08-19 12:52:50 -07:00
Leonardo de Moura
7b881b6020 chore: add Contradiction.Config 2021-08-19 11:43:12 -07:00
Leonardo de Moura
33a0da8c6f chore: remove simp annotation from PUnit.eq_punit
closes #635
2021-08-19 11:22:13 -07:00
Leonardo de Moura
a6529a795b feat: add casesOnStuckLHS 2021-08-19 11:22:13 -07:00
Leonardo de Moura
1b60d54814 feat: make sure Eq.ndrec and Eq.ndrecOn are "tagged" as auxiliary recursors 2021-08-19 11:22:13 -07:00
Sebastian Ullrich
f33cdf6bf9 fix: linking against dl 2021-08-19 19:44:28 +02:00
Leonardo de Moura
7c9158a50e fix: structure command diamond support
Fixes issue described at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Structure.20diamond.20error
2021-08-19 07:45:21 -07:00
Leonardo de Moura
015df19808 feat: add trySubst 2021-08-19 07:08:02 -07:00
Leonardo de Moura
d0d7799a7b doc: document (and rename) the new configuration option ignoreLevelMVarDepth 2021-08-18 20:38:18 -07:00
Leonardo de Moura
107712f8be feat: add instance from CoeSort to CoeTail 2021-08-18 20:24:43 -07:00
Leonardo de Moura
99e8a98f06 feat: allow universes metavariables from any depth to be assigned when ignoreLevelDepth is true
We set `ignoreLevelDepth` to true during type class resolution.
2021-08-18 20:20:51 -07:00
Leonardo de Moura
45d3b85d5a refactor: cleanup MatchEqs and simplify SplitIf 2021-08-18 18:34:34 -07:00
Sebastian Ullrich
52f3c6a1d0 fix: initialize Std 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
88f3de7a44 chore: link leanshared using leanc after all 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
09a0347fdc chore: fix compilation of executables containing code to be interpreted 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
c5f00f4bc2 refactor: minimize linker cycles 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
98b3e4b0ec chore: fix leanrt compilation flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6d113b54d5 chore: fix stage 2 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
c867376a82 perf: generate separate libleanrt.a with local-exec TLS model for static linking 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
b7d723c982 refactor: compile runtime/ into new static library leanrt 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
70e22910d7 perf: missing -Bsymbolic-functions for libleanshared.so 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
1ed329b305 test: try reenabling plugin test on Windows 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6827928594 chore: cpack: copy required libraries via ldd/otool 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
68ecda843b chore: remove STATIC cmake flag 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
62fc54ad23 chore: fix leanshared linker flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
58d6f3b817 fix: search all loaded modules for symbols on Windows 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
d9337fa39c chore: fix multiple definitions on Windows 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
df5c1b2a3b chore: fix leanshared flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
eb72fba635 refactor: build C files using leanmake/leanc in stage 0 as well 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
f46e853899 chore: fix Windows link flags 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
e1a15d0866 perf: set tls-model on macOS as well 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6ea8b0f4b6 chore: turn off -Bsymbolic-functions in sanitized build 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
99b40e33f5 chore: Windows: create import library after all 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
c9ba846b03 chore: try without import library 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6440a2cd98 fix: rpath on macOS 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
e121ae0d78 chore: turn off -Bsymbolic-functions in sanitized build 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
f1be9844d1 chore: remove -fno-semantic-interposition again
It doesn't seem to change anything other than breaking with LLVM 7
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
754286dc6d fix: compile flags for libleanruntime.bc 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
92403ae7e1 chore: move -fno-semantic-interposition to the right place 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
c58d138695 perf: fno-semantic-interposition 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
3f99545b85 perf: link shared libraries with -Bsymbolic 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
b0167c6ab0 fix: leanpkg rpath 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
76d6be3a90 perf: set tls-model 2021-08-18 13:54:52 +02:00
Sebastian Ullrich
617f17facb feat: reintroduce libleanshared, link lean & leanpkg against it 2021-08-18 13:54:52 +02:00
Leonardo de Moura
83eaa47e0a chore: move MatchEqs 2021-08-17 21:32:32 -07:00
Leonardo de Moura
158636b8c0 feat: add spliIfGoal
TODO: remove unnecessary complexity, `MatchEqs` doesn't need all this
complexity, and we should not recurse here.
2021-08-17 21:32:32 -07:00
Leonardo de Moura
bb755d6245 feat: add commitIfNoEx 2021-08-17 21:32:32 -07:00
Leonardo de Moura
e04976614f feat: check if metavar is not assigned at simp tactics
and make sure `simpLocalDecl` does not change the goal if it didn't simplify
2021-08-17 21:32:32 -07:00
Leonardo de Moura
8d90872d28 chore: add not_not_intro 2021-08-17 21:32:32 -07:00