Elm Exactly

TheoremtaskRed_outcome

StandardElmMech/Eff/Task.lean:131, The redex of a task · tactic proof

An outcome has no reduction.

Statement

theorem taskRed_outcome {tk : Val} {a : Option Action} {tk' : Val} (h : tk.isOutcome = true) :
    ¬ TaskRed tk a tk'

Proof

by
  intro d
  cases d <;> simp [Val.isOutcome] at h

Proved with tactics, which Lean expands into a proof term that its kernel checks.

Used by

In StandardElmMech/Eff/Task.lean: Task reduction (TaskRed, 7 rules, r_e_task_*) and its logged twin, focus and plug, the property of task reduction (taskRed_iff, taskRed_outcome, taskRed_kind, taskRed_silent_same, taskRed_none), and the executable step stepTaskL, sound, complete and unique.

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.