è¨ç®ã®æ¬è³ªã¯ä½ã§ããããï¼è¨ç®ã«ã¯ã足ãç®å¼ãç®æãç®ã¨è²ã ããã¾ããããã«å æ°å解ãå¾®åç©åãªã©ãè¨ç®ã®ç¨®é¡ãæããã°ãããããã¾ãããããããããã沢山ã®ã«ã¼ã«ã沢山è¦ãã¦ããããã§è¨ç®ã®æ¬è³ªãåãã£ãäºã¯ãªãã¾ãããããã§è¦ç¹ãé転ãã¦ãããé£ããè¨ç®ã§ã¯ãªããããåç´ãªè¨ç®ã«ã¤ãã¦èãã¦ã¿ãäºã«ãã¾ãã
é¢ç½ããã¨ã«ãã©ããªè¤éãªè¨ç®ãåç´ãªè¨ç®ã®çµã¿åããã§åºæ¥ã¦ãã¾ããæãç®ã¯è¶³ãç®ã®çµã¿åããã§ãããå¼ãç®ã¯è¶³ãç®ãéã«ãããã®ã§ããããã«ã足ãç®ãããããã«åç´ãªè¨ç®ãèããäºã¯åºæ¥ãã§ããããï¼æãã沢山ã®æ°å¦è ããã®ããºã«ã«ææ¦ãã沢山ã®ã¢ãã«ãçã¾ãã¾ãããä»æ¥ãç´¹ä»ããã©ã ãè¨ç®ããã®ä¸ç¨®ã§ããã©ã ãè¨ç®ã¯é常ã«åç´ãªè¨ç®ã¢ãã«ã§ãããåç´ããã¦è¨ç®éç¨ã追ãã®ãé£ããã§ããããã§ãã¢ãã¡ã¼ã·ã§ã³ã使ãã¨ä»çµã¿ãããããããã®ã§ã¯ç¡ããã¨èãã¾ãã(Firefox, Chrome, Safari ã§åä½ç¢ºèªãã¾ãã)ã
ã¾ãä¸çªç°¡åãªã©ã ãå¼ x ã§ããä¸ã¤ã®å¤æ°ããã®ããã«ä¸ã¤ã®åµã§è¡¨ãã¾ãã
ãã®ä¾ã§ã¯ã¯ããåµãæ±ãã¦ãã¾ãããã®ã¯ãã¯å®¶æã§ããã©ã ãå¼ã§ã¯ λx.x ã¨æ¸ãã¾ããã¾ã ä½ãé¢ç½ãäºã¯èµ·ããã¾ããã
ç·ã®ã¯ã家æã®å³ã«éã®ã¯ã家æããã¾ããã©ã ãå¼ã§ã¯ (λx.x) (λy.y) ã§ãããã®ããã«ã¯ãã®è²ã¯å¤æ°åã«ãã£ã¦å¤ããã¾ãããã¦ãããã§æ®é ·ãªäºãèµ·ããã¾ããå³ãã¯ãªãã¯ãã¦ã¿ã¦ãã ãããã¯ãã¯ãã¤ã§ããè ¹ã空ãã¦ããã®ã§ãå·¦ã®ã¯ãã¯å³ã®ã¯ããé£ã¹ã¦ãã¾ãã¾ãããããé£äºã®æ¸ãã ã¯ãã¯ãè ¹ãè¨ãããã¦ãã®ã¾ã¾æ»ãã§ãã¾ãã¾ãã代ããã«åµããæ°ããªçå½ãèªçãã¾ãããããçã¾ããåä¾ã¯ä¸æè°ãªãã¨ã«ããæ¯ããã§ã¯ãªããé£ã¹ããã家æã«ãã£ãããªã®ã§ãï¼ã¨ããäºã§ãã®ã©ã ãå¼ã®è¨ç®çµæ㯠(λy.y) ã«ãªãã¾ãã
ããå°ãè¤éãªä¾ãè¦ã¦ã¿ã¾ããããå·¦ã«è¦ªã¯ã x 㨠y ã縦ã«äºå¹ã¨åµ x ããã£ã¦ããã®å³ã« a 㨠b äºã¤ã®åµãäºã¤ä¸¦ãã§ãã¾ãããã®å ´åãã¾ãä¸ã®ã¯ã x ãåµ a ãé£ã¹ã次ã«ä¸ã®ã¯ããy ã b ãé£ã¹ã¾ããæ®ã£ãåµ x ããã¯æåã®ã¯ããé£ã¹ãåµ a ãçã¾ãã¾ããã¨ãããã¨ã§ãè¨ç®éç¨ã¯æ¬¡ã®ããã«ãªãã¾ãã
(λx.λy.x) a b (λy.a) b a
ããä¸ã¤ç¹å¥ãªç½ã¯ãããç´¹ä»ãã¾ããç½ã¯ãã¯ãã¤ã§ãæºè ¹ã§ãç¹ã«ä»ã®ã¯ããé£ã¹ãããã¾ããããã ãä½ããã®çç±ã§ç½ã¯ããå®ã£ã¦ãã家æãä¸ã¤ã«ãªãã¨æ»ãã§ãã¾ãã¾ããç½ã¯ãã¯ãæ¬å¼§ã®å½¹å²ãæããã¾ãã
ä»åº¦ã¯å°ã é£ããã«ã¼ã«ã§ããä¸ã®ä¸ã«ã¯è²ãååã¯åãã ãã©ãå ¨ç¶å®¶æã§ã¯ç¡ãã¯ãããã¾ãããã®ä¾ã§ã¯ãy ã®éãã¯ããå·¦å³äºå¹ãã¾ããããã®ã¯ãã¯ç¸¦ã«ä¸¦ãã§ããªãã®ã§å®¶æé¢ä¿ã§ã¯ããã¾ãããä¸ã® xãã¯ãã y ã¯ããé£ã¹ãå¾ã§ y ã¯ã㯠x ã®åµããçã¾ãå¤ããã®ã§ãããæ¬å½ã¯ç¬ç«ãã家æé¢ä¿ãæ··ãããªãããã«è²ãå¤ããã¾ãããã®ä¾ã§ã¯ã(λy.y) ã¯è²ãå¤ãã£ã¦ãªã¬ã³ã¸ã® (λy1.y1) ã«ãªãã¾ãã
ã¨ãã¾ãã ãããå¿ è¦ãªã«ã¼ã«ã¯ããã¾ã§ã§ãæ®ãã¯ç§ã®å¥½ããªã¯ã家æãã¡ããç´¹ä»ãã¾ãã
ã¯ãªãã¯ããåã«ä½ãèµ·ãããäºæ³ã§ãã¾ãã§ããããï¼å·¦ã®ã¯ããå³ã®ã¯ã家æãé£ã¹ãã¨ãé£ã¹ãããã¯ã家æã¯åµãã復活ãã¾ããåµã¯äºã¤ããã®ã§ãäºçµã®ã¯ã家æããã¾ããã¾ãæ°¸é ã«é£ã¹ç¶ãã¾ããã¢ãã¡ã¼ã·ã§ã³ãæ¢ããã«ã¯ããä¸åº¦ã¯ãªãã¯ãã¦ä¸ããããã¾ã«æ¢ã¾ãã¾ãã
ããä¸ã¤ç¾ããç©ãç´¹ä»ãã¾ãããã㯠Y ã³ã³ããã¼ã¿ã¼ã¨å¼ã°ãããã®ã§ãæ¾ã£ã¦ç½®ãã¨æ¬¡ã å¢æ®ãã大å¤å±éºãªã¯ãã§ããæ°ãä»ããªãã¨å¢ãããã¦ãã©ã¦ã¶ãã¯ã©ãã·ã¥ããã®ã§æ³¨æãã¦ä¸ããã
ãã¦ãæåã«ããåç´ãªè¨ç®ã«ã¤ãã¦èãã¦ã¿ãã¨æ¸ãã¦ãã¾ãã¾ããããæ£ç´æ¸ãã®ãç²ããã®ã§èª¬æç¡ãã§è¶³ãç®ã®ä¾ã ãä¸ãã¾ãããã㯠3 + 4 ã表ãã¾ãããªãããã足ãç®ãªã®ã㯠Wikipedia ã«æ¸ãã¦ããã¾ãããã£ããè¨ã£ã¦ãä¸çªå·¦ã®å®¶æã足ãç®ã表ããã®ããã¯ç·ã®åµ(s) ã®æ°ã§æ°åã表ãã¾ããçãä¸ã®å®¶æ㯠s ãä¸ã¤ããã®ã§ 3ãå³ã®å®¶æ㯠s ãåã¤ããã®ã§ 4 ã§ããè¨ç®ãçµãã㨠s ãä¸ã¤æ®ãã¾ãã
ãã¦ããã®ã¢ãªã²ã¼ã¿ã¼ã»ã¨ãã°ã¨ããã®ã¯ãã¬ããã»ãã¯ã¿ã¼ããã Haskell ã®çºæè ã®ä¸äººã§ãããã£ãªããã»ã¯ãã©ã¼ã«è§¦çºããã¦èæ¡ããç©ã§ãããã¬ããããã®ã¢ã¤ãã¢ã¯ãã ã®ã¤ã©ã¹ãã ã£ãã®ã§ãããç§ã¯ãã®ã¯ããã¡ã Y ã³ã³ããã¼ã¿ã¼ã®ãã³ã¹ããã¦ããæãã©ããã¦ãè¦ããã¦èªåã§ã¢ãã¡ã«ãã¦ã¿ã¾ãããã¾ã ã¾ã é¢ç½ãã©ã ãè¨ç®ãããã¾ãã®ã§ãèªåã§å®é¨ããã人㯠http://metatoys.org/alligator/ ã®ãã¼ã¸ã§è²ã å®é¨ãã¦ã¿ã¦ä¸ããã