|
Metamath is a language for developing strictly formalized mathematical definitions and proofs〔(【引用サイトリンク】 title=What is Metamath? )〕 accompanied by a proof checker for this language and a growing database of thousands of proved theorems covering conventional results in logic, set theory, number theory, group theory, algebra, analysis, and topology, as well as topics in Hilbert spaces and quantum logic.〔(【引用サイトリンク】 author=Megill, Norman )〕 ==The Metamath language== While the large database of proved theorems follows conventional ZFC set theory, the Metamath language is a metalanguage, suitable for developing a wide variety of formal systems. The set of symbols that can be used for constructing formulas is declared using $c and $v statements; for example:
The grammar for formulas is specified using a combination of $f and $a statements; for example:
Axioms and rules of inference are specified with $a statementsalong with $ for block scoping; for example:
The metamath program can convert statements to more conventional TeX notation; for example, the modus ponens axiom from set.mm: : Using one construct, $a statements, to capture syntactic rules, axiom schemas, and rules of inference provides a level of flexibility similar to higher order logical frameworks without a dependency on a complex type system.Theorems (and derived rules of inference) are written with $p statements;for example:
Note the inclusion of the proof in the $p statement. It abbreviatesthe following detailed proof:
The "essential" form of the proof elides syntactic details, leaving a more conventional presentation:
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Metamath」の詳細全文を読む スポンサード リンク
|