# 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 and the credits. The book contains no Lean files of its own and no code copied from Lean, Mathlib or the checkers.

**What it does not cover:**

- The quoted theorem statement from github.com/openai/math, which is released under the Apache 2.0 licence; the quotation is credited on the credits page.
- Lean, leanchecker and the comparator tool named in CREDITS.md, which have their own licences (Lean 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 repeat the checks yourself? See [Check it yourself](VERIFY.md).
