Details

Time bar (total: 1.6s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50%0.4%49.6%10
50.2%0.2%49.6%11
50.2%0.1%49.7%12
50.2%0%49.8%13
50.2%0%49.8%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample887.0ms (54.8%)

Results
874.0ms8256×body128valid
Compiler

Compiled 18 to 14 computations (22.2% saved)

preprocess32.0ms (2%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
011
Stop Event
saturated
node limit
Calls
Call 1
Inputs
0
Outputs
0
Call 2
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 8 to 6 computations (25% saved)

simplify19.0ms (1.1%)

Algorithm
egg-herbie
Rules
417×times-frac_binary64
412×associate-/l*_binary64
360×associate-/r*_binary64
350×associate-*l*_binary64
200×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
Stop Event
node limit
Counts
1 → 2
Calls
Call 1
Inputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Outputs
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
Compiler

Compiled 25 to 17 computations (32% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))

series1.0ms (0.1%)

Counts
1 → 4
Calls

3 calls:

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

rewrite32.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
394×pow1_binary64
361×add-log-exp_binary64
361×log1p-expm1-u_binary64
361×expm1-log1p-u_binary64
353×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify35.0ms (2.2%)

Algorithm
egg-herbie
Rules
724×distribute-lft-out_binary64
385×*-commutative_binary64
380×fma-def_binary64
341×distribute-rgt-out_binary64
340×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02281
15579
213663
344856
4182856
5357856
6458356
Stop Event
node limit
Counts
24 → 27
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
Outputs
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4)))))

prune20.0ms (1.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New25227
Fresh000
Picked101
Done000
Total26228
Error
0.0b
Counts
28 → 2
Alt Table
StatusErrorProgram
1.0b
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
0.0b
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
Compiler

Compiled 312 to 239 computations (23.4% saved)

localize9.0ms (0.5%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
0.0b
(expm1.f64 (fma.f64 x x -1))

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite35.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
621×pow1_binary64
575×add-log-exp_binary64
575×log1p-expm1-u_binary64
575×expm1-log1p-u_binary64
65×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
113514
2157614
Stop Event
node limit
Counts
2 → 56
Calls
Call 1
Inputs
(expm1.f64 (fma.f64 x x -1))
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (exp.f64 (fma.f64 x x -1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1) (+.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) (+.f64 1 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (expm1.f64 (fma.f64 x x -1))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (fma.f64 x x -1)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))) (/.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (/.f64 1 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (/.f64 1 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))) (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1))) (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3)) (+.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2)) (-.f64 1 (expm1.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 3))) (neg.f64 (+.f64 1 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) (expm1.f64 (fma.f64 x x -1))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2))) (neg.f64 (-.f64 1 (expm1.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (expm1.f64 (fma.f64 x x -1)) 2) 1) (-.f64 (expm1.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (E.f64) (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (expm1.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) (sqrt.f64 (expm1.f64 (fma.f64 x x -1))) 1)))))

simplify27.0ms (1.7%)

Algorithm
egg-herbie
Rules
671×fma-def_binary64
486×fma-neg_binary64
341×associate-*l*_binary64
288×distribute-lft-out_binary64
285×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
030283
180272
2191245
3650229
42581227
Stop Event
node limit
Counts
80 → 72
Calls
Call 1
Inputs
(-.f64 (exp.f64 -1) 1)
(-.f64 (+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) 1)
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) 1)
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
Outputs
(-.f64 (exp.f64 -1) 1)
(expm1.f64 -1)
(-.f64 (+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2))) 1)
(+.f64 (exp.f64 -1) (-.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) 1))
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (expm1.f64 -1))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) -1)
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) -1)
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))) 1)
(+.f64 (exp.f64 -1) (-.f64 (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))) 1))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))) (expm1.f64 -1))
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)) -1)
(-.f64 (+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))) 1)
(+.f64 (exp.f64 -1) (-.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))) 1))
(+.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))) (expm1.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))) (fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) -1))
(+.f64 -1 (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))))
(fma.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (fma.f64 1/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))) -1)
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (fma.f64 x x -1)) 1)
(expm1.f64 (fma.f64 x x -1))
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))) (fma.f64 1/6 (pow.f64 x 6) 1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))

prune43.0ms (2.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh011
Picked011
Done000
Total72274
Error
0.0b
Counts
74 → 2
Alt Table
StatusErrorProgram
1.0b
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
0.0b
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
Compiler

Compiled 969 to 759 computations (21.7% saved)

localize8.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
0.0b
(pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 3) 1/3)
1.0b
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)

series7.0ms (0.4%)

Counts
2 → 16
Calls

6 calls:

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

rewrite36.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
644×pow1_binary64
607×add-log-exp_binary64
607×log1p-expm1-u_binary64
607×expm1-log1p-u_binary64
75×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify42.0ms (2.6%)

Algorithm
egg-herbie
Rules
590×distribute-rgt-out_binary64
332×*-commutative_binary64
214×associate-*l*_binary64
197×fma-def_binary64
194×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
037255
199249
2320198
31329190
42868188
53358188
64015188
Stop Event
node limit
Counts
54 → 53
Calls
Call 1
Inputs
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))))
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
Outputs
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3))
(*.f64 (exp.f64 -3) (+.f64 1 (*.f64 3 (*.f64 x x))))
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(+.f64 (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (pow.f64 x 4)))))
(*.f64 (exp.f64 -3) (+.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (*.f64 9/2 (pow.f64 x 4))))
(*.f64 (exp.f64 -3) (+.f64 1 (+.f64 (*.f64 9/2 (pow.f64 x 4)) (*.f64 3 (*.f64 x x)))))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))))
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (+.f64 (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3)) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3))))
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) (*.f64 (*.f64 (exp.f64 -3) 9/2) (+.f64 (pow.f64 x 4) (pow.f64 x 6))))
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6))))))
(*.f64 (exp.f64 -3) (+.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)))))
(*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (+.f64 1 (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6))))))
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(fma.f64 (exp.f64 -1) (*.f64 (pow.f64 x 6) 1/6) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (+.f64 (*.f64 (pow.f64 x 6) 1/6) (*.f64 (pow.f64 x 4) 1/2))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))

