Elm Exactly

Theoremports_canon_Elm_Fli

StandardElmMech/Generated/ChecksElm_Fli.lean:37 · kernel-checked (decide +kernel)

Every port of every program of this shard, its helper modules' included, has a canonical payload type (D7).

Statement

theorem ports_canon_Elm_Fli : shard_Elm_Fli.all (fun g => (g.ports ++ g.helpers.flatMap (·.ports)).all (fun p => p.2.2.canonB)) = true

Proof

by
  decide +kernel

Proved by decide +kernel: Lean's kernel itself runs the decision procedure, here the evaluator, and checks that the answer is true, so nothing outside the kernel is trusted.

In StandardElmMech/Generated/ChecksElm_Fli.lean: The theorems of the translated tests of shard Elm_Fli: one generated theorem per check the kernel can compare, and the derivability of every check.

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.