aien-architecture-mv
Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.
Brought by drakestapleton
aien-architecture-mv / bootstrap / formal-oracles / lean / MutantNonRejectedFieldsClaim.lean
| 1 | import MutantReceiptModels |
| 2 | namespace AienReceipt |
| 3 | /-- Real-model theorem restated for mutant validateM3. MUST FAIL to check. -/ |
| 4 | theorem mutant_non_rejected {nf} {r : Receipt} (h : validateM3 nf r = true) (hr : r.decision ≠ .rejected) : r.stage = 0 ∧ r.reason = 0 := by |
| 5 | simp only [validateM3, decisionOkM3, Bool.and_eq_true] at h |
| 6 | cases hd : r.decision <;> simp_all |
| 7 | end AienReceipt |