Details

Time bar (total: 1.7s)

analyze3.0ms (0.2%)

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 11 to 9 computations (18.2% saved)

sample1.0s (62.1%)

Results
461.0ms2782×body1024valid
297.0ms3759×body256valid
217.0ms1429×body512valid
60.0ms286×body2048valid
Bogosity

preprocess75.0ms (4.5%)

Algorithm
egg-herbie
Rules
1468×fma-def
1348×fma-neg
1204×associate--r-
1160×distribute-lft-in
1072×distribute-neg-in
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0721
12519
26313
319913
463813
5191613
6498913
7719313
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
Outputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))
Compiler

Compiled 11 to 9 computations (18.2% saved)

simplify70.0ms (4.2%)

Algorithm
egg-herbie
Rules
1468×fma-def
1348×fma-neg
1204×associate--r-
1160×distribute-lft-in
1072×distribute-neg-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0721
12519
26313
319913
463813
5191613
6498913
7719313
Stop Event
node limit
Counts
1 → 4
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
Outputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(*.f64 (+.f64 x 2) (+.f64 x 0))
(*.f64 x (+.f64 x 2))

eval1.0ms (0%)

Compiler

Compiled 30 to 22 computations (26.7% saved)

prune1.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New224
Fresh011
Picked000
Done000
Total235
Error
0.0b
Counts
5 → 2
Alt Table
Click to see full alt table
StatusErrorProgram
43.5b
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
0.0b
(*.f64 x (+.f64 x 2))
Compiler

Compiled 16 to 12 computations (25% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (+.f64 x 2))
Compiler

Compiled 11 to 7 computations (36.4% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
1404×add-sqr-sqrt
1382×*-un-lft-identity
1300×add-cube-cbrt
1286×add-cbrt-cube
1276×add-exp-log
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0613
113413
2170213
Stop Event
node limit
Counts
1 → 22
Calls
Call 1
Inputs
(*.f64 x (+.f64 x 2))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x x) (*.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x 2) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x 2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x 2))) (-.f64 (*.f64 x x) (*.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x 2) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x x (*.f64 x 2))))))

simplify47.0ms (2.8%)

