The Chaos Function