prune53.0ms (3.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh000
Picked101
Done011
Total80282
Error
0b
Counts
82 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
2.0b
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3)
Compiler

Compiled 1152 to 930 computations (19.3% saved)

localize10.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (fma.f64 x x -1))
0.0b
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3)
1.0b
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
1.0b
(pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3)

series13.0ms (0.8%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
3.0ms
x
@0
(pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3)
3.0ms
x
@-inf
(pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3)
2.0ms
x
@inf
(pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3)
1.0ms
x
@inf
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3)
1.0ms
x
@-inf
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3)

rewrite40.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
720×pow1_binary64
679×log1p-expm1-u_binary64
679×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
82×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify42.0ms (2.6%)

Algorithm
egg-herbie
Rules
609×distribute-rgt-out_binary64
426×distribute-lft-in_binary64
356×unswap-sqr_binary64
317×associate-*l*_binary64
311×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055515
1154507
2491444
32057429
44139429
Stop Event
node limit
Counts
107 → 96
Calls
Call 1
Inputs
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 -1) 1/3)
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4)))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))) (*.f64 1/162 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 6))))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
Outputs
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3))
(*.f64 (+.f64 1 (*.f64 3 (*.f64 x x))) (exp.f64 -3))
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)))))
(fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (pow.f64 x 4)))))
(*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (+.f64 1 (*.f64 9/2 (pow.f64 x 4)))))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))))
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (+.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))))))
(fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6)) (fma.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (*.f64 x x)) (fma.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4)) (pow.f64 (exp.f64 -1) 3))))
(+.f64 (*.f64 (+.f64 (*.f64 3 (*.f64 x x)) 1) (exp.f64 -3)) (*.f64 (*.f64 (exp.f64 -3) 9/2) (+.f64 (pow.f64 x 4) (pow.f64 x 6))))
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (+.f64 (*.f64 3 (*.f64 x x)) (*.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6))))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 -1) 1/3)
(cbrt.f64 (exp.f64 -1))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1)))
(fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 (*.f64 x x) 1/3) 1) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 1 (*.f64 x (*.f64 x 1/3))) (cbrt.f64 (exp.f64 -1)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4)))))
(fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))))))
(fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1))))
(+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (*.f64 x x) 1/3) (*.f64 (pow.f64 x 4) 1/18))))
(*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (+.f64 1 (*.f64 x (*.f64 x 1/3))) (*.f64 (pow.f64 x 4) 1/18)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 2))) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 4))) (*.f64 1/162 (*.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 x 6))))))
(+.f64 (fma.f64 1/3 (*.f64 (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (cbrt.f64 (exp.f64 -1))) (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (*.f64 1/162 (*.f64 (pow.f64 x 6) (cbrt.f64 (exp.f64 -1))))))
(+.f64 (fma.f64 1/18 (*.f64 (pow.f64 x 4) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (pow.f64 x 6) 1/162))) (fma.f64 1/3 (*.f64 x (*.f64 x (cbrt.f64 (exp.f64 -1)))) (cbrt.f64 (exp.f64 -1))))
(+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 x 4) 1/18) 1) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 (pow.f64 x 6) 1/162) (*.f64 (*.f64 x x) 1/3))))
(+.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 x (*.f64 x 1/3)) (+.f64 (*.f64 (pow.f64 x 6) 1/162) (*.f64 (pow.f64 x 4) 1/18)))))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(exp.f64 -1)
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (pow.f64 x 2)))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (*.f64 x x)))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2))))
(+.f64 (exp.f64 -1) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1)))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2)))
(+.f64 (exp.f64 -1) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (exp.f64 -1) (pow.f64 x 2)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (*.f64 (exp.f64 -1) (*.f64 x x)))))
(+.f64 (exp.f64 -1) (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (*.f64 (exp.f64 -1) (*.f64 (pow.f64 x 4) 1/2)))))
(fma.f64 (exp.f64 -1) (*.f64 (pow.f64 x 6) 1/6) (*.f64 (exp.f64 -1) (+.f64 (*.f64 (pow.f64 x 4) 1/2) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) 1/2)) (*.f64 (pow.f64 x 6) 1/6)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (fma.f64 x x -1))

prune68.0ms (4.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh000
Picked011
Done011
Total1232125
Error
0b
Counts
125 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 1 (expm1.f64 (fma.f64 x x -1)))
2.0b
(pow.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 3) 3) 1/3)
Compiler

Compiled 2032 to 1687 computations (17% saved)

regimes95.0ms (5.9%)

Accuracy

Total -0.0b remaining (-14.7%)

Threshold costs -0.0b (-14.7%)

Counts
49 → 1
Compiler

Compiled 533 to 407 computations (23.6% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094294967295
1124294967295
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))
Outputs
(*.f64 (pow.f64 1 1/3) (exp.f64 (fma.f64 x x -1)))

end50.0ms (3.1%)

Stop Event
done
Compiler

Compiled 41 to 33 computations (19.5% saved)

Profiling

Loading profile data...