Elm Exactly

TheoremtaskTexts_evalL

StandardElmMech/Eff/TaskTexts.lean:191, The environments and the interfaces · term proof

The logged derivations, with the empty log.

Statement

theorem taskTexts_evalL : ∀ k x p ps e, taskTexts[k]? = some (.fn x (p :: ps) e) →
    EvalDecL (E_Task0.plusVE (textValues E_Task0 (taskTexts.take k))) (.val (.var x (lams (p :: ps) e) none))
      (textValue (E_Task0.plusVE (textValues E_Task0 (taskTexts.take k))) (.fn x (p :: ps) e)) []

Proof

fun _ x p ps e _ => textValue_evalL _ x p ps e

Proved by a term, which Lean's kernel checks directly.

Theorems it uses

In StandardElmMech/Eff/TaskTexts.lean: The elm/core 1.0.5 texts of Task and of the List functions it reaches, their values taken in order, and their derivations (textValue_eval, taskTexts_eval, listTexts_eval); ME0(Task) and ME0(Process).

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.