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 / MutantSeqNoBumpClaim.lean

13 lines · 535 bytes Raw Blame History
1import MutantSeqModels
2namespace AienSeq
3/-- Real-model theorem `free_invalidates` (generation half) restated for releaseM1. MUST FAIL to check. -/
4theorem 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
13end AienSeq