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 / MutantScopeClaim.lean
| 1 | import MutantModels |
| 2 | namespace AienCap |
| 3 | /-- Real-model theorem restated for the widening mutant. MUST FAIL to check. -/ |
| 4 | theorem mutant_scope_claim {g : Graph} {now pid cid : Nat} {auth : Auth} {c : Token} |
| 5 | (h : DeriveWiden g now pid cid auth c) : |
| 6 | ∃ p, g.find pid = some p ∧ Auth.Sub c.auth p.auth := by |
| 7 | obtain ⟨p, hf, _, _, rfl⟩ := h |
| 8 | exact ⟨p, hf, by intro a ha; assumption⟩ |
| 9 | end AienCap |