HackerTrans
TopNewTrendsCommentsPastAskShowJobs

CatsAreCool

no profile record

Submissions

Show HN: MathLingua – A Structured Language of Mathematics

mathlingua.org
97 points·by CatsAreCool·5 anni fa·23 comments

comments

CatsAreCool
·4 anni fa·discuss
I'm working on a language MathLingua (www.mathlingua.org) whose goal is to precisely describe mathematics using a format that is easy to read and understand to help address ambiguity in mathematical texts written using natural language.

It is still a work in progress, but does it help address some of the problems you see in learning mathematics? Any feedback is greatly appreciated. Thanks.
CatsAreCool
·5 anni fa·discuss
It is similar. However, where omdoc seems to focus on storing math concepts in a precise way, it’s focus doesn’t appear to be on easily hand writing concepts in that format.

MathLingua, on the other hand, focuses on being precise and easy to read and write in its raw form.
CatsAreCool
·5 anni fa·discuss
That is correct, and the structure allows for computers to better understand the meaning of the math concepts being described, which opens the door to different analyses that can be done.
CatsAreCool
·5 anni fa·discuss
Looks interesting. Thanks for the link.
CatsAreCool
·5 anni fa·discuss
Great feedback. This is one of the areas that I designed MathLingua to help with.

Every definition has a ‘written:’ section describing how to express the math idea on paper and a ‘called:’ section describing how it is described when speaking.

Right now the ‘written:’ is used to render how a result looks, and in a similar way the ‘called:’ section can be used to convert a result into a transcript that a screen reader would read.

I haven’t yet been able to implement this feature though, but stay tuned for updates.
CatsAreCool
·5 anni fa·discuss
I’m glad you like it. One of the goals is to make discovering math easy and fun, in particular exploring theorems and definitions.
CatsAreCool
·5 anni fa·discuss
I haven’t added a reverse lookup yet where you provide a symbol and can find all things that the symbol can represent, but it is on the roadmap.
CatsAreCool
·5 anni fa·discuss
Yes, you can. MathLingua makes no assumptions about what symbols are used to represent different math operations (other than KaTeX is used to render expressions and so you need to symbols KaTeX recognizes).

As such you can use whatever visual representation you want for operations and definitions.

For a particular math definition, you can also specify multiple different notations for the concept (in this case, MathLingua uses the first one when rendering results).

An example of this is the derivative of a function in the “A Detailed Example” section of the docs.
CatsAreCool
·5 anni fa·discuss
This is the creator of MathLingua, a unique language for easily describing mathematical definitions, theorems, axioms, and conjectures.

It is unique from LaTeX and theorem proving languages and has a different goal. See the documentation at www.mathlingua.org for more information.

This post is a follow-up to https://news.ycombinator.com/item?id=23960662 and many changes have been made to MathLingua since that time based on the feedback from that post.

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.

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.

I really appreciate all of the feedback I received previously, and any and all feedback now is greatly appreciated.