Algorithm
egg-herbie
Rules
1434×associate-*r/
1192×associate-*l/
808×associate-+r+
672×associate-+l+
646×times-frac
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
075560
1216526
2859514
33509514
Stop Event
node limit
Counts
34 → 33
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 x x) (*.f64 x 2))
(+.f64 (*.f64 x 2) (*.f64 x x))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x 2) 1))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(/.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(/.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x 2))) (-.f64 (*.f64 x x) (*.f64 x 2)))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x 2) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x 2)))))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 x x (*.f64 x 2))
Outputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x x) (*.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 x 2) (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 (*.f64 x x) 1) (*.f64 (*.f64 x 2) 1))
(*.f64 x (+.f64 2 x))
(-.f64 (+.f64 1 (*.f64 x (+.f64 x 2))) 1)
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (fma.f64 x x -4)) (+.f64 x -2))
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 x (+.f64 8 (pow.f64 x 3))) (fma.f64 x x (-.f64 4 (*.f64 x 2))))
(/.f64 x (/.f64 (fma.f64 x x (-.f64 4 (*.f64 2 x))) (+.f64 8 (pow.f64 x 3))))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (fma.f64 x -2 4)))
(/.f64 (*.f64 (fma.f64 x x -4) x) (+.f64 x -2))
(*.f64 x (+.f64 2 x))
(/.f64 (*.f64 (+.f64 8 (pow.f64 x 3)) x) (fma.f64 x x (-.f64 4 (*.f64 x 2))))
(/.f64 x (/.f64 (fma.f64 x x (-.f64 4 (*.f64 2 x))) (+.f64 8 (pow.f64 x 3))))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (+.f64 4 (*.f64 x -2))))
(/.f64 (fma.f64 x 8 (pow.f64 x 4)) (fma.f64 x x (fma.f64 x -2 4)))
(/.f64 (-.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (*.f64 (*.f64 x 2) (*.f64 x 2))) (-.f64 (*.f64 x x) (*.f64 x 2)))
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (pow.f64 (*.f64 x 2) 3)) (+.f64 (*.f64 (*.f64 x x) (*.f64 x x)) (-.f64 (*.f64 (*.f64 x 2) (*.f64 x 2)) (*.f64 (*.f64 x x) (*.f64 x 2)))))
(/.f64 (+.f64 (pow.f64 (*.f64 x x) 3) (*.f64 (pow.f64 x 3) 8)) (+.f64 (*.f64 x (pow.f64 x 3)) (-.f64 (*.f64 (*.f64 x x) 4) (*.f64 (pow.f64 x 3) 2))))
(/.f64 (fma.f64 (pow.f64 x 3) 8 (pow.f64 x 6)) (fma.f64 (*.f64 2 x) (*.f64 x (-.f64 2 x)) (pow.f64 x 4)))
(/.f64 (fma.f64 8 (pow.f64 x 3) (pow.f64 x 6)) (*.f64 (*.f64 x x) (fma.f64 x x (fma.f64 x -2 4))))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.f64 x (+.f64 2 x))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(log.f64 (pow.f64 (exp.f64 x) (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(*.f64 x (+.f64 2 x))
(expm1.f64 (log1p.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))
(*.f64 x (+.f64 2 x))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(fma.f64 x x (*.f64 x 2))
(*.f64 x (+.f64 2 x))

localize8.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

Compiled 22 to 16 computations (27.3% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite72.0ms (4.3%)

Algorithm
batch-egg-rewrite
Rules
1668×add-sqr-sqrt
1648×*-un-lft-identity
1548×add-cube-cbrt
1534×add-cbrt-cube
166×pow1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0732
116426
2229626
Stop Event
node limit
Counts
2 → 66
Calls
Call 1
Inputs
(-.f64 (*.f64 (+.f64 x 1) (+.f64 x 1)) 1)
(*.f64 (+.f64 x 1) (+.f64 x 1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (pow.f64 (+.f64 x 1) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (*.f64 x x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (pow.f64 (+.f64 x 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 x 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 x (+.f64 x 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x 2) x)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (/.f64 1 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (/.f64 1 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 4) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 6) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (-.f64 (pow.f64 (+.f64 x 1) 2) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (pow.f64 (+.f64 x 1) 4) (-.f64 1 (*.f64 (pow.f64 (+.f64 x 1) 2) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1)) (neg.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1)) (neg.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (*.f64 2 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (pow.f64 (+.f64 x 1) 2) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 1) (+.f64 x 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 4)) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) -1)))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x 1) (+.f64 x (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x (+.f64 x 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (+.f64 (+.f64 x (*.f64 x x)) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 x (*.f64 x x)) 1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 1 (pow.f64 x 3))) (*.f64 (fma.f64 x x (-.f64 1 x)) (fma.f64 x x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (fma.f64 x x -1)) (*.f64 (+.f64 x -1) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 1) (fma.f64 x x -1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x 1) (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (+.f64 x 1)) (+.f64 x -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 x 1)) (fma.f64 x x (-.f64 1 x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) (pow.f64 (+.f64 x 1) 3)) (+.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 (+.f64 x 1) 2) (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 x x -1) (+.f64 1 (pow.f64 x 3))) (*.f64 (+.f64 x -1) (fma.f64 x x (-.f64 1 x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x -1)) (*.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x 1) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x 1) 6) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x 1) 4))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 x 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x 1) 6))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 2 (log1p.f64 x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (*.f64 2 (log1p.f64 x)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (+.f64 x 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x (+.f64 x 1) (+.f64 x 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 1) x (+.f64 x 1))))))

simplify71.0ms (4.2%)

