Changeset 1551 for src/utilities/option.ma
- Timestamp:
- Nov 24, 2011, 11:52:52 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/utilities/option.ma
r1316 r1551 16 16 ] qed. 17 17 18 definition option_map_def : ∀A,B:Type[0]. (A → B) → B → option A → B ≝ 19 λA,B,f,d,o. match o with [ None ⇒ d | Some a ⇒ f a ]. 20 18 21 lemma refute_none_by_refl : ∀A,B:Type[0]. ∀P:A → B. ∀Q:B → Type[0]. ∀x:option A. ∀H:x = None ? → False. 19 22 (∀v. x = Some ? v → Q (P v)) →
Note: See TracChangeset
for help on using the changeset viewer.