]> matita.cs.unibo.it Git - helm.git/commitdiff
The proof of append_cons used transitive_eq, not indexed.
authorAndrea Asperti <andrea.asperti@unibo.it>
Wed, 2 Nov 2011 10:58:34 +0000 (10:58 +0000)
committerAndrea Asperti <andrea.asperti@unibo.it>
Wed, 2 Nov 2011 10:58:34 +0000 (10:58 +0000)
If other cases will present we shall reindex it.

matita/matita/lib/basics/list.ma

index 8b04499872f8ee473b9305d3f40fca4311d52d26..eaf89510a153c2f90e67c23c45caccf93a09f9d0 100644 (file)
@@ -72,7 +72,7 @@ ntheorem cons_append_commute:
 //; nqed. *)
 
 theorem append_cons:∀A.∀a:A.∀l,l1.l@(a::l1)=(l@[a])@l1.
-/2/ qed.
+#A #a #l #l1 >associative_append // qed.
 
 theorem nil_append_elim: ∀A.∀l1,l2: list A.∀P:?→?→Prop. 
   l1@l2=[] → P (nil A) (nil A) → P l1 l2.