Pretty Symbols in Lean¶
To produce a pretty symbol in Lean, type the editor shortcut followed by space or tab.
Unicode |
Editor Shortcut |
Definition |
---|---|---|
→ |
|
function or implies |
↔ |
|
if and only if |
← |
|
used by the |
¬ |
|
negation operator |
∧ |
|
and operator |
∨ |
|
or operator |
∃ |
|
there exists quantifier |
∀ |
|
for all quantifier |
∣ |
|
divisibility [1] |
ℕ |
|
type of natural numbers |
ℤ |
|
type of integers |
∘ |
|
composition of functions |
≠ |
|
not equal to |
⟨⟩ |
|
used to build complicated types out of simple types |
Footnotes