Giter VIP home page Giter VIP logo

formalising-mathematics's Introduction

Formalising Mathematics

Repository for the Jan-Mar 2021 EPSRC TCC course on formalising mathematics, delivered to mathematicians at Imperial, Oxford, Bristol, Bath and Warwick.

What is this?

In this course, we're going to be turning maths theorems into levels of a computer game called Lean. We'll start off with proving basic stuff like composite of injective functions is injective. We'll move on to harder mathematics as the course goes on. The course comprises 8 workshops. You don't have to do all the questions in each workshop.

What mathematics is covered?

I took the slightly unconventional approach of blogging about each workshop rather than writing a formal document. Here are links to the eight workshop blog posts (plus an introductory post which explains my motivations for teaching the course):

  1. Introduction
  2. Logic, sets, functions, relations
  3. Groups and subgroups
  4. Sequences and limits
  5. Topology
  6. Filters
  7. Limits
  8. Quotients
  9. Group cohomology

Prerequisites?

You should know some mathematics. For example if you're a second year undergraduate you should easily be able to be able to solve the levels from first few weeks.

You should also get Lean 3 and the community tools installed on your computer. This is unfortunately not as simple as it could be. Here are the instructions . It's recommended that you follow them to the letter.

How to play?

Assuming you have Lean and the user tools installed, first install the repository by firing up a command line, navigating to the directory you want to install this project in, and then typing

leanproject get ImperialCollegeLondon/formalising-mathematics

code formalising-mathematics

and then open up some of the files in src/week1 and you're up and running. Look at the README.md file in src/week1 for more instructions. Fill in the sorrys. Try a couple of levels of the natural number game if you're not sure what's going on.

Important note: if you just use git clone or some "download zip file" option on github then it won't work; you will not have access to Lean's maths library if you try this way (so imports won't work etc).

I failed/couldn't be bothered to install Lean

Well, you can always play along using the community web editor. Here are the four worlds for week 1. You might have to wait for a minute or so until "Lean is busy..." becomes "Lean is ready!". Also, feel free to ask for assistance on the Lean Zulip chat (login required, real names preferred, be nice).

logic

sets

functions

relations

formalising-mathematics's People

Contributors

kbuzzard avatar xiyuzhai 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.