diff options
| author | Olivier Laurent | 2020-05-04 10:48:30 +0200 |
|---|---|---|
| committer | Olivier Laurent | 2020-05-04 10:56:48 +0200 |
| commit | 1a11eaddca057bea4e1ea0b3c276fc5228e5b4b2 (patch) | |
| tree | c513695ac3676b5d80110827c9685cd7dd90a327 /theories/Lists | |
| parent | 14e5b1ac33f268d50ca379a12bfc729f6183161e (diff) | |
add incl_Forall_in_iff
Diffstat (limited to 'theories/Lists')
| -rw-r--r-- | theories/Lists/List.v | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/theories/Lists/List.v b/theories/Lists/List.v index e4b87507f4..bdaaa91828 100644 --- a/theories/Lists/List.v +++ b/theories/Lists/List.v @@ -2968,6 +2968,10 @@ Section Exists_Forall. now apply neg_Forall_Exists_neg. Defined. + Lemma incl_Forall_in_iff l l' : + incl l l' <-> Forall (fun x => In x l') l. + Proof. now rewrite Forall_forall; split. Qed. + End Exists_Forall. Hint Constructors Exists : core. |
