Elm Exactly

TheoremfreshPid_fresh

StandardElmMech/Prog/Dispatch.lean:56 · tactic proof

Statement

theorem freshPid_fresh (P : Procs) : freshPid P ∉ P.dom

Proof

by
  intro h
  have := mem_le_foldl_max P.dom 0 _ h
  unfold freshPid at this
  omega

Proved 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.