Commit graph

26741 commits

Author SHA1 Message Date
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
be31d38146 chore: CI: lower ctest timeout 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
440abd4bd1 chore: CI: switch to GCC on Windows for now
See discussion at https://github.com/leanprover/lean4/pull/555
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
e6a1d24af3 chore: CI: move "Lean stats" after archive upload 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
66c83c5cf1 chore: fix macOS patching 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
22a0e4145a chore: debug macOS build 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
Leonardo de Moura
60d38606e7 fix: missing instantiateMVars 2021-08-17 21:32:32 -07:00
Leonardo de Moura
a5b9306e04 fix: deep recursion at contradiction 2021-08-17 21:32:32 -07:00
Leonardo de Moura
4cfbe6030f feat: add simpLocalDecl 2021-08-17 21:32:32 -07:00
Leonardo de Moura
52b52b22ef fix: to do unfold matcher applications that cannot be reduced when smartUnfolding is true
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/How.20to.20WHNF.20without.20exposing.20recursors.3F
2021-08-17 21:32:32 -07:00
Leonardo de Moura
4635c3afd1 chore: add notNot? 2021-08-17 21:32:32 -07:00
Leonardo de Moura
60ff468a8b feat: add simpGoal helper method
chore: rename `simpGoal?`
2021-08-17 21:32:32 -07:00
Leonardo de Moura
5a76f70bc8 feat: add optional argument discharge? to simp basic methods 2021-08-17 21:32:32 -07:00
Jannis Limperg
1d3e2aa7b1 chore: rename BinomialHeap.WellFormed constructors 2021-08-17 10:19:12 -07:00
Jannis Limperg
9278e0694b chore: add test case for BinomialHeap 2021-08-17 10:19:12 -07:00
Jannis Limperg
343d2c9c35 feat: add BinomialHeap.{ofList,ofArray} 2021-08-17 10:19:12 -07:00
Jannis Limperg
b43e03699b doc: document some BinomialHeap defs 2021-08-17 10:19:12 -07:00
Jannis Limperg
8e89cdc05c feat: add BinomialHeap.{deleteMin,tail?} 2021-08-17 10:19:12 -07:00
Jannis Limperg
3709234971 chore: BinomialHeap: rename lt to le 2021-08-17 10:19:12 -07:00
Jannis Limperg
63628ef61b fix: BinomialHeap: insert (head h) (tail h) = h
fixes #629
2021-08-17 10:19:12 -07:00