interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / bootstrap / formal-oracles / lean / MutantSeqActiveClaim.lean

15 lines · 604 bytes Raw Blame History
1import MutantSeqModels
2namespace AienSeq
3/-- Real-model theorem `release_active` restated for releaseM4. MUST FAIL to check. -/
4theorem mutant_release_active {a a' : Arena} {id : Id} (hw : a.WF) (h : a.releaseM4 id = (a', true)) :
5 a'.active + 1 = a.active := by
6 unfold Arena.releaseM4 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 have := occCount_set_false a.occ id.slot a.cap hs ho
12 simp only
13 rw [hw.activeEq]; omega
14 · simp only [hl] at h; simp at h
15end AienSeq