From: Andrea Asperti Date: Mon, 14 Jan 2013 10:36:34 +0000 (+0000) Subject: nth_current_chars X-Git-Tag: make_still_working~1355 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=723514507b1e2e58c0a8c7bcc39c5d1301b910bc;p=helm.git nth_current_chars --- diff --git a/matita/matita/lib/turing/turing.ma b/matita/matita/lib/turing/turing.ma index 4cf3ebaf1..9b2d8437c 100644 --- a/matita/matita/lib/turing/turing.ma +++ b/matita/matita/lib/turing/turing.ma @@ -31,7 +31,13 @@ qed. definition current_chars ≝ λsig.λn.λtapes. vec_map ?? (current sig) (S n) tapes. - + +lemma nth_current_chars : ∀sig,n,tapes,i. + nth i ? (current_chars sig n tapes) (None ?) + = current sig (nth i ? tapes (niltape sig)). +#sig #n #tapes #i >(nth_vec_map … (current sig) i (S n)) % +qed. + definition tape_move_multi ≝ λsig,n,ts,mvs. pmap_vec ??? (tape_move_mono sig) n ts mvs.