Algorithm
egg-herbie
Rules
1838×associate-+l-
1028×fma-def
916×distribute-lft-in
834×distribute-rgt-in
476×unswap-sqr
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01572276
14342048
216001964
367391964
Stop Event
node limit
Counts
90 → 104
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
1
(+.f64 (*.f64 2 x) 1)
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (pow.f64 (+.f64 x 1) 2) -1)
(+.f64 (+.f64 x (*.f64 x x)) x)
(+.f64 -1 (pow.f64 (+.f64 x 1) 2))
(*.f64 x (+.f64 x 2))
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 (+.f64 x 2) x)
(*.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (/.f64 1 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))
(*.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (/.f64 1 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 4) -1)))
(/.f64 1 (/.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 6) -1)))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (-.f64 (pow.f64 (+.f64 x 1) 2) -1))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (pow.f64 (+.f64 x 1) 4) (-.f64 1 (*.f64 (pow.f64 (+.f64 x 1) 2) -1))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1)) (neg.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1)) (neg.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(log.f64 (exp.f64 (*.f64 x (+.f64 x 2))))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(expm1.f64 (*.f64 2 (log1p.f64 x)))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(fma.f64 1 (pow.f64 (+.f64 x 1) 2) -1)
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(fma.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 4)) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) -1)
(+.f64 (+.f64 x 1) (+.f64 x (*.f64 x x)))
(+.f64 (*.f64 x (+.f64 x 2)) 1)
(+.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1))
(+.f64 (+.f64 (+.f64 x (*.f64 x x)) 1) x)
(+.f64 (*.f64 (+.f64 x (*.f64 x x)) 1) (+.f64 x 1))
(-.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) 1)
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 1 (pow.f64 x 3))) (*.f64 (fma.f64 x x (-.f64 1 x)) (fma.f64 x x (-.f64 1 x))))
(/.f64 (*.f64 (fma.f64 x x -1) (fma.f64 x x -1)) (*.f64 (+.f64 x -1) (+.f64 x -1)))
(/.f64 (*.f64 (+.f64 x 1) (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (*.f64 (+.f64 x 1) (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))
(/.f64 (*.f64 (fma.f64 x x -1) (+.f64 x 1)) (+.f64 x -1))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 x 1)) (fma.f64 x x (-.f64 1 x)))
(/.f64 (-.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))
(/.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) (pow.f64 (+.f64 x 1) 3)) (+.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 (+.f64 x 1) 2) (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))))
(/.f64 (*.f64 (fma.f64 x x -1) (+.f64 1 (pow.f64 x 3))) (*.f64 (+.f64 x -1) (fma.f64 x x (-.f64 1 x))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x -1)) (*.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 x -1)))
(pow.f64 (+.f64 x 1) 2)
(pow.f64 (pow.f64 (+.f64 x 1) 2) 1)
(pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) 3)
(pow.f64 (pow.f64 (+.f64 x 1) 6) 1/3)
(sqrt.f64 (pow.f64 (+.f64 x 1) 4))
(log.f64 (exp.f64 (pow.f64 (+.f64 x 1) 2)))
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 x 1) 2))))
(cbrt.f64 (pow.f64 (+.f64 x 1) 6))
(expm1.f64 (log1p.f64 (pow.f64 (+.f64 x 1) 2)))
(exp.f64 (*.f64 2 (log1p.f64 x)))
(exp.f64 (*.f64 (log1p.f64 x) 2))
(exp.f64 (*.f64 (*.f64 2 (log1p.f64 x)) 1))
(log1p.f64 (expm1.f64 (pow.f64 (+.f64 x 1) 2)))
(fma.f64 x (+.f64 x 1) (+.f64 x 1))
(fma.f64 (+.f64 x 1) x (+.f64 x 1))
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
1
(+.f64 (*.f64 2 x) 1)
(fma.f64 2 x 1)
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (*.f64 2 x) (+.f64 1 (pow.f64 x 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (pow.f64 (+.f64 x 1) 2) -1)
(*.f64 (+.f64 2 x) (+.f64 x 0))
(+.f64 (+.f64 x (*.f64 x x)) x)
(*.f64 x (+.f64 2 x))
(+.f64 -1 (pow.f64 (+.f64 x 1) 2))
(+.f64 (pow.f64 (+.f64 x 1) 2) -1)
(*.f64 (+.f64 2 x) (+.f64 x 0))
(*.f64 x (+.f64 x 2))
(*.f64 x (+.f64 2 x))
(*.f64 1 (*.f64 x (+.f64 x 2)))
(*.f64 x (+.f64 2 x))
(*.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(*.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) (sqrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(*.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2))
(*.f64 x (+.f64 2 x))
(*.f64 (pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 2) (cbrt.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 x 2) x)
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (/.f64 1 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) 1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 2 (*.f64 x (+.f64 2 x))))
(*.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (/.f64 1 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 1 (pow.f64 (+.f64 x 1) 4)))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (+.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (pow.f64 (+.f64 x 1) 4))))
(/.f64 1 (/.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 4) -1)))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) 1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 2 (*.f64 x (+.f64 2 x))))
(/.f64 1 (/.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)) (+.f64 (pow.f64 (+.f64 x 1) 6) -1)))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 1 (pow.f64 (+.f64 x 1) 4)))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (+.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (pow.f64 (+.f64 x 1) 4))))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) 1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 2 (*.f64 x (+.f64 2 x))))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1) (-.f64 (pow.f64 (+.f64 x 1) 2) -1))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) 1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 2 (*.f64 x (+.f64 2 x))))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2)))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 1 (pow.f64 (+.f64 x 1) 4)))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (+.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (pow.f64 (+.f64 x 1) 4))))
(/.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1) (+.f64 (pow.f64 (+.f64 x 1) 4) (-.f64 1 (*.f64 (pow.f64 (+.f64 x 1) 2) -1))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 1 (pow.f64 (+.f64 x 1) 4)))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (+.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (pow.f64 (+.f64 x 1) 4))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) -1)) (neg.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2))))
(/.f64 (*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) 1) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 1 (pow.f64 (+.f64 x 1) 2)))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 4)) (+.f64 2 (*.f64 x (+.f64 2 x))))
(/.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 x 1) 6) -1)) (neg.f64 (+.f64 (+.f64 (pow.f64 (+.f64 x 1) 4) 1) (pow.f64 (+.f64 x 1) 2))))
(*.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (/.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (+.f64 1 (pow.f64 (+.f64 x 1) 4)))))
(/.f64 (+.f64 -1 (pow.f64 (+.f64 x 1) 6)) (+.f64 1 (+.f64 (pow.f64 (+.f64 x 1) 2) (pow.f64 (+.f64 x 1) 4))))
(pow.f64 (*.f64 x (+.f64 x 2)) 1)
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (*.f64 x (+.f64 x 2))) 2)
(*.f64 x (+.f64 2 x))
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x 2))) 3)
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3) 1/3)
(*.f64 x (+.f64 2 x))
(sqrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 2))
(*.f64 x (+.f64 2 x))
(log.f64 (exp.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(log.f64 (+.f64 1 (expm1.f64 (*.f64 x (+.f64 x 2)))))
(*.f64 x (+.f64 2 x))
(cbrt.f64 (pow.f64 (*.f64 x (+.f64 x 2)) 3))
(*.f64 x (+.f64 2 x))
(expm1.f64 (*.f64 2 (log1p.f64 x)))
(exp.f64 (log.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (log.f64 (*.f64 x (+.f64 x 2))) 1))
(*.f64 x (+.f64 2 x))
(log1p.f64 (expm1.f64 (*.f64 x (+.f64 x 2))))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (pow.f64 (+.f64 x 1) 2) -1)
(+.f64 (pow.f64 (+.f64 x 1) 2) -1)
(*.f64 (+.f64 2 x) (+.f64 x 0))
(fma.f64 (+.f64 x 1) (+.f64 x 1) -1)
(+.f64 (pow.f64 (+.f64 x 1) 2) -1)
(*.f64 (+.f64 2 x) (+.f64 x 0))
(fma.f64 (cbrt.f64 (pow.f64 (+.f64 x 1) 4)) (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) -1)
(+.f64 (+.f64 x 1) (+.f64 x (*.f64 x x)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (*.f64 x (+.f64 x 2)) 1)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (+.f64 (+.f64 x (*.f64 x x)) 1) x)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(+.f64 (*.f64 (+.f64 x (*.f64 x x)) 1) (+.f64 x 1))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(-.f64 (+.f64 1 (pow.f64 (+.f64 x 1) 2)) 1)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 1 (pow.f64 x 3))) (*.f64 (fma.f64 x x (-.f64 1 x)) (fma.f64 x x (-.f64 1 x))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))) (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (-.f64 (fma.f64 x x 1) x)) (/.f64 (+.f64 1 (pow.f64 x 3)) (-.f64 (fma.f64 x x 1) x)))
(/.f64 (*.f64 (fma.f64 x x -1) (fma.f64 x x -1)) (*.f64 (+.f64 x -1) (+.f64 x -1)))
(*.f64 (/.f64 (fma.f64 x x -1) (+.f64 x -1)) (/.f64 (fma.f64 x x -1) (+.f64 x -1)))
(*.f64 (fma.f64 x x -1) (/.f64 (fma.f64 x x -1) (*.f64 (+.f64 x -1) (+.f64 x -1))))
(/.f64 (*.f64 (+.f64 x 1) (fma.f64 x x -1)) (+.f64 x -1))
(/.f64 (+.f64 x 1) (/.f64 (+.f64 x -1) (fma.f64 x x -1)))
(*.f64 (/.f64 (fma.f64 x x -1) (+.f64 x -1)) (+.f64 x 1))
(*.f64 (fma.f64 x x -1) (/.f64 (+.f64 x 1) (+.f64 x -1)))
(/.f64 (*.f64 (+.f64 x 1) (+.f64 1 (pow.f64 x 3))) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 x 1) (/.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 1 (pow.f64 x 3))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (-.f64 (fma.f64 x x 1) x)) (+.f64 x 1))
(*.f64 (+.f64 x 1) (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))))
(/.f64 (*.f64 (fma.f64 x x -1) (+.f64 x 1)) (+.f64 x -1))
(/.f64 (+.f64 x 1) (/.f64 (+.f64 x -1) (fma.f64 x x -1)))
(*.f64 (/.f64 (fma.f64 x x -1) (+.f64 x -1)) (+.f64 x 1))
(*.f64 (fma.f64 x x -1) (/.f64 (+.f64 x 1) (+.f64 x -1)))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (+.f64 x 1)) (fma.f64 x x (-.f64 1 x)))
(/.f64 (+.f64 x 1) (/.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 1 (pow.f64 x 3))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (-.f64 (fma.f64 x x 1) x)) (+.f64 x 1))
(*.f64 (+.f64 x 1) (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))))
(/.f64 (-.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (pow.f64 (+.f64 x 1) 2)) (-.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))
(/.f64 (-.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (pow.f64 (+.f64 x 1) 2)) (+.f64 x (-.f64 (*.f64 x x) (+.f64 x 1))))
(/.f64 (*.f64 (pow.f64 (+.f64 x 1) 2) (-.f64 (fma.f64 x x x) (+.f64 x 1))) (-.f64 (fma.f64 x x x) (+.f64 x 1)))
(/.f64 (*.f64 (pow.f64 (+.f64 x 1) 2) (fma.f64 x x -1)) (fma.f64 x x -1))
(/.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) (pow.f64 (+.f64 x 1) 3)) (+.f64 (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 (+.f64 x 1) 2) (*.f64 (+.f64 x (*.f64 x x)) (+.f64 x 1)))))
(/.f64 (+.f64 (pow.f64 (+.f64 x (*.f64 x x)) 3) (pow.f64 (+.f64 x 1) 3)) (fma.f64 (+.f64 x (*.f64 x x)) (+.f64 x (*.f64 x x)) (-.f64 (pow.f64 (+.f64 x 1) 2) (*.f64 (+.f64 x 1) (+.f64 x (*.f64 x x))))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x x) 3) (pow.f64 (+.f64 x 1) 3)) (fma.f64 (fma.f64 x x x) (fma.f64 x x x) (*.f64 (+.f64 x 1) (-.f64 (+.f64 x 1) (fma.f64 x x x)))))
(/.f64 (+.f64 (pow.f64 (fma.f64 x x x) 3) (pow.f64 (+.f64 x 1) 3)) (+.f64 (pow.f64 (+.f64 x 1) 2) (*.f64 (fma.f64 x x x) (fma.f64 x x -1))))
(/.f64 (*.f64 (fma.f64 x x -1) (+.f64 1 (pow.f64 x 3))) (*.f64 (+.f64 x -1) (fma.f64 x x (-.f64 1 x))))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))) (/.f64 (fma.f64 x x -1) (+.f64 x -1)))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (*.f64 (-.f64 (fma.f64 x x 1) x) (+.f64 x -1))) (fma.f64 x x -1))
(*.f64 (fma.f64 x x -1) (/.f64 (+.f64 1 (pow.f64 x 3)) (*.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 x -1))))
(/.f64 (*.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x -1)) (*.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 x -1)))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (fma.f64 x x (-.f64 1 x))) (/.f64 (fma.f64 x x -1) (+.f64 x -1)))
(*.f64 (/.f64 (+.f64 1 (pow.f64 x 3)) (*.f64 (-.f64 (fma.f64 x x 1) x) (+.f64 x -1))) (fma.f64 x x -1))
(*.f64 (fma.f64 x x -1) (/.f64 (+.f64 1 (pow.f64 x 3)) (*.f64 (fma.f64 x x (-.f64 1 x)) (+.f64 x -1))))
(pow.f64 (+.f64 x 1) 2)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (pow.f64 (+.f64 x 1) 2) 1)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(pow.f64 (pow.f64 (cbrt.f64 (+.f64 x 1)) 2) 3)
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(pow.f64 (pow.f64 (+.f64 x 1) 6) 1/3)
(cbrt.f64 (pow.f64 (+.f64 x 1) 6))
(sqrt.f64 (pow.f64 (+.f64 x 1) 4))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(log.f64 (exp.f64 (pow.f64 (+.f64 x 1) 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(log.f64 (+.f64 1 (expm1.f64 (pow.f64 (+.f64 x 1) 2))))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(cbrt.f64 (pow.f64 (+.f64 x 1) 6))
(expm1.f64 (log1p.f64 (pow.f64 (+.f64 x 1) 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(exp.f64 (*.f64 2 (log1p.f64 x)))
(pow.f64 (exp.f64 (log1p.f64 x)) 2)
(exp.f64 (*.f64 (log1p.f64 x) 2))
(pow.f64 (exp.f64 (log1p.f64 x)) 2)
(exp.f64 (*.f64 (*.f64 2 (log1p.f64 x)) 1))
(pow.f64 (exp.f64 (log1p.f64 x)) 2)
(log1p.f64 (expm1.f64 (pow.f64 (+.f64 x 1) 2)))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(fma.f64 x (+.f64 x 1) (+.f64 x 1))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)
(fma.f64 (+.f64 x 1) x (+.f64 x 1))
(+.f64 (fma.f64 2 x 1) (*.f64 x x))
(fma.f64 x (+.f64 2 x) 1)
(pow.f64 (+.f64 x 1) 2)

eval33.0ms (2%)

Compiler

Compiled 1812 to 1263 computations (30.3% saved)

prune14.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1343137
Fresh000
Picked101
Done011
Total1354139
Error
0b
Counts
139 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 x (*.f64 x x)) x)
17.0b
(+.f64 x x)
0.0b
(*.f64 x (+.f64 x 2))
45.0b
(*.f64 x x)
Compiler

Compiled 22 to 12 computations (45.5% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize2.0ms (0.1%)

Compiler

Compiled 5 to 2 computations (60% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 x (*.f64 x x)) x)
Compiler

Compiled 17 to 4 computations (76.5% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite52.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
1684×add-sqr-sqrt
1664×*-un-lft-identity
1568×add-cube-cbrt
1554×add-cbrt-cube
152×pow1
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0619
114115
2223215
Stop Event
node limit
Counts
1 → 39
Calls
Call 1
Inputs
(+.f64 (+.f64 x (*.f64 x x)) x)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 x (fma.f64 x x x)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x x)) (/.f64 (*.f64 x x) (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 1 (+.f64 x 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 x (+.f64 (+.f64 x 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 x (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 x (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) (sqrt.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2) (cbrt.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (/.f64 1 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (+.f64 x 1) 1) x)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (*.f64 x x) (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))) (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (fma.f64 x x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 x x x) 2)) (-.f64 x (fma.f64 x x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))) (neg.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))) (neg.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (+.f64 x (fma.f64 x x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 x (fma.f64 x x x)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 x x x))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 x (fma.f64 x x x))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 x (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 x x x) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 x x x))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)) x)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 x 1) x x)))))

