Elm Exactly

Theorema66_reversed

StandardElmMech/Prog/Rulings.lean:309, A66: the order of a batch's leaves is open (the "no other guarantee" of A86) · kernel-checked (decide +kernel)

Statement

theorem a66_reversed : outsOn "out" (a66Run .reversed).path.forgetLog = [.num 2, .num 1]

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.

Used by

In StandardElmMech/Prog/Rulings.lean: The rulings A62, A72, A77, A79, A80 and A81 as theorems, and a66_batch_order_open: a program whose batch is delivered in either order.

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.