Theorematpat_tuple_l'
r:d-atpat-tuple with its first premise v = (v1, v2 [, v3]) discharged.
Statement
theorem atpat_tuple_l' {E : Env} {v1 v2 : Val} {v3 : Option Val} {p1 p2 : Pat} {p3 : Option Pat}
{r1 r2 r3 : VEF} {l1 l2 l3 : Log} : MatchPatL E v1 p1 r1 l1 → MatchPatL E v2 p2 r2 l2 →
MatchPatOptL E v3 p3 r3 l3 →
MatchAtPatL E (.tuple v1 v2 v3) (.tuple p1 p2 p3) ((r1.plus r2).plus r3) (l1 ++ l2 ++ l3)Proof
MatchAtPatL.r_d_atpat_tuple_l _ _ _ _ _ _ _ _ _ _ _ _ _ _ rflProved by a term, which Lean's kernel checks directly.
Rules of the book it uses
Used by
In StandardElmMech/Sound.lean: soundAt, evExp_sound_l, evExp_sound: every value of the evaluator, with its log, is derivable in the logged relation, and so in the book's.
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.