Details

Time bar (total: 2.1s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.1s (53%)

Results
1.1s8256×body256valid

preprocess51.0ms (2.4%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
011
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(/.f64 x (+.f64 (*.f64 x x) 1))
Outputs
(/.f64 x (+.f64 (*.f64 x x) 1))
(/.f64 x (fma.f64 x x 1))
Compiler

Compiled 9 to 6 computations (33.3% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 x (+.f64 (*.f64 x x) 1))
Outputs
(/.f64 x (+.f64 (*.f64 x x) 1))
(/.f64 x (fma.f64 x x 1))

eval1.0ms (0%)

Compiler

Compiled 14 to 8 computations (42.9% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 5 computations (37.5% saved)

localize6.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
15.5b
(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 18 to 8 computations (55.6% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
668×pow1_binary64
626×add-log-exp_binary64
626×log1p-expm1-u_binary64
626×expm1-log1p-u_binary64
612×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify54.0ms (2.5%)

Algorithm
egg-herbie
Rules
475×fma-def_binary64
420×times-frac_binary64
302×associate-/l/_binary64
289×distribute-rgt-neg-in_binary64
267×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027184
175180
2197180
3547180
41462180
54021180
Stop Event
node limit
Counts
45 → 47
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) x))
(fma.f64 -1 (pow.f64 x 3) (+.f64 x (pow.f64 x 5)))
(+.f64 (-.f64 x (pow.f64 x 3)) (pow.f64 x 5))
(+.f64 x (-.f64 (pow.f64 x 5) (pow.f64 x 3)))
(+.f64 (*.f64 -1 (pow.f64 x 3)) (+.f64 (pow.f64 x 5) (+.f64 (*.f64 -1 (pow.f64 x 7)) x)))
(fma.f64 -1 (pow.f64 x 3) (+.f64 (pow.f64 x 5) (fma.f64 -1 (pow.f64 x 7) x)))
(+.f64 (-.f64 (pow.f64 x 5) (pow.f64 x 7)) (-.f64 x (pow.f64 x 3)))
(+.f64 (-.f64 x (pow.f64 x 3)) (-.f64 (pow.f64 x 5) (pow.f64 x 7)))
(+.f64 (pow.f64 x 5) (-.f64 x (+.f64 (pow.f64 x 3) (pow.f64 x 7))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))
(/.f64 1 x)
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (/.f64 1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 1 (pow.f64 x 3)))
(+.f64 (/.f64 1 x) (-.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 (pow.f64 x 3))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 3))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (/.f64 -1 (pow.f64 x 3)))
(-.f64 (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 1 x)) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7))))
(+.f64 (/.f64 1 (pow.f64 x 5)) (-.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 1 (pow.f64 x 7)))))
(+.f64 (+.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 5))) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 -1 (pow.f64 x 3)) (+.f64 (/.f64 1 (pow.f64 x 5)) (/.f64 -1 (pow.f64 x 7)))))
(+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 5)) (+.f64 (/.f64 -1 (pow.f64 x 3)) (/.f64 -1 (pow.f64 x 7)))))

eval12.0ms (0.6%)

Compiler

Compiled 531 to 358 computations (32.6% saved)

prune56.0ms (2.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New43447
Fresh000
Picked011
Done000
Total43548
Error
0b
Counts
48 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.5b
(/.f64 x (+.f64 (*.f64 x x) 1))
31.7b
x
32.7b
(-.f64 x (pow.f64 x 3))
31.1b
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
30.2b
(/.f64 1 x)
Compiler

Compiled 30 to 21 computations (30% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 11 to 7 computations (36.4% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite47.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
582×pow1_binary64
549×add-log-exp_binary64
549×log1p-expm1-u_binary64
549×expm1-log1p-u_binary64
537×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify72.0ms (3.4%)

Algorithm
egg-herbie
Rules
912×fma-neg_binary64
469×distribute-rgt-neg-in_binary64
457×associate-*l*_binary64
383×fma-def_binary64
362×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0785
11976
24976
39776
419176
553676
6186976
7343076
8545576
9727576
Stop Event
node limit
Counts
49 → 42
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))

localize11.0ms (0.5%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (pow.f64 x 3))
Compiler

Compiled 24 to 18 computations (25% saved)

series1.0ms (0.1%)

Counts
1 → 0
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 1 (pow.f64 x 3))
0.0ms
x
@-inf
(/.f64 1 (pow.f64 x 3))
0.0ms
x
@inf
(/.f64 1 (pow.f64 x 3))

rewrite45.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
491×pow1_binary64
485×add-sqr-sqrt_binary64
466×add-log-exp_binary64
465×log1p-expm1-u_binary64
465×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
24 → 24
Calls
Call 1
Inputs
Outputs

