Giter Site home page Giter Site logo

hott-agda's Introduction

HoTT-agda

Formalization of Homotopy Type Theory in Agda for use in my Youtube videos

This formalization is largely based on the Agda formalization of HoTT by Egbert Rijke. In the Table of Contents below, files marked "Original" are not derived from Egbert's formalization.

All files should be considered "work in progress"; but any lines that appear in a video will be kept as-is, for consistency.

Table of Contents

Main files

  • 00-preamble.agda
    • Bookkeeping of universe levels
    • Copy of 00-preamble.agda
      • hanged UU to Type
    • Briefly appears in video No. 2 (optional)
    • To be discussed more in a future video
  • 01-simpleTT.agda
    • Simple type theory: unit, bool, empty, non-dependent products and functions, propositional logic
    • Partially based on 04-inductive-types.agda
      • Uses on and off for the names of the booleans, to avoid confusion with propositions-as-types notions of "true" (inhabitedness) and "false" (uninhabitedness)
    • Appears in videos No. 2,3,4

Examples and Sandboxes

  • exp-square/ (Original)
    • Example of constructive proof in Agda, some annotations of key ideas (exp-square.agda). Accompanying library (lib.agda).
    • Appears in video No. 1, Part 3
    • Not connected to main files (self-contained)
  • sandbox-02.agda (Original)
    • Example of term declaration and computation in Agda (using Agda.Builtin.String and Agda.Builtin.Nat)
    • Appears in video No. 2
  • sandbox-03.agda (Original)
    • More bool examples (using Agda.Builtin.String and Agda.Builtin.Nat)
    • Appears in video No. 3
  • sandbox-04.agda (Original)
    • Toy example with implications, successor function (using Agda.Builtin.Nat)
    • Appears in video No. 3
  • example-daysOfWeek.agda (Original)
    • Example of basic type introduction & pattern-matching. Uses days of the week as example.
    • Appears in video No. 2
  • example-divmod.agda (Original)
    • Example of using booleans for computation
    • To appear in video No. 3

hott-agda's People

Contributors

jacobneu avatar

Stargazers

Simeon Duwel avatar Dongming Yao avatar wolfi3 avatar Ivory E.Seagull avatar Víctor Adán avatar Yunis avatar Tomaz Gomes Mascarenhas avatar Rusty avatar Niklas Gruhn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.