Functional physics