2023-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ã©ã ãè¨ç®ã®æå³è«ã«ããã¦ã¯ãã«ãªã¼ååãä¸å¿çãªæ¦å¿µã§ããã¨ãªãã¨ãä¾åã©ã ãè¨ç®ã®æå³è«ã«ã¯ä¾åã«ãªã¼ååãå¿ è¦ã«ãªãã¾ããã¨ããããã¯ä¸çªå ·ä½çãªãã«ã«ãéåã§ããéååã«ããã¦ä¾åã«ãªã¼ååãèãã¦ã¿ã¾ãã$`\newcommand{\id}{\mathrâ¦
ç¶æ ã¢ããå¤æåãstate monad transformerãã¯ããç¶æ ã¢ããã»å¤æåãã§ã¯ãªãã¦ãç¶æ ã»ã¢ããå¤æåãã§ããã¢ããå¤æåã®ç®çã¯ã¢ããã®å¤æã§ãããå®ç¾©ä¸ã¯ã¢ãããããªãã¦ãé¢æãå¤æã§ããã®ã§ããç¶æ ãã²ã£ä»ããå¤æåãstate attachment tâ¦
TypeScriptã§ãã¢ãã¼ï¼äºéç¢å°ã=>ããã§é¢æ°ãåãæ¸ããã®ã¯ã¨ã¦ã便å©ã§ããLean 4ã§ã¯ãã¢ãã¼ï¼ä¸éç¢å°ãâãï¼ã«ããä¾åé¢æ°ç©ºéåããã¤åããè¨è¿°ã§ãã¾ããããã«ä¾¿å©ã§ããå å®¹ï¼ TypeScriptã®ã¢ãã¼é¢æ° Lean 4ã®å ´å ãã¤åãä¾åé¢æ°ç©ºéåâ¦
ããã°ã©ãã³ã°è¨èªã証ææ¯æ´ç³»ã«ããã¦ãæ¢åã®åãçµã¿åãããã®ã§ã¯ãªãã¦ãã¾ã£ããæ°ããåï¼å¤ã®éåï¼ãå®ç¾©ããå ´åã¯ã帰ç´çåãinductive typeãã¨ãã¦å®ç¾©ãããã¨ã«ãªãã¾ãã帰ç´çåã®ä¸ã®é¢æ°ã¯ã帰ç´çã«å®ç¾©ã§ãã¾ãããã®ãã¨ã帰ç´åâ¦
ãå¤é¨ãã¼ã¸ã§ã³ã®ä¾åã«ãªã¼ååãã«ã¦ï¼ å¤é¨ãã¼ã¸ã§ã³ã®ä¾åã«ãªã¼ååã¯ã極éã®å®ç¾©ããªãã£ã¦ããã ããªã®ã§ãå é¨åããªãã¨é¢ç½ãã¯ããã¾ãããé¢ç½ããããã¨ã¯ãä»èãä¸ã§ãã éååã¨ã¯éããªãå $`\mathcal{C}`$ ã«å¯¾ãã¦ä¾åã«ãªã¼ååãâ¦
ãã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ï¼ æ¨è«è¦ååè«ãã§æ¬¡ã®ããã«æ¸ãã¦ãã¾ãã $`A, B, X, Y`$ ãªã©ã¯å $`\mathcal{C}`$ ã®å¯¾è±¡ã表ãã¾ãã$`I, J`$ ãªã©ã $`\mathcal{C}`$ ã®å¯¾è±¡ã§ãããããããâéåã¨ã¿ãªãæ¹æ³âãdereificationããããã¨â¦
ãã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ããç®åãã«ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã«é¢ãã¦å¹¾ã¤ãã®è¨äºãæ¸ãã¾ããã ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ï¼æåã®è¨äºï¼ ç¶ã»ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ è«çã¨åè«ï¼ å°å ¥è¦åã¨â¦
ãããªæãã§ãã åï¼ $`\text{for }x, y\in {\bf R}\\ x^2 + y^2 = r^2`$ å å®¹ï¼ ã¹ããã 1ï¼ SVGè¦ç´ ãç½®ãã ã ã¹ããã 2ï¼ æ°å¼ã表示ããããã¨ãç¢ºèª ã¹ããã 3ï¼ SVG foreignObjectå ã«XHTMLãã©ã°ã¡ã³ããæ¸ã ã¹ããã 4ï¼ ããã«ã©ãããã¦æ®µâ¦
JSONå½¢å¼ã§è¡¨ç¾ããããã¼ã¿ããã£ãã¨ãã¦ããã¼ã¿ã®åä»ããtypingããTypeScriptã§è¨è¿°ããã¨ãã¾ããããã¤ã³ã¿ã¼ãã§ã¤ã¹ãã¯ã©ã¹ã使ããã«ã次ã®ããã«åå®ç¾©ããã¨ãæ軽ã§ãã type A = { "type" : "a", // A specific } type B = { "type" : "b", â¦
ç¶ã»ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ ç¢å°ã®æ··ä¹±ã«å¯¾å¦ããï¼ ãã«ã«ãéåã®ããã®è¨æ³ ä¸è¨2ã¤ã®è¨äºã§è¿°ã¹ãå 容ãçµã¿åããã¦ãè¨è¿°ã追å ãã¾ããè«çã§ãããæ¨è«è¦åãã¯ç¨®é¡ãéããã®ãã´ããã£ã«ãã¦ãã¾ããå°å ¥è¦åãintroduction ruleâ¦
ãç¢å°ã®æ··ä¹±ã«å¯¾å¦ããï¼ ãã«ã«ãéåã®ããã®è¨æ³ãããï¼ ä¸çªããã¥ã©ã¼ãªç¢å°è¨å·ã§ããã$`\to`$ãã¯ãåã®å°ã®ãããã¡ã¤ã«ï¼åã¨ä½åã®ä»æ§ï¼ã®åºåãè¨å·ã«ç¬å çã«ä½¿ããã¦ããã ãã¾ãã ããã¯ãã¡ãããåã®ç§çææ¡ãã¤ããé¡æã§ãã£ã¦ãç¢â¦
2023-02-09ã®åã®ãã¤ã¼ãï¼ ç¢å°ãâããç°ãªãæå³ã§ãªã¼ãã¼ãã¼ãããã¦ããã®ã¯ç¸å½ã«æ·±å»ãªåé¡ã ãªã¼ã ããã§æ··ä¹±ãããæ«æãã人ããããããå¼å®³ã¨ã¦ã大ããã åæ°å¹´åããã«ãªã¼ï¼ãã¯ã¼ã対å¿ã®ã»ããã¼ã¨ããã£ã¦ããããã§ããè¤æ°ã®åéã«â¦
é¢æ°ã®ãã¡ããªã¼ãæãããã¿ãã«é¢æ°ãä½ãæä½ã¨ã³ã¿ãã«é¢æ°ãä½ãæä½ã¯å対ãdualãã§ãåè«ã®æ¥µéã¨ä½æ¥µéã®å対æ§ã«å¯¾å¿ãã¾ããããããåçè«ãããã°ã©ãã³ã°è¨èªã®ãªãã§ã¯ããã®å対æ§ãè¦ãã«ãããªã£ã¦ãã¾ããã¿ãã«æ§æã¯ãλΠè¨ç®ãã©ã ãâ¦
å°æ¥æ¸ãããããç¥ããªãï¼æ¸ãããªãããç¥ããªãï¼è¨äºããåç §ãããå ·ä½ä¾ãå ã«æ¸ãã¦ããã¾ããå 容ã¨ãã¦ã¯ãé¢æ°éã®ã¿ãã«æ§æã¨ã³ã¿ãã«æ§æã§ããã¿ãã«æ§æã¨ã³ã¿ãã«æ§æãã²ã¨ã¤ã®è¨å®å ã§åºã¦ããä¾é¡ã«ãªã£ã¦ãã¾ããã¿ãã«æ§æã¨ã¯ããã¼â¦
ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ ç¶ã»ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ ã¾ã ããã®ï¼ ã¾ã ããã¾ãï¼ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ãCurry-Howard-Lambek correspondenceãã¯ããåçè«ï¼ã©ã ãè¨ç®ãå«ãï¼ããè«çããåè«ãã®ä¸åéã®â¦
ãç¶ã»ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ãã«ã¦ï¼ åè«ã§ã¯ãå°ã®ããã ã®çå¼çé¢ä¿ãä¾ãã° $`\langle f , g \rangle; \pi_1 = f`$ ãªã©ãéè¦ã§ãããè«çã§ã¯ãã¾ãè¨åãã¾ãããåéãã¨ã«ãèå³ã®ããæ¹ã価å¤è¦³ãéãããã§ãããã è«çã«ãâ¦
ç¾ç¶ã®è¨¼ææ¯æ´ç³»ãproof assistantãã«ã¤ãã¦ãåã¯ããã£ã¡ã ãæç´ã¨æå¥ãè¨ã£ã¦ãã¾ãï¼twitterã§ã¼ãããããã¦ãï¼ã大ããªä¸æºç¹ã¯ããã©ã¯ã¼ãã»ãªã¼ãºãã³ã°ã®å¯¾è©±çãµãã¼ããã¾ã£ãããªãç¹ã§ããä¸ä¾¿ã ãé¢ç½ããªããå å®¹ï¼ è¨¼æã½ããã¦ã§ã¢ã®â¦
ãã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ã®è¾æ¸ãã®ç¶ãã§ããã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ãCurry-Howard-Lambek correspondenceãã¯ãç´°é¨ã¾ã§å¯¾å¿ãè¡ãå±ãã¦ããã®ã§ãè«çã®æ¨è«è¦åã®å¯¾å¿ç©ãè¦ã¦ã¿ã¾ããè«çã§ã¯ããå°å ¥è¦åã¨é¤å»è¦åãâãããã«â¦
ã«ãªã¼ï¼ãã¯ã¼ãï¼ã©ã³ããã¯å¯¾å¿ãCurry-Howard-Lambek correspondenceãã¯ããåçè«ï¼ã©ã ãè¨ç®ãå«ãï¼ããè«çããåè«ãã®ä¸åéã®æ¦å¿µã®ããã ã®ç²¾å¯ã»è©³ç´°ãªå¯¾å¿ãä¸ãã¦ããã¾ããããããè¨èã¯ãã¾ã対å¿ãã¦ããã¾ãããç°ãªãåéã®è¨èªã»æâ¦