Causality and a Cost Semantics for Neural Networks — AI Alignment Forum