Formal Approaches to the Ontology & Epistemology of Resilience