1_General Theory of Compound Security and System Resilience