Pretty Symbols in Lean¶
To produce a pretty symbol in Lean, type the editor shortcut followed by space or tab.
Unicode |
Editor Shortcut |
Definition |
|---|---|---|
∀ |
|
for all quantifier |
∃ |
|
there exists quantifier |
→ |
|
function or implies |
↔ |
|
if and only if |
∧ |
|
and operator |
∨ |
|
or operator |
¬ |
|
negation operator |
≠ |
|
not equal to |
≤ |
|
less than or equal to |
≥ |
|
greater than or equal to |
∣ |
|
divisibility [1] |
∈ |
|
is an element of |
ℕ |
|
type of natural numbers |
ℤ |
|
type of integers |
ℚ |
|
type of rational numbers |
ℝ |
|
type of real numbers |
↑ |
|
coercion from one type to another (e.g. |
⟨ ⟩ |
|
angle brackets, used by |
. |
|
focuses on the first goal: the tactics indented after it must close it |
← |
|
used by the |
∘ |
|
composition of functions |
∑ |
|
sum over a range |
⁻¹ |
|
multiplicative inverse |
α |
|
Greek letter alpha, often used as a name for a type ( |
Footnotes