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 / MutantSeqNoBumpClaim.lean
| 1 | import MutantSeqModels |
| 2 | namespace AienSeq |
| 3 | /-- Real-model theorem `free_invalidates` (generation half) restated for releaseM1. MUST FAIL to check. -/ |
| 4 | theorem mutant_free_changes_gen {a a' : Arena} {id : Id} (h : a.releaseM1 id = (a', true)) : |
| 5 | a'.gen id.slot ≠ id.gen := by |
| 6 | unfold Arena.releaseM1 at h |
| 7 | by_cases hl : a.live id = true |
| 8 | · simp only [hl, ite_true, Prod.mk.injEq] at h |
| 9 | obtain ⟨rfl, _⟩ := h |
| 10 | obtain ⟨hs, hg, ho⟩ := live_gen_match hl |
| 11 | simp [upd, hg] |
| 12 | · simp only [hl] at h; simp at h |
| 13 | end AienSeq |