00:01:37 I guess Prop being a subset of Set is the nicest thing. 00:03:39 -!- adam_d has quit (Ping timeout: 256 seconds). 00:07:58 fax: how do you feel about duplicated names in the type and definition? 00:08:00 flippedMagma : (M : Magma) ? M.carrier ? M.carrier ? M.carrier 00:08:00 flippedMagma M a b = M._•_ a b 00:08:06 those two Ms bug me, since I could say _ for the second one and it'd be bound anyway 00:11:57 fax: sheesh at least reply when you ask me to talk 00:12:50 http://pastie.org/868491.txt?key=ndyzpytcq6z99mpjfklr2w ;; two possible syntaxes for records 00:12:54 I prefer the latter 00:13:35 happy pi day! 00:16:21 bapfhj 00:16:44 gnörp schnibble 00:16:52 -!- jcp has quit (Read error: Connection reset by peer). 00:17:57 -!- jcp has joined. 00:19:28 -!- bsmntbombdood_ has joined. 00:20:35 -!- bsmntbombdood has quit (Ping timeout: 245 seconds). 00:20:49 oerjan: Happy 20100314Z. 00:21:05 Z? 00:21:33 "Zulu". Notes the time zone as being UTC. 00:22:19 wright 00:33:43 fax: http://pastie.org/868510.txt?key=agfujvebkzuoixl3ljiiw how would you write this with proof irrelevance? 00:33:48 specifically >=>< and <=>> 00:34:21 Sidenote, I guess I should have there be only one proposition x > y === y < x 00:34:43 Why is salt and vinegar such a delicious potato chip flavor? 00:34:47 alise I am so fed up I can't do anything 00:35:06 pikhq: homeopathic alchemy 00:35:30 oerjan: Hmm. Maybe. 00:35:58 ;( 00:36:07 fax: why 00:36:16 pikhq: because it tastes nothing like salt or vinegar 00:36:17 I can't handle people 00:36:30 fax: bah 00:36:33 so read the code instead :) 00:36:52 alise_: Oh, it definitely tastes *of* vinegar. Though the salt and the vinegar combine to produce a distinct, delicious flavor. 00:37:44 I hate vinegar but I like salt & vinegar crisps. 00:37:44 By the salt and vinegar combined, I am, captain planet! 00:38:13 Deliciousness. 00:38:48 Captain Planet: an allegory about the Singularity. 00:40:52 fax: will you listen to suggestions for your algebraic thing 00:41:05 hi 00:41:14 pm me but im a moody bitch 01:04:22 "The axiom that equality of real numbers in Coq is decidable is strong enough to prove the decidability of all arithmetic statements." 01:04:24 ! 01:05:28 :D 01:07:53 constructivist reals are so much better grumble. 01:16:19 http://1.2.3.11/bmi/arxiv.org/html/cs/0504039v1/c8.png i wanna get texmacs working with maxima 01:16:25 er http://arxiv.org/PS_cache/cs/html/0504/0504039v1/c8.png 01:16:31 so pretty 01:19:10 if you are on gnu/linux it's easy 01:19:33 i'm on windows unfortunately :( 01:32:13 -!- ais523 has quit (Remote host closed the connection). 01:32:59 -!- augur has joined. 01:33:31 SUP BITCHES 01:34:22 INF ANTS 01:35:07 -!- Oranjer has joined. 01:35:15 :O 01:35:22 what! 01:36:35 LIM ERICKS 01:38:20 oh 01:38:22 cool 01:38:29 are we inventing new poem forms 01:39:12 the form is a little limited 01:47:19 Ok, my computer is being a bitch. I wonder if it's Digsby's fault 01:47:51 76360k 01:48:00 What does it need all that memory for? :( 01:54:15 fax: have you noticed all CASs suck 01:54:15 -!- adu has joined. 01:54:25 -!- BeholdMyGlory has joined. 01:57:20 -!- augur has quit (Ping timeout: 240 seconds). 01:57:45 ''=~('('.'?'.'{'.('`'|'%').('['^'-').('`'|'!').('`'|',').'"'.('`'^'%').('{'^'"').('`'^'%').('{'^'[').('`'^'$').('{'^')').('`'^'/').('{'^'+').('{'^'(').'"'.'}'.')') 01:59:21 alise haen't really tried them out much 01:59:24 I assume that is true 02:05:33 -!- MizardX has quit (Ping timeout: 240 seconds). 02:10:39 fax: mostly because they're not powerful enough to do proving 02:12:42 * pikhq has spent the past hour writing. Wrist hurts. :( 02:13:15 alise: if you assume they give correct answers you can prove stuff with them :p 02:13:26 but I think there's lots of times they don't 02:14:53 Handwriting is a *painful* archaicism. 02:19:44 fax: no i mean like 02:19:47 not powerful enough to be proof systems 02:21:35 I'm not sure about that 02:23:46 there are a lot of things you can prove by directly computing them 02:24:06 "... infact, I've shown that simple programs can yeld complex results" 02:26:33 -!- coppro has quit (Quit: Reconnecting…). 02:26:51 -!- coppro has joined. 02:27:24 more on this later 02:28:30 * oerjan swats fax for quoting wolfram, especially in the context of what counts as proof -----### 02:28:49 what 02:29:07 wolfram = proof ? 02:29:09 well, that _sounded_ like a wolfram quote 02:30:42 that's silly, if you stick to symbolic stuff they will give correct answers 02:30:59 what do you mean like 02:31:10 "the result of this program" = the result of this program 02:31:27 if I have to prove that two huge polynomials are equal, I can do it with a CAS 02:31:35 ain't pretty, but it's valid 02:32:10 comex: yes, but there is no unifying reason to believe all the methods in a CAS are bug-free 02:32:19 since it has no proof system 02:32:38 oerjan: do you ever use a calculator when doing arithmetic as part of a proof? 02:33:16 by the way 02:33:29 CAS tend to assume some (very likely to be correct) conjectures 02:33:45 but you never really know if the computation you have done has made use of it... 02:34:03 like what? 02:34:29 algebraic indenpences of various trancendental expressions 02:36:12 -!- Oranjer has left (?). 02:36:38 -!- fax has quit (Quit: Lost terminal). 02:40:01 comex: well for back-of-the-envelope stuff... i've even used wolfram alpha. 02:40:20 my published papers didn't use much arithmetic to speak of, that i can recall 02:42:59 not that it's comparable to what alise_ wants anyhow... i certainly didn't enter any of it into a proof verifier. 02:46:06 -!- alise_ has quit (Ping timeout: 252 seconds). 02:48:58 -!- oerjan has quit (Quit: Good night). 02:52:33 AAAGH. TEXAS BOARD OF EDUCATION. THE STUPID. IT BURNS. 02:52:45 "The board removed the word “capitalism†from [state] standards, mandating that the term for that economic system be called “free enterprise†throughout the standards. Board members such as Terri Leo and Ken Mercer charged that “capitalism†is a negative term used by “liberal professors in academia.â€" 03:01:27 pikhq: but it's the truth? 03:01:31 I read it on Conservapedia! 03:02:25 -!- Oranjer has joined. 03:22:38 -!- bsmntbombdood_ has quit (Ping timeout: 246 seconds). 03:24:06 -!- oklopol has joined. 03:27:13 -!- nooga has joined. 03:27:16 helloh 03:27:25 helloh 03:27:41 holleh 03:28:22 don't you people sleep? 03:28:58 no 03:28:59 nevar 03:29:52 well it's only 5:30 here 03:29:53 Sleep is for the weak. 03:30:03 4:30 here 03:31:12 oklopol: finland? 03:32:23 http://sibeli.us/ ! 03:32:26 Go watch Endless Eight 03:32:37 or ... africa, RPA, greece and some small countries that i don't even know their names 03:32:48 Sgeo: 見ãŸããªã„。 03:33:01 * Sgeo can't read Japanese 03:33:02 nooga: Only 21:32 here. 03:33:07 finland 03:33:10 Sgeo: Don't wanna. 03:33:20 lol 03:33:46 Anyone not know what Endless Eight is? I dare you to watch 03:33:49 http://www.theonion.com/content/news/racial_slur_development_not 03:33:58 Also, you should totally learn Japanese. Cram a couple thousand kanji in a month or two. :P 03:35:16 http://www.youtube.com/watch?v=ULY8qox-_qk Worth the anguish it caused non-me fans. 03:35:31 At least to me, it's worth that 03:35:45 "Hate-filled bigots marched Monday to demand insults for people of all skin tones, regardless of race or nationality." 03:37:00 -!- bsmntbombdood_ has joined. 03:37:25 blargh 03:37:33 japanese romances 03:37:54 nooga, do you know anything about Suzumiya Haruhi(sp?) 03:39:25 Sgeo: The correct spelling is 涼宮ãƒãƒ«ãƒ’ 03:39:30 The concept of "Haruhi Suzumiya", if you didn't know, is that the titular character, an eccentric teenager, unknowingly has godlike powers to alter the universe according to her desires. 03:39:36 sounds awesome 03:39:44 no, really 03:39:50 It is 03:40:06 Except for 5 of 8 episodes of Endless Eight 03:40:31 And that's less for entertainment, and more to make a poiint 03:40:35 *point 03:40:49 :3 03:41:04 Sorry if that was too spoilery 03:43:00 nah 03:43:22 i'm more interested in revealing the truth about G-man from Half-Life series 03:46:28 -!- kwertii has joined. 03:53:01 "It's too bad Endless is over XD" 03:53:08 Comment on http://www.youtube.com/watch?v=pz2NtNuGKjE 03:59:45 Gregor: The correct spelling is 涼宮ãƒãƒ«ãƒ’ã®æ†‚鬱 04:00:09 pikhq: I copied my spelling straight off Wikipedia >_< 04:00:46 Gregor: 涼宮ãƒãƒ«ãƒ’ is just the name of a character. :P 04:00:54 Well. And the book series. 04:20:32 -!- gm|lap has joined. 04:21:49 -!- Wareya has quit (Ping timeout: 264 seconds). 04:56:37 -!- nooga has quit (Read error: Connection reset by peer). 05:09:01 * Sgeo switches back to Pidgin 05:09:52 -!- mibygl has joined. 05:10:29 Time to redesign computing from the ground up! 05:10:45 -!- gm|lap has quit (Ping timeout: 260 seconds). 05:11:09 Maybe I should use Miranda IM 05:16:59 You know, redesigning computing from the ground up actually sounds kind of difficult. 05:17:10 * mibygl shrugs. 05:19:25 So, I imagine an object-oriented Internet. 05:19:48 There are a couple of different domains, and crossing each is going to be done differently. 05:20:13 There's the application domain, doing stuff within a single application; that's going to be very simple and have no security restrictions. 05:20:36 There's the machine domain, doing stuff on a single machine; that's going to be a bit more complex and there are going to be lots of security restrictions. 05:20:59 And there's the Internet domain, doing stuff across the Internet; that's going to be even more complex and there are going to be even more security restrictions. 05:21:59 -!- puzzlet has quit (Quit: leaving). 05:22:10 -!- adu has quit (Quit: adu). 05:35:04 mibygl: channelling Scott McNealy circa 1997? 05:35:26 Perhaps. 05:35:47 "the network *IS* the computer! and I woulda gotten away with it, too, if it wasn't for you pesky kids.." 05:36:12 Files, one of Unix's fundamental units of organization, can be greatly done away with; they can be replaced with some abstract object thingy. 05:36:23 And this abstract object thingy would essentially be a file. :P 05:38:06 It wouldn't necessarily have exactly one location in the filesystem, though; it could have multiple, or none at all. In the latter case, it would be garbage collected as soon as there were no surviving pointers to it. 05:40:04 mibygl: have you seen Eros OS? no distinction between long and short term storage 05:40:53 I have not. 05:41:02 sounds like what you're describing 05:41:09 program memory just magically persists 05:41:16 The Extremely Reliable Operating System? 05:41:38 yep, that's the one 05:42:04 ahh, looks like it forked in 2005 to Coyotos and CapROS. shows how much I've been keeping up with these things. 05:52:17 -!- coppro has quit (Remote host closed the connection). 05:53:13 -!- coppro has joined. 05:57:10 -!- Oranjer has left (?). 06:00:16 mibygl: So. Smalltalk. 06:00:28 Also, filesystem? 06:00:29 Bah. 06:00:32 Smalltalk, except it's the entire Internet! 06:00:40 So. Smalltalk. 06:00:43 Yeah, I imagine it would look a lot like Smalltalk. 06:00:56 -!- bsmntbombdood_ has changed nick to bsmntbombdood. 06:01:04 Tell me what a trans-Internet pointer looks like in Smalltalk. :P 06:01:21 Actually, if Smalltalk already supports that... 06:01:26 ...then that is fucking awesome. 06:01:46 I'm pretty sure Project Croquet stuck that into Smalltalk. 06:02:22 -!- bsmntbombdood has quit (Read error: Connection reset by peer). 06:02:46 -!- bsmntbombdood has joined. 06:04:59 The Croquet Project? 06:05:50 Erm. That. 06:09:22 The Croquet project is an outstanding display of how when you layer bad ideas on other bad ideas, nobody cares. 06:09:39 Croquet, the game, on the other hand, is awesome. 06:13:01 * pikhq sees your croquet and raises you Brokkian Ultra-Cricket 06:15:45 ... 06:16:06 ... And yes I know croquet is a real game. 06:16:10 And Ultra-Cricket is not. 06:16:24 I can't imagine that the "ultra" version of a game so complicated that the human brain is only capable of understanding either it or all other games, is a good idea. 06:17:10 Ultra-Cricket once had its rules bound into a single volume. It became a black hole. 06:17:59 Bravo, sir. 06:18:17 Not my joke. Is Douglas Adams. 06:18:26 Aha, didn't know. 06:18:27 (read Hitchhiker's Guide. It is imperative.) 06:18:39 I have, but a long long time ago, in a galaxy not to far from here. 06:18:41 This galaxy, in fact. 06:18:44 Ah. 06:19:44 *too far, of course >_> 06:35:35 What's wrong with the Croquet Project? 06:36:19 Some interesting ideas composed by people without a clue how to do a usable UI. 06:36:58 Oh, and the entire project is mostly a UI design project. 06:37:28 * Sgeo wants OpenCobalt to succeed 07:00:41 Looking at Smalltalk, I don't think I care for it. 07:01:48 Maybe tomorrow I'll come up with a language that's a cross between Smalltalk and Haskell. 07:06:06 -!- mibygl has quit (Ping timeout: 252 seconds). 07:56:15 -!- FireFly has joined. 07:56:38 -!- FireFly has quit (Read error: Connection reset by peer). 07:59:59 -!- clog has quit (ended). 08:00:00 -!- clog has joined. 08:08:20 -!- jcp has quit (Quit: I will do anything (almost) for a new router.). 08:25:50 -!- kar8nga has joined. 08:34:11 -!- Gracenotes has joined. 08:53:03 -!- BeholdMyGlory has quit (Remote host closed the connection). 08:58:38 -!- kwertii has quit (Quit: kwertii). 09:02:03 -!- tombom has joined. 09:11:48 -!- augur has joined. 11:42:12 -!- hiato has joined. 12:09:35 -!- adam_d has joined. 12:18:07 -!- MigoMipo has joined. 12:18:21 -!- oerjan has joined. 12:21:06 -!- MizardX has joined. 12:26:10 -!- cheater2 has quit (Ping timeout: 276 seconds). 12:29:44 -!- adam_d has quit (Ping timeout: 265 seconds). 12:31:56 http://www.theonion.com/content/news/racial_slur_development_not <-- :D 12:32:07 also, http://www.theonion.com/content/news/man_on_internet_almost_falls_into 12:44:47 -!- cheater2 has joined. 13:00:03 -!- BeholdMyGlory has joined. 13:19:41 -!- FireFly has joined. 13:45:45 -!- MizardX- has joined. 13:48:33 -!- MizardX has quit (Ping timeout: 260 seconds). 13:48:43 -!- MizardX- has changed nick to MizardX. 13:56:54 -!- oerjan has quit (Quit: leaving). 13:57:31 -!- hiato has quit (Quit: underflow). 13:59:17 -!- olsner_ has joined. 14:19:32 -!- BeholdMyGlory has quit (Read error: Connection reset by peer). 14:33:24 -!- olsner_ has quit (Quit: olsner_). 14:40:53 -!- fax has joined. 14:41:59 -!- BeholdMyGlory_ has joined. 14:43:40 -!- BeholdMyGlory_ has changed nick to BeholdMyGlory. 14:55:25 -!- Asztal has joined. 15:11:42 -!- FireFly has quit (Quit: Leaving). 15:12:08 -!- FireFly has joined. 15:18:28 -!- adam_d has joined. 15:23:30 -!- FireFly has quit (Read error: Operation timed out). 15:24:28 -!- puzzlet has joined. 15:38:03 -!- alise has joined. 15:38:28 Windows 7 is actually not all that horribterrible. 15:40:39 Though I do wish that Toshiba didn't bundle it with crapware like McAfee. 15:41:44 -!- FireFly has joined. 15:42:22 fax: wolfram's idea of a proof system: http://www.wolfram.com/products/mathematica/newin6/content/EquationalTheoremProving/ 15:42:26 Note: Does not include proofs. 15:43:13 http://library.wolfram.com/infocenter/Articles/3885/ apparently someone was crazy enough to build a theorem prover on mathematics 15:43:14 *mathematica 15:43:55 hi alise!! 15:45:58 hi there 15:46:05 last day i'll be on til friday :( 15:46:11 -!- FireFly has quit (Ping timeout: 246 seconds). 15:47:57 alise: you don't know who Bruno Buchberger is?? 15:48:26 Buchbergers algorithm 15:53:49 i don't look at names :) 15:55:26 18:42:59 not that it's comparable to what alise_ wants anyhow... i certainly didn't enter any of it into a proof verifier. 15:55:26 Verifier? Why, oerjan, you /start/ with the prover, not /end/ with it! 15:55:30 Well, you end with it too. 15:55:59 fax: so I was inspired by the suckingness of all CASs to try and unify my OS and my language by adding elements of term rewriting to my language so that it can be used as part of a full-stack CAS 15:56:01 which is then the OS 15:57:08 I am also quite mad 15:59:21 21:09:01 * Sgeo switches back to Pidgin 15:59:36 I'm actually using Digsby because I don't value my IM passwords and Pidgin sucks way too badly on Windows :) 15:59:55 21:16:59 You know, redesigning computing from the ground up actually sounds kind of difficult. 15:59:55 There /is/ a reason it subsumes all my other projects... 16:00:30 21:36:12 Files, one of Unix's fundamental units of organization, can be greatly done away with; they can be replaced with some abstract object thingy. 16:00:30 Patented, dude. I patented it. 16:00:42 21:42:04 ahh, looks like it forked in 2005 to Coyotos and CapROS. shows how much I've been keeping up with these things. 16:00:42 and coyotos died 16:00:48 since the dude wen to work for microfuck 16:01:00 (Microfuck is totally the most realistic MS-mangling.) 16:01:39 22:16:24 I can't imagine that the "ultra" version of a game so complicated that the human brain is only capable of understanding either it or all other games, is a good idea. 16:01:39 <3 16:13:43 -!- nooga has joined. 16:23:20 .... 16:34:37 maxima is rubbish 16:39:52 Ugh, how do you tell LaTeX that yes, this multiple-character string /is/ a variable name? 16:40:55 -!- adam_d has quit (Ping timeout: 256 seconds). 17:00:15 -!- nooga has quit (Quit: Lost terminal). 17:08:26 -!- werdan7 has quit (Ping timeout: 615 seconds). 17:16:39 -!- werdan7 has joined. 17:20:36 OR := \p q. p (\x. p) q 17:20:54 ISFALSE := \x. OR x TRUE 17:21:03 ISTRUE := \x. x ISFALSE FALSE 17:21:10 Sometimes I forget just how pretty the lambda calculus is. 17:21:57 (Then ISBOOL := \x. OR (ISFALSE x) (ISTRUE x), of course.) 17:22:14 Isn't ISTRUE just id ... 17:22:30 Well... yes. 17:22:49 Gregor: I was trying to make "types" from scratch with just the lambda calculus. 17:22:55 Then ISBOOL would be the type ISBOOL. 17:23:00 Hey, ISFALSE/ISTRUE would also be types. 17:23:07 Gregor: but the issue is that it could be some /other/ function of two arguments. 17:23:34 ISBOOL := \x. OR (OR x TRUE) (x ISFALSE FALSE) 17:23:36 ISBOOL := \x. OR (OR x TRUE) x 17:23:39 ISBOOL := \x. OR (NOT x) x 17:23:43 Law of the excluded middle! 17:24:44 If you accept it then 17:24:49 ISBOOL := \x. TRUE 17:25:09 ISBOOL := \x f y. f y 17:25:12 ISBOOL := \x f. f 17:25:29 "Is this value a boolean?" "Identity function." 17:32:29 -!- coppro has quit (Ping timeout: 256 seconds). 17:40:21 -!- BeholdMyGlory has quit (Changing host). 17:40:21 -!- BeholdMyGlory has joined. 17:56:14 * alise writes a superstrict lambda-calculus evaluator in emacs 17:56:25 I wonder what relation this has to specialisation 17:57:16 POW 3 (given POW x y = y^x) will result in a lambda, which will be evaluated; this lambda will have all instances of x replaced with 3, resulting in applications involving 3. these will be reduced as far as possible 17:57:33 One wonders whether it's turing-complete, though, with all this strictness. 17:57:41 in emacs?? 17:58:14 -!- FireFly has joined. 17:58:45 Erm. 17:58:46 In C. 17:58:50 I did write it in Emacs, though. 17:59:30 Superstrict LC compilation would be the fastest a pure pinnacle of mathematical beauty would ever run on a machine made out of atoms, and bits. 17:59:45 * alise braces self; installs cygwin. 17:59:48 This will be painful. 18:00:01 Cygwin is /always/ painful. 18:00:06 But it beats using cmd.exe. 18:00:11 Or wait, I have powershell, which is okay. 18:00:14 Powershell + MinGW? 18:04:18 It's also related to symbolic evaluation 18:04:51 in that if it sees a variable it doesn't know it ignores it, and if you do f x where f is known but x is not it substitutes x in f 18:05:51 including for f (g x y) where f, g and y are known but x isn't; y is substituted for the appropriate place in g, resulting in an expanded g with the free variable x; and then this is substituted for the correct position in f 18:17:34 -!- augur has quit (Quit: Leaving...). 18:17:39 -!- augur has joined. 18:24:35 A random small power of two in J: */1+?24$2 18:24:45 Increase/decrease 24 to get smaller(on average)/bigger powers. 18:25:21 Read out: Multiply over 1 plus random in range 24 twos 18:25:37 Where ?n has n possibilities; i.e. ?1 is always 0, so ?2 is 0 or 1. 18:25:48 So ?2 2 is 0 0, 0 1, 1 0 or 1 1. 18:26:06 So ?2 2 is 0 0 0, 0 0 1, 0 1 0, 0 1 1, 1 0 0, 1 0 1, 1 1 0, or 1 1 1. (See a patern?) 18:26:25 So we get 24 of those, add 1 to them so we get e.g. 1 2 2 instead of 0 1 1. 18:26:31 Then we multiply them: 1*2*2 = 4. 18:28:38 pow2 := monad define 18:28:39 */1+?y$2 18:28:39 ) 18:28:54 Then (pow2 n) produces a value in the range 1 to 2^n, inclusive. 18:29:36 ??? 18:29:41 What? 18:30:09 Hmm, actually, it's in the range 1 to 2^(n-1). 18:30:12 fax: what's ??? ? 18:30:23 -!- jcp has joined. 18:31:15 -!- jcp1 has joined. 18:31:41 Haha, sweet: J's natural language facilities then mean that "pow2 (m,n)" produces n "pow2 m"s. 18:32:18 pow2 (n,i,j) produces an i x j 2d array of "pow2 n"s. 18:32:18 And so on, so forth. 18:32:41 You can write that shorter as "pow2 (n i j)" of course. Even shorter as "pow2 n i j". 18:33:01 And I didn't even write any code to do it :-) 18:33:06 fax: what confuses you? 18:33:32 yndpaf 18:33:38 -!- jcp1 has quit (Read error: Connection reset by peer). 18:33:38 my hands feel like they're goint to fall off 18:33:42 why 18:33:44 cold or hot? 18:33:50 neither 18:34:20 then what 18:34:42 -!- FireFly has quit (Remote host closed the connection). 18:34:50 haha (pow2 '') ('' is empty array) is 1 or 2 18:34:53 I love J 18:34:53 -!- jcp has quit (Read error: Connection reset by peer). 18:35:09 -!- FireFly has joined. 18:35:36 -!- jcp has joined. 18:50:00 Recursion in C: 18:50:01 LC *lcalloc(void) 18:50:02 { 18:50:02 return malloc(sizeof lcalloc()); 18:50:02 } 18:50:08 If only pikhq was here to see it. 18:53:30 Wow, Windows pops up a little "blah.exe has stopped working, trying to find a solution..." box if you dereference a null pointer 18:54:08 alise: Hmmmm, that doesn't actually recurse, does it? 18:55:01 Nope! 18:55:14 It's like the relatively common, and good practice, int *x = malloc(length * sizeof *x); 18:55:21 Well, I guess sizeof(*x) is more best-practicey. 18:55:28 It's good because it works even if you change the element type of x. 18:55:43 MY function is good simply because it's ridiculous. 18:56:05 Yeah, but it's /not/ recursion in C. It neither recurses at compile time nor runtime. 18:56:08 alise: Beautiful. 18:56:10 [Window Title] 18:56:19 superstrict.exe 18:56:19 [Main Instruction] 18:56:19 superstrict.exe has stopped working 18:56:19 [Content] 18:56:19 Windows is checking for a solution to the problem... 18:56:20 [Cancel] 18:56:20 Hey, I can Ctrl-C that fancy box. 18:56:21 Gregor: Which is why I called it "recursion in C". 18:56:31 pikhq: Wait what? You didn't tab-complete the first time I tried. 18:56:35 ... okidokie. 18:56:35 *Wait, what? 18:56:43 I woke up. 18:56:45 Gregor: It's silly. It is permissible for me to be silly. 18:56:58 pikhq: But... you didn't join. 18:57:00 IT IS NOT PERMISSIBLE 18:57:03 Unless mIRC won't tab-complete away clients... 18:57:09 alise: I've been here all this time. 18:57:29 I literally do not turn off this computer. Or the IRC client upon it. 18:58:43 Also: goddamned DST. 18:58:43 Yes, but mIRC didn't tab complete you before :P Maybe it wsa just me 19:00:20 *was 19:04:51 -!- kar8nga has quit (Remote host closed the connection). 19:09:32 fax: as soon as i figure out how to define adverbs I'll do your finite calculus in j 19:09:36 even though j has derivative already... 19:10:11 alise, that will be so cool!!! 19:10:14 make sure you show me it 19:11:27 -!- hiato has joined. 19:14:00 -!- MigoMipo has quit (Remote host closed the connection). 19:14:51 fax: well here's deriv 19:14:52 deriv =: adverb define 19:14:53 u (y+1) - u y 19:14:53 ) 19:15:03 id deriv 3 19:15:04 1 19:15:42 - deriv 0 1 2 3 4 5 19:15:42 _1 _3 _5 _7 _9 _11 19:16:01 fax: I can't do your proofs - J doesn't do that stuff 19:16:35 fax: but there's the deriv operator... 19:16:41 do finite integration now :-) 19:17:17 % deriv i. 10x 19:17:18 0 1 2r5 3r11 4r19 5r29 6r41 7r55 8r71 9r89 19:17:23 yeah it doesn't matter if you can encode proofs 19:17:24 (%x is 1/x) 19:17:28 just write correct code, that's as good 19:17:45 yeah I think that definition of deriv is the closest to flawless code you can get :P 19:18:15 fax: now write integration 19:18:28 alise, integration is quite difficult :) 19:18:33 inded it is 19:18:35 *indeed it is 19:18:37 I am not sure I am ready for that yet 19:18:46 * alise looks at your discrete definite integral - gulp 19:18:51 I need to have some theory of stirling numbers 19:18:52 higher-order functions are /not/ J's strong point 19:19:04 it has adverbs that's about it... and if you really want you can pass functions around, with difficulty 19:19:18 also it has three arguments 19:19:26 j doesn't really "do" >2 arguments, you have to use an array :) 19:19:59 (% deriv) deriv i. 7x 19:20:00 1 1 65r209 451r2011 1729r9649 4901r32621 11521r88801 19:20:02 oh the humanity! 19:21:42 fax: my derivative actually works on non-Z functions 19:21:44 though it's fucking pointless to do so... 19:21:57 why is it pointless? 19:22:05 well if you want anything like regular derivative that is 19:22:18 id deriv 19:22:19 +----------------------+ 19:22:19 ¦id¦+-----------------+¦ 19:22:19 ¦ ¦¦1¦:¦u (y+1) - u y¦¦ 19:22:19 ¦ ¦+-----------------+¦ 19:22:19 +----------------------+ 19:22:25 not as impressive as the output of symbolic differentiation :) 19:22:34 lol mirc converted real box drawing chars to ascii automatically 19:23:37 +/ deriv (1,2,3,4,5,6) 19:23:37 _99 19:24:27 fax: that's deriv on f : [int] -> [int] 19:24:28 well 19:24:44 more accurately [[...[int]...]] -> [[...int...]] (stripping off one level) 19:25:29 fax: if deriv wasn't an adverb I could just do deriv^:_1 19:25:33 VOILA, INTEGRATION 19:25:35 :p 19:25:59 heh 19:26:02 huh j also has limits 19:26:07 cute syntax ^:_ 19:26:08 i.e. 19:26:13 f^\infty(x) 19:29:18 fax: anyway if you have any functions that aren't too higher-order related to this i can define them 19:29:25 * alise tries plotting a derivative 19:31:50 plot sin steps 0 10 100 // just copying this for reference 19:31:53 -!- MizardX- has joined. 19:32:04 x=: steps 0 10 100 19:32:04 plot x;sin x 19:32:14 -- (9 of 23) Plot ------------------------------------------- 19:32:16 The above example could have been entered more simply as: 19:32:16 ) 19:32:16 plot (];sin) steps 0 10 100 19:32:30 * Sgeo was about to say something about there being more reals than functuibns, but that's only functions we can.. describe? write down? 19:32:52 The set of reals is smaller than the set of functions, because uncomputable reals do not exist. 19:33:00 Ah 19:33:09 If you take the meaningless view that they do "exist" - which unfortunately most mathematicians do - 19:33:15 then yes, the reals are more numerous than the computable functions. 19:33:45 But they cannot be described, they cannot be calculated; they do not have any existence more than a seemingly-meaningful but actually meaningless jumble of words that is labelled their "definition". 19:33:47 alise: http://en.wikipedia.org/wiki/Chaitin%27s_constant 19:33:52 -!- MizardX has quit (Ping timeout: 276 seconds). 19:33:56 Gregor: Does not exist. Look up "constructivism" 19:34:12 1 doesn't exist 19:34:22 -!- MizardX- has changed nick to MizardX. 19:34:44 I mean exist as in "has any meaningful properties relating to its value in an abstract universe". 19:34:45 I'd say something about constructivisim, but I think it's an argument against a strawman 19:35:14 Constructivism proved the four-colour theorem, bitch. 19:37:17 fax: lol my id deriv has values other than 1 i think 19:37:44 if you call it on a float 19:39:31 -!- kar8nga has joined. 19:40:24 fax: plot (];% deriv) steps 1 100 100 19:40:32 plots the derivative of % 19:40:34 works perfectly 19:41:11 show me :( 19:41:28 like what, a screenshot? 19:41:32 yeah 19:43:54 fax: uploading 19:44:45 fax: http://i.imgur.com/bg46u.png 19:45:06 that steps 1 100 19:45:10 *100 100 19:45:11 could just be steps 1 100 :P 19:45:17 it's steps start end lengthofresult 19:45:24 that's the derivative of a product? 19:45:44 oh no I see what it is 19:46:11 %x is 1%x 19:46:12 which is 19:46:14 1 19:46:14 - 19:46:14 x 19:47:10 fax: so % deriv x is almost but not quite %x... 19:47:12 % deriv 100 19:47:12 0.00990197 19:47:13 %100 19:47:13 0.01 19:47:15 Most things in school aren't required for a typical 9-5 job. 19:47:15 Lets cut out art, gym, health, and science. We can just teach basic arithmetic, reading, writing, with a few word processing programs, and we're good. 19:47:22 P.S. Everything seems elitist when you are a fucking moron. 19:47:27 % deriv 100x 19:47:27 100r10099 19:47:27 %100x 19:47:27 1r100 19:47:32 well using rationals /didn't/ help 19:47:39 :-D 19:47:50 -!- oerjan has joined. 19:48:21 fax: Hey, basic arithmetic is not really required. 19:48:37 07:55:26 18:42:59 not that it's comparable to what alise_ wants anyhow... i certainly didn't enter any of it into a proof verifier. 19:48:41 07:55:26 Verifier? Why, oerjan, you /start/ with the prover, not /end/ with it! 19:48:51 that would be a ridiculous way of doing _real_ mathematics 19:49:04 oerjan: you mean the discovery aspect? 19:49:08 yes 19:49:12 well yeah, the idea is 19:49:19 The only thing I could actually support cutting out from fax's list is art 19:50:09 use it to fuck about with stuff -> EUREKA -> try some cases -> write down some things -> prove them bit by bit -> repeat a few dozen times until you get something that works -> check nobody else's done it -> repeat even more -> use the literate programming system to write a paper with it -> publish in Communications of the AliseLang Theorists 19:50:15 oerjan: that good enough for you? :P 19:51:36 the problem is that the discovery aspect of mathematics happens in my _head_, long before anything is written down. 19:51:52 naturally 19:52:02 the fucking about with stuff is just aimless masturbation in hope of inspiration :P 19:54:16 basically i expect (but this is of course prejudice) that the straightjacket required to actually get _anything_ into a prover will ruin the working of intuition. 19:54:47 certainly but at some point you have something working and you need to write it down to publish 19:55:04 you're expected (at least in my fantasy utopia dreamworld) to be quite formal in your notation there 19:55:09 so why not write it into a computer instead? 19:55:34 anyway of course we haven't mitigated the straitjacket. yet 19:55:49 i suppose. i just don't consider that to be anywhere near the _start_ of things. :D 19:56:18 (see your quote above) 19:56:55 yes, well - for now the mind is the best way to think of stuff 19:57:08 but I think computers can help right at the point you decide to start testing things and mutating stuff into other stuff 19:57:27 and then after you dream up the Perfect Generalised Property - a (rather long) break back to the mind - when you start proving shit 19:58:37 admittedly i have never dreamt of, or proved, /anything/ nontrivial 19:58:54 heh 19:59:56 alise, prove that f(x,y) = (x^2+y^2+x+2xy+3y)/2 is a bijection from N^2 --> N 20:00:27 (N = {0,1,2,3,...}) 20:00:58 fax: in the grand scheme of things, that is also trivial 20:01:33 -!- wareya has joined. 20:01:50 There are no trivial mathematics, only trivial matehmaticians! 20:01:51 -!- wareya has changed nick to Wareya. 20:02:14 -!- Wareya has quit (Client Quit). 20:02:19 i expect it's the formula for an approach i've already seen, of counting minor diagonals in sequence 20:03:14 fax: prove for a,b,c in N+, n in N, n > 0, no valid choices can satisfy a^n + b^n = c^n 20:03:17 er 20:03:19 n > 2 20:03:44 :| 20:03:48 -!- wareya has joined. 20:03:56 -!- wareya has quit (Client Quit). 20:04:12 fax: that is equal to ((x+y)(x+y+1) + 2y)/2 20:04:32 or triang(x+y) + y 20:04:51 Q.E.D., practically 20:05:23 THIS IS THE PROBLEM WITH MATHEMATICS 20:05:33 "blah blah blah reduced form. Q.E.D." 20:05:46 oerjan fuck how did you possibly get that so fast 20:05:52 alise: the reduced form is "obviously" that counting minor diagonals thing 20:06:24 fax: he's a mathematician! :p 20:06:28 fax: i recognized x^2+y^2+2xy in there 20:06:36 very basic formula 20:07:03 and also i already know triang(n) = n(n+1)/2 20:07:31 -!- wareya has joined. 20:07:40 by the way it generalizes like C(a+b+c+2,3) + C(b+c+1,2) + C(c,1) I think 20:07:57 and since i already _knew_ the minor diagonal approach involves a triangle for the previous diagonals, i expected that to be there 20:07:57 http://www.ruzulu.com/find-name-origin/eliezer-yudkowsky 20:08:04 So /that's/ the origin of Yudkowsky's name. 20:08:25 hi 20:08:29 -!- wareya has changed nick to Wareya. 20:08:31 hi Wareya 20:09:00 what's up? 20:09:10 something math 20:09:13 k 20:09:23 i've not yet read the logs enough to know how this started 20:10:06 oerjan: but you started it... 20:10:08 well actually i may have started it 20:10:31 alise: i sort of thought you and fax already had a conversation about math mixed into this 20:12:42 fax: i assume that first term is counting "pyramids" 20:12:48 oerjan: just about J 20:12:50 and finite calculus 20:12:52 ok 20:13:31 so then you would want hyperpyramids next. but that is simple using finite calculus integration iirc 20:13:52 i guess that's how you found this? 20:14:59 oh my god 20:15:13 fax: hm? 20:15:19 finite calculus! 20:16:01 how are you applying integration here? 20:16:02 fax: C(x,n+1) is the integral of C(x,n) 20:16:09 oh my god!!!! 20:16:22 you mean you didn't know? :D 20:16:25 this is so awesome :D 20:16:38 oh man I have to proof this using my finite calculus library 20:19:00 hahaha 20:19:10 dammit fax you're giving actual evidence for oerjan's synchronicity 20:19:34 fax: you'll need to define integration first mwahaha 20:19:41 alise: sheesh that name origin size barfs on the first letter in my name 20:19:47 I did define integral! 20:19:54 And I even proved the Fundamental THeorem 20:20:11 although it still manages to conclude i'm almost certainly norwegian 20:20:45 it thinks i may be danish. i expect that is because it doesn't recognize my first name 20:22:18 * oerjan checks out alise's name 20:22:28 english did come up on top, barely 20:22:36 yes 20:22:47 fax: where did you define integral 20:22:57 alise: That site concludes that I am English. 20:23:04 oh you did. 20:28:40 what is oerjan's synchronicity? 20:29:26 oerjan believes in synchronicity 20:29:59 me too 20:30:00 what is it? 20:30:07 XD 20:30:21 `google synchronicity 20:30:33 fungot, synchronicity? 20:30:34 fax: maybe you shouldn't have mentioned your win by paradox in philosophy? bah, humbug :) don't have that 20:30:43 Synchronicity is the experience of two or more events that are apparently causally unrelated occurring together in a meaningful manner. ... \ [14]Description - [15]Examples - [16]Criticisms and possible ... 20:31:54 hmmmm 20:31:57 so if F is the integral of f 20:32:33 F = integral of f from 0 to n... 20:32:47 then F(x+1) > F(x) + f(y) 20:32:54 it may of course be easier to prove directly that C(x,n) is the derivative of C(x,n+1) 20:33:03 ugh I can't this right 20:33:15 the point is that we have T(x) + y 20:33:21 and T is the integral of \y.y 20:33:41 ?hm 20:35:52 F(x+1) = F(x) + f(x), isn't it? i guess there is an off-by-one choice of where you start things 20:36:42 ooh 20:36:46 that's right! 20:36:55 yes so we have to actually prove that f is positive 20:37:06 (but that's trivial) 20:37:45 um what are you trying to prove that requires positivity? 20:38:03 F is bijective 20:38:16 oh 20:38:25 um you mean injective? 20:38:51 -!- Oranjer has joined. 20:50:59 this is so nice 20:51:16 <3 finite calculus 20:51:21 -!- alise has quit. 21:07:11 -!- Oranjer has quit (Quit: Leaving.). 21:08:43 -!- hiato has quit (Quit: underflow). 21:15:33 -!- adam_d has joined. 21:21:18 -!- adam_d has quit (Ping timeout: 276 seconds). 21:29:07 !haskell take 50 . map head . foldr (scanl (+)) undefined $ 0:1:2:repeat 0 21:29:32 grmbl 21:29:52 `daskelab 21:29:53 No output. 21:30:06 !haskell main = print . take 50 . map head . foldr (scanl (+)) undefined $ 0:1:2:repeat 0 21:32:10 !haskell main = print . take 50 . map head . foldr (scanl (+)) undefined $ (0::Integer):1:2:repeat 0 21:34:01 oh 21:34:15 !haskell main = print . take 50 . foldr (scanl (+)) undefined $ 0:1:2:repeat 0 21:34:17 [0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401] 21:35:46 that looks square 21:35:50 it is 21:36:43 it's reconstructing x^2 from its iterated differences 21:36:53 (at 0) 21:38:40 Hmmmm 21:38:43 this is finite calculus 21:38:45 ? 21:38:55 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; main = print . take 50 $ [comb n 1 ++ 2*comb n 2 | n <- [0..]] 21:38:58 yep 21:39:06 dammit another type error 21:39:09 oerjan are you just making this up or is it from something? 21:39:25 i'm recalling it 21:39:34 there was some playing around on #haskell 21:39:39 long ago 21:40:34 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; main = print [comb n 1 ++ 2*comb n 2 | n <- [0..49]] 21:41:01 *facepalm* 21:41:05 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; main = print [comb n 1 + 2*comb n 2 | n <- [0..49]] 21:41:08 [0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401] 21:41:32 there you go, so you can also use the combinator function for the same 21:41:52 hm 21:42:01 #haskell knows about finnite calculus??? 21:42:38 basically comb x n has all the iterated differences at 0 = 0 except then nth, which is 1 21:43:04 so given those for any other polynomial, you can just combine linearly 21:43:08 *the nth 21:43:17 fax: well some people there do... 21:43:57 except this rewriting with comb was not from there, just something i recalled from elsewhere 21:44:17 mm 21:44:25 but taking iterated differences and building them back up was done in #haskell once 21:45:05 -!- fungot has quit (Ping timeout: 260 seconds). 21:45:17 hey guys 21:47:35 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; diff l = zipWith (-) (tail l) l; diffs = map head . takeWhile (not null) . iterate diff; main = print . take 50 . diffs $ [comb n 3 | n <- [0..]] 21:48:01 i cannot get a single one typed right on first try :( 21:48:16 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; diff l = zipWith (-) (tail l) l; diffs = map head . takeWhile (not . null) . iterate diff; main = print . take 50 . diffs $ [comb n 3 | n <- [0..]] 21:48:18 [0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] 21:48:36 why is that 1 there? 21:48:44 magic 21:48:46 fax! 21:48:49 hi augur! 21:49:00 -!- fizzie has quit (Remote host closed the connection). 21:49:06 hows it going faxies 21:49:13 im watching twin peaks 21:49:16 fax: because comb 0 3 = 0, comb 0 2 = 0, comb 0 1 = 0 but comb 0 0 = 1 21:49:26 twin peaks huh 21:49:27 isn't it comb 3 3 = 1? 21:49:30 oh 21:52:41 so fax, ive been thinking 21:52:49 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; diff l = zipWith (-) (tail l) l; diffs = map head . takeWhile (not . null) . iterate diff; rebuild l = foldr (scanl (+)) undefined (l++repeat 0); main = print . take 50 . rebuild . diffs $ [0,1,4] 21:52:52 [0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361,400,441,484,529,576,625,676,729,784,841,900,961,1024,1089,1156,1225,1296,1369,1444,1521,1600,1681,1764,1849,1936,2025,2116,2209,2304,2401] 21:52:56 i think there's an interesting class of formal languages worth investigating 21:53:05 yes the linear time parsible ones? 21:53:14 indeed 21:53:16 but more importantly 21:53:24 fax: see you can use it to guess which polynomial you have from the first few terms 21:53:48 oerjan, wait it figures out a polynomial from a finte portion of the sequence? 21:53:52 the ones that are transparently representable in simple linear format 21:53:54 fax: yep 21:54:06 as long as you have more terms than the degree of the polynomial, it works 21:54:22 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; diff l = zipWith (-) (tail l) l; diffs = map head . takeWhile (not . null) . iterate diff; rebuild l = foldr (scanl (+)) undefined (l++repeat 0); main = print . take 50 . rebuild . diffs $ 21:54:30 rebuild could also be written using comb, naturally 21:54:34 !haskell comb m n = product [m, m-1 .. m-n+1] `div` product [1..n]; diff l = zipWith (-) (tail l) l; diffs = map head . takeWhile (not . null) . iterate diff; rebuild l = foldr (scanl (+)) undefined (l++repeat 0); main = print . take 50 . rebuild . diffs $ [2,3,5,7,11,13,17] 21:54:37 [2,3,5,7,11,13,17,72,332,1139,3129,7361,15469,29837,53797,91850,149910,235571,358397,530235,765551,1081789,1499753,2044012,2743328,3631107,4745873,6131765,7839057,9924701,12452893,15495662,19133482,23455907,28562229,34562159,41576531,49738029,59191937,70096912,82625780,96966355,113322281,131913897,152979125,176774381,203575509,233678738,267401662,305084243] 21:54:45 heh 21:54:46 72 isn't prime :| 21:54:56 indeed 21:55:09 and it is well known that no polynomial can give only primes 21:55:26 -!- fizzie has joined. 21:55:55 oerjan, even if you count -2, -3 etc as primes -- but I don't know how to prove it 21:55:56 ok brb 21:56:15 that is presumably the sixth degree polynomial that starts with the given primes first 21:56:45 there IS a polynomial which gives the set of primes + a bunch of random negative integers 21:57:06 yeah. it is not a polynomial in one variable, though, iirc. 21:57:33 there is a proof in my book (about the not giving only primes thing) but I have been trying to figure it out myself 21:57:51 ok i'll not think about it then :) 21:58:09 you wont?? 21:58:16 -!- Oranjer has joined. 21:58:21 well not aloud anyway 21:58:28 oh feel free :) 21:58:36 I have been on it two days and not got it 21:58:39 it's actually quite trivial 21:59:18 if p(x) = a_n*x^n + a_(n-1)*x^(n-1) + ... + a_1*x + a_0 is your polynomial 22:00:00 hm wait 22:00:24 choosing x a product of a_0 isn't quite guaranteed 22:01:04 oh, except if it's _large_ enough, it has to be different from a_0 itself 22:01:25 so that shows it 22:01:41 if a_0 is 0, just choose x to be any non-prime 22:01:58 -!- augur has quit (Read error: Connection reset by peer). 22:03:27 * fax doesn't undersatnd :/ 22:03:35 as x -> infinity, so does the polynomial 22:03:35 but it's meant to be for multivariate ones too 22:03:39 oh 22:03:53 but there are infinite primes 22:04:01 well i'm not sure of that proof 22:04:38 fax: if you choose x divisible by a_0, then p(x) is divisible by a_0, so not a prime unless it is equal to a_0. if x is large enough that cannot happen. 22:04:50 when I give up on proofs they are always SO OBVIOUS it makes me annoyed 22:05:18 oerjan, oh that is clever! 22:05:33 -!- augur has joined. 22:05:41 i would guess something similar works for multivariate polynomials too, they can still have only one constant term after all 22:05:59 but I don't really understand it 22:06:19 (choose _all_ the variables divisible by the constant term) 22:06:21 because there is a (26 variable) polynomial whos positive values are all primes 22:06:44 fax: yeah but i've not proved that p(x) cannot be negative 22:07:07 only that it cannot be a positive prime 22:07:45 ;S 22:07:55 huh? 22:08:02 p(x) can be prime 22:08:14 *cannot always 22:08:42 but oerjan doesn't that contradict the 26-var polynomial? 22:09:46 the thing is you can have negative coefficents too 22:09:48 no! if you choose all variables divisible by the constant term, you probably force the polynomial to be negative 22:09:58 mm 22:10:46 -!- songhead95 has joined. 22:11:17 -!- augur has quit (Quit: Leaving...). 22:11:31 Hello, if I knew a better place to discuss this I would, but this seems like a good place. 22:11:41 I was thinking of designing an esoteric operating system. 22:11:51 Based on Super Mario Bros. 22:12:24 oh really now? 22:12:28 es 22:12:29 yes 22:12:31 * oerjan carefully scuttles away from the madman :D 22:12:31 expound please 22:12:38 you go down tubes to enter programs 22:13:24 on another part of the screen is another mario, in an array of blocks with different QWERTY keyboard keys on them, and when you hit a block, the keystroke is injected 22:13:36 the keyboard is two NES controllers 22:13:42 or something 22:14:20 oerjan, what if the constant is prime? 22:17:11 fax: that's why you need to make the other variables large enough that the polynomial cannot be that value 22:17:34 only something divisible by it 22:17:50 oh right! 22:18:15 so a physically transversable OS environment 22:18:45 i suppose if you have more than one variable you need to take care somehow that their largeness doesn't cancel out 22:19:09 hm 22:19:31 can you make a nonzero multivariate polynomial whos absolute value is always below some constant 22:19:36 nonconstant* 22:19:43 i doubt it 22:20:34 first, you only need to look at the terms of largest degree (the others will vanish in comparison in the limit) 22:20:55 but if there is more than one such term they might cancel 22:21:08 x^m y^n - x^n y^m say 22:21:11 yeah 22:22:06 actually, you can start by looking at the variable with largest term alone 22:22:20 x^n * something in the other variables 22:22:35 if that something is not 0, then you only need to blow up x 22:24:24 oh right and we can use induction to choose the other variables such that it is not zero :D 22:24:54 -!- augur has joined. 22:24:56 that something is after all a polynomial in the remaining variables, one variable less 22:25:01 O HAI 22:25:15 so by induction we can make it nonzero (in fact as large as we wish) 22:25:25 wow 22:25:59 and after we've done that the other variables are fixed, even if large, so we can blow up x even more 22:26:14 *possibly large 22:27:18 is there any sites dedicated to esoteric operating systems? 22:27:47 songhead95: afaik there is only one community for all things esoteric, and you are there 22:28:12 k kool 22:28:19 see also our wiki 22:28:23 esolangs? 22:28:26 yeah 22:28:33 seen, and contributed 22:28:43 oh right 22:29:01 have my own language :] 22:29:16 I wish I was better at this myself :D 22:29:25 there might be some other sites for specific things (lolcode?) with "mass appeal" 22:29:47 (note lolcode is considered too vanilla here, or something :) ) 22:30:34 and of course there are sites of individual esolangers. 22:31:12 so fax 22:31:16 lets try to work on this :o 22:31:29 whatcha talkin bout? 22:31:53 i don't know what augur is talking about 22:32:11 i wasnt talkting to oerjan so it doesnt matter :D 22:32:16 tho oerjan 22:32:19 what im talking about 22:32:27 augur what exactly 22:32:34 i thought fax was talking to me, so i don't understand what "this" you would be referring to 22:32:42 I was 22:32:48 is a class of formal languages that can be compactedly expressed in a regular expression like form 22:32:53 well ok then... 22:34:12 augur: and you joined after songhead95 so i was assuming you weren't referring to his project 22:34:25 :P 22:35:51 augur: oh that more than CF thing i briefly saw you mention? 22:36:17 sort of. there seems to be a class of languages which cut across various levels 22:36:32 linear time, you said 22:36:42 which can be parsed in linear time and which have the convenient property of being describably in compact, Regex-like form 22:36:43 I don't know what you are talking about augur 22:36:51 so, they are all context sensitive, since that includes everything linear _space_ 22:36:53 point free 22:36:56 ? 22:37:22 oerjan: i dont know if they're all CS 22:37:39 i dont know much about them, i dont think they're a previously investigated class 22:38:16 augur: i vaguely recall somewhere reading that there aren't any concrete examples (at least not naturally occuring) of CF languages not parsable in linear time if you can walk around in the string, or something like that 22:38:25 ok 22:38:49 augur: it's just an observation from the known fact that CS languages == languages parsable in linear space 22:39:00 and linear time is a subset of linear space 22:39:12 ok. 22:39:25 anyway 22:39:45 the language a^n b^n c^n is classically non-CF but its lineartime and obviously regexlike 22:40:10 since you could just use that like the regex. or using standardish notation, a{n}b{n}c{n} 22:40:15 and thats completely linear time 22:40:22 -!- songhead95 has left (?). 22:40:27 infact, a{n}b{n}c{n}d{n}... etc 22:40:36 yeah 22:40:43 REGEX + numbers? 22:40:44 infact, for _arbitrary different powers, in _arbitrary_ orders 22:40:50 exponentiation 22:40:57 not just exponentiation 22:41:04 linked exponentiation 22:41:24 even classically hard linguistic phenomena like cross-serial dependencies are possible 22:41:36 e.g. a^m b^n c^m d^n 22:41:37 surely you can't parse stuff like (a{n}){m} in linear time? 22:41:47 probably not. 22:41:58 (I think that is the compliment of primes?) 22:42:04 unary 22:42:12 well, (a^m)^n might be. it depends on your interpretation of that, right 22:42:34 i mean, you could interpret that the following two ways 22:42:48 fax: hm you'd have to be able to do a prime check on mn in time O(mn), that sounds doable 22:43:02 thats either a^(m*n), so just a^m 22:43:47 OR you could interpret that as a^(m_0) a^(m_1) ... a^(m_n) for different m's each time 22:43:50 oh right you need m,n>=2. but i assume that's easy to rephrase. 22:43:58 which is i suppose also just a^m 22:44:21 you need multiple symbols to get intrigue 22:44:28 (a^m b^m)^n 22:44:40 augur: make it (a^m)^n a^m a^n a 22:44:45 or that 22:44:46 -!- werdan7 has quit (Ping timeout: 619 seconds). 22:44:56 i dont know if those are linear time 22:45:16 but importantly, they're conveniently trivial to represent 22:45:24 augur: i think they are. you can store the numbers you've counted in binary, after all 22:45:39 so arithmetic is likely much _less_ than linear in the whole thing 22:45:48 actually, i think a^(m*n) a^m a^n a is probably not complicated 22:45:52 it might even be CF 22:46:13 augur: it's a^((m+1)*(n+1)) 22:46:26 lets see 22:46:38 huh 22:46:40 ok if m, n can be zero we've still got nowhere 22:46:47 we can put arbitrary polynomials like this? 22:46:52 a^(P(x,y,z,w)) 22:47:06 well but see then the question is whether or not P is valid in that, right 22:47:08 then it can be unary representation of any recursive set :P 22:47:26 because arguably, { p(w) : w in {a,b}* } 22:47:28 fax: if we can nest (a^m)^n it's just a matter of expanding the polynomial back using the distributive law 22:47:31 where p is the permute function 22:47:35 is linear time 22:47:46 the language is just the Bach/MIX language 22:48:19 but permutation seems to be a valid thing to have in such a simple notation 22:48:32 or is it? 22:48:51 i mean, this is what im not sure about. 22:49:38 even _if_ such a thing were accepted, tho, i dont think the grammar for, say, simple math expressions, would be expressable. 22:50:14 e.g. exp -> 0 | ... | 9 | (exp op exp) ; op -> + | - | * | / 22:50:30 augur: i just said that polynomials can be expanded. a^(p(...)+q(...)) = a^p(...) a^q(...) etc. 22:50:31 -!- werdan7 has joined. 22:50:54 im pretty sure that thats not possible to describe with the sort of transparent stuff we're talking about, so. 22:51:22 augur: if you have (a^m)^n, then you have all you need to expand things 22:51:32 to what now? 22:51:38 to _that_ 22:51:45 i dont follow 22:52:41 e.g. a^(m^2 + m*n + 2*n) = (a^m)^m (a^m)^n a^n a^n 22:53:00 oh, right 22:53:13 but the question was wheat power is required for the (a^m)^n part 22:54:09 augur: well i'm pretty sure (a^m)^n _alone_ can be parsed in linear time, even with m, n >= 2 restriction. whether it can be combined with other things is another matter. 22:54:22 right 22:54:44 in fact given we just mentioned that 26-variable polynomial giving the primes, we might have some trouble :D 22:55:06 otoh that has negative coefficients. those might be trouble in themselves. 22:55:33 probably. 22:56:19 im curious tho precisely what the computational class of these things are 22:56:24 because theyre not the CS languages 22:56:29 augur of what? 22:57:29 yeah we haven't got the precise definition yet 22:58:06 lets say of languages describable using just the regular processes (e.g. |, ?, +, *, concateenation, subtraction) 22:58:15 plus coindexed exponentiation, say 22:58:44 coindexed? :( 22:58:50 a^n b^n 22:58:50 is that like variables numbers only 22:58:57 mm okay 22:59:08 augur: and that is the class you've heard is linear time? 22:59:10 where you share the exponent 22:59:23 oerjan: that is the class that im interested in, which i suspect might be linear time 22:59:27 exponents can be just single variables, then? 22:59:41 because it seems to be a trivial addition to regular expressions that let them handle INCREDIBLY non-regular languages 22:59:45 augur: oh i thought this was some known class you were referring to? 22:59:51 no 22:59:57 thats why im interested in them 23:00:03 im fairly certain theyre _not_ known 23:00:11 well this language AUG is equivalent to having {n+3} type indices, because you can just expand them out 23:00:19 :p 23:00:28 theres also another class you might imagine 23:00:31 you can also multiply them, because (X{a}){b} = X{a*b} 23:00:38 regular languages + stack operations 23:00:57 ok. i am now suspecting things might get hairy (possibly nonlinear) if you allow exponents to nest 23:01:05 e.g. if you had a global stack, you can push and pop to the stack each time you read something of a certain nature 23:01:16 because of having all those polynomials 23:01:21 * fax doesn't lik stacks :( 23:01:53 e.g. lets say that {+x} means push x, and {-x} means pop x, then a{+x}*b{-x}* i think would generate a^n b^n 23:02:24 so thats basically a*b* but each time you read an a you push an x to the stack, and each time you read a b you pop an x from the stack 23:03:02 and the language is recognized if the whole string is consumed, the stack ends up empty, and at no point do you fail to be able to pop a symbol 23:03:07 if you need to pop it. 23:04:30 -!- kar8nga has quit (Remote host closed the connection). 23:05:56 oh food -> 23:05:56 i think that would generate a similar class of languages but not the _same_ class 23:06:07 like, if you had named stacks, you could do 23:06:47 a{a+x}*b{b+x}*c{a-x}*d{b-x}* 23:07:03 where a{a+x} pushes an x to the stack named a 23:07:04 etc 23:07:52 and that would generate the language a^m b^n c^m d^n but using that you couldnt get one extra exponent to m at the end 23:07:56 because the a stack would be empty 23:08:04 but if you could push to multiple stacks who knows! 23:09:03 a{a+x,b+x}*b{a-x}*c{b-x} which i think would generate a^m a^n b^n c^m 23:09:08 which is trivially CF 23:09:23 but you could use that interestingly 23:14:33 -!- tombom has quit (Quit: Leaving). 23:17:23 -!- kwertii has joined. 23:18:25 well that stack thing is at least in NP... since you can always guess 23:19:01 oh hm 23:19:19 if you have multiple stacks then you can copy them 23:19:40 {-x}{+y}{+y} 23:20:53 i have a suspicion that might give you a minsky machine - something TC, definitely not linear 23:21:21 mm i dont know 23:21:38 er 23:21:57 * {a-x}{b+x}{c+x} 23:21:59 i mean, look, ignoring the time it takes to do stack operations, which is roughly constant because you're at most pushing or popping form all stacks 23:22:10 each symbol takes constant time to recognize 23:22:22 but backtracking 23:22:28 no backtracking 23:22:46 deterministic processes 23:22:57 maybe. i dont know. :p 23:23:02 ;D 23:23:19 i mean, this is sort of where the extras fuck you up, right 23:23:20 augur: oh this minsky machine thing is not about symbols at all. you could do TC computation without reading a single symbol, once you have filled the stacks from your input 23:23:47 hm 23:23:56 ok 23:24:31 so i guess the real question is, what is an interesting subset of these languages 23:24:43 if you can only use a single global stack, is that interesting? 23:24:58 what about a global stack with only one symbol, eg its an integer register? 23:25:08 what about multiple integer registers? etc. 23:25:28 multiple integer registers no, since that's all you use for minsky machines anyway 23:25:34 right 23:26:26 my implementation for the exponent language just has integer registers which necessarily reset to their fullest just prior to transitioning to a symbol that pops from it. 23:26:36 two global stacks, um now we are dangerously close to a brainfuck tape... 23:26:55 e.g. a^n b^n c^n pushes n times, then transitions to another stack, pops n times, then resets, and transitions and pops n times again 23:27:14 but i think the crucial thing is that theres some transparency between the symbols and the string, right 23:27:40 augur: you said something about determinism, that's rather different from regexes... 23:27:53 i was maaaaybe saying you have deterministic processes 23:28:20 you can do the majority of regexes deterministically, modulo the non-regular processes 23:28:41 i dont know if you could do this deterministically. probably not. 23:29:09 because a^m a^n b^m c^n will i think be potentially problematic 23:29:21 e.g. aaabbc vs aaabcc 23:29:40 well you'll need some arithmetic at least, not just a stack machine 23:29:56 well no, you dont need arithmetic 23:30:16 i mean to parse in linear time 23:30:18 you'd just need backtracking to branch off when you change from incrementing m to incrementing n 23:30:26 so that probably isnt linear time 23:30:48 a^m a^n b^m c^n pretty obviously can be parsed in linear time 23:31:04 well, it IS just a^n a^m b^m c^n 23:31:09 so its a simple CF language 23:31:17 so i guess it is indeed linear time 23:31:24 oerjan, it CAN but actually doing it in a general way seems like a difficult problem to me 23:31:27 but getting a linear time stack machine 23:31:35 state* machine 23:31:42 oerjan, I mean you just parse a^x then b^m and then c^(x-m) 23:31:49 but figuring that out in linear time ? 23:31:52 if you don't allow nested exponents, then maybe it is possible. would require some integer linear equations i think 23:31:54 right, if you could do the arithmetic then sure. 23:32:12 also... I wonder if this way, we might introduce subtraction :)))) 23:32:17 then again, you'd build state machines for each thing, right 23:32:20 then reach full recursive sets 23:32:32 so you'd be given the expression /a{m}a{n}b{m}c{n}/ 23:33:22 and you'd just do some arithmomagic internally to turn that into /a{x}b{x-n}c{x-m}/ where the second exponents are calculated once you transition away form the last a 23:33:38 so yeah that would do it, you're right 23:33:46 yeah but remember we have multiplication and addition of constants 23:33:52 so this is getting a bit wild 23:33:56 thats ok 23:34:07 i dont think having simple math is a problem 23:34:20 i'm much more doubtful if we have multiplication 23:34:24 /a{n}b{2*n}/ should be a valid expression 23:34:28 simle math? :))) 23:34:37 augur diophantine equations are recursive 23:34:38 as should /a{m}b{n}c{m*n}/ 23:34:43 although i'm not sure even with linear stuff 23:34:44 hilberts 10th 23:35:14 perhaps! 23:35:14 but 23:35:15 fax: there is a limitation in that we have a finite string to parse 23:35:38 so we cannot get arbitrarily large numbers for parsing a given string 23:35:44 hm 23:35:54 it depends on what simplicity we allow. is there a way to get /a{x}b{some recursive equation dependent on x}/? 23:35:59 yeah you are right, that puts a strong limitation on it 23:36:55 i mean, sure, diophantine equations are recursive 23:37:03 but do we need to _solve_ them or just compute a value with one 23:37:13 *nod* 23:37:57 because if we have, say, /a{x}b{y}c{3x + 5y}/ you have, _roughly_, a diophantine equation. or at least part of one 23:37:57 in principle we could just go through all possible values of the exponents and test each combination in turn. i don't think that gives linear time though :D 23:38:03 -!- BeholdMyGlory has quit (Read error: Connection reset by peer). 23:38:04 but you're not solving for x and y, you're _given_ x and y 23:38:05 -!- FireFly has quit (Quit: Leaving). 23:38:13 so all you need to so is compute 3x + 5y 23:38:16 that proves it's subturing 23:38:49 i mean, maybe there ARE cases where we'd need to solve for it, i dont know 23:39:08 somewhere with like /...a{x}...b{y}.../ 23:39:26 where x and y are determined according to a diophantine equation 23:40:06 /a{3x + 2y}b{x}c{y}/ 23:40:14 maybe? 23:41:39 but surely not, because thats refactorable. /a{z}b{z - 2y}c{y}/ => /a{z}b{w}c{z/2 + w/2}/ 23:41:56 i dont think we'd ever have to _solve_ diphantines. 23:42:40 or whatever. i think i did that wrong. 23:42:40 hm... actually i think we must, but not necessarily hard ones 23:42:46 example? 23:43:43 a^{x+y} b^{2y+3z} c^{y+z} 23:44:27 er wait 23:44:35 * a^{x+y} b^{2y+3z} c^{x+z} 23:44:38 sheesh 23:46:08 * /a{x+y}b{2y+3z}c{x+z}/ 23:46:33 a^(x+y) b^(2y+3x) c^(x+z) = a^w b^(2w + x) c^(x+z) = a^w b^q c^(q - 2w + z) 23:47:01 = a^w b^q c^(q - 2w) c* 23:47:34 so you dont have to _solve_ a diophantine equation 23:48:03 note that you have to check that the original x,y, and z become positive integers 23:48:16 or nonnegative 23:48:29 no, you just calculate q - 2w on the fly 23:48:33 and if its negative you fail 23:48:43 actually no, you dont, right 23:48:46 my example was, however, too simple 23:49:04 because if its negative, since you have + z, q - 2w + z can be any number 23:49:23 so this is technically the language a*b*c*! 23:50:04 /a{2x+3y}b{5y+2z}c{7z+11w}/ 23:50:16 :D 23:50:18 _now_ you're bloody going to have to solve something 23:50:55 aa{x}aaa{y}bbbbb{y}bb{z}ccccccc{z}ccccccccccc{w} 23:51:14 i forgot that for awkward linear integer equations, you need more variables than equations 23:52:21 = a{w}b{w/3-2x/3}c{7z+11w} = a{w}b{q}c{7z+33q+6x}} 23:53:11 = a{w}b{q}c{33q + n} = a{w}b{q}c{n} = a*b*c* 23:53:19 -!- alise has joined. 23:53:30 augur: and are you _really_ sure all of those correspond to x,y,z,w nonnegative originally? 23:53:35 it doesnt matter 23:53:46 Remember to update the alise sighting counter over the next week... 23:53:55 Oh, wait, most of you guys don't know. Unit again... yeah. 23:53:56 augur: _false_. there is no way you can get c, say 23:53:57 bye alise ::hug:: 23:54:09 <3 23:54:26 alise: take care 23:54:33 oerjan: sure there is, because it contains a free variable (w), c{7z + 11w} is c* 23:54:37 see you 23:54:47 oerjan: I can't take care of myself, I'm dysfunctional! That's why I'm there! ;-) 23:54:55 well, not in the form you give it, but in the equivalent form it does 23:55:00 i think. 23:55:10 augur: c is not a string parsed by my original form, that's the _point_ 23:55:17 what 23:55:37 what do you mean its not a string parsed by your original form 23:55:59 c is not a member of the language /a{2x+3y}b{5y+2z}c{7z+11w}/ 23:56:17 because you damn well cannot get 1 = 7z+11w for nonnegative z,w 23:56:19 oh ok. ok then lets see 23:56:51 er 23:57:00 * oerjan cackles evilly 23:57:05 lets see 23:57:09 to get c 23:57:22 x = 0, y = 0, z = 0 23:57:27 12:30:34 fax: maybe you shouldn't have mentioned your win by paradox in philosophy? bah, humbug :) don't have that 23:57:28 hahaha 23:57:34 because a{2x + 3y} = a{0} 23:57:43 and b{5y + 2z} = 0 23:57:43 um, augur, it's _obvious_ you cannot get c 23:57:53 win by paradox /is/ pretty philosophically dodgy 23:58:11 you cannot get anything strictly between 0 and 7 23:58:11 therefore you'd have to generate c{11w} = c 23:58:21 so yes. indeed you are correct. 23:58:49 oerjan, 23:58:52 you'd get c^(11n) 23:59:02 for n in Z 23:59:29 but again, oerjan, i dont think this would be an issue 23:59:37 since it doesnt involve _solving_ a diophanting 23:59:37 12:51:16 <3 finite calculus 23:59:37 it's like arithmetic but cooler! 23:59:42 in my book is says assume P(x1,...,xm) only takes prime values, then let p = |P(1,...,1)| and consider Q(y1,...,ym)=P(py1+1,...pym+1) 23:59:46 diophanting sounds like an awesome sexual act 23:59:49 ;) 23:59:56 * augur diophants alise