\leftrightarrow

The \leftrightarrow symbol is used to denote a bidirectional relationship or equivalence between two expressions. It is commonly used in logic, mathematics, and computer science to represent logical equivalence, mutual implication, or a two-way relationship.

Examples

Logical equivalence between statements A and B

A \leftrightarrow B

Bidirectional relationship between variables x and y

x \leftrightarrow y

Equivalence of predicates P and Q for variable x

P(x) \leftrightarrow Q(x)