# US 2021/0174233 A1 · Graph equation modeling for mathematical equation decomposition and automated code generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174233 A1
- Document ID: US20210174233A1
- Status: Published application
- Kind: A1
- Application number: 16/704,970
- Filed: 2019-12-05
- Published: 2021-06-10
- Earliest claimed: 2019-12-05
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Mehdi BAHRAMI; Wei-Peng CHEN
- Web page: https://patentgrep.com/patent/US20210174233A1

## CPC

- G06F 8/34: Graphical or visual programming
- G06F 40/111: Mathematical or scientific formatting; Subscripts; Superscripts
- G06F 17/10: Complex mathematical operations {(function generation by table look-up G06F1/03; evaluation of elementary functions by calculation G06F7/544)}
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06F 17/15: Correlation function computation {including computation of convolution operations (arithmetic circuits for sum of products per se, e.g. multiply-accumulators G06F7/5443; digital filters, e.g. FIR, IIR, adaptive filters H03H17/00)}
- G06F 40/137: Hierarchical processing, e.g. outlines
- G06F 40/154: Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of performing graph equation modeling. The method includes receiving an input of a mathematical equation from a user via a user interface. The method also includes using a processor, performing processing on the input of the mathematical equation to decompose the mathematical equation into a plurality of tokens to generate an equation graph corresponding to the mathematical equation. The method also includes automatically generating computer code for a user-specified computing language based on the equation graph. The method also includes causing the automatically generated computer code to be presented to the user via the user interface, the automatically generated computer code corresponding to the inputted mathematical equation defined in a computing environment.

## Claims

### Claim 1

A method of performing graph equation modeling, the method comprising:
receiving an input of a mathematical equation from a user via a user interface;
using a processor, performing processing on the input of the mathematical equation to decompose the mathematical equation into a plurality of tokens to generate an equation graph corresponding to the mathematical equation;
generating computer code in a user-specified computing language based on the equation graph; and
causing the computer code to be presented to the user via the user interface, the computer code corresponding to the inputted mathematical equation defined in a computing environment.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
sending the computer code to a computing device configured to be a problem solver;
receiving a solution to the mathematical equation from the problem solver based on the computer code; and
causing the solution to the mathematical equation to be presented to the user via the user interface.

### Claim 3 (depends on 2)

The method of claim 2, wherein the problem solver is a Digital Annealer, a Digital Annealer Simulator, a Quantum Annealer, or a D-Wave Solver.

### Claim 4 (depends on 1)

The method of claim 1, wherein the user input is received in a natural language format in the user interface.

### Claim 5 (depends on 1)

The method of claim 1, wherein the user input is received as an equation input in the user interface and the method further comprises converting the input into a LaTex format.

### Claim 6 (depends on 1)

The method of claim 1, wherein the equation graph comprises a chain of tokens where each token is a node and vertexes of the equation graph correlate with a connection between tokens.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
requesting required user input from the user via the user interface;
receiving the required user input from the user via the user interface;
generating an abstract model of the mathematical equation based on the equation graph, the abstract model including a plurality of the required user input; and
performing additional processing on the required user input and updating the equation graph based on the required user input.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
sending the computer code to a computing device configured to be a problem solver;
receiving a solution to the mathematical equation from the problem solver based on the computer code; and
causing the solution to the mathematical equation code to be presented to the user via the user interface.

### Claim 9

A non-transitory computer-readable medium having encoded therein programming code executable by a processor to perform or control performance of operations comprising:
receiving an input of a mathematical equation from a user via a user interface;
using a processor, performing processing on the input of the mathematical equation to decompose the mathematical equation into a plurality of tokens to generate an equation graph corresponding to the mathematical equation;
generating computer code in a user-specified computing language based on the equation graph; and
causing the generated computer code to be presented to the user via the user interface, the computer code corresponding to the inputted mathematical equation defined in a computing environment.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operations further comprising:
sending the computer code to a computing device configured to be a problem solver;
receiving a solution to the mathematical equation from the problem solver based on the computer code; and
causing the solution to the mathematical equation to be presented to the user via the user interface.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the problem solver is a Digital Annealer, a Digital Annealer Simulator, a Quantum Annealer, or a D-Wave Solver.

### Claim 13 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the user input is received in a natural language input format in the user interface.

### Claim 14 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the user input is received as an equation input in the user interface and the method further comprises converting the input into a LaTex format.

### Claim 15 (depends on 9)

The non-transitory computer-readable medium of claim 9, wherein the equation graph comprises a chain of tokens where each token is a node and vertexes of the equation graph correlate with the connection between tokens.

### Claim 16 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operations further comprising:
generating an abstract model of the mathematical equation based on the equation graph, the abstract model including a plurality of required user input;
requesting the required user input from the user via the user interface;
receiving required user input from the user via the user interface; and
performing additional processing on the required user input and updating the equation graph based on the received required user input.

### Claim 17

A system of performing graph equation modeling, the system comprising:
one or more processors configured to:
receive an input of a mathematical equation from a user via a user interface;
perform processing on the input of the mathematical equation to decompose the mathematical equation into a plurality of tokens to generate an equation graph corresponding to the mathematical equation;
generate computer code in a user-specified computing language based on the equation graph; and
cause the computer code to be presented to the user via the user interface, the computer code corresponding to the inputted mathematical equation defined in a computing environment.

### Claim 18 (depends on 17)

The system of claim 17, the one or more processors being further configured to:
send the automatically generated computer code to a computing device configured to be a problem solver;
receive a solution to the mathematical equation from the problem solver based on the automatically generated computer code; and
cause the solution to the mathematical equation to be presented to the user via the user interface.

### Claim 19 (depends on 18)

The system of claim 18, wherein the problem solver is a Digital Annealer, a Digital Annealer Simulator, a Quantum Annealer, or a D-Wave Solver.

### Claim 20 (depends on 17)

The system of claim 17, wherein the processor is further configured to:
receive an input of a mathematical equation from a user via a user interface;
use a processor, performing processing on the input of the mathematical equation to decompose the mathematical equation into a plurality of tokens to generate an equation graph corresponding to the mathematical equation;
generate computer code in a user-specified computing language based on the equation graph; and
cause the computer code to be presented to the user via the user interface, the computer code corresponding to the inputted mathematical equation defined in a computing environment.