simplify38.0ms (2.3%)

Algorithm
egg-herbie
Rules
1448×associate-/l*
974×associate-/r*
872×associate-*r/
742×associate-*l/
522×unswap-sqr
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0971125
1264995
21317993
Stop Event
node limit
Counts
51 → 50
Calls
Call 1
Inputs
(*.f64 2 x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(pow.f64 x 2)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(-.f64 (exp.f64 (log1p.f64 (+.f64 x (fma.f64 x x x)))) 1)
(-.f64 (/.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x x)) (/.f64 (*.f64 x x) (*.f64 x x)))
(*.f64 x (+.f64 1 (+.f64 x 1)))
(*.f64 x (+.f64 (+.f64 x 1) 1))
(*.f64 (+.f64 x (fma.f64 x x x)) 1)
(*.f64 1 (+.f64 x (fma.f64 x x x)))
(*.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) (sqrt.f64 (+.f64 x (fma.f64 x x x))))
(*.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2) (cbrt.f64 (+.f64 x (fma.f64 x x x))))
(*.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (/.f64 1 (*.f64 x x)))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(*.f64 (+.f64 (+.f64 x 1) 1) x)
(/.f64 1 (/.f64 (*.f64 x x) (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))) (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))))
(/.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (*.f64 x x))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (fma.f64 x x x)))))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 x x x) 2)) (-.f64 x (fma.f64 x x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))) (neg.f64 (*.f64 x x)))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))) (neg.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(pow.f64 (+.f64 x (fma.f64 x x x)) 1)
(pow.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) 2)
(pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 3)
(pow.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3) 1/3)
(sqrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 2))
(log.f64 (exp.f64 (+.f64 x (fma.f64 x x x))))
(log.f64 (+.f64 1 (expm1.f64 (+.f64 x (fma.f64 x x x)))))
(cbrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3))
(expm1.f64 (log1p.f64 (+.f64 x (fma.f64 x x x))))
(exp.f64 (log.f64 (+.f64 x (fma.f64 x x x))))
(exp.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 x x x))) 1))
(log1p.f64 (expm1.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 1 x (fma.f64 x x x))
(fma.f64 1 (fma.f64 x x x) x)
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 x x x))
(fma.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 x x x))
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)) x)
(fma.f64 (+.f64 x 1) x x)
Outputs
(*.f64 2 x)
(+.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 x 2)
(*.f64 x x)
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(+.f64 (*.f64 2 x) (pow.f64 x 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(-.f64 (exp.f64 (log1p.f64 (+.f64 x (fma.f64 x x x)))) 1)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(-.f64 (/.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x x)) (/.f64 (*.f64 x x) (*.f64 x x)))
(+.f64 (/.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x x)) -1)
(+.f64 (/.f64 (+.f64 x 1) (/.f64 1 (+.f64 x 1))) -1)
(*.f64 x (+.f64 1 (+.f64 x 1)))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 x (+.f64 (+.f64 x 1) 1))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 x (fma.f64 x x x)) 1)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 1 (+.f64 x (fma.f64 x x x)))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) (sqrt.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 2) (cbrt.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (/.f64 1 (*.f64 x x)))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 x (-.f64 x (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) 2)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) x) (*.f64 x x)))
(*.f64 (+.f64 (+.f64 x 1) 1) x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(/.f64 1 (/.f64 (*.f64 x x) (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(/.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))) (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 x (-.f64 x (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) 2)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) x) (*.f64 x x)))
(/.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x)) (*.f64 x x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x)))))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 x (-.f64 x (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) 2)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) x) (*.f64 x x)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (+.f64 (*.f64 x x) (-.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (fma.f64 x x x)))))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 x (-.f64 x (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) 2)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) x) (*.f64 x x)))
(/.f64 (-.f64 (*.f64 x x) (pow.f64 (fma.f64 x x x) 2)) (-.f64 x (fma.f64 x x x)))
(/.f64 (neg.f64 (*.f64 (+.f64 x (fma.f64 x x x)) (*.f64 x x))) (neg.f64 (*.f64 x x)))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(/.f64 (neg.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3))) (neg.f64 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(*.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (/.f64 1 (+.f64 (pow.f64 (fma.f64 x x x) 2) (*.f64 x (-.f64 x (fma.f64 x x x))))))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 x (-.f64 x (fma.f64 x x x)) (pow.f64 (fma.f64 x x x) 2)))
(/.f64 (+.f64 (pow.f64 x 3) (pow.f64 (fma.f64 x x x) 3)) (fma.f64 (fma.f64 x x x) (-.f64 (fma.f64 x x x) x) (*.f64 x x)))
(pow.f64 (+.f64 x (fma.f64 x x x)) 1)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 (sqrt.f64 (+.f64 x (fma.f64 x x x))) 2)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 (cbrt.f64 (+.f64 x (fma.f64 x x x))) 3)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(pow.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3) 1/3)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(sqrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 2))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(log.f64 (exp.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(log.f64 (+.f64 1 (expm1.f64 (+.f64 x (fma.f64 x x x)))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(cbrt.f64 (pow.f64 (+.f64 x (fma.f64 x x x)) 3))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(expm1.f64 (log1p.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(exp.f64 (log.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(exp.f64 (*.f64 (log.f64 (+.f64 x (fma.f64 x x x))) 1))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(log1p.f64 (expm1.f64 (+.f64 x (fma.f64 x x x))))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 1 x (fma.f64 x x x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 1 (fma.f64 x x x) x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (sqrt.f64 x) (sqrt.f64 x) (fma.f64 x x x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (hypot.f64 x (sqrt.f64 x)) (hypot.f64 x (sqrt.f64 x)) x)
(fma.f64 (pow.f64 (cbrt.f64 x) 2) (cbrt.f64 x) (fma.f64 x x x))
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (pow.f64 (cbrt.f64 (fma.f64 x x x)) 2) (cbrt.f64 (fma.f64 x x x)) x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))
(fma.f64 (+.f64 x 1) x x)
(fma.f64 2 x (*.f64 x x))
(*.f64 x (+.f64 2 x))

eval8.0ms (0.5%)

Compiler

Compiled 605 to 205 computations (66.1% saved)

prune6.0ms (0.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New50050
Fresh000
Picked011
Done033
Total50454
Error
0b
Counts
54 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 (+.f64 x (*.f64 x x)) x)
17.0b
(+.f64 x x)
0.0b
(*.f64 x (+.f64 x 2))
45.0b
(*.f64 x x)
Compiler

Compiled 22 to 12 computations (45.5% saved)

regimes13.0ms (0.7%)

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

4 calls:

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

Compiled 52 to 33 computations (36.5% saved)

regimes4.0ms (0.2%)

Counts
3 → 1
Calls
Call 1
Inputs
(*.f64 x x)
(+.f64 x x)
(*.f64 x (+.f64 x 2))
Outputs
(*.f64 x (+.f64 x 2))
Calls

1 calls:

3.0ms
x
Results
ErrorSegmentsBranch
0.0b1x
Compiler

Compiled 14 to 7 computations (50% saved)

regimes8.0ms (0.5%)

Accuracy

Total -59.3b remaining (-4332.6%)

Threshold costs -59.3b (-4332.6%)

Counts
2 → 3
Calls
Call 1
Inputs
(*.f64 x x)
(+.f64 x x)
Outputs
(*.f64 x x)
(+.f64 x x)
(*.f64 x x)
Calls

1 calls:

8.0ms
x
Results
ErrorSegmentsBranch
1.4b3x
Compiler

Compiled 9 to 4 computations (55.6% saved)

bsearch22.0ms (1.3%)

Algorithm
binary-search
Steps
TimeLeftRight
8.0ms
0.9098934637582332
12.02964411502196
14.0ms
-28521735.90669803
-3.684353806671545e-7
Results
20.0ms256×body256valid
Compiler

Compiled 174 to 107 computations (38.5% saved)

simplify4.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative
if-if-or-not
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01878
12778
Stop Event
done
saturated
Calls
Call 1
Inputs
(+.f64 (+.f64 x (*.f64 x x)) x)
(*.f64 x (+.f64 x 2))
(if (<=.f64 x -2) (*.f64 x x) (if (<=.f64 x 2) (+.f64 x x) (*.f64 x x)))
(*.f64 x x)
Outputs
(+.f64 (+.f64 x (*.f64 x x)) x)
(+.f64 x (+.f64 x (*.f64 x x)))
(*.f64 x (+.f64 x 2))
(if (<=.f64 x -2) (*.f64 x x) (if (<=.f64 x 2) (+.f64 x x) (*.f64 x x)))
(*.f64 x x)
Compiler

Compiled 36 to 19 computations (47.2% saved)

soundness0.0ms (0%)

end21.0ms (1.3%)

Compiler

Compiled 33 to 14 computations (57.6% saved)

Profiling

Loading profile data...