Commit graph

78 commits

Author SHA1 Message Date
Leonardo de Moura
b36ce49f2b fix(tests,doc): adjust tests to changes in the standard library 2015-12-05 23:52:16 -08:00
Leonardo de Moura
c280ddb2b0 fix(tests,doc): adjust tests and documentation 2015-11-20 17:03:17 -08:00
Leonardo de Moura
6df31d3406 refactor(library/data/nat/basic): mark some theorems as protected to avoid overloading 2015-11-08 14:04:56 -08:00
Leonardo de Moura
4e78e35f77 fix(tests/lean): adjust remaining tests to changes in the standard library 2015-11-08 14:04:56 -08:00
Leonardo de Moura
49eb7166f0 refactor(library/data): rename fixed_list -> tuple 2015-08-13 16:45:34 -07:00
Leonardo de Moura
d2eb99bf11 refactor(library/logic): move logic/choice.lean to init/classical.lean
choice axiom is now in the classical namespace.
2015-08-12 18:37:33 -07:00
Leonardo de Moura
b4024982a2 refactor(library/data): move vector as indexed family to examples folder 2015-08-12 15:05:14 -07:00
Théo Zimmermann
698b368f01 fix(doc): fix confusion between Prop and Bool
this fix assumes that Prop and Bool are two different things but even if they were the same thing, using the two names would only confuse the reader
2015-07-30 10:21:43 -07:00
Théo Zimmermann
923d12553e fix(doc): correct two more mistakes
- fix a mistake in code example
- fix singular/plural confusion
2015-07-30 10:21:42 -07:00
Théo Zimmermann
3598a6610f fix(doc): add missing words to fix meaning 2015-07-30 10:21:42 -07:00
Théo Zimmermann
b5432d4d3b fix(doc): corrects language mistakes
corrects two confusions between singular and plural
2015-07-30 10:21:42 -07:00
Théo Zimmermann
c4e48a184c fix(doc): fix subsection title
expand "(disjunction)" title for consistency with the other subsection titles around
2015-07-30 10:21:42 -07:00
Théo Zimmermann
dd0a8b7743 fix(doc): remove misplaced capital letter 2015-07-30 10:21:42 -07:00
Théo Zimmermann
7202e076dd fix(doc): correct language mistakes 2015-07-30 10:21:42 -07:00
Leonardo de Moura
bbd6946a15 refactor(library/logic/axioms): we have only one extra axiom 2015-07-29 13:36:23 -07:00
Leonardo de Moura
7e0844a9e6 fix(tests): to reflect recent changes in the standard library 2015-07-06 15:05:01 -07:00
Leonardo de Moura
7940889495 fix(doc/lean/library_style): adjust to reflect changes in the standard library 2015-06-16 11:29:17 -07:00
Leonardo de Moura
375997fe65 fix(doc/lean/library_style): adjust to reflect changes in the standard library 2015-05-25 16:56:00 -07:00
Jeremy Avigad
5ae63c07a6 fix(doc/lean/library_style.org): remove unnecessary header line 2015-05-16 17:53:35 +10:00
Jeremy Avigad
0eb52e1f8b fix(doc/library_style.org): use org format for headers 2015-05-13 22:19:02 -07:00
Leonardo de Moura
22a0e80ae8 fix(doc/lean/library_style): fix more code snippets 2015-05-12 06:42:41 -07:00
Leonardo de Moura
5cde3d5c1c fix(doc/lean/library_style): code snippets must be valid Lean code
The test suite executes all code snippets in .org files and report errors.
2015-05-12 06:38:16 -07:00
Jeremy Avigad
b2dd95114b feat(doc/lean/library_style.org,README.md): add library style conventions 2015-05-12 06:20:51 -07:00
Leonardo de Moura
57ea660963 refactor(*): start process for eliminating of opaque definitions from the kernel
see issue #576
2015-05-08 16:06:04 -07:00
Soonho Kong
8243ed6339 fix(test*.sh): allow spaces in filename
fix #515
2015-03-28 23:29:52 -04:00
Leonardo de Moura
61cdec73f6 chore(doc/lean/lexical): remove obsolete documentation from Lean 0.1 2015-03-06 14:22:05 -08:00
Leonardo de Moura
f53a956a28 fix(doc/lean/expr): remove obsolete documentation
It is subsumed by the Lean tutorial.

