feat(library/init): create markdown directory file
This commit is contained in:
parent
da719e6ee4
commit
2b56a2b891
11 changed files with 65 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.default
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
44
library/init/init.md
Normal file
44
library/init/init.md
Normal file
|
@ -0,0 +1,44 @@
|
|||
init
|
||||
====
|
||||
|
||||
The modules in this folder are required by low-level operations, and
|
||||
are always imported by default. You can suppress this behavior by
|
||||
beginning a file with the keyword "prelude".
|
||||
|
||||
Syntax declarations:
|
||||
|
||||
* [reserved_notation](reserved_notation.lean)
|
||||
* [tactic](tactic.lean)
|
||||
* [priority](priority.lean)
|
||||
|
||||
Datatypes and logic:
|
||||
|
||||
* [datatypes](datatypes.lean)
|
||||
* [logic](logic.lean)
|
||||
* [bool](bool.lean)
|
||||
* [num](num.lean)
|
||||
* [nat](nat.lean)
|
||||
|
||||
Support for well-founded recursion:
|
||||
|
||||
* [relation](relation.lean)
|
||||
* [wf](wf.lean)
|
||||
* [wf_k](wf_k.lean)
|
||||
* [measurable](measurable.lean)
|
||||
|
||||
Additional datatypes:
|
||||
|
||||
* [prod](prod.lean)
|
||||
* [sigma](sigma.lean)
|
||||
|
||||
The default import:
|
||||
|
||||
* [default](default.lean)
|
||||
|
||||
Module init.logic defines "inhabited" and "nonempty"
|
||||
types. Constructively, inhabited types have a witness, while nonempty
|
||||
types are proof irrelevant. Classically (assuming the axioms in
|
||||
logic.axioms.hilbert) the two are equivalent. Type class inferences
|
||||
are set up to use "inhabited" however, so users should use that to
|
||||
declare that types have an element. Use "nonempty" in the hypothesis
|
||||
of a theorem when the theorem does not depend on the witness chosen.
|
|
@ -2,7 +2,10 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.measurable
|
||||
Authors: Leonardo de Moura
|
||||
|
||||
Types with a nat-valued complexity measure.
|
||||
-/
|
||||
prelude
|
||||
import init.nat
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/-
|
||||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.nat
|
||||
Authors: Floris van Doorn, Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.num
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.priority
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: data.prod.decl
|
||||
Module: init.prod
|
||||
Author: Leonardo de Moura, Jeremy Avigad
|
||||
-/
|
||||
prelude
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/-
|
||||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module init.relation
|
||||
Authors: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
-- Released under Apache 2.0 license as described in the file LICENSE.
|
||||
-- Author: Leonardo de Moura, Jeremy Avigad, Floris van Doorn
|
||||
/-
|
||||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.sigma
|
||||
Author: Leonardo de Moura, Jeremy Avigad, Floris van Doorn
|
||||
-/
|
||||
prelude
|
||||
import init.num init.wf init.logic init.tactic
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.tactic
|
||||
Author: Leonardo de Moura
|
||||
|
||||
This is just a trick to embed the 'tactic language' as a Lean
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
/-
|
||||
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
|
||||
Released under Apache 2.0 license as described in the file LICENSE.
|
||||
|
||||
Module: init.wf
|
||||
Author: Leonardo de Moura
|
||||
-/
|
||||
prelude
|
||||
|
|
Loading…
Reference in a new issue