Rename `Bookshelf` to `Common`.

finite-set-exercises
Joshua Potter 2023-05-08 13:37:02 -06:00
parent df1537b71a
commit b0a30ed4b4
40 changed files with 62 additions and 54 deletions

View File

@ -1,4 +0,0 @@
import Bookshelf.Combinator
import Bookshelf.List
import Bookshelf.LTuple
import Bookshelf.Real

View File

@ -1 +0,0 @@
import Bookshelf.Combinator.Aviary

View File

@ -1 +0,0 @@
import Bookshelf.LTuple.Basic

View File

@ -1 +0,0 @@
import Bookshelf.List.Basic

View File

@ -1,7 +0,0 @@
import Bookshelf.Real.Basic
import Bookshelf.Real.Function
import Bookshelf.Real.Geometry
import Bookshelf.Real.Int
import Bookshelf.Real.Rational
import Bookshelf.Real.Sequence
import Bookshelf.Real.Set

View File

@ -1 +0,0 @@
import Bookshelf.Real.Function.Step

View File

@ -1,3 +0,0 @@
import Bookshelf.Real.Geometry.Area
import Bookshelf.Real.Geometry.Basic
import Bookshelf.Real.Geometry.Rectangle

View File

@ -1,2 +0,0 @@
import Bookshelf.Real.Sequence.Arithmetic
import Bookshelf.Real.Sequence.Geometric

View File

@ -1,3 +0,0 @@
import Bookshelf.Real.Set.Basic
import Bookshelf.Real.Set.Interval
import Bookshelf.Real.Set.Partition

4
Common.lean Normal file
View File

@ -0,0 +1,4 @@
import Common.Combinator
import Common.List
import Common.LTuple
import Common.Real

1
Common/Combinator.lean Normal file
View File

@ -0,0 +1 @@
import Common.Combinator.Aviary

View File

@ -1,4 +1,4 @@
/-! # Bookshelf.Combinator.Aviary
/-! # Common.Combinator.Aviary
A collection of combinator birds representable in Lean. Certain duplicators,
e.g. mockingbirds, are not directly expressible since they would require

1
Common/LTuple.lean Normal file
View File

@ -0,0 +1 @@
import Common.LTuple.Basic

View File

@ -1,6 +1,6 @@
import Mathlib.Tactic.Ring
/-! # Bookshelf.LTuple.Basic
/-! # Common.LTuple.Basic
The following is a representation of a (possibly empty) left-biased tuple. A
left-biased `n`-tuple is defined recursively as follows:

1
Common/List.lean Normal file
View File

@ -0,0 +1 @@
import Common.List.Basic

View File

@ -1,7 +1,7 @@
import Mathlib.Data.Fintype.Basic
import Mathlib.Tactic.NormNum
/-! # Bookshelf.List.Basic
/-! # Common.List.Basic
Additional theorems and definitions useful in the context of `List`s.
-/

7
Common/Real.lean Normal file
View File

@ -0,0 +1,7 @@
import Common.Real.Basic
import Common.Real.Function
import Common.Real.Geometry
import Common.Real.Int
import Common.Real.Rational
import Common.Real.Sequence
import Common.Real.Set

View File

@ -1,6 +1,6 @@
import Mathlib.Data.Real.Basic
/-! # Bookshelf.Real.Basic
/-! # Common.Real.Basic
A collection of basic notational conveniences.
-/

View File

@ -0,0 +1 @@
import Common.Real.Function.Step

View File

@ -1,7 +1,7 @@
import Bookshelf.Real.Basic
import Bookshelf.Real.Set.Partition
import Common.Real.Basic
import Common.Real.Set.Partition
/-! # Bookshelf.Real.Function.Step
/-! # Common.Real.Function.Step
A characterization of step functions.
-/

View File

@ -0,0 +1,3 @@
import Common.Real.Geometry.Area
import Common.Real.Geometry.Basic
import Common.Real.Geometry.Rectangle

View File

@ -1,7 +1,7 @@
import Bookshelf.Real.Function.Step
import Bookshelf.Real.Geometry.Rectangle
import Common.Real.Function.Step
import Common.Real.Geometry.Rectangle
/-! # Bookshelf.Real.Geometry.Area
/-! # Common.Real.Geometry.Area
An axiomatic foundation for the concept of *area*. These axioms are those
outlined in [^1].

View File

@ -1,7 +1,8 @@
import Bookshelf.Real.Basic
import Mathlib.Data.Real.Sqrt
/-! # Bookshelf.Real.Geometry.Basic
import Common.Real.Basic
/-! # Common.Real.Geometry.Basic
A collection of useful definitions and theorems around geometry.
-/

View File

