X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Fcontribs%2Fng_assembly%2Fcommon%2Foption.ma;h=62da6590013f8edc1d5c9518904ccb96a8ae4ac0;hb=603f2f6b596d8632b9bd53c73ae0b9c3575231e0;hp=cbd1c49079cba588f7e10c834b0871ab03f189e6;hpb=d3c72253769956a8af10e6ea990ed34c92999e58;p=helm.git diff --git a/helm/software/matita/contribs/ng_assembly/common/option.ma b/helm/software/matita/contribs/ng_assembly/common/option.ma index cbd1c4907..62da65900 100644 --- a/helm/software/matita/contribs/ng_assembly/common/option.ma +++ b/helm/software/matita/contribs/ng_assembly/common/option.ma @@ -15,8 +15,8 @@ (* ********************************************************************** *) (* Progetto FreeScale *) (* *) -(* Sviluppato da: Cosimo Oliboni, oliboni@cs.unibo.it *) -(* Cosimo Oliboni, oliboni@cs.unibo.it *) +(* Sviluppato da: Ing. Cosimo Oliboni, oliboni@cs.unibo.it *) +(* Sviluppo: 2008-2010 *) (* *) (* ********************************************************************** *) @@ -31,7 +31,7 @@ ninductive option (A:Type) : Type ≝ | Some : A → option A. ndefinition eq_option ≝ -λT.λop1,op2:option T.λf:T → T → bool. +λT.λf:T → T → bool.λop1,op2:option T. match op1 with [ None ⇒ match op2 with [ None ⇒ true | Some _ ⇒ false ] | Some x1 ⇒ match op2 with [ None ⇒ false | Some x2 ⇒ f x1 x2 ]