From: Claudio Sacerdoti Coen Date: Fri, 20 Jul 2007 16:59:27 +0000 (+0000) Subject: Another nicer version. X-Git-Tag: 0.4.95@7852~293 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=df99a71fac59224fda810fdfd0ff2051ec25f1b2;p=helm.git Another nicer version. --- diff --git a/matita/library/assembly/test.ma b/matita/library/assembly/test.ma index a9726efcb..644cebaa9 100644 --- a/matita/library/assembly/test.ma +++ b/matita/library/assembly/test.ma @@ -216,21 +216,10 @@ lemma loop_invariant': reflexivity |6: intro; simplify in ⊢ (? ? ? %); + normalize in ⊢ (? ? (? (? ? ? ? ? ? (? ? (? %) ?) ?) ?) ?); change in ⊢ (? ? % ?) with - (update - (update - (update - (update (update (mult_memory x y) 30 x) 31 - (byte_of_nat (S (nat_of_byte y-S n)))) 32 (byte_of_nat (nat_of_byte x*n))) 31 - (byte_of_nat (nat_of_byte y-S n))) - (nat_of_byte - (update - (update - (update (update (mult_memory x y) 30 x) 31 - (byte_of_nat (S (nat_of_byte y-S n)))) 32 (byte_of_nat (nat_of_byte x*n))) 31 - (byte_of_nat (nat_of_byte y-S n)) 15)) - (byte_of_nat (nat_of_byte x*S n)) a); - normalize in ⊢ (? ? (? ? % ? ?) ?); + ((mult_memory x y){30↦x}{31↦#(S (y-S n))}{32↦#(x*n)}{31↦#(y-S n)} + {〈x2,x0〉↦ #(x*S n)} a); apply inj_update; intro; apply inj_update;