3. Logic — Mathematics in Lean v4.19.0 documentation
In the last chapter, we dealt with equations, inequalities, and basic mathematical statements like “ 𝑥 divides 𝑦 .” Complex mathematical statements are built up from simple ones like these using logical terms like “and,” “or,” “not,” and “if … then,” “every,” and “some.” In this chapter, we show you how to work with statements that are built up in this way. Consider the statement after the #check: In words, we would say “for every real number x, if 0 ≤ x then the absolute value of x equals x”. We can also have more complicated statements like: In words, we would say “for every x, y, and ε, if 0 < ε ≤ 1, the absolute value of x is less than ε, and the absolute value of y is less than ε, then the absolute value of x * y is less than ε.” In Lean, in a sequence of implications there are implicit parentheses grouped to the right. So the expression above means “if 0 < ε then if ε ≤ 1 then if |x| < ε …” As a result, the expression says that all the assumptions together imply the conclusio
3. Logic - Mathematics in Lean v4.19.0 documentation 3. Logic View page source 3. Logic  In the last chapter, we dealt with equations, inequalities, and basic mathematical statements like “ \(x\) divides \(y\) .” Complex mathematical statements are built up from simple ones like these using logical terms like “and,” “or,” “not,” and “if … then,” “every,” and “some.” In this chapter, we show you how to work with statements that are built up in this way. 3.1. Implication and the Universal Quantifier
saved by
related reading
- Lean (proof assistant) - Wikipediaen.wikipedia.org
- 4. Sets and Functions - Mathematics in Lean v4.19.0 documentationleanprover-community.github.io
- Lean Programming Languagelean-lang.org
- A Lean Syntax Primer — overreactedoverreacted.io
- A slightly longer Lean 4 proof tour | What's newterrytao.wordpress.com
- Lean Game Serveradam.math.hhu.de
- Napkin.pdfvenhance.github.io
- Intuitionistic logic - Wikipediaen.wikipedia.org
- 2510.01346arxiv.org
- Mathematics for Computer Sciencepeople.csail.mit.edu
- How To Prove Itia800501.us.archive.org
- List of logic symbols - Wikipediaen.wikipedia.org