Details

Time bar (total: 4.6s)

analyze4.0ms (0.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
83.3%62.5%12.5%0%25%0%0%5
91.7%68.7%6.2%0%25%0%0%6
95.8%71.8%3.1%0%25%0%0%7
97.9%73.4%1.6%0%25%0%0%8
99%74.2%0.8%0%25%0%0%9
99.5%74.6%0.4%0%25%0%0%10
99.7%74.8%0.2%0%25%0%0%11
99.9%74.9%0.1%0%25%0%0%12
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample2.1s (45.2%)

Results
1.9s8256×body256valid
0.0msbody256infinite
Bogosity

preprocess10.0ms (0.2%)

Algorithm
egg-herbie
Rules
rational.json-simplify-16
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
1913
21013
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify29.0ms (0.6%)

Algorithm
egg-herbie
Rules
rational.json-simplify-16
rational.json-simplify-2
rational.json-simplify-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
1913
21013
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
(*.f64 x (+.f64 x -1))

eval1.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
0.0b
Counts
3 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 6 to 4 computations (33.3% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (-.f64 x 1))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(*.f64 x (-.f64 x 1))
1.0ms
x
@-inf
(*.f64 x (-.f64 x 1))
0.0ms
x
@0
(*.f64 x (-.f64 x 1))

rewrite362.0ms (7.9%)

Algorithm
batch-egg-rewrite
Rules
1220×rational.json-5
1218×exponential.json-3
1218×rational.json-1
1218×rational.json-2
1218×rational.json-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
15313
217413
361213
4237113
Stop Event
node limit
Counts
1 → 9
Calls
Call 1
Inputs
(*.f64 x (-.f64 x 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 x (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (*.f64 x (+.f64 x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (neg.f64 (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 0 (-.f64 -1 (*.f64 x (+.f64 x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 x -1)) (/.f64 (*.f64 x (+.f64 x -1)) (*.f64 x (+.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (neg.f64 (*.f64 x (+.f64 x -1))))))))

simplify305.0ms (6.7%)

Algorithm
egg-herbie
Rules
922×rational.json-simplify-111
756×rational.json-simplify-2
742×rational.json-simplify-104
618×rational.json-simplify-1
594×rational.json-simplify-79
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
026309
153289
2120289
3359289
41430289
53766289
65800289
77676289
Stop Event
node limit
Counts
21 → 15
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 x (+.f64 x -1)) 0)
(+.f64 0 (*.f64 x (+.f64 x -1)))
(-.f64 (*.f64 x (+.f64 x -1)) 0)
(-.f64 0 (neg.f64 (*.f64 x (+.f64 x -1))))
(-.f64 (-.f64 0 (-.f64 -1 (*.f64 x (+.f64 x -1)))) 1)
(/.f64 (*.f64 x (+.f64 x -1)) 1)
(/.f64 (*.f64 x (+.f64 x -1)) (/.f64 (*.f64 x (+.f64 x -1)) (*.f64 x (+.f64 x -1))))
(pow.f64 (*.f64 x (+.f64 x -1)) 1)
(neg.f64 (neg.f64 (*.f64 x (+.f64 x -1))))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 x (+.f64 x -1)) 0)
(*.f64 x (+.f64 -1 x))
(+.f64 0 (*.f64 x (+.f64 x -1)))
(*.f64 x (+.f64 -1 x))
(-.f64 (*.f64 x (+.f64 x -1)) 0)
(*.f64 x (+.f64 -1 x))
(-.f64 0 (neg.f64 (*.f64 x (+.f64 x -1))))
(*.f64 x (+.f64 -1 x))
(-.f64 (-.f64 0 (-.f64 -1 (*.f64 x (+.f64 x -1)))) 1)
(*.f64 x (+.f64 -1 x))
(/.f64 (*.f64 x (+.f64 x -1)) 1)
(*.f64 x (+.f64 -1 x))
(/.f64 (*.f64 x (+.f64 x -1)) (/.f64 (*.f64 x (+.f64 x -1)) (*.f64 x (+.f64 x -1))))
(*.f64 x (+.f64 -1 x))
(pow.f64 (*.f64 x (+.f64 x -1)) 1)
(*.f64 x (+.f64 -1 x))
(neg.f64 (neg.f64 (*.f64 x (+.f64 x -1))))
(*.f64 x (+.f64 -1 x))

eval3.0ms (0.1%)

Compiler

Compiled 105 to 73 computations (30.5% saved)

prune4.0ms (0.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13215
Fresh000
Picked011
Done000
Total13316
Error
0b
Counts
16 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (neg.f64 x) (pow.f64 x 2))
0.0b
(*.f64 x (-.f64 x 1))
25.2b
(neg.f64 x)
Compiler

Compiled 16 to 11 computations (31.3% saved)

localize2.0ms (0.1%)

Compiler

Compiled 4 to 2 computations (50% saved)

localize43.0ms (0.9%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (neg.f64 x) (pow.f64 x 2))
Compiler

Compiled 14 to 8 computations (42.9% saved)

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@-inf
(+.f64 (neg.f64 x) (pow.f64 x 2))
0.0ms
x
@0
(+.f64 (neg.f64 x) (pow.f64 x 2))
0.0ms
x
@inf
(+.f64 (neg.f64 x) (pow.f64 x 2))

rewrite95.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
1418×rational.json-1
1418×rational.json-2
1418×rational.json-3
1416×rational.json-5
1414×exponential.json-3
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0817
17017
222517
375217
4287713
Stop Event
node limit
Counts
1 → 34
Calls
Call 1
Inputs
(+.f64 (neg.f64 x) (pow.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (neg.f64 x) (neg.f64 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (pow.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 x 2) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (-.f64 x (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (+.f64 x (neg.f64 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (-.f64 x (+.f64 -1 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 1 (+.f64 (+.f64 x 1) (neg.f64 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 -1 x) (-.f64 -1 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 -1 x) (+.f64 -1 (neg.f64 (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 x 2) 1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (pow.f64 x 2) (-.f64 -1 x)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 1 (neg.f64 (pow.f64 x 2))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (-.f64 -1 x) (neg.f64 (pow.f64 x 2))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 x 2) (+.f64 x 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (neg.f64 x) (-.f64 -1 (pow.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 0 (-.f64 -1 (pow.f64 x 2))) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 (pow.f64 x 2) (-.f64 x 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 0 (-.f64 x 1)) (-.f64 1 (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (-.f64 0 (-.f64 x (+.f64 (pow.f64 x 2) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (pow.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 x (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 x (pow.f64 x 2)))))))

simplify296.0ms (6.5%)

Algorithm
egg-herbie
Rules
1560×rational.json-simplify-50
1300×rational.json-simplify-43
1238×rational.json-simplify-54
1162×rational.json-simplify-58
786×rational.json-simplify-1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
077750
1203578
2505578
32645578
46539578
Stop Event
node limit
Counts
46 → 39
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(-.f64 (neg.f64 x) (neg.f64 (pow.f64 x 2)))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 (pow.f64 x 2) x) 0)
(-.f64 0 (-.f64 x (pow.f64 x 2)))
(-.f64 0 (+.f64 x (neg.f64 (pow.f64 x 2))))
(-.f64 1 (-.f64 x (+.f64 -1 (pow.f64 x 2))))
(-.f64 1 (+.f64 (+.f64 x 1) (neg.f64 (pow.f64 x 2))))
(-.f64 (-.f64 -1 x) (-.f64 -1 (pow.f64 x 2)))
(-.f64 (-.f64 -1 x) (+.f64 -1 (neg.f64 (pow.f64 x 2))))
(-.f64 (+.f64 (pow.f64 x 2) 1) (+.f64 x 1))
(-.f64 (+.f64 (pow.f64 x 2) (-.f64 -1 x)) -1)
(-.f64 (-.f64 1 (neg.f64 (pow.f64 x 2))) (+.f64 x 1))
(-.f64 (-.f64 (-.f64 -1 x) (neg.f64 (pow.f64 x 2))) -1)
(-.f64 (-.f64 (pow.f64 x 2) (+.f64 x 1)) -1)
(-.f64 (-.f64 (neg.f64 x) (-.f64 -1 (pow.f64 x 2))) 1)
(-.f64 (-.f64 0 (-.f64 -1 (pow.f64 x 2))) (+.f64 x 1))
(-.f64 (-.f64 (pow.f64 x 2) (-.f64 x 1)) 1)
(-.f64 (-.f64 0 (-.f64 x 1)) (-.f64 1 (pow.f64 x 2)))
(-.f64 (-.f64 0 (-.f64 x (+.f64 (pow.f64 x 2) 1))) 1)
(*.f64 (-.f64 (pow.f64 x 2) x) 1)
(*.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(*.f64 1 (-.f64 (pow.f64 x 2) x))
(*.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))
(*.f64 -1 (-.f64 x (pow.f64 x 2)))
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))
(*.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(*.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(*.f64 (*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))
(/.f64 (-.f64 (pow.f64 x 2) x) 1)
(/.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(pow.f64 (-.f64 (pow.f64 x 2) x) 1)
(neg.f64 (-.f64 x (pow.f64 x 2)))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (neg.f64 x) (neg.f64 (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (pow.f64 x 2) x)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (-.f64 (pow.f64 x 2) x) 0)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 0 (-.f64 x (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 0 (+.f64 x (neg.f64 (pow.f64 x 2))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 1 (-.f64 x (+.f64 -1 (pow.f64 x 2))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 1 (+.f64 (+.f64 x 1) (neg.f64 (pow.f64 x 2))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 -1 x) (-.f64 -1 (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 -1 x) (+.f64 -1 (neg.f64 (pow.f64 x 2))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (+.f64 (pow.f64 x 2) 1) (+.f64 x 1))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (+.f64 (pow.f64 x 2) (-.f64 -1 x)) -1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 1 (neg.f64 (pow.f64 x 2))) (+.f64 x 1))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 (-.f64 -1 x) (neg.f64 (pow.f64 x 2))) -1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 (pow.f64 x 2) (+.f64 x 1)) -1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 (neg.f64 x) (-.f64 -1 (pow.f64 x 2))) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 0 (-.f64 -1 (pow.f64 x 2))) (+.f64 x 1))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 (pow.f64 x 2) (-.f64 x 1)) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 0 (-.f64 x 1)) (-.f64 1 (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(-.f64 (-.f64 0 (-.f64 x (+.f64 (pow.f64 x 2) 1))) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (-.f64 (pow.f64 x 2) x) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 1 (-.f64 (pow.f64 x 2) x))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 -1 (-.f64 x (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(/.f64 (-.f64 (pow.f64 x 2) x) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(/.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(pow.f64 (-.f64 (pow.f64 x 2) x) 1)
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)
(neg.f64 (-.f64 x (pow.f64 x 2)))
(+.f64 (pow.f64 x 2) (neg.f64 x))
(-.f64 (pow.f64 x 2) x)

eval19.0ms (0.4%)

Compiler

Compiled 529 to 371 computations (29.9% saved)

prune16.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New38139
Fresh000
Picked101
Done022
Total39342
Error
0b
Counts
42 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (pow.f64 x 2) x)
0.0b
(*.f64 x (-.f64 x 1))
25.2b
(neg.f64 x)
Compiler

Compiled 15 to 10 computations (33.3% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (pow.f64 x 2) x)
Compiler

Compiled 11 to 7 computations (36.4% saved)

series0.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
0.0ms
x
@0
(-.f64 (pow.f64 x 2) x)
0.0ms
x
@inf
(-.f64 (pow.f64 x 2) x)
0.0ms
x
@-inf
(-.f64 (pow.f64 x 2) x)

rewrite118.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
1070×rational.json-5
1068×exponential.json-3
1068×rational.json-1
1068×rational.json-2
1068×rational.json-4
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
14913
216413
356913
4210413
Stop Event
node limit
Counts
1 → 23
Calls
Call 1
Inputs
(-.f64 (pow.f64 x 2) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 x 2) x) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (-.f64 (pow.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (-.f64 (pow.f64 x 2) (-.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (pow.f64 x 2) (-.f64 x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (pow.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 x (pow.f64 x 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 -1 (-.f64 x (pow.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (neg.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (-.f64 -1 (-.f64 (pow.f64 x 2) (-.f64 x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (-.f64 x (pow.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 x (pow.f64 x 2)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (pow.f64 x 2) x) 1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (-.f64 x (pow.f64 x 2)))))))

simplify339.0ms (7.4%)

Algorithm
egg-herbie
Rules
1458×rational.json-simplify-49
1262×rational.json-simplify-2
1106×rational.json-simplify-50
904×rational.json-simplify-43
878×rational.json-simplify-58
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
050491
186471
2279471
31563471
45431471
57819471
Stop Event
node limit
Counts
35 → 29
Calls
Call 1
Inputs
(*.f64 -1 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (-.f64 (pow.f64 x 2) x) 0)
(+.f64 0 (-.f64 (pow.f64 x 2) x))
(+.f64 1 (-.f64 (pow.f64 x 2) (-.f64 x -1)))
(+.f64 (-.f64 (pow.f64 x 2) (-.f64 x -1)) 1)
(*.f64 (-.f64 (pow.f64 x 2) x) 1)
(*.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(*.f64 1 (-.f64 (pow.f64 x 2) x))
(*.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))
(*.f64 (-.f64 x (pow.f64 x 2)) -1)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 -1 (-.f64 x (pow.f64 x 2))))
(*.f64 (neg.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (-.f64 -1 (-.f64 (pow.f64 x 2) (-.f64 x -1))))
(*.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(*.f64 -1 (-.f64 x (pow.f64 x 2)))
(*.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))
(*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))
(/.f64 (-.f64 (pow.f64 x 2) x) 1)
(/.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(/.f64 (-.f64 x (pow.f64 x 2)) -1)
(pow.f64 (-.f64 (pow.f64 x 2) x) 1)
(neg.f64 (-.f64 x (pow.f64 x 2)))
Outputs
(*.f64 -1 x)
(neg.f64 x)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (*.f64 -1 x) (pow.f64 x 2))
(+.f64 (neg.f64 x) (pow.f64 x 2))
(+.f64 (-.f64 (pow.f64 x 2) x) 0)
(-.f64 (pow.f64 x 2) x)
(+.f64 0 (-.f64 (pow.f64 x 2) x))
(-.f64 (pow.f64 x 2) x)
(+.f64 1 (-.f64 (pow.f64 x 2) (-.f64 x -1)))
(-.f64 (pow.f64 x 2) x)
(+.f64 (-.f64 (pow.f64 x 2) (-.f64 x -1)) 1)
(-.f64 (pow.f64 x 2) x)
(*.f64 (-.f64 (pow.f64 x 2) x) 1)
(-.f64 (pow.f64 x 2) x)
(*.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(-.f64 (pow.f64 x 2) x)
(*.f64 1 (-.f64 (pow.f64 x 2) x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x))
(-.f64 (pow.f64 x 2) x)
(*.f64 (-.f64 x (pow.f64 x 2)) -1)
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 1 (-.f64 (pow.f64 x 2) x)))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (-.f64 (pow.f64 x 2) x)))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)) (/.f64 -1 (-.f64 x (pow.f64 x 2))))
(-.f64 (pow.f64 x 2) x)
(*.f64 (neg.f64 (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (-.f64 -1 (-.f64 (pow.f64 x 2) (-.f64 x -1))))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))
(-.f64 (pow.f64 x 2) x)
(*.f64 -1 (-.f64 x (pow.f64 x 2)))
(-.f64 (pow.f64 x 2) x)
(*.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))))
(-.f64 (pow.f64 x 2) x)
(*.f64 (*.f64 (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))) (/.f64 (/.f64 (/.f64 1 (-.f64 (pow.f64 x 2) x)) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (*.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x))))))
(-.f64 (pow.f64 x 2) x)
(/.f64 (-.f64 (pow.f64 x 2) x) 1)
(-.f64 (pow.f64 x 2) x)
(/.f64 (-.f64 (pow.f64 x 2) x) (/.f64 (-.f64 (pow.f64 x 2) x) (-.f64 (pow.f64 x 2) x)))
(-.f64 (pow.f64 x 2) x)
(/.f64 (-.f64 x (pow.f64 x 2)) -1)
(-.f64 (pow.f64 x 2) x)
(pow.f64 (-.f64 (pow.f64 x 2) x) 1)
(-.f64 (pow.f64 x 2) x)
(neg.f64 (-.f64 x (pow.f64 x 2)))
(-.f64 (pow.f64 x 2) x)

eval10.0ms (0.2%)

Compiler

Compiled 450 to 306 computations (32% saved)

prune11.0ms (0.2%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New29029
Fresh000
Picked011
Done022
Total29332
Error
0b
Counts
32 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (pow.f64 x 2) x)
0.0b
(*.f64 x (-.f64 x 1))
25.2b
(neg.f64 x)
Compiler

Compiled 15 to 10 computations (33.3% saved)

regimes10.0ms (0.2%)

Counts
4 → 1
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 x (-.f64 x 1))
(-.f64 (pow.f64 x 2) x)
(+.f64 (neg.f64 x) (pow.f64 x 2))
Outputs
(-.f64 (pow.f64 x 2) x)
Calls

2 calls:

5.0ms
x
4.0ms
(*.f64 x (-.f64 x 1))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(*.f64 x (-.f64 x 1))
Compiler

Compiled 27 to 16 computations (40.7% saved)

regimes17.0ms (0.4%)

Accuracy

Total -25.2b remaining (-129169.1%)

Threshold costs -25.2b (-129169.1%)

Counts
2 → 1
Calls
Call 1
Inputs
(neg.f64 x)
(*.f64 x (-.f64 x 1))
Outputs
(*.f64 x (-.f64 x 1))
Calls

2 calls:

12.0ms
(*.f64 x (-.f64 x 1))
4.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(*.f64 x (-.f64 x 1))
Compiler

Compiled 16 to 10 computations (37.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 (pow.f64 x 2) x)
(*.f64 x (-.f64 x 1))
(neg.f64 x)
Outputs
(-.f64 (pow.f64 x 2) x)
(*.f64 x (-.f64 x 1))
(neg.f64 x)
Compiler

Compiled 15 to 10 computations (33.3% saved)

soundness757.0ms (16.6%)

Algorithm
egg-herbie
Rules
1560×rational.json-simplify-50
1300×rational.json-simplify-43
1238×rational.json-simplify-54
1162×rational.json-simplify-58
922×rational.json-simplify-111
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
026309
153289
2120289
3359289
41430289
53766289
65800289
77676289
077750
1203578
2505578
32645578
46539578
Stop Event
node limit
node limit
Compiler

Compiled 209 to 165 computations (21.1% saved)

end26.0ms (0.6%)

Compiler

Compiled 13 to 8 computations (38.5% saved)

Profiling

Loading profile data...