Elm Exactly

TheoremnormFields_eq

StandardElmMech/Eff/RoundTrip.lean:149, Lists and their values · term proof

Statement

theorem normFields_eq : ∀ r : List (String × Val), normFields r = r.map fun p => (p.1, normVal p.2)
  | [] => rfl
  | (l, v) :: r => by simp [normFields, normFields_eq r]

Proof

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

Used by

In StandardElmMech/Eff/RoundTrip.lean: The round trip of encoding and decoding (roundtrip), except where A88 says otherwise (NoExc), under the named hypothesis FloatRoundTrip; the exceptions shown to be needed.

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.