Skip to content

Formalization of Ramsey Theory in Lean (work in progress)

License

Notifications You must be signed in to change notification settings

JaredCorduan/ramsey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ramsey theory 🎨

This is a work-in-progress formalization of Ramsey Theory in Lean.

Constructive Proofs

Pigeon Hole Principle

Constructive versions of Ramsey's Theorem are studied in

Wim Veldman and Marc Bezem, Ramsey's Theorem and the Pigeon Hole Principle in intuitionistic mathematics, Journal of the London Mathematical Society (2), Vol. 47, April 1993, pp. 193-211.

More specifically, they define a property of subsets of ℕ which is classically equivalent to being cofinite, which they call almost full, and prove that the intersection of almost full sets is almost full.

The constructive version of the infinite pidgeon hole principle was proved in coq. An adaptation of this proof is given in src/constructive/pigeon.lean.

Classical Proofs

Pigeon Hole Principle

In src/classical/pigeon.lean it is shown that a subset A of ℕ is cofinite if and only if it is almost full. The usual pigeon hole principle is then proved by way of the constructive version.

Ramsey's theorem for pairs in two colors.

The infinite Ramsey's theorem for pairs, in two colorls, is proved in src/classical/rt22.lean.

About

Formalization of Ramsey Theory in Lean (work in progress)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages