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.

Show HN: MathLingua – A Structured Language of Mathematics

97 pointsby CatsAreCoolover 3 years ago

14 comments

CatsAreCoolover 3 years ago
This is the creator of MathLingua, a unique language for easily describing mathematical definitions, theorems, axioms, and conjectures.<p>It is unique from LaTeX and theorem proving languages and has a different goal. See the documentation at www.mathlingua.org for more information.<p>This post is a follow-up to <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23960662" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23960662</a> and many changes have been made to MathLingua since that time based on the feedback from that post.<p>In particular, since that time, I have added numerous improvements to the language to improve its usability, have drilled down on a particular use-case that I have documented more clearly, and have created a `mlg` command line tool to interact with the MathLingua language.<p>In particular, using `mlg check` one can check their MathLingua documents for errors, with `mlg document` one can create a dynamic static site of their documents suitable to be shared on GitHub pages, and with `mlg edit`, an in-browser IDE is available to edit your MathLingua documents with live previews, auto-complete, etc.<p>I really appreciate all of the feedback I received previously, and any and all feedback now is greatly appreciated.
triclops200over 3 years ago
Awesome project: I love the fact that you can click grab definitions, would make learning new symbols in a field a breeze. Question, though: is there a way to add custom definitions to symbols when you work in a field that uses symbols differently than the standard usage or symbols that have no standard usage (such as \bigoplus in latex)?
评论 #29426024 未加载
评论 #29426039 未加载
estover 3 years ago
The next natural step would be write down all theorems from kindergarten to undergrad and make them reproduciable with <a href="http:&#x2F;&#x2F;leanprover.github.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;leanprover.github.io&#x2F;</a>
评论 #29428133 未加载
robinzfcover 3 years ago
This is very similar to Isabelle&#x27;s Isar [1], except that Isar definitions and theorems can be formally verified. MMathLingua has no doubt a much better presentation layer for mathematics than Isabelle&#x2F;Isar. This can be improved with a custom presentation layer, see for example rendering of topological groups theory from IsarMathLib [2] written in Isar (disclaimer - my project).<p>[1] <a href="https:&#x2F;&#x2F;isabelle.in.tum.de&#x2F;Isar&#x2F;" rel="nofollow">https:&#x2F;&#x2F;isabelle.in.tum.de&#x2F;Isar&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;isarmathlib.org&#x2F;TopologicalGroup_ZF.html" rel="nofollow">https:&#x2F;&#x2F;isarmathlib.org&#x2F;TopologicalGroup_ZF.html</a>
clavalleover 3 years ago
I come from a very practical engineering math background.<p>I am really excited about this project because it makes it very clear how everything hangs together in a way that I haven&#x27;t experienced before. The visual structure of a single definition&#x2F;theorem&#x2F;states is very helpful. Also, knowing how many &#x27;levels&#x27; from the original concept I&#x27;m currently exploring while unpacking and re-packing just helps everything click into place.<p>Very, very cool.
crvdgcover 3 years ago
This is great. You can easily look up a definition within a definition. No more context switching when trying to find Theorem 17.23, and then Definition 2.7.
评论 #29426055 未加载
chriswarboover 3 years ago
Seems similar to <a href="http:&#x2F;&#x2F;openmath.org" rel="nofollow">http:&#x2F;&#x2F;openmath.org</a> e.g. <a href="https:&#x2F;&#x2F;www.omdoc.org&#x2F;about&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.omdoc.org&#x2F;about&#x2F;</a> <a href="https:&#x2F;&#x2F;kwarc.info&#x2F;systems&#x2F;sTeX" rel="nofollow">https:&#x2F;&#x2F;kwarc.info&#x2F;systems&#x2F;sTeX</a>
评论 #29433745 未加载
silasdbover 3 years ago
Great project. BTW, I&#x27;m more and more interested in how to produce math for blind people. Although there is some recommendation about writring math in MathML, few (none?) screenreaders actually support it. Could this project help or could you tell me other resources about it? Thanks.
评论 #29433633 未加载
igorkrawover 3 years ago
Does this handle ambiguity in definitions&#x2F;standardization of expressions? Like, if I define entropy H(q,p) with mesures q (X), p(X) and with mesures a (y),b(y) , can I use the mathlingua parser to abstract this to the same representation? Or is it strictly a presentation layer?
derived_lushover 3 years ago
Have you thought about using madoko [1] as a backend for math rendering?<p>Madoko has great support for rendering maths for the web, by far superior to KaTeX and MathJax.<p>[1]: <a href="http:&#x2F;&#x2F;madoko.org&#x2F;reference.html" rel="nofollow">http:&#x2F;&#x2F;madoko.org&#x2F;reference.html</a>
cloudhanover 3 years ago
I think you might be interesting in this interactive papar: <a href="https:&#x2F;&#x2F;willcrichton.net&#x2F;nota&#x2F;" rel="nofollow">https:&#x2F;&#x2F;willcrichton.net&#x2F;nota&#x2F;</a>
评论 #29433658 未加载
tombertover 3 years ago
Oh my goodness, this is awesome. It&#x27;s like the tactics language of Coq, but less irritating and pretty formatting. I will be recommending this to everyone!
mklover 3 years ago
I think you have a typo in the front page example. It says &quot;F(x) is indefinite integral of f(x) on A&quot;, but the interval is &quot;I&quot;.
gnullover 3 years ago
So is it like math written in natural language but more structured and cross-referenced?
评论 #29433686 未加载