Elm Exactly

TheoremeqFO_sound_all

StandardElmMech/Eff/Examples.lean:59 · tactic proof

Statement

theorem eqFO_sound_all : ∀ (a b : Val), eqFO a b = true → a = b

Proof

by
  apply eqFO.induct (motive_2 := fun as bs => eqFOList as bs = true → as = bs)
  all_goals intros
  all_goals simp_all [eqFO, eqFOList]

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

Used by

In StandardElmMech/Eff/Examples.lean: Task.perform, Task.sequence of six tasks reduced to its outcome, Task.attempt of a failing task, and the flattening of Cmd.batch [Cmd.none, Cmd.none], by the kernel.

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.