TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Natural number game

81 pointsby Chironoabout 5 years ago

9 comments

kevinbuzzardabout 5 years ago
First let me point out that you can jump to any level at any time, so you lose your progress, but only in a weak sense, if you lose your browser tab. You do lose your proofs though.<p>The natural number game was made by passing a repository which contains essentially nothing but Lean code, through this generic tool <a href="https:&#x2F;&#x2F;github.com&#x2F;mpedramfar&#x2F;Lean-game-maker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mpedramfar&#x2F;Lean-game-maker</a> which makes the html pages from the Lean code. If there is anyone out there who understands the Lean game maker code (I don&#x27;t, it was written by my co-author) and is interested in implementing some kind of client side storage then feel free to ping me either at my Imperial email address or at the Lean Zulip chat <a href="https:&#x2F;&#x2F;leanprover.zulipchat.com" rel="nofollow">https:&#x2F;&#x2F;leanprover.zulipchat.com</a> .
评论 #22813632 未加载
openfutureabout 5 years ago
This is a very nice introduction to theorem proving, only caveat is that you cannot save your progress and the lean interpreter in the browser can lock up.<p>But if you just think of it as spaced repetition I&#x27;m sure everyone will agree that it&#x27;s a great feature! :)
评论 #22813294 未加载
jagthebeetleabout 5 years ago
I&#x27;m having a lot of fun with this, having just completed addition.<p>I suppose it&#x27;s natural [pun not intended] to feel like you don&#x27;t really know what you&#x27;re doing except symbolic expansion &#x2F; replacement until you better grok the process, but perhaps that&#x27;s part of the gamified fun.
dsksddfhsfabout 5 years ago
Previously: A real nice similar project using Coq: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4014646" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4014646</a><p>That&#x27;s very polished, visually or at least typographically, which might not please everyone. But the idea of &quot;proof by pointing&quot; is solid.<p>OTOH the &#x27;UX&#x27; of this Lean system is all over the place: being told to remove the word &#x27;sorry&#x27; is a bizarre way to start. With my browser and reasonable font sizes, it&#x27;s just not possible to make the column wide enough to get all the text on the same page. So the following paragraph refers to something that&#x27;s not visible (because it&#x27;s at the end of the text).<p>&quot;At the bottom of the text in this box, there&#x27;s a lemma, which says that if x, y and z are natural numbers then xy + z = xy + z. Locate this lemma (if you can&#x27;t see the lemma and these instructions at the same time, make this box wider by dragging the sides). Let&#x27;s supply the proof. Click on the word sorry and then delete it. When the system finishes being busy, you&#x27;ll be able to see your goal -- the objective of this level -- in the box on the top right. [NB if your system never finishes being busy, then your computer is not running the javascript Lean which powers everything behind the scenes. Try Chrome? Try not using private browsing?]&quot;<p>This paragraph is also bad because it&#x27;s all jumbled up. There&#x27;s advice on resizing the UI, there&#x27;s a casual&#x2F;vague comment on browser compatibility, and there&#x27;s the random placeholder word &quot;sorry&quot; which appears to have no pedagogical purpose. All this as well as the fact that the lemma isn&#x27;t yet visible.<p>From a UX, accessibility, and teaching aspect, there&#x27;s a lot of room for improvement. The current state of this app really comes across as idiosyncratic rather than straightforward. The experience has got a complicated, intrusive, handmade personality rather than being a lucid exposition. Logitext has a particular personality as well but it&#x27;s a slicker one. It hides the incidental complexity better (though the implementation isn&#x27;t necessarily as simple as it should be).
评论 #22818166 未加载
prezjordanabout 5 years ago
Very cool! Didn&#x27;t know about Lean (but I have some experience with Coq). Can&#x27;t wait to dig in more. <a href="https:&#x2F;&#x2F;leanprover.github.io&#x2F;about&#x2F;" rel="nofollow">https:&#x2F;&#x2F;leanprover.github.io&#x2F;about&#x2F;</a>
评论 #22813305 未加载
dsksdfhsfabout 5 years ago
Previously: A real nice similar project using Coq: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4014646" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4014646</a><p>That&#x27;s very polished, visually or at least typographically, which might not please everyone. But the idea of &quot;proof by pointing&quot; is solid.<p>OTOH the &#x27;UX&#x27; of this Lean system is all over the place: being told to remove the word &#x27;sorry&#x27; is a bizarre way to start. With my browser and reasonable font sizes, it&#x27;s just not possible to make the column wide enough to get all the text on the same page. So the following paragraph refers to something that&#x27;s not visible (because it&#x27;s at the end of the text).<p>&quot;At the bottom of the text in this box, there&#x27;s a lemma, which says that if x, y and z are natural numbers then xy + z = xy + z. Locate this lemma (if you can&#x27;t see the lemma and these instructions at the same time, make this box wider by dragging the sides). Let&#x27;s supply the proof. Click on the word sorry and then delete it. When the system finishes being busy, you&#x27;ll be able to see your goal -- the objective of this level -- in the box on the top right. [NB if your system never finishes being busy, then your computer is not running the javascript Lean which powers everything behind the scenes. Try Chrome? Try not using private browsing?]&quot;<p>This paragraph is also bad because it&#x27;s all jumbled up. There&#x27;s advice on resizing the UI, there&#x27;s a casual&#x2F;vague comment on browser compatibility, and there&#x27;s the random placeholder word &quot;sorry&quot; which appears to have no pedagogical purpose. All this as well as the fact that the lemma isn&#x27;t yet visible.<p>From a UX, accessibility, and teaching aspect, there&#x27;s a lot of room for improvement. The current state of this app really comes across as idiosyncratic rather than straightforward. The experience has got a complicated, intrusive, handmade personality rather than being a lucid exposition. Logitext has a particular personality as well but it&#x27;s a slicker one. It hides the incidental complexity better (though the implementation isn&#x27;t necessarily as simple as it should be).
FreeFullabout 5 years ago
Another kinda related website: The Incredible Proof Machine <a href="http:&#x2F;&#x2F;incredible.pm&#x2F;" rel="nofollow">http:&#x2F;&#x2F;incredible.pm&#x2F;</a>
tothabout 5 years ago
This is really fun. Thank you!
zedderledabout 5 years ago
This is cool!