gitwtfhub

wtf 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

TL;DR

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

Why would anyone build with this?

REASON 1

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

REASON 2

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

REASON 3

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

What's in the stack?

LeanMathlib

How it stacks up

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 spin it up?

Difficulty · moderate Time to first run · 1h+

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

Yoink these 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

wtf 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.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.