An operational definition of life includes the ability to evolve, reproduce, and optimize for resource constraints