Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A textbook on informal homotopy type theory
branch: master

Merge pull request #774 from mikeshulman/constructive

make description of PAT/constructive logic in intro less wrong
latest commit 662cdd86b5
Steve Awodey awodey authored
Failed to load latest commit information.
coq_introduction Updated Reading_HoTT_in_Coq for Coq 8.4pl3
cover/torus Fix file permissions
etc/ci Retry wget resolution when downloading fails
other index-helper: exclude \indexdefs containing backslashes
.gitattributes Try to prevent line ending problems
.gitignore Add *.out.pdf to .gitignore
.travis.yml Package 'mh' no longer exists, so get 'mathtools' for travis instead
CONTRIBUTING.md re-fix some grammar
CONVENTIONS.txt Specified which characters are ok in labels
GIT_CHEATSHEET.txt Changed instructions that tell people to use `git add --all`,
Makefile Add dvimode, remove pagecolor package
README.md Changed version.txt to version.tex (twice)
back.tex omit header on blank versos, fix #269
basics.tex Update basics.tex
blurb.tex justify back cover
bmpsize-hack.tex Add dvimode, remove pagecolor package
categories.tex added erratum for hom-typo in categories
cleveref.sty Update cleveref from 0.17.9 to 0.19
cover-a4.tex Add dvimode, remove pagecolor package
cover-hires-back-bw.png Blue-gray cover, B&W version of cover for home printing
cover-hires-back.png Blue-gray cover, B&W version of cover for home printing
cover-hires-bw.png Blue-gray cover, B&W version of cover for home printing
cover-hires-front-bw.png Blue-gray cover, B&W version of cover for home printing
cover-hires-front.png Blue-gray cover, B&W version of cover for home printing
cover-hires.png Blue Steve with dark gray torus
cover-letter.tex Add dvimode, remove pagecolor package
cover-lores-back-bw.png Reduce size of low resolution images
cover-lores-back.png Reduce size of low resolution images
cover-lores-front-bw.png Reduce size of low resolution images
cover-lores-front.png Reduce size of low resolution images
cover-lores.png Reduce size of low resolution images
cover-lulu-hardcover.png Remove alpha channel from Lulu cover images
cover-lulu-hardcover.tex Remove transparency from lulu.com covers
cover-lulu-paperback.png Remove alpha channel from Lulu cover images
cover-lulu-paperback.tex Remove transparency from lulu.com covers
equivalences.tex Update equivalences.tex
errata.tex Mark Errata (auto)
exercise_solutions.tex another fix for exercise_solutions.tex, I haven't checked whether it …
filter-errata rename filtered-errata files to not clash with those posted on the we…
formal.tex Last rule of Section A.2.2, lines 591 and 592
front.tex Made the visible URL's fixed-width
frontpage.tex white letters on gray-blue
geometry.sty Added geometry.sty and ifxetex.sty.
halpha.bst replace natbib by halpha, close #220
hits.tex P in the flattening lemma is defined *recursively*, not inductively
hlevels.tex Fix a couple of issues with Lemma 7.5.12
homotopy.tex Replace `\autoref` with `\cref` throughout.
hott-a4.tex A4 version
hott-ebook.tex changed "resultion" to "resolution" on line 3
hott-letter.tex Bastard title, fix ebook format.
hott-online.tex Bastard title, fix ebook format.
hott-ustrade.tex Bastard title, fix ebook format.
ifxetex.sty Added geometry.sty and ifxetex.sty.
induction.tex Fixed several tiny (non-mathematical) typos
introduction.tex Merge pull request #774 from mikeshulman/constructive
logic.tex Fixed several tiny (non-mathematical) typos
macros.tex introduced macro for uniq
main.labelnumbers.first-edition A script to automatically check whether label numbers have changed
main.tex Add dvimode, remove pagecolor package
mark-errata Make the errata marker work after merges
mathpartir.sty Misspellings run
opt-a4.tex fix ebook-overfulls
opt-bastard.tex Bastard title, fix ebook format.
opt-black-white.tex Tweaks to allow latex (and not only pdflatex) to compile the book
opt-color.tex Tweaks to allow latex (and not only pdflatex) to compile the book
opt-cover.tex New and shiny cover
opt-ebook.tex fix ebook-overfulls
opt-letter.tex fix ebook-overfulls
opt-no-bastard.tex Bastard title, fix ebook format.
opt-no-cover.tex New and shiny cover
opt-ustrade.tex fix ebook-overfulls
preface.tex "univalent foundations" is not capitalized
preliminaries.tex Merge pull request #728 from mikeshulman/punctured-disc
reals.tex corrections as per PR comments in issue #751
references.bib restored original bracketing, as per discussion the pull request
setmath.tex fix an ambiguous sentence
symbols.tex also removed uniqueness for dependent pair types from symbol list
torus-hires-bw.png Half-title page, variable quality of images.
torus-lores-bw.png Reduce size of low resolution images

README.md

This is a textbook that we are writing on informal homotopy type theory. It is part of the Univalent foundations of mathematics project that took place at the Institute for Advanced Study in 2012/13.

License

This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

Prerequisites and compilation

To compile the book you need a fairly new version of LaTeX. Texlive 2012 is confirmed to work. You might need to install some packages, see main.tex for packages that are used by the book.

BasicTeX, which is a minimalistic version of MacTeX is confirmed to work once the following packages have been installed: tlmgr, install, braket, comment, courier, enumitem, helvetic, mathpazo, nextpage, ntheorem, palatino, rsfs, stmaryrd, symbol, titlesec, wallpaper, wasy, wasysym, xstring, zapfding.

You also need the make utility. The book is a fairly complex piece of LaTeX code. Also, the file version.tex is generated on the fly, so you will need the make utility with which you can compile the main files, as follows:

  • make hott-online.pdf -- the book appropriate for online reading, with colors and green links
  • make hott-ebook.pdf -- the book with small margins, suitable for ebook readers
  • make hott-letter.pdf hott-cover.pdf -- the book in black & white, letter paper format, for printing at home, as well as a color cover (just two pages)
  • make hott-a4.pdf hott-a4.pdf -- the book in black & white, A4 paper format, for printing at home, as well as a color cover (just two pages)
  • make hott-ustrade.pdf cover-lulu-hardcover.pdf cover-lulu-paperback.pdf -- the book in US Trade format, without cover, used for the bound copy available at http://lulu.com/
  • make exercise_solutions.pdf -- compile (some) solutions to exercises

If you do not have make (for example, because you are on MacOS and you did not install the XCode command-line utilities), you can still fake it as follows. Create the file version.tex and put in it (where "Joe Hacker" should be replaced with your name):

\newcommand{\OPTversion}{Joe-Hacker-version}

Then use whatever tools you normally do to compile LaTeX. The main LaTeX files are called hott-XXX.tex. But you really should have make, you know.

Once make is run so that version.tex gets generated, you need not run make again. You can just perform the usual LaTeX cycle from your favorite editor.

Something went wrong with that request. Please try again.