Sets, shapes and definitions

f(x):=x2f(x) := x^2 Defined as (:=)

“Is defined as”: introduces a new name for the expression on the other side.

In ML papers

a:=ba := b means "aa is defined to be bb". It is not an equation to check or solve: it introduces notation. The colon sits on the side of the new name, so b=:ab =: a defines aa too.

How to type it

LaTeXShows
:=:=:=
\coloneqq mathtools, better spacing≔\coloneqq

A worked example

xˉ:=1N∑i=1Nxi\bar{x} := \frac{1}{N}\sum_{i=1}^{N} x_i

From here on, xˉ\bar{x} is shorthand for that average.

Common confusions

Related

L≜−log⁡p(x)\mathcal{L} \triangleq -\log p(x)Defined as (≜)f≡0f \equiv 0Identically equalθ←θ−η∇θL\theta \leftarrow \theta - \eta \nabla_\theta \mathcal{L}Assignment arrow

Decode this example →