Sunday, July 26, 2020

Show HN: MathLingua – The Language of Mathematics

MathLingua is a language designed to clearly and concisely describe mathematical knowledge (theorems, definitions, notes, exercises, books, and more) in a format that is easy for both people and computers to understand.

With MathLingua you can construct an interconnected collection of math knowledge that is always growing, expanding, and building on itself in the same way mathematics is always growing and expanding on itself.

To keep track of your math knowledge, you can create a private collection or contribute to/explore the public collection at Mathlore.org.

If you want to use your own machine, you can build your own collection using the Vistual Studio Code MathLingua Extension or your any other editor using the MathLingua command line tool.

Just as natural languages allow you to express yourself in literary works, MathLingua allows you to clearly and concisely express mathematical knowledge.

For example, the following is the Second Fundamental Theorem of Calculus rendered from MathLingua code:


.\[a\],\[b\],\[f(x)\],\[F(x)\]

.\[a, b\]is\[\textrm{real number}\]
.\[f(x)\]is\[\textrm{continuous function on } [a, b]\]
.\[F(x)\]is\[\textrm{antiderivative of } f (x) \textrm{ on } [a, b]\]


.\[\int_{a}^{b} f (x) \: d x = F (b) - F (a)\]


.Second Fundamental Theorem of Calculus

Here is the associated MathLingua code iteself:


.a,b,f(x),F(x)

.'a, b is \real.number'
.'f(x) is \continuous.function:on{\closed.interval{a, b}}'
.'F(x) is \antiderivative:of{f(x)}on{\closed.interval{a, b}}'


.'\definite.integral[x]_a^b{f(x)} = F(b) - F(a)'


."Second Fundamental Theorem of Calculus"

To learn more following the links below.

Note: The MathLingua documentation is a work in progress. Check back often for updates.



from Hacker News https://ift.tt/3jKxcti

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.