]> matita.cs.unibo.it Git - helm.git/commitdiff
addenda
authorAndrea Asperti <andrea.asperti@unibo.it>
Tue, 18 Dec 2012 13:41:34 +0000 (13:41 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Tue, 18 Dec 2012 13:41:34 +0000 (13:41 +0000)
matita/matita/lib/arithmetics/sigma_pi.ma

index 32153b352ca55968b272c4c0716c5f50a43cbdbd..7e3fe19f04df5f44b586f815b8afeaa74312a24a 100644 (file)
@@ -178,3 +178,11 @@ theorem exp_pi: ∀n,m,p,f.
   |#m1 #Hind >times_pi >Hind %
   ]
 qed.
+
+theorem exp_sigma_l: ∀n,a,p,f. 
+  ∏_{i < n | p i} (exp a (f i)) = exp a (∑_{i < n | p i}(f i)).
+#n #a #p #f elim n // #i #Hind cases (true_or_false (p i)) #Hc
+  [>bigop_Strue [>bigop_Strue [>Hind >exp_plus_times // |//] |//]
+  |>bigop_Sfalse [>bigop_Sfalse [@Hind|//] | //]
+  ]
+qed.