Commit graph

372 commits

Author SHA1 Message Date
Sebastian Ullrich
aef4a7159b chore(*): remove obsolete leanpkg.path files 2019-07-25 17:46:53 -07:00
Sebastian Ullrich
74eda000b4 doc(doc/make/msys2): update instructions 2019-07-05 11:24:15 +02:00
Leonardo de Moura
5679a17603 doc(doc/make/index): add instructions for invoking makefile manually 2019-03-25 14:57:57 -07:00
Sebastian Ullrich
0279d29741 chore(shell/CMakeLists): add bin_lean_stage0 target 2019-03-21 13:16:34 +01:00
Sebastian Ullrich
beae045ebc fix(CMakeLists): complete move of stage1 from src/ to build dir 2019-03-21 13:16:17 +01:00
Sebastian Ullrich
74eab92c7c doc(doc/make/index): add some bootstrapping docs
@leodemoura
2019-03-18 21:50:07 +01:00
Leonardo de Moura
7ff42dd8e5 chore(doc/examples/compiler/test): simplify example 2019-02-06 17:23:16 -08:00
Leonardo de Moura
886fdf263e chore(doc/examples/compiler): we don't need main.cpp anymore
cc @kha @ChristianoBraga
2019-02-06 14:50:41 -08:00
Leonardo de Moura
ed1b101dd2 doc(doc/examples/compiler): new example 2019-02-05 16:50:12 -08:00
Sebastian Ullrich
2ebbfa813c doc(doc/coding_style,doc/commit_convention): fix git hook commands 2018-07-05 10:20:25 +02:00
Sebastian Ullrich
42d58580e6 chore(script/prepare-commit-msg): remove file extension, guess change type 2018-06-12 17:39:59 +02:00
Sebastian Ullrich
9d36bd057c chore(script/prepare-commit-msg): add simple commit message generator 2018-06-07 14:57:13 +02:00
Sebastian Ullrich
f0cee8181d chore(script/pre-push): include in repo 2018-06-07 14:57:13 +02:00
Sebastian Ullrich
2e784cd6be doc(doc/make/emscripten): document Emscripten build 2018-04-30 18:17:16 +02:00
Sebastian Ullrich
3fefe94757 refactor(library/init/core,library/init/unit): make unit an abbreviation of punit.{0} 2018-03-27 10:33:04 -07:00
Sebastian Ullrich
06e0d78e21 chore(doc/changes): update changelog 2018-03-26 12:55:38 +02:00
Sebastian Ullrich
70167def6f refactor(init/category/state): replace monad_state_lift with Haskell's MonadState
* does not leak information about the inner monad via out_param
* can be derived from an inner `monad_state` instance
2018-03-20 14:58:37 -07:00
Sebastian Ullrich
bcbe5ec9f4 refactor(init/category/functor): merge has_map into functor 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
bac0f66ca0 chore(init/category/combinators): remove unnecessary monad.lift{n} 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
f4c2499063 chore(init/category/transformers): remove now-unused monad_transformer class, rename to lift.lean 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
22d15bac7f chore(changes.md): changelog 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
8c157eba64 refactor(init/category/state): replace monad_state with monad_state_lift 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
940aca1ec3 refactor(init/category/lawful): unbundle lawful classes 2018-03-20 14:58:35 -07:00
Sebastian Ullrich
159b45c74f refactor(init/category/state): introduce monad_state
* rename `read/write` to `get/put`, as in Haskell
* define `state` as `state_t id`
2018-03-20 14:58:35 -07:00
Sebastian Ullrich
1c6861528b refactor(init/category): move monad laws into separate type classes defined after the tactic framework 2018-03-20 14:58:35 -07:00
Sebastian Ullrich
63382cf7e3 chore(init/category/transformers): move monad_transformer, monad_lift out of monad namespace, make universe polymorphic 2018-03-20 14:58:35 -07:00
Sebastian Ullrich
7c8f884699 chore(README,doc/faq): The Gitter chat room has been migrated to Zulip 2018-03-08 10:06:37 -08:00
Sebastian Ullrich
1abf8738fc feat(frontends/lean/structure_cmd): allow implicitness infer annotation and parameters in field declaration 2018-02-28 12:49:22 +01:00
Sebastian Ullrich
cf8dd9e75e feat(fronteds/lean/builtin_exprs): do notation: use overloadable bind instead of has_bind.bind 2018-02-28 12:49:22 +01:00
Sebastian Ullrich
f247363305 feat(library/time_task): print cumulative times on --profile 2018-02-19 09:13:24 -08:00
Nuno Lopes
a9078dd13a fix(doc): link to MSVC build instructions 2018-02-13 10:40:53 -08:00
Nuno Lopes
f234de1440 doc(msvc): improve intellisense instructions 2018-02-06 10:11:10 -08:00
Nuno Lopes
8019914ad4 doc(msvc): add instructions on how to get Intellisense working 2018-02-06 10:11:10 -08:00
Nuno Lopes
59b5a4a07a feat(build): add preliminary MSVC support
Still doesn't build fully, but at least Intellisense sort of works now
2018-02-06 10:11:09 -08:00
Sebastian Ullrich
b3262d53b4 feat(frontends/lean/elaborator): structure notation: fall back to inferring superclasses 2018-02-02 08:58:53 -08:00
Sebastian Ullrich
86e231e6c9 feat(frontends/lean/structure_cmd): make superclass fields inst implicit 2018-02-02 08:58:53 -08:00
Sebastian Ullrich
9f25cf665e feat(frontends/lean/elaborator): structure instance notation: allow implicit fields 2018-02-02 08:58:53 -08:00
Sebastian Ullrich
7644de75d8 chore(doc/make/msys2): link generic build instructions 2018-02-01 10:46:12 +01:00
Sean Leather
ddfd52b863 fix(doc/make/index.md): link typo 2018-02-01 09:53:26 +01:00
Leonardo de Moura
0ad5497462 refactor(library/io): make io easier to extend and use 2018-01-23 15:03:31 -08:00
matt rice
1538615e8c feat(util): allow some math alphanum symbol latin letter variations
Add the Script, Double-struck, and Fractur blocks from,
https://unicode.org/charts/PDF/U1D400.pdf
to is_letter_like() so they may be bound to variables.
2018-01-23 11:20:05 -08:00
Sebastian Ullrich
19f8bfd9eb chore(doc/make): add platform-generic build instructions 2018-01-23 11:14:18 -08:00
Leonardo de Moura
368f17d0b1 feat(library/tactic/simplify): add simp! 2018-01-16 17:29:24 -08:00
Leonardo de Moura
c195d7c2a1 feat(library/tactic/simp_tactic): improve mk_simp_attr
- An new simp attribute may depend on other existing attributes