localize3.0ms (0.1%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

eval18.0ms (0.9%)

Compiler

Compiled 725 to 505 computations (30.3% saved)

prune10.0ms (0.5%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New64266
Fresh011
Picked011
Done213
Total66571
Error
0b
Counts
71 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.5b
(/.f64 x (+.f64 (*.f64 x x) 1))
31.7b
x
32.7b
(*.f64 x (-.f64 1 (*.f64 x x)))
31.1b
(-.f64 (/.f64 1 x) (pow.f64 x -3))
30.2b
(/.f64 1 x)
Compiler

Compiled 30 to 20 computations (33.3% saved)

localize8.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 18 to 8 computations (55.6% saved)

series2.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite49.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
614×pow1_binary64
574×add-log-exp_binary64
573×log1p-expm1-u_binary64
573×expm1-log1p-u_binary64
562×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify74.0ms (3.4%)

Algorithm
egg-herbie
Rules
912×fma-neg_binary64
469×distribute-rgt-neg-in_binary64
457×associate-*l*_binary64
383×fma-def_binary64
362×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0785
11976
24976
39776
419176
553676
6186976
7343076
8545576
9727576
Stop Event
node limit
Counts
29 → 22
Calls
Call 1
Inputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(*.f64 -1 (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
Outputs
x
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(*.f64 -1 (pow.f64 x 3))
(neg.f64 (pow.f64 x 3))
(pow.f64 (neg.f64 x) 3)
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))
(+.f64 (*.f64 -1 (pow.f64 x 3)) x)
(fma.f64 -1 (pow.f64 x 3) x)
(-.f64 x (pow.f64 x 3))

localize9.0ms (0.4%)

Compiler

Compiled 17 to 12 computations (29.4% saved)

eval4.0ms (0.2%)

Compiler

Compiled 206 to 123 computations (40.3% saved)

prune14.0ms (0.6%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New22022
Fresh011
Picked011
Done033
Total22527
Error
0b
Counts
27 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.5b
(/.f64 x (+.f64 (*.f64 x x) 1))
31.7b
x
32.7b
(*.f64 x (-.f64 1 (*.f64 x x)))
31.1b
(-.f64 (/.f64 1 x) (pow.f64 x -3))
30.2b
(/.f64 1 x)
Compiler

Compiled 30 to 20 computations (33.3% saved)

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune2.0ms (0.1%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New000
Fresh011
Picked000
Done044
Total055
Error
0b
Counts
5 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
15.5b
(/.f64 x (+.f64 (*.f64 x x) 1))
31.7b
x
32.7b
(*.f64 x (-.f64 1 (*.f64 x x)))
31.1b
(-.f64 (/.f64 1 x) (pow.f64 x -3))
30.2b
(/.f64 1 x)
Compiler

Compiled 30 to 20 computations (33.3% saved)

regimes29.0ms (1.3%)

Counts
7 → 3
Calls
Call 1
Inputs
x
(/.f64 1 x)
(*.f64 x (-.f64 1 (*.f64 x x)))
(/.f64 x (+.f64 (*.f64 x x) 1))
(-.f64 x (pow.f64 x 3))
(-.f64 (/.f64 1 x) (pow.f64 x -3))
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
Outputs
(/.f64 1 x)
(/.f64 x (+.f64 (*.f64 x x) 1))
(-.f64 (/.f64 1 x) (pow.f64 x -3))
Calls

2 calls:

14.0ms
x
12.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0.0b3x
0.1b3(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 50 to 31 computations (38% saved)

bsearch31.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
7.357464671497419e-7
68715.65870822774
15.0ms
-7.17214385910263e+18
-2596132220435682000.0
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes24.0ms (1.1%)

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

2 calls:

12.0ms
x
10.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Results
ErrorSegmentsBranch
0.0b3x
0.1b3(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 34 to 19 computations (44.1% saved)

bsearch31.0ms (1.5%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
747582.6933135068
26621684479.980762
16.0ms
-7.17214385910263e+18
-2596132220435682000.0
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes37.0ms (1.7%)

Counts
3 → 3
Calls
Call 1
Inputs
x
(/.f64 1 x)
(*.f64 x (-.f64 1 (*.f64 x x)))
Outputs
(/.f64 1 x)
(*.f64 x (-.f64 1 (*.f64 x x)))
(/.f64 1 x)
Calls

1 calls:

36.0ms
x
Results
ErrorSegmentsBranch
0.2b3x
Compiler

Compiled 14 to 8 computations (42.9% saved)

bsearch30.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
7.357464671497419e-7
68715.65870822774
15.0ms
-216712653.40025404
-0.0032733772091323274
Compiler

Compiled 12 to 8 computations (33.3% saved)

regimes52.0ms (2.4%)

Accuracy

Total -61.2b remaining (-18364.2%)

Threshold costs -61.2b (-18364.2%)

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

1 calls:

51.0ms
x
Results
ErrorSegmentsBranch
0.3b3x
Compiler

Compiled 7 to 4 computations (42.9% saved)

bsearch31.0ms (1.4%)

Algorithm
binary-search
Steps
TimeLeftRight
15.0ms
7.357464671497419e-7
68715.65870822774
15.0ms
-216712653.40025404
-0.0032733772091323274
Compiler

Compiled 12 to 8 computations (33.3% saved)

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029118
140118
250118
356118
459118
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) (/.f64 x (+.f64 (*.f64 x x) 1)) (-.f64 (/.f64 1 x) (pow.f64 x -3))))
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6421686437674219/8589934592) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x)))
(if (<=.f64 x -7271669992058393/33554432) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -7271669992058393/33554432) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) x (/.f64 1 x)))
x
Outputs
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) (/.f64 x (+.f64 (*.f64 x x) 1)) (-.f64 (/.f64 1 x) (pow.f64 x -3))))
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) (/.f64 x (+.f64 1 (*.f64 x x))) (-.f64 (/.f64 1 x) (pow.f64 x -3))))
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6421686437674219/8589934592) (/.f64 x (+.f64 (*.f64 x x) 1)) (/.f64 1 x)))
(if (<=.f64 x -7172143859102629888) (/.f64 1 x) (if (<=.f64 x 6421686437674219/8589934592) (/.f64 x (+.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -7271669992058393/33554432) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) (*.f64 x (-.f64 1 (*.f64 x x))) (/.f64 1 x)))
(if (<=.f64 x -7271669992058393/33554432) (/.f64 1 x) (if (<=.f64 x 6948928912715387/9444732965739290427392) x (/.f64 1 x)))
x
Compiler

Compiled 88 to 60 computations (31.8% saved)

soundness0.0ms (0%)

end110.0ms (5.2%)

Compiler

Compiled 84 to 54 computations (35.7% saved)

Profiling

Loading profile data...