Formalizing Hall's Marriage Theorem in Lean

01/01/2021
by   Alena Gusakov, et al.
0

We formalize Hall's Marriage Theorem in the Lean theorem prover for inclusion in mathlib, which is a community-driven effort to build a unified mathematics library for Lean. One goal of the mathlib project is to contain all of the topics of a complete undergraduate mathematics education. We provide three presentations of the main theorem statement: in terms of indexed families of finite sets, of relations on types, and of matchings in bipartite graphs. We also formalize a version of Kőnig's lemma (in terms of inverse limits) to boost the theorem to the case of countably infinite index sets. We give a description of the design of the recent mathlib library for simple graphs, and we also give a necessary and sufficient condition for a simple graph to carry a function.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/23/2021

Formalizing Galois Theory

We describe a project to formalize Galois theory using the Lean theorem ...
research
06/23/2021

Beginners' Quest to Formalize Mathematics: A Feasibility Study in Isabelle

How difficult are interactive theorem provers to use? We respond by revi...
research
03/24/2021

Language learnability in the limit for general metrics: a Gold-Angluin result

In his pioneering work in the field of Inductive Inference, Gold (1967) ...
research
08/31/2021

MiniF2F: a cross-system benchmark for formal Olympiad-level mathematics

We present miniF2F, a dataset of formal Olympiad-level mathematics probl...
research
04/20/2018

Formalising Mathematics In Simple Type Theory

Despite the considerable interest in new dependent type theories, simple...
research
10/21/2022

Formalizing Chemical Theory using the Lean Theorem Prover

Chemical theory can be made more rigorous using the Lean theorem prover,...
research
02/16/2022

Guessing with Little Data

Reconstructing a hypothetical recurrence equation from the first terms o...

Please sign up or login with your details

Forgot password? Click here to reset