Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Enumerate canonical Wolfram model rules with a particular signature
ResourceFunction["EnumerateWolframModelRules"][signature] generates a list of all canonical connected Wolfram model rules with the specified signature.  | |
ResourceFunction["EnumerateWolframModelRules"][signature,s] allows only up to s distinct elements.  | |
ResourceFunction["EnumerateWolframModelRules"][signature,type] generates all possible rules with the specified type of connectivity.  | |
ResourceFunction["EnumerateWolframModelRules"][signature,{s,type}] uses up to s distinct elements, with specified connectivity type.  | 
| All | require both left- and right-hand sides to be connected individually and together | 
| Automatic | require left-hand side to be connected, and connected to right-hand side | 
| None | do not constrain based on connectivity | 
Show all Wolfram model rules with the signature 
:
| In[1]:= | 
| Out[1]= | 
Wolfram model rules with signature 
and up to two distinct elements:
| In[2]:= | 
| Out[2]= | ![]()  | 
Wolfram model rules with signature 
 and no connectivity constraints:
| In[3]:= | 
| Out[3]= | ![]()  | 
Enumerate Wolfram model rules with signature 
 and connected left- and right-hand sides:
| In[4]:= | 
| Out[4]= | ![]()  | 
Enumeration may take a long time even for moderately complicated signatures:
| In[5]:= | 
| Out[5]= | 
This work is licensed under a Creative Commons Attribution 4.0 International License