mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#Lean4

1 post1 participant0 posts today
Lean<p>The Lean FRO team met synchronously in Amsterdam last week for our annual team retreat, and to discuss upcoming work and our Year 3 roadmap! 🇳🇱✨</p><p>We had very productive discussions around Lean's future in mathematics, software and hardware verification, and AI for math. It was energizing to see our team's commitment to Lean's continued growth in each of these domains.</p><p>We're cooking up many exciting developments that will support both our mathematical community and our growing base of software verification users. Stay tuned for our full Y3 roadmap publication at the end of July!</p><p><a href="https://functional.cafe/tags/LeanLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LeanLang</span></a> <a href="https://functional.cafe/tags/LeanProver" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LeanProver</span></a> <a href="https://functional.cafe/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> <a href="https://functional.cafe/tags/FormalVerification" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FormalVerification</span></a> <a href="https://functional.cafe/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://functional.cafe/tags/Mathematics" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mathematics</span></a> <a href="https://functional.cafe/tags/TheoremProving" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TheoremProving</span></a></p>
Andreas Grois<p><a href="https://mastodon.gamedev.place/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> 4.19 has added mimalloc as an optional dependency.<br>I am totally fine with this.</p><p>However, I don't like that it just tries to download it during the build process, instead of looking for a system-installed version first.</p><p>This means, my current Lean4 <a href="https://mastodon.gamedev.place/tags/Gentoo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Gentoo</span></a> ebuild does not work with 4.19 any more...</p><p>I will have to write a patch for Lean at some point, to allow using a locally installed mimalloc.</p>
Winbuzzer<p>DeepSeek Releases Massive 671B Prover V2 Model For Mathematical Theorem Proving Ahead of R2 Release</p><p><a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AI</span></a> <a href="https://mastodon.social/tags/ChinaAI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ChinaAI</span></a> <a href="https://mastodon.social/tags/DeepSeek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeepSeek</span></a> <a href="https://mastodon.social/tags/OpenSourceAI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSourceAI</span></a> <a href="https://mastodon.social/tags/Math" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Math</span></a> <a href="https://mastodon.social/tags/TheoremProving" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TheoremProving</span></a> <a href="https://mastodon.social/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> <a href="https://mastodon.social/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MachineLearning</span></a> <a href="https://mastodon.social/tags/DeepLearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeepLearning</span></a> <a href="https://mastodon.social/tags/MathAI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MathAI</span></a></p><p><a href="https://winbuzzer.com/2025/04/30/deepseek-releases-massive-671b-prover-v2-model-for-mathematical-theorem-proving-ahead-of-r2-release-xcxwbn/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">winbuzzer.com/2025/04/30/deeps</span><span class="invisible">eek-releases-massive-671b-prover-v2-model-for-mathematical-theorem-proving-ahead-of-r2-release-xcxwbn/</span></a></p>
sheerluck<p>use <a href="https://misskey.io/tags/Lean4" rel="nofollow noopener noreferrer" target="_blank">#Lean4</a><span> for proofs please<br><br>RE: </span><a href="https://mitra.do.rayslava.com/objects/01963ed0-f2ed-adbc-9c35-4f99b4bb4030" rel="nofollow noopener noreferrer" target="_blank">https://mitra.do.rayslava.com/objects/01963ed0-f2ed-adbc-9c35-4f99b4bb4030</a></p>
mehbark<p><a href="https://critter.cafe/tags/mathlib" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mathlib</span></a> has a fascinating set of counterexamples, which includes, for example, a disproof of the Aharoni–Korman conjecture: <a href="https://leanprover-community.github.io/mathlib4_docs/Counterexamples/AharoniKorman.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">leanprover-community.github.io</span><span class="invisible">/mathlib4_docs/Counterexamples/AharoniKorman.html</span></a></p><p>when i'm in a <a href="https://critter.cafe/tags/lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean4</span></a> phase, i often think of (much, <em>much</em> more trivial) false statements, so i decided to just start proving that they were indeed false: <a href="https://g.pyrope.net/simple-counterexamples" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">g.pyrope.net/simple-counterexa</span><span class="invisible">mples</span></a></p><p>the pace of additions will be somewhat rapid because the proofs are only a couple of lines at most. they're fun to think about, though—how would you prove that (haskell syntax) <code>Monad m =&gt; m a -&gt; a</code> is inconsistent?</p>
Mark Andrew Gerads<p><a href="https://www.youtube.com/watch?v=TFBzP78Jp6A" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=TFBzP78Jp6</span><span class="invisible">A</span></a></p><p><a href="https://mathstodon.xyz/tags/Lean4" class="mention hashtag" rel="tag">#<span>Lean4</span></a> <a href="https://mathstodon.xyz/tags/LeanLang" class="mention hashtag" rel="tag">#<span>LeanLang</span></a> <a href="https://mathstodon.xyz/tags/Lean" class="mention hashtag" rel="tag">#<span>Lean</span></a></p>
Andreas Grois<p>TIL: <a href="https://mastodon.gamedev.place/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> Substring.isEmpty == false does not imply Substring.toString.isEmpty == false.</p><p>The problem arises because Substring.isEmpty only looks if the difference between start/stop position is zero. It does not check, if those positions are inside the underlying string.</p><p>It is therefore easy to produce a Substring that has Substring.isEmpty == false, but Substring.toString.isEmpty == true.</p><p><a href="https://live.lean-lang.org/#codez=CYUwZgBCEFwLwQBQGUCuAjAzgFwE4EsA7AcwDoBbAawgCIBDTYMGpZPIsgBQHtMLqArAEpW7EqR58qEAGxChAKAUBaZRDB0ANphAKAxCABuWqKXyYAouQAO2AJ5LVEPKl0Hjm09m5sC481a2dkA" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">live.lean-lang.org/#codez=CYUw</span><span class="invisible">ZgBCEFwLwQBQGUCuAjAzgFwE4EsA7AcwDoBbAawgCIBDTYMGpZPIsgBQHtMLqArAEpW7EqR58qEAGxChAKAUBaZRDB0ANphAKAxCABuWqKXyYAouQAO2AJ5LVEPKl0Hjm09m5sC481a2dkA</span></a></p>
Adolfo Neto<p>Will you be in Oxford on May 6? <br>You can attend Leonardo de Moura's lecture on Lean!<br><a href="https://bertha.social/tags/LeanLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LeanLang</span></a> <a href="https://bertha.social/tags/LeanProver" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LeanProver</span></a> <a href="https://bertha.social/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a></p>
Hacker News<p>Clean, a formal verification DSL for ZK circuits in Lean4</p><p><a href="https://blog.zksecurity.xyz/posts/clean/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.zksecurity.xyz/posts/clea</span><span class="invisible">n/</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/Clean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Clean</span></a> <a href="https://mastodon.social/tags/ZK" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ZK</span></a> <a href="https://mastodon.social/tags/circuits" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>circuits</span></a> <a href="https://mastodon.social/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> <a href="https://mastodon.social/tags/formal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>formal</span></a> <a href="https://mastodon.social/tags/verification" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>verification</span></a> <a href="https://mastodon.social/tags/DSL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DSL</span></a></p>
sheerluck<p><a href="https://misskey.io/tags/Lean4" rel="nofollow noopener noreferrer" target="_blank">#Lean4</a> or <a href="https://misskey.io/tags/Idris2" rel="nofollow noopener noreferrer" target="_blank">#Idris2</a><span><br><br>RE: </span><a href="https://msk.seppuku.club/notes/a5s7w4w8gz" rel="nofollow noopener noreferrer" target="_blank">https://msk.seppuku.club/notes/a5s7w4w8gz</a></p>
Hacker News<p>Formal Verification for Machine Learning Models Using Lean 4</p><p><a href="https://github.com/fraware/leanverifier" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/fraware/leanverifier</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/FormalVerification" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FormalVerification</span></a> <a href="https://mastodon.social/tags/MachineLearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>MachineLearning</span></a> <a href="https://mastodon.social/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a> <a href="https://mastodon.social/tags/AIResearch" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AIResearch</span></a> <a href="https://mastodon.social/tags/TechInnovation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TechInnovation</span></a></p>
Tariq<p>I'll be doing a short beginner-friendly intro and live-demo of the Lean + Mathlib maths proof system </p><p>at the next <a href="https://mastodon.social/tags/pydata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pydata</span></a> <a href="https://mastodon.social/tags/exeter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>exeter</span></a> meetup in early April </p><p><a href="https://www.meetup.com/pydata-exeter/events/306511193/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">meetup.com/pydata-exeter/event</span><span class="invisible">s/306511193/</span></a></p><p><a href="https://mastodon.social/tags/maths" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maths</span></a> <a href="https://mastodon.social/tags/lean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean</span></a> <a href="https://mastodon.social/tags/lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean4</span></a></p>
Tariq<p>After months of working daily, today at 5.02pm approx I completed the course</p><p>" Mechanics of Proof "</p><p>That's means I completed every exercise - (except 3)</p><p>When I started I wanted to learn cover the basis of not just algebra, but also sets and functions - and the course does that. The only area it doesn't cover that I wanted was real analysis - eg convergence of sequences etc</p><p>phew !</p><p><a href="https://hrmacbeth.github.io/math2001/index.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hrmacbeth.github.io/math2001/i</span><span class="invisible">ndex.html</span></a></p><p><a href="https://mastodon.social/tags/maths" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maths</span></a> <a href="https://mastodon.social/tags/lean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean</span></a> <a href="https://mastodon.social/tags/lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean4</span></a></p>
Tariq<p>If you think writing maths proofs in code is only for PhDs...</p><p>... this course was created for you!</p><p>* small bite-size examples<br>* concepts first, code second<br>* minimal jargon<br>* one simple exercise per chapter - designed to build confidence - not destroy it !</p><p><a href="https://www.amazon.com/dp/B0DWHS1RDJ" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">amazon.com/dp/B0DWHS1RDJ</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/maths" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maths</span></a> <a href="https://mastodon.social/tags/lean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean</span></a> <a href="https://mastodon.social/tags/lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean4</span></a></p>
Lukas Gerlach<p>My Existential Rule <a href="https://mathstodon.xyz/tags/Lean4" class="mention hashtag" rel="tag">#<span>Lean4</span></a> library [1] is taking shape more and more. I&#39;ve recently finished a correctness proof for a sufficient condition for chase termination, called MFA. I&#39;m hopeful that extensions of this notion (DMFA and RMFA) are not too hard to formalize now once a few ugly technicalities are sorted out :)</p><p>[1] <a href="https://github.com/monsterkrampe/Existential-Rules-in-Lean" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/monsterkrampe/Exist</span><span class="invisible">ential-Rules-in-Lean</span></a></p>
jnkrtech<p>I'm still fumbling about in the dark with Lean, but my goal for my first big project is to implement system F sub omega and prove its type safety. I'm going to try some simpler lambda calculi first, probably, because I fear that which I do not understand.</p><p>Question: Does anyone have tips/examples/guides as to how to start to practically describe a type theory? I started out trying to define evaluation and de Bruijn indices etc and got lost in the weeds. Is there a way to operate fully at a higher level, and only really talk about the types? And if I'm only interested in proving the theory, and not with efficient execution, is there a better way for me to represent scopes/contexts?</p><p><a href="https://social.treehouse.systems/tags/lean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean</span></a> <a href="https://social.treehouse.systems/tags/programminglanguagetheory" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programminglanguagetheory</span></a> <a href="https://social.treehouse.systems/tags/PLT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PLT</span></a> <a href="https://social.treehouse.systems/tags/proofs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>proofs</span></a> <a href="https://social.treehouse.systems/tags/TAPL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TAPL</span></a> <a href="https://social.treehouse.systems/tags/Lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lean4</span></a></p>
sheerluck<p><a href="https://misskey.io/tags/Lean4" rel="nofollow noopener noreferrer" target="_blank">#Lean4</a><span><br><br>Feature Request: </span><b>rofl</b> as alias to <b>rfl</b></p>
sheerluck<p><a href="https://misskey.io/tags/Stockfish" rel="nofollow noopener noreferrer" target="_blank">#Stockfish</a> <a href="https://misskey.io/tags/HaChu" rel="nofollow noopener noreferrer" target="_blank">#HaChu</a> <a href="https://misskey.io/tags/Lean4" rel="nofollow noopener noreferrer" target="_blank">#Lean4</a> <a href="https://misskey.io/tags/exact" rel="nofollow noopener noreferrer" target="_blank">#exact</a> <a href="https://misskey.io/tags/exactly" rel="nofollow noopener noreferrer" target="_blank">#exactly</a> <a href="https://misskey.io/tags/gptf" rel="nofollow noopener noreferrer" target="_blank">#gptf</a> <a href="https://misskey.io/tags/Loogle" rel="nofollow noopener noreferrer" target="_blank">#Loogle</a></p>
Jon Sterling<p>Some strange behaviour with Lean&#39;s evaluation of thunks. I wonder if is intentional that this result in [[forcing]] being printed twice?</p><p>Keep in mind that if I do a variation on this without using an inductive type constructor, [[forcing]] is printed only once.</p><p><a href="https://mathstodon.xyz/tags/Lean4" class="mention hashtag" rel="tag">#<span>Lean4</span></a> <a href="https://mathstodon.xyz/tags/Lean" class="mention hashtag" rel="tag">#<span>Lean</span></a></p>
Tariq<p>"Constructing proofs is an art, <br>checking them is a science."</p><p>If you're new to writing proofs as code, check out my course designed to build confidence - not demolish it!</p><p><a href="https://www.amazon.com/dp/B0DWHS1RDJ" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">amazon.com/dp/B0DWHS1RDJ</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/maths" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>maths</span></a> <a href="https://mastodon.social/tags/lean" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean</span></a> <a href="https://mastodon.social/tags/lean4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lean4</span></a></p>