[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CZK5R8QE4NQ7FCW6P81081":3,"skill-same:01M7CZK5R8QE4NQ7FCW6P81081":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CZK5R8QE4NQ7FCW6P81081","kernel-check",null,"How to write a large finite check that Lean's kernel can verify with `decide` (no native_decide) — read it before you write one.","Infini-AI-Lab\u002Fhermit","Infini-AI-Lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F149595684?v=4","01M7CZJ2B2FWAKCN12205RA5YT","01M7CZJ2BNJ2V36H0YNVDF7MD9",522,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fexamples\u002Flean_swarm\u002Fadapter\u002Fskills\u002Fkernel-check\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: kernel-check\ndescription: How to write a large finite check that Lean's kernel can verify with `decide` (no native_decide) — read it before you write one.\n---\n\n# A finite check the kernel can do\n\n`decide` costs one kernel step per case. Count the cases before you write the\ncheck, and cut them with mathematics first.\n\n**Verify, don't search.** Whatever is expensive to find, find it with a script and\nwrite it into the statement; Lean then only checks it.\n\n**Write it so the kernel can run it:** a `Bool` function by structural recursion,\nwith a lemma proved by induction that `true` means what you need; keep every\nintermediate value small. Functions defined by well-founded recursion do not reduce\nin the kernel.\n\n**Measure small first.** Run the check on a tiny instance, then time it on a small\nrange before the full one; before you raise a heartbeat limit, time the check on a tenth\nof the range. Split a big check into named lemmas. Never let one check\nblock you for long without knowing why it is slow.\n","# A finite check the kernel can do\n\n`decide` costs one kernel step per case. Count the cases before you write the\ncheck, and cut them with mathematics first.\n\n**Verify, don't search.** Whatever is expensive to find, find it with a script and\nwrite it into the statement; Lean then only checks it.\n\n**Write it so the kernel can run it:** a `Bool` function by structural recursion,\nwith a lemma proved by induction that `true` means what you need; keep every\nintermediate value small. Functions defined by well-founded recursion do not reduce\nin the kernel.\n\n**Measure small first.** Run the check on a tiny instance, then time it on a small\nrange before the full one; before you raise a heartbeat limit, time the check on a tenth\nof the range. Split a big check into named lemmas. Never let one check\nblock you for long without knowing why it is slow.\n",{"name":5,"description":7},"main","e81353897a1b5174178fe9fdf537f68862cc18ee","examples\u002Flean_swarm\u002Fadapter\u002Fskills\u002Fkernel-check",46,"https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit","https:\u002F\u002Finfini-ai-lab.github.io\u002Fhermit\u002F","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab","Next Generation AI algorithms and systems","2026-11-13 10:07:23",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Infini-AI-Lab\u002Fhermit --skill kernel-check",{"tool":38,"command":39},"bunx","bunx skills add Infini-AI-Lab\u002Fhermit --skill kernel-check",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Infini-AI-Lab\u002Fhermit --skill kernel-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fexamples\u002Flean_swarm\u002Fadapter\u002Fskills\u002Fkernel-check\u002FSKILL.md",true,[],[47,53,59,65,71,77],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M7CZMQVA5C6BBSRD2AVFAGE5","keep-journal","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Fkeep-journal\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7CZMK8QC1FXQP17QNAAG94S","failure-discipline","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Ffailure-discipline\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7CZMFXPFX20FV51NP1GHY6N","design-representation","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Fdesign-representation\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7CZMCKY8AA74JVACE7WQ2ZN","decide-executable","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Fdecide-executable\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7CZMARG8WRCWPKTY6EB6MNB","curate-brief","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Fcurate-brief\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7CZM6TBNYYVTZZNF0DCZK55","create-subagent","https:\u002F\u002Fgithub.com\u002FInfini-AI-Lab\u002Fhermit\u002Fblob\u002Fmain\u002Fhermit\u002Fagent\u002Fevolver\u002Fmethods\u002Fmwm\u002Fmaterials\u002Fskills\u002Fcreate-subagent\u002FSKILL.md",[],[]]