@ -1,6 +1,6 @@
import Bookshelf.Real.Geometry.Basic
import Common.Real.Geometry.Basic
/-! # Bookshelf.Real.Geometry.Rectangle
/-! # Common.Real.Geometry.Rectangle
A characterization of a rectangle. This follows the definition as outlined in
[^1]. Note that a `Point` and a `LineSegment` are both considered rectangles,

View File

@ -1,5 +1,10 @@
import Mathlib.Data.Real.Basic
/-! # Common.Real.Int
Additional theorems and definitions useful in the context of integers.
-/
namespace Real
/--

View File

@ -1,6 +1,6 @@
import Bookshelf.Real.Basic
import Common.Real.Basic
/-! # Bookshelf.Real.Rational
/-! # Common.Real.Rational
Additional theorems and definitions useful in the context of rational numbers.
Most of these will likely be deleted once the corresponding functions in

View File

@ -0,0 +1,2 @@
import Common.Real.Sequence.Arithmetic
import Common.Real.Sequence.Geometric

View File

@ -1,6 +1,6 @@
import Mathlib.Data.Real.Basic
/-! # Bookshelf.Real.Sequence.Arithmetic
/-! # Common.Real.Sequence.Arithmetic
A characterization of an arithmetic sequence, i.e. a sequence with a common
difference between each term.

View File

@ -3,7 +3,7 @@
\input{../../../preamble}
\newcommand{\link}[1]{\lean{../../..}
{Bookshelf/Real/Sequence/Arithmetic}
{Common/Real/Sequence/Arithmetic}
{Real.Arithmetic.#1}
{Real.Arithmetic.#1}
}

View File

@ -1,6 +1,6 @@
import Mathlib.Data.Real.Basic
/-! # Bookshelf.Real.Sequence.Geometric
/-! # Common.Real.Sequence.Geometric
A characterization of a geometric sequence, i.e. a sequence with a common ratio
between each term.

View File

@ -3,7 +3,7 @@
\input{../../../preamble}
\newcommand{\link}[1]{\lean{../../..}
{Bookshelf/Real/Sequence/Geometric}
{Common/Real/Sequence/Geometric}
{Real.Geometric.#1}
{Real.Geometric.#1}
}

3
Common/Real/Set.lean Normal file
View File

@ -0,0 +1,3 @@
import Common.Real.Set.Basic
import Common.Real.Set.Interval
import Common.Real.Set.Partition

View File

@ -1,6 +1,6 @@
import Mathlib.Data.Real.Basic
/-! # Bookshelf.Real.Set.Basic
/-! # Common.Real.Set.Basic
A collection of useful definitions and theorems regarding sets.
-/

View File

@ -1,6 +1,6 @@
import Mathlib.Data.Real.Basic
/-! # Bookshelf.Real.Set.Interval
/-! # Common.Real.Set.Interval
A syntactic description of the various types of continuous intervals permitted
on the real number line.

View File

@ -1,8 +1,9 @@
import Bookshelf.List.Basic
import Bookshelf.Real.Set.Interval
import Mathlib.Data.List.Sort
/-! # Bookshelf.Real.Set.Partition
import Common.List.Basic
import Common.Real.Set.Interval
/-! # Common.Real.Set.Partition
A description of a partition as defined in the context of stepwise functions.
Refer to [^1] for more information.

View File

@ -6,8 +6,8 @@
\input{../../preamble}
\graphicspath{{./images/}}
\newcommand{\larea}[2]{\lean{../..}{Bookshelf/Real/Geometry/Area}{#1}{#2}}
\newcommand{\lrect}[2]{\lean{../..}{Bookshelf/Real/Geometry/Rectangle}{#1}{#2}}
\newcommand{\larea}[2]{\lean{../..}{Common/Real/Geometry/Area}{#1}{#2}}
\newcommand{\lrect}[2]{\lean{../..}{Common/Real/Geometry/Rectangle}{#1}{#2}}
\begin{document}

View File

@ -1,6 +1,7 @@
import Bookshelf.Real.Int
import Mathlib.Data.Real.Basic
import Common.Real.Int
/-! # Exercises.Apostol.Exercises_1_11 -/
namespace Exercises.Apostol.Exercises_1_11

View File

@ -1,4 +1,4 @@
import Bookshelf.Real.Set
import Common.Real.Set
/-! # Exercises.Apostol.Chapter_I_3

View File

@ -1,4 +1,4 @@
import Bookshelf.LTuple.Basic
import Common.LTuple.Basic
/-! # Exercises.Enderton.Chapter0

View File

@ -16,7 +16,7 @@ require «doc-gen4» from git
@[default_target]
lean_lib «Bookshelf» {
roots := #[`Bookshelf, `Exercises]
roots := #[`Common, `Exercises]
}
/--