Rewrite as a single shared library.

finite-set-exercises
Joshua Potter 2023-04-22 14:20:37 -06:00
parent 1724adf00d
commit c46e2d2fb4
84 changed files with 59 additions and 182 deletions

8
.gitignore vendored
View File

@ -1,8 +1,8 @@
# Lean
*/build
*/lake-packages
*/_target
*/leanpkg.path
build
lake-packages
_target
leanpkg.path
# TeX
*.aux

View File

@ -1,3 +1,3 @@
import Bookshelf.List
import Bookshelf.Real
import Bookshelf.Tuple
import Bookshelf.Tuple

View File

@ -0,0 +1 @@
import FirstCourseAbstractAlgebra.Fraleigh

View File

@ -0,0 +1 @@
import FirstCourseAbstractAlgebra.Fraleigh.Chapter1

View File

@ -0,0 +1 @@
import MathematicalIntroductionLogic.Enderton

View File

@ -0,0 +1 @@
import MathematicalIntroductionLogic.Enderton.Chapter0

View File

@ -1,6 +1,6 @@
\documentclass{article}
\input{../../shared/preamble}
\input{../../preamble}
\begin{document}

1
MockMockingbird.lean Normal file
View File

@ -0,0 +1 @@
import MockMockingbird.Smullyan

View File

@ -1,6 +1,6 @@
\documentclass{article}
\input{../../shared/preamble}
\input{../../preamble}
\begin{document}

1
OneVariableCalculus.lean Normal file
View File

@ -0,0 +1 @@
import OneVariableCalculus.Apostol

View File

@ -0,0 +1,3 @@
import OneVariableCalculus.Apostol.Chapters
import OneVariableCalculus.Apostol.Exercises
import OneVariableCalculus.Apostol.Real

View File

@ -0,0 +1 @@
import OneVariableCalculus.Apostol.Chapters.Chapter_I_3

View File

@ -1,7 +1,7 @@
\documentclass{article}
\usepackage[shortlabels]{enumitem}
\input{../../shared/preamble}
\input{../../../preamble}
\begin{document}

View File

@ -0,0 +1 @@
import OneVariableCalculus.Apostol.Exercises.Exercises_I_3_12

View File

@ -9,8 +9,8 @@ import Mathlib.Data.Real.Basic
import Mathlib.Data.Real.Sqrt
import Mathlib.Tactic.LibrarySearch
import Apostol.Chapters.Chapter_I_3
import Bookshelf.Real.Rational
import OneVariableCalculus.Apostol.Chapters.Chapter_I_3
-- ========================================
-- Exercise 1

View File

@ -0,0 +1,3 @@
import OneVariableCalculus.Apostol.Real.Function
import OneVariableCalculus.Apostol.Real.Geometry
import OneVariableCalculus.Apostol.Real.Set

View File

@ -0,0 +1 @@
import OneVariableCalculus.Apostol.Real.Function.Step

View File

@ -1,8 +1,8 @@
import Mathlib.Data.Fin.Basic
import Mathlib.Tactic.NormNum
import Apostol.Real.Set.Partition
import Bookshelf.Real.Basic
import OneVariableCalculus.Apostol.Real.Set.Partition
namespace Real.Function

View File

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

View File

@ -3,8 +3,8 @@ Chapter 1.6
The concept of area as a set function
-/
import Apostol.Real.Function.Step
import Apostol.Real.Geometry.Rectangle
import OneVariableCalculus.Apostol.Real.Function.Step
import OneVariableCalculus.Apostol.Real.Geometry.Rectangle
namespace Real.Geometry.Area

View File

@ -1,4 +1,4 @@
import Apostol.Real.Geometry.Basic
import OneVariableCalculus.Apostol.Real.Geometry.Basic
namespace Real

View File

@ -0,0 +1 @@
import OneVariableCalculus.Apostol.Real.Set.Partition

View File

@ -0,0 +1 @@
import TheoremProvingInLean.Avigad

View File

@ -0,0 +1,6 @@
import TheoremProvingInLean.Avigad.Chapter2
import TheoremProvingInLean.Avigad.Chapter3
import TheoremProvingInLean.Avigad.Chapter4
import TheoremProvingInLean.Avigad.Chapter5
import TheoremProvingInLean.Avigad.Chapter7
import TheoremProvingInLean.Avigad.Chapter8

View File

@ -1 +0,0 @@
import Fraleigh.Chapter1

View File

