{"id":4189,"date":"2014-04-19T13:47:08","date_gmt":"2014-04-19T12:47:08","guid":{"rendered":"http:\/\/emilkirkegaard.dk\/en\/?p=4189"},"modified":"2014-10-09T18:20:09","modified_gmt":"2014-10-09T17:20:09","slug":"first-and-second-order-logic-formalizations","status":"publish","type":"post","link":"https:\/\/emilkirkegaard.dk\/en\/2014\/04\/first-and-second-order-logic-formalizations\/","title":{"rendered":"First and second-order logic formalizations"},"content":{"rendered":"<p>From researchgate: https:\/\/www.researchgate.net\/post\/What_is_the_actual_difference_between_1st_order_and_higher_order_logic<\/p>\n<p style=\"padding-left: 30px;\">What is the actual difference between 1st order and higher order logic?<br \/>\nYes, I know. They say, the 2nd order logic is more expressive, but it is really hard to me to see why. If we have a domain X, why can&#8217;t we define the domain X&#8217; = X u 2^X and for elements of x in X&#8217; define predicates:<br \/>\nSET(x)<br \/>\nELEMENT(x)<br \/>\nBELONGS_TO(x, y) &#8211; undefined (or false) when ELEMENT(y)<br \/>\netc.<br \/>\nNow, we can express sentences about subsets of X in the 1st-order logic!<br \/>\nSimilarly we can define FUNCTION(x), etc. and&#8230; we can express all 2nd-order sentences in the 1st order logic!<br \/>\nI&#8217;m obviously overlooking something, but what actually? Where have I made a mistake?<\/p>\n<p>My answer:<\/p>\n<p>In many cases one can reduce a higher order formalization to a first-order, but it will come at the price of complexity of the formalization.<\/p>\n<p>For instance, formalize the follow argument in both first order and second order logic:<br \/>\nAll things with personal properties are persons. Being kind is a personal property. Peter is kind. Therefore, Peter is a person.<\/p>\n<p>One can do this with either first or second order, but it is easier in second-order.<\/p>\n<p>First-order formalization:<br \/>\n1. (\u2200x)(PersonalProperty(x)\u2192((\u2200y)(HasProperty(y,x)\u2192Person(y)))<br \/>\n2. PersonalProperty(kind)<br \/>\n3. HasProperty(peter,kind)<br \/>\n\u22a2 4. Person(peter)<\/p>\n<p>Second-order formalization<br \/>\n1. (\u2200\u03a6)(PersonalProperty(\u03a6)\u2192(\u2200x)(\u03a6x\u2192Person(x)))<br \/>\n2. PersonalProperty(IsKind)<br \/>\n3. IsKind(peter)<br \/>\n\u22a2 4. Person(peter)<\/p>\n<p>where \u03a6 is a second-order variable. Basically, whenever one uses first order to formalize arguments like this, one has to use a predicate like &#8220;HasProperty(x,y)&#8221; so that one can treat variables as properties indirectly. This is unnecessary in second-order logics.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From researchgate: https:\/\/www.researchgate.net\/post\/What_is_the_actual_difference_between_1st_order_and_higher_order_logic What is the actual difference between 1st order and higher order logic? Yes, I know. They say, the 2nd order logic is more expressive, but it is really hard to me to see why. If we have a domain X, why can&#8217;t we define the domain X&#8217; = X u 2^X and [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[1995,1996],"class_list":["post-4189","post","type-post","status-publish","format-standard","hentry","category-logic-philosophy","tag-first-order-logic","tag-second-order-logic","entry"],"_links":{"self":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/4189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/comments?post=4189"}],"version-history":[{"count":2,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/4189\/revisions"}],"predecessor-version":[{"id":4342,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/4189\/revisions\/4342"}],"wp:attachment":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/media?parent=4189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/categories?post=4189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/tags?post=4189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}