whatisgithub

What is analysis-solutions?

gaearon/analysis-solutions — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2025-09-23

42LeanAudience · researcherComplexity · 4/5QuietSetup · moderate

In one sentence

A personal fork that fills in completed proofs for the exercises in Terry Tao's 'Analysis I' textbook, formalized in the Lean proof assistant.

Mindmap

mindmap
  root((repo))
    What it does
      Solves Analysis I exercises
      Uses Lean proof assistant
      Fills in Tao's sorrys
    Tech stack
      Lean
      Mathlib
    Use cases
      Study formal proofs
      Learn Lean syntax
      Check your own solutions
    Audience
      Math learners
      Proof assistant students
    Structure
      Chapter per file
      Solutions branch
      Main tracks upstream

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compare your own Lean solutions to Analysis I exercises against a completed reference set

USE CASE 2

Learn how textbook-style math definitions map onto Mathlib's formal proof library conventions

USE CASE 3

Study how foundational analysis concepts like limits and continuity are formalized step by step in Lean

What is it built with?

LeanMathlib

How does it compare?

gaearon/analysis-solutionslean-dojo/torchleanjzshischolar/pyleaner
Stars425514
LanguageLeanLeanLean
Last pushed2025-09-23
MaintenanceQuiet
Setup difficultymoderatehardhard
Complexity4/55/54/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Requires installing the Lean proof assistant toolchain to build and check the proofs.

Copy-paste prompts

Prompt 1
Walk me through how this repo formalizes the natural number axioms from Analysis I in Lean.
Prompt 2
Explain how one of the completed Lean proofs in this repo bridges Tao's textbook definitions with Mathlib conventions.
Prompt 3
Using this repo as a reference, help me understand where my own Lean proof for an Analysis I exercise differs from the accepted solution.

Frequently asked questions

What is analysis-solutions?

A personal fork that fills in completed proofs for the exercises in Terry Tao's 'Analysis I' textbook, formalized in the Lean proof assistant.

What language is analysis-solutions written in?

Mainly Lean. The stack also includes Lean, Mathlib.

Is analysis-solutions actively maintained?

Quiet — no commits in 6-12 months (last push 2025-09-23).

How hard is analysis-solutions to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is analysis-solutions for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.