Theorem (regular language iff accepted by automaton)

A language is regular iff it is accepted by a deterministic automaton.

Proof