TheoremfreshPid_fresh
Statement
theorem freshPid_fresh (P : Procs) : freshPid P ∉ P.domProof
by
intro h
have := mem_le_foldl_max P.dom 0 _ h
unfold freshPid at this
omegaProved with tactics, which Lean expands into a proof term that its kernel checks.
Theorems it uses
Used by
In StandardElmMech/Prog/Dispatch.lean: Dispatch (4 rules, r_p_disp_*) and the executable dispatchFn with fresh identifiers, sound.
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.