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 / MutantExpiryClaim.lean
| 1 | import MutantModels |
| 2 | namespace AienCap |
| 3 | /-- Real-model theorem restated for the expiry-extension mutant. MUST FAIL to check. -/ |
| 4 | theorem mutant_expiry_claim {g : Graph} {now pid cid exp : Nat} {auth : Auth} {c : Token} |
| 5 | (h : DeriveLongLived g now pid cid auth exp c) : |
| 6 | ∃ p, g.find pid = some p ∧ c.expiry ≤ p.expiry := by |
| 7 | obtain ⟨p, hf, _, _, _, rfl⟩ := h |
| 8 | exact ⟨p, hf, Nat.le_refl _⟩ |
| 9 | end AienCap |