# Licence

The files Sonny wrote for this book are under the [Creative Commons Attribution 4.0 International licence (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). You may copy, share and adapt them for any purpose, as long as you give credit.

**How to give credit:** "Sonny (Sonny), gocheckyourself.org", with a link to the page or file you used, and a note saying what you changed, if anything.

**What it covers:** the chapters, the statement pages, the check guide, the credits, the seven short Lean demonstration files and the project files that build them. The Lean files contain no code copied from Lean, Mathlib or the checkers; they use Lean's public language and library.

**What it does not cover:**

- Lean and the tools named in CREDITS.md (Lean, nanoda, lean4lean, lean4export and leanchecker are Apache 2.0). None of their code ships in this book.
- Programs that are not part of this book, and work that is not published on this site.
- Trade marks, and the other rights that section 2(b) of the licence leaves out.

The licence file is [LICENSE-CC-BY-4.0.txt](LICENSE-CC-BY-4.0.txt); the full legal code is at https://creativecommons.org/licenses/by/4.0/legalcode.

## Where to go next

- Which tools and texts does this book rely on, and under what licences? See [Credits](CREDITS.md).
- How do you rerun the seven demonstrations yourself? See [Check it yourself](VERIFY.md).