closes #431
2015-02-12 18:03:57 -08:00
Leonardo de Moura
b4d6f6e3ed feat(frontends/lean): 'attribute' command is persistent by default 2015-01-26 11:51:17 -08:00
Leonardo de Moura
4f2e0c6d7f refactor(frontends/lean): add 'attribute' command
The new command provides a uniform way to set declaration attributes.
It replaces the commands: class, instance, coercion, multiple_instances,
reducible, irreducible
2015-01-24 20:23:21 -08:00
Leonardo de Moura
2e4a2451e6 refactor(library/reducible): simplify reducible/irreducible semantics 2015-01-08 18:52:18 -08:00
Jeremy Avigad
486bc321ff refactor(library/data/nat): rename theorems 2014-12-23 21:14:35 -05:00
Leonardo de Moura
5cf8064269 refactor(library): rename exists_elim and exists_intro to exists.elim
and exists.intro
2014-12-15 19:07:38 -08:00
Jeremy Avigad
3e9a484851 refactor(library/logic/connectives): rename theorems 2014-12-15 15:05:44 -05:00
Leonardo de Moura
d204d9c025 fix(doc/lean/test_single): "race condition" when running tests in parallel 2014-10-10 17:28:39 -07:00
Leonardo de Moura
4946f55290 refactor(frontends/lean): constant/axiom are top-level commands, parameter/variable/hypothesis/conjecture are section/context-level commands
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-10-02 17:55:34 -07:00
Leonardo de Moura
98e66586e9 feat(frontends/lean/elaborator): elaborator rejects 'Type' if the universe is explicit 2014-10-02 14:29:51 -07:00
Leonardo de Moura
153e3927ac feat(frontends/lean/elaborator): modify '!' semantics: it stops consuming arguments as soon it finds an argument that does not occur in the rest of the type. 2014-10-01 18:50:17 -07:00
Leonardo de Moura
e64d5c4a4a refactor(library/data/nat): use new operator '!' 2014-10-01 18:39:47 -07:00
Leonardo de Moura
7262cce37a fix(doc/lean): typos 2014-09-20 07:44:48 -07:00
Leonardo de Moura
0faa48c5b8 doc(reducible): add documentation for reducible hints. 2014-09-19 18:07:01 -07:00
Leonardo de Moura
a15cb32bae doc(declarations): private, opaque, protected definitions 2014-09-19 17:10:27 -07:00
Leonardo de Moura
6632a50015 refactor(library): add namespaces 'or', 'and' and 'iff'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 21:25:21 -07:00
Leonardo de Moura
68d9bef860 refactor(library): add 'eq' and 'ne' namespaces
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 18:41:06 -07:00
Leonardo de Moura
2bc6f92d33 refactor(library): add 'and' namespace
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 17:44:53 -07:00
Leonardo de Moura
364bba2129 feat(frontends/lean/inductive_cmd): prefix introduction rules with the name of the inductive datatype
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 17:26:36 -07:00
Leonardo de Moura
e51c4ad2e9 feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-03 16:00:38 -07:00
Leonardo de Moura
6b7e79b62f feat(library/data/nat): mark more arguments implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-28 10:38:58 -07:00
Leonardo de Moura
2d78387541 refactor(library/logic/basic): rename absurd_elim to absurd, delete contrapos and trivial_not_true theorems
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-27 18:34:09 -07:00
Leonardo de Moura
a8d58fdd33 refactor(library): mark absurd_elim argument as implicit
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-26 18:27:39 -07:00
Leonardo de Moura
800d3bd70a fix(doc/lean/tutorial): typos
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-25 11:22:15 -07:00