From Corelib RequireImport ssreflect ssrbool.
From Corelib RequireImport ListDef.
Fixpoint contains {X: Type} Import ssreflect.
Fixpoint {X: Type} (: X -> - bool)(: ) X : l with
|Fixpointcontains} (: X- >) l X)x :bool. if (contains eqt deduplicatedRest x) then
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 28 end.
Theorem deduplicate_idempotent: forall {X: Type} (eqt: X -> X -> bool) (l: list X), deduplicate eqt (deduplicate eqt l) = deduplicate eqt l. Proof.
move => ? eqt. elim => [|x xs IHxs] => //. simpl.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.