ããã°ã©ãã³ã°è¨èªã®åºç¤æ¦å¿µ (ã©ã¤ãã©ãªæ å ±å¦ã³ã¢ã»ããã¹ã)
- ä½è : äºååµæ·³
- åºç社/ã¡ã¼ã«ã¼: ãµã¤ã¨ã³ã¹ç¤¾
- çºå£²æ¥: 2011/07
- ã¡ãã£ã¢: åè¡æ¬
- è³¼å ¥: 6人 ã¯ãªãã¯: 60å
- ãã®ååãå«ãããã° (12件) ãè¦ã
ãã®æ¬ãèªãã§å¦ãã§ããã¾ã ååãããã§é¢æ°ã®å®ç¾©ã¨ãã«ã¤ãã¦åå¼·ãã¦ãã
ããã°ã©ãã³ã°è¨èªã®åä½ãæ°å¦çã«å³å¯ã«è¨è¿°ããæ¹æ³ãé çªã«æãã¦ãããã¨ããå 容ã§ãè¨è¿°ã«ã¯å°åºã·ã¹ãã ãç¨ãããã¦ããåºæ¬çãªç®è¡å¼ããã¯ãã¾ã£ã¦ãå¤æ°ã®å®ç¾©ãé¢æ°ã®å®ç¾©ããã¿ã¼ã³ããããåã·ã¹ãã ãªã©ãæ§ã ãªè¨èªã®æ©è½ãæ¨è«è¦åã«ãã£ã¦å®ç¾©ããæ¹æ³ãæãã¦ããããä¸ããããè¦åãæå³çã«æå³ãããã®ã表ãã¦ãããã®è¨¼æã ãã§ãªãã証æã®ããæ¹ããããã説æããã¦ãã¦ä¸å¯§ã§ããããã
ãããããã®ã¯ãã®æ¬ã®ããã®ãªã³ã©ã¤ã³ã®æ¼ç¿ã·ã¹ãã ã¨ããã®ããã£ã¦ãæ¬ã®ä¸ã§ä¸ããããå°åºã·ã¹ãã ã«åºã¥ãã¦å¼ãæ£ãããã¨ãå°åºããç·´ç¿åé¡ããããã¨ãã§ããããµã¤ãå ã«æ¤è¨¼å¨ããããã¦ãã¦ãèªåãä¸ããå°åºãæ£ããããå¤å®ãã¦ããããã©ãã¾ã§åé¡ã解ãããè¨é²ãã¦ãããããããããã²ã¼ã ã£ã½ãæãã§åå¼·ã§ãã¦ãããããã
é°å²æ°ã ããä¼ãããã¨ã2 + 0 ã 2ã«è©ä¾¡ã§ãããã¨ãå°åºããããã«ã以ä¸ã®æ§ã«æ¸ãã¨æ£è§£ã¨ããæããS(S(Z))ã¦ããã®ã¯ãã¢ãèªç¶æ°ã®è¡¨ç¾ã§ããã£ã¼ãæ°ã¿ãããªãã¤ãby E-Plus ã¿ãããªã®ã¯ã©ã®ãããªæ¨è«è¦åãé©ç¨ãããã¨ããé°å²æ°ã詳ããã¯æ¬èªããæ¼ç¿ã·ã¹ãã ã®ããã¥ã¡ã³ãèªãã¨é°å²æ°ãããã
S(S(Z)) + Z evalto S(S(Z)) by E-Plus { S(S(Z)) evalto S(S(Z)) by E-Const {}; Z evalto Z by E-Const {}; S(S(Z)) plus Z is S(S(Z)) by P-Succ { S(Z) plus Z is S(Z) by P-Succ { Z plus Z is Z by P-Zero {} } } }
ãããªã«è¤éãªåé¡ã¯ãªããã ãã©ããã¾ã«ãã¤ãã®ãããã£ã½ãã¦æ²¹æã§ããªãã以ä¸ã®æ§ãªå¼ãæ£ãããã¨ãå°åºããã£ã¦ããåé¡ããã£ã¦ããããã«é¢åãããªæ°ã¯ãããªã¼ã¨æã£ã¦ã¨ãããã ããめっちゃ大層なことになったã
let twice = fun f -> fun x -> f (f x) in twice twice (fun x -> x * x) 2 evalto 65536
åé¡ã解ãã®ã¯é£ããããã§ã¯ãªãã¦ãã«ã¼ã«ã«ãããã£ã¦ä¸å¯§ã«ééããã«å¼ãå¤æãã¦ããã°ããããå°åºãããããããã ãå°ãã§ãã¾ã¡ãããã¨å ¨é¨ãããããªãã®ã§ãã¾ã¡ãããã«ä¸å¯§ã«ããå¿ è¦ããããåããããªãã¨ãä½åº¦ãä¸å¯§ã«ã¾ã¡ãããã«ããå¿ è¦ããã£ã¦ãã³ã³ãã¤ã©ã®æ°æã¡ãä½é¨ã§ããã