- Add `[norm]` simp attribute. It is an extension of the default `[simp]` attribute.
  It should be used to add extra rules for normalizing goals.
  These extra rules are used to produce normal forms and/or reduce the
  number of constants used in a goal. Here is an example coming from a
  discussion with @kha. When working with monads, we may want to
  eliminate `<$>` by using the lemma `f <$> x = x >>= pure ∘ f`.
  This lemma is in the `[norm]` simp set, but it is not in `[simp]`
2018-01-16 16:47:30 -08:00
Sebastian Ullrich
1d1e997809 chore(doc/changes): document new leanpkg features 2018-01-15 09:58:19 +01:00
Sebastian Ullrich
b354feb8b9 fix(leanpkg): mandate path = "src"
Fixes #1880
2018-01-15 09:58:19 +01:00
Leonardo de Moura
cebde17bec feat(library/tactic/simplify): simp reduces c a_1 ... a_n = c b_1 ... b_n into a_1 = b_1 /\ ... /\ a_n = b_n 2018-01-12 18:18:56 -08:00
Leonardo de Moura
58fce78282 feat(library/init/meta/interactive): add interactive tactic subst_vars 2018-01-12 14:37:11 -08:00
Leonardo de Moura
5bad6d5372 feat(library/init/meta/tactic): subst supports heterogeneous equalities that are actually homogeneous 2018-01-12 14:32:49 -08:00
Leonardo de Moura
4bd314f7bd feat(library/tactic/simplify): simp reduces c_1 ... = c_2 ... to false 2018-01-12 11:30:45 -08:00