(* *)
(**************************************************************************)
-include "ground/notation/functions/circledE_1.ma".
+include "ground/notation/functions/circled_element_e_1.ma".
include "ground/notation/functions/oplusright_3.ma".
include "ground/lib/relations.ma".
interpretation
"empty (lists)"
- 'CircledE A = (list_empty A).
+ 'CircledElementE A = (list_empty A).
interpretation
"left cons (lists)"
[ list_empty ⇒ ⊤
| list_lcons hd tl ⇒ ∧∧ R hd & list_all A R tl
].
+
+(* Basic inversions *********************************************************)
+
+lemma eq_inv_list_lcons_bi (A) (a1) (a2) (l1) (l2):
+ a1⨮l1 = a2⨮{A}l2 →
+ ∧∧ a1 = a2 & l1 = l2.
+#A #a1 #a2 #l1 #l2 #H0 destruct
+/2 width=1 by conj/
+qed-.