Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Import and work with a Metamath database
ResourceFunction["MetamathImport"][src] imports Metamath source code from src and returns a MetamathObject. |
"Verify" | False | whether to verify theorem proofs or not |
"Symbols" | list of symbols |
"Constants" | list of constants |
"Variables" | list of variables |
"Statements" | list of statements |
"Axioms" | list of axioms |
"Theorems" | list of theorems |
"Definitions" | list of definitions |
"DependencyGraph" | theorem proof dependency graph |
{"SyntaxTree", stmt} | syntax breakdown tree of a statement |
{"SyntaxDependencyTree", stmt} | syntax dependency tree of a statement |
{"SimpleSyntaxTree", stmt} | simplified syntax tree |
{"ProofTree", thm} | proof tree of a theorem |
{"ProofGraph", thm} | proof graph of a theorem |
{"TokenEventGraph", thm} | token event proof graph of a theorem |
"SetMM" | setmm database |
"NormMegillWolframAxioms" | Norm Megill's proofs of the Wolfram Axioms |
"ASCIITable" | ASCII replacement rules |
Import Metamath source code with several constants and a simple axiom:
In[1]:= |
Out[1]= |
Import a basic Metamath source code sample with 4 constants, 5 variables, 5 floating hypotheses, 1 axiom and 2 proved theorems:
In[2]:= |
Out[2]= |
Construct a proof tree:
In[3]:= |
Out[3]= |
Construct a proof graph:
In[4]:= |
Out[4]= |
Construct a detailed syntax tree breakdown:
In[5]:= |
Out[5]= |
Construct a simplified syntax tree:
In[6]:= |
Out[6]= |
Verifying theorems expands proofs with more information:
In[7]:= |
Out[7]= |
In[8]:= |
Out[8]= |
Import the SetMM database:
In[9]:= |
Out[9]= |
In[10]:= |
Out[10]= |
In[11]:= |
Out[11]= |
In[12]:= |
Out[12]= |
In[13]:= |
Out[13]= |
Norm Megill's proofs of the Wolfram Axioms:
In[14]:= |
Out[14]= |
In[15]:= |
Out[15]= |
In[16]:= |
Out[16]= |
In[17]:= |
Out[17]= |
This work is licensed under a Creative Commons Attribution 4.0 International License