@ -1,28 +0,0 @@
{"version": 4,
"packagesDir": "lake-packages",
"packages":
[{"path": {"name": "Bookshelf", "dir": "./../shared"}},
{"git":
{"url": "https://github.com/leanprover-community/mathlib4.git",
"subDir?": null,
"rev": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a",
"name": "mathlib",
"inputRev?": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a"}},
{"git":
{"url": "https://github.com/gebner/quote4",
"subDir?": null,
"rev": "7ae096b232087096ff0243a2b70d32720d2621ae",
"name": "Qq",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/JLimperg/aesop",
"subDir?": null,
"rev": "071464ac36e339afb7a87640aa1f8121f707a59a",
"name": "aesop",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/leanprover/std4",
"subDir?": null,
"rev": "5507f9d8409f93b984ce04eccf4914d534e6fca2",
"name": "std",
"inputRev?": "main"}}]}

View File

@ -1,12 +0,0 @@
import Lake
open Lake DSL
package «first-course-abstract-algebra»
require Bookshelf from "../shared"
require mathlib from git
"https://github.com/leanprover-community/mathlib4.git" @
"0107c50abf149a48b5b9ad08a0b2a2093bcb567a"
@[default_target]
lean_lib «fraleigh»

20
lakefile.lean Normal file
View File

@ -0,0 +1,20 @@
import Lake
open Lake DSL
package «bookshelf»
require mathlib from git
"https://github.com/leanprover-community/mathlib4.git" @
"0107c50abf149a48b5b9ad08a0b2a2093bcb567a"
@[default_target]
lean_lib «Bookshelf» {
roots := #[
`Bookshelf,
`FirstCourseAbstractAlgebra,
`MathematicalIntroductionLogic,
`MockMockingbird,
`OneVariableCalculus,
`TheoremProvingInLean
]
}

View File

@ -1 +0,0 @@
import Enderton.Chapter0

View File

@ -1,28 +0,0 @@
{"version": 4,
"packagesDir": "lake-packages",
"packages":
[{"path": {"name": "Bookshelf", "dir": "./../shared"}},
{"git":
{"url": "https://github.com/leanprover-community/mathlib4.git",
"subDir?": null,
"rev": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a",
"name": "mathlib",
"inputRev?": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a"}},
{"git":
{"url": "https://github.com/gebner/quote4",
"subDir?": null,
"rev": "7ae096b232087096ff0243a2b70d32720d2621ae",
"name": "Qq",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/JLimperg/aesop",
"subDir?": null,
"rev": "071464ac36e339afb7a87640aa1f8121f707a59a",
"name": "aesop",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/leanprover/std4",
"subDir?": null,
"rev": "5507f9d8409f93b984ce04eccf4914d534e6fca2",
"name": "std",
"inputRev?": "main"}}]}

View File

@ -1,9 +0,0 @@
import Lake
open Lake DSL
package «mathematical-introduction-logic»
require Bookshelf from "../shared"
@[default_target]
lean_lib «enderton»

View File

@ -1 +0,0 @@
leanprover/lean4:nightly-2023-04-02

View File

@ -1,7 +0,0 @@
import Lake
open Lake DSL
package «mock-mockingbird»
@[default_target]
lean_lib «Smullyan»

View File

@ -1 +0,0 @@
leanprover/lean4:nightly-2023-04-02

View File

@ -1,3 +0,0 @@
import Apostol.Chapters
import Apostol.Exercises
import Apostol.Real

View File

@ -1 +0,0 @@
import Apostol.Chapters.Chapter_I_3

View File

@ -1 +0,0 @@
import Apostol.Exercises.Exercises_I_3_12

View File

@ -1,3 +0,0 @@
import Apostol.Real.Function
import Apostol.Real.Geometry
import Apostol.Real.Set

View File

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

View File

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

View File

@ -1 +0,0 @@
import Apostol.Real.Set.Partition

View File

@ -1,28 +0,0 @@
{"version": 4,
"packagesDir": "lake-packages",
"packages":
[{"path": {"name": "Bookshelf", "dir": "./../shared"}},
{"git":
{"url": "https://github.com/leanprover-community/mathlib4.git",
"subDir?": null,
"rev": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a",
"name": "mathlib",
"inputRev?": "0107c50abf149a48b5b9ad08a0b2a2093bcb567a"}},
{"git":
{"url": "https://github.com/gebner/quote4",
"subDir?": null,
"rev": "7ae096b232087096ff0243a2b70d32720d2621ae",
"name": "Qq",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/JLimperg/aesop",
"subDir?": null,
"rev": "071464ac36e339afb7a87640aa1f8121f707a59a",
"name": "aesop",
"inputRev?": "master"}},
{"git":
{"url": "https://github.com/leanprover/std4",
"subDir?": null,
"rev": "5507f9d8409f93b984ce04eccf4914d534e6fca2",
"name": "std",
"inputRev?": "main"}}]}

View File

@ -1,12 +0,0 @@
import Lake
open Lake DSL
package «one-variable-calculus»
require Bookshelf from "../shared"
require mathlib from git
"https://github.com/leanprover-community/mathlib4.git" @
"0107c50abf149a48b5b9ad08a0b2a2093bcb567a"
@[default_target]
lean_lib «apostol»

View File

@ -1 +0,0 @@
leanprover/lean4:nightly-2023-04-02

View File

@ -1,11 +0,0 @@
import Lake
open Lake DSL
package «Bookshelf»
require mathlib from git
"https://github.com/leanprover-community/mathlib4.git" @
"0107c50abf149a48b5b9ad08a0b2a2093bcb567a"
@[default_target]
lean_lib «Bookshelf»

View File

@ -1 +0,0 @@
leanprover/lean4:nightly-2023-04-02

View File

@ -1,6 +0,0 @@
import Avigad.Chapter2
import Avigad.Chapter3
import Avigad.Chapter4
import Avigad.Chapter5
import Avigad.Chapter7
import Avigad.Chapter8

View File

@ -1 +0,0 @@
{"version": 4, "packagesDir": "lake-packages", "packages": []}

View File

@ -1,7 +0,0 @@
import Lake
open Lake DSL
package «theorem-proving-in-lean»
@[default_target]
lean_lib «avigad»

View File

@ -1 +0,0 @@
leanprover/lean4:nightly-2023-04-02