[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

MMT - The MMT Language

The Wayback Machine - https://web.archive.org/web/20210929132643/https://uniformal.github.io//doc/language/


This sections gives an overview of the general language structure of MMT. To be more concrete, it also explains one specific concrete syntax, which is the main syntax used to write MMT content natively. A description of MMT’s abstract syntax and the corrseponding internal data structures can be found here

MMT is a language for formal mathematics that pays special attention to foundation-independence, scalability, and modularity. MMT follows the OMDoc philosophy and will be integrated into the upcoming OMDoc 2 format. The following describes the general principles of MMT.

The goals of OMDoc and MMT are to provide a web-scalable environment in which all mathematics can be represented in a way that supports both rigorous mathematical and logical tools as well as knowledge management services (e.g., databases, notation management, document management, change management).

The key features of the MMT language are

MMT’s 4 Levels of Knowledge

MMT organizes knowledge along the following four levels. All 4 levels are interconnected through the use of identifiers: the MMT URI.

Structural Levels vs. Objects

Document, module, and symbol level are jointly called structural levels. They share the following features:

Objects differ from the structural declarations as follows:

Sometimes structural levels and objects are distinguished as outer and inner syntax, respectively.

The distinction is very important in practice also: Many algorithms proceed fundamentally differently for the two. This is because the structural levels introduce new identifiers and thus, e.g., new notations and typing rules, which then determine how objects must be processed.

For example, parsing the structural levels can use keywords and simple top-down parsers, whereas the notations and precedences involved parsing objects demand more sophisticated parsers.