From franth2 at gmail.com Wed Jan 11 17:47:15 2017 From: franth2 at gmail.com (=?UTF-8?B?RnJhbsOnb2lzIFRoaXLDqQ==?=) Date: Wed, 11 Jan 2017 18:47:15 +0100 Subject: [opentheory-users] Define n-ary type operators using the article format Message-ID: Hi, I'm new in the world of HOL/Opentheory and I'm running into some difficulties. I don't understand how it is possible to define n-ary type operators using the article format. Let us say for example that I want to encode Leibniz equality. Then this equality will be a type operator of type A -> A -> bool. To declare a new type operator, I have to use the command "defineTypeOp". Though, this latter takes a unary predicate where I think I would need a binary predicate. So I'm wondering how can I achieve that using the article format? Obviously, I am missing something... Have a nice day, Fran?ois -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe at gilith.com Wed Jan 11 18:56:10 2017 From: joe at gilith.com (Joe Leslie-Hurd) Date: Wed, 11 Jan 2017 10:56:10 -0800 Subject: [opentheory-users] Define n-ary type operators using the article format In-Reply-To: References: Message-ID: Hi Francois, It sounds like you want to define a new *constant* with type A -> A -> bool, not a new type operator, but perhaps I am missing something? Cheers, Joe On Wed, Jan 11, 2017 at 9:47 AM, Fran?ois Thir? wrote: > Hi, > > I'm new in the world of HOL/Opentheory and I'm running into some > difficulties. I don't understand how it is possible to define n-ary type > operators using the article format. > > Let us say for example that I want to encode Leibniz equality. Then this > equality will be a type operator of type A -> A -> bool. To declare a new > type operator, I have to use the command "defineTypeOp". Though, this latter > takes a unary predicate where I think I would need a binary predicate. > > So I'm wondering how can I achieve that using the article format? Obviously, > I am missing something... > > Have a nice day, > > Fran?ois > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > From franth2 at gmail.com Wed Jan 11 19:28:21 2017 From: franth2 at gmail.com (=?UTF-8?B?RnJhbsOnb2lzIFRoaXLDqQ==?=) Date: Wed, 11 Jan 2017 20:28:21 +0100 Subject: [opentheory-users] Define n-ary type operators using the article format In-Reply-To: References: Message-ID: Exactly! I was confused between *constants* and *type operators*. Thanks a lot! Cheers, Fran?ois 2017-01-11 19:56 GMT+01:00 Joe Leslie-Hurd : > Hi Francois, > > It sounds like you want to define a new *constant* with type A -> A -> > bool, not a new type operator, but perhaps I am missing something? > > Cheers, > > Joe > > On Wed, Jan 11, 2017 at 9:47 AM, Fran?ois Thir? wrote: > > Hi, > > > > I'm new in the world of HOL/Opentheory and I'm running into some > > difficulties. I don't understand how it is possible to define n-ary type > > operators using the article format. > > > > Let us say for example that I want to encode Leibniz equality. Then this > > equality will be a type operator of type A -> A -> bool. To declare a new > > type operator, I have to use the command "defineTypeOp". Though, this > latter > > takes a unary predicate where I think I would need a binary predicate. > > > > So I'm wondering how can I achieve that using the article format? > Obviously, > > I am missing something... > > > > Have a nice day, > > > > Fran?ois > > > > _______________________________________________ > > opentheory-users mailing list > > opentheory-users at gilith.com > > http://www.gilith.com/mailman/listinfo/opentheory-users > > > > _______________________________________________ > opentheory-users mailing list > opentheory-users at gilith.com > http://www.gilith.com/mailman/listinfo/opentheory-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: