<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-6839602.post4451561834519323384..comments</id><updated>2007-07-24T11:06:51.691-07:00</updated><category term='grammar checking'/><category term='Leibniz equality'/><category term='sized lists'/><category term='definability'/><category term='Heyting algebra'/><category term='static analysis'/><category term='bugs'/><category term='Coq'/><category term='Fomega'/><category term='V=L'/><category term='constructive logic'/><category term='type disequality'/><category term='morphisms'/><category term='nested types'/><category term='flow caml'/><category term='countability'/><category term='kinds'/><category term='impredicativity'/><category term='fuzzy logic'/><category term='termination'/><category term='lightweight static capabilities'/><category term='Simulating Dependent Types with Guarded Algebraic Datatypes'/><category term='C++'/><category term='Haskell'/><category term='Liskov substitutability'/><category term='effects'/><category term='information flow'/><category term='effect inference'/><category term='zero-knowledge proof'/><category term='cardinal numbers'/><category term='_|_'/><category term='CPOs'/><category term='dependent types'/><category term='continuity'/><category term='OOP'/><category term='Dependent ML'/><category term='copious free time'/><category term='parallel or'/><category term='GHC'/><category term='GADTs'/><category term='polymorphism'/><category term='laypeople'/><category term='quotient types'/><category term='refinement types'/><category term='ML'/><category term='referential transparency'/><category term='ordinals'/><category term='conferences'/><title type='text'>Comments on Everyone Else is Crazy: Ord, Countable Ordinals, and an Idea of sigfpe</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.jbapple.com/feeds/4451561834519323384/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default'/><link rel='alternate' type='text/html' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html'/><author><name>Jim Apple</name><uri>http://www.blogger.com/profile/11080395413026172939</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='32' src='http://www.jbapple.com/me-in-suit.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6839602.post-9015790220229061573</id><published>2007-07-24T11:06:00.000-07:00</published><updated>2007-07-24T11:06:00.000-07:00</updated><title type='text'>&amp;gt; I might not understand what you&amp;#39;re gettin...</title><content type='html'>&gt; I might not understand what you're getting at above&lt;BR/&gt;&lt;BR/&gt;It's a long time since I studied set theory, and even then the course I did was disastrous. So anything you're not getting is probably my mistake! (And do you know a good book on the subject?)&lt;BR/&gt;&lt;BR/&gt;&gt; First is that there is no 0 in the system as it is now. &lt;BR/&gt;&lt;BR/&gt;You can make a reasonably good zero with the line:&lt;BR/&gt;&lt;BR/&gt;data Zero&lt;BR/&gt;&lt;BR/&gt;(But you'll need to switch on ghc extensions for that.)&lt;BR/&gt;&lt;BR/&gt;&gt; The second is that adding small values onto the end of a list doesn't actually change the problematic ordering.&lt;BR/&gt;&lt;BR/&gt;You're right, I want n-element lists embedded in the bottom end of (n+1)-element lists and the 'lower' end is towards the right, not left.&lt;BR/&gt;&lt;BR/&gt;&gt; The ordinal notation system would then be limited by [[[ … [N] … ]]] = ω^ω^ω.&lt;BR/&gt;&lt;BR/&gt;Yes, that was the conclusion I came to, so I like the way you pushed much further.&lt;BR/&gt;&lt;BR/&gt;I'd like to find some nice rewrite rules whose iterations can be mapped into these types.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/9015790220229061573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/9015790220229061573'/><link rel='alternate' type='text/html' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html?showComment=1185300360000#c9015790220229061573' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html' ref='tag:blogger.com,1999:blog-6839602.post-4451561834519323384' source='http://www.blogger.com/feeds/6839602/posts/default/4451561834519323384' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1143314137'/></entry><entry><id>tag:blogger.com,1999:blog-6839602.post-7817309275398921523</id><published>2007-07-24T09:21:00.000-07:00</published><updated>2007-07-24T09:21:00.000-07:00</updated><title type='text'>I might not understand what you're getting at abov...</title><content type='html'>I might not understand what you're getting at above; it took me a few run-throughs to understand what you were getting at in the comment that inspired this post, so please excuse me if I've misinterpreted your writing.&lt;BR/&gt;&lt;BR/&gt;I have two quibbles with what you wrote. First is that there is no 0 in the system as it is now. This means that we'd have to use () = 1, so in [One], [] would be identified with [(),()], say. This makes [One] would have the same order type as One. We could use [Plus One One] for N.&lt;BR/&gt;&lt;BR/&gt;The second is that adding small values onto the end of a list doesn't actually change the problematic ordering. Adding them onto the beggining, though, solves the problem. So, I think we would want to define&lt;BR/&gt;&lt;BR/&gt;comp [a_1,&amp;hellip;,a_n] [b_1,&amp;hellip;,b_m]&lt;BR/&gt;&lt;BR/&gt;as&lt;BR/&gt;&lt;BR/&gt;compare &lt;BR/&gt;  ((replicate ((max m n)-n) least) ++ [a_1,&amp;hellip;,a_n])&lt;BR/&gt;  ((replicate ((max m n)-m) least) ++ [b_1,&amp;hellip;,b_m])&lt;BR/&gt;&lt;BR/&gt;Then, the type [t] would  be &amp;omega; copies of t, which we would intepret as a product of &amp;omega; t's, since [t] is isomorphic to Either () (Either (t,()) (Either (t,(t,())) &amp;hellip;.&lt;BR/&gt;&lt;BR/&gt;So if the type t had order type &amp;kappa;, the type [t] would have order type &amp;kappa;^&amp;omega;. The ordinal notation system would then be limited by [[[ &amp;hellip [N]  &amp;hellip; ]]] = &amp;omega;^&amp;omega;^&amp;omega;.&lt;BR/&gt;&lt;BR/&gt;Does that look right to you?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/7817309275398921523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/7817309275398921523'/><link rel='alternate' type='text/html' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html?showComment=1185294060000#c7817309275398921523' title=''/><author><name>Jim Apple</name><uri>http://www.blogger.com/profile/11080395413026172939</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html' ref='tag:blogger.com,1999:blog-6839602.post-4451561834519323384' source='http://www.blogger.com/feeds/6839602/posts/default/4451561834519323384' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2017868365'/></entry><entry><id>tag:blogger.com,1999:blog-6839602.post-8266102003513583662</id><published>2007-07-24T07:53:00.000-07:00</published><updated>2007-07-24T07:53:00.000-07:00</updated><title type='text'>Wow! You took that a lot further than I thought wa...</title><content type='html'>Wow! You took that a lot further than I thought was possible. I did discover the infinite descending chain but my approach to fixing it was much simpler: just defining Eq and Ord so that [a,...,b] was identified with [a,..,b,0,...,0] and lexicographically sorting on that. I think that is well behaved.&lt;BR/&gt;&lt;BR/&gt;Curiously I started thinking about this stuff because I was wondering about proving termination of sets of rewrite rules. I'd always thought about ordinal infinities as being something set theorists did that had no relationship to anything practical. But now I see there are countless papers on program termination and ordinals going back as far as Turing.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/8266102003513583662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6839602/4451561834519323384/comments/default/8266102003513583662'/><link rel='alternate' type='text/html' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html?showComment=1185288780000#c8266102003513583662' title=''/><author><name>sigfpe</name><uri>http://www.blogger.com/profile/08096190433222340957</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.jbapple.com/2007/07/ord-countable-ordinals-and-idea-of.html' ref='tag:blogger.com,1999:blog-6839602.post-4451561834519323384' source='http://www.blogger.com/feeds/6839602/posts/default/4451561834519323384' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1143314137'/></entry></feed>
