TheorembtestStep_other
One step of Btest's fold changes only the binding of its own module.
Statement
theorem btestStep_other (B : Basis) (m : ModId) (I : Interface) (md : ModId) (hm : m ≠ md) :
fmLookup (btestStep B (m, I)) md = fmLookup B mdProof
by
unfold btestStep
split <;> (rw [fmLookup_fmPlus]; simp [fmLookup, hm])Proved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
In StandardElmMech/Mod/Properties.lean: The frame lemmas (a module's derivation reads the basis only at the modules it imports) and Btest_agrees.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.