Details

Time bar (total: 1.9s)

analyze3.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
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample969.0ms (50.9%)

Results
945.0ms8256×body256valid
1.0msbody256invalid

preprocess45.0ms (2.4%)

Algorithm
egg-herbie
Rules
663×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
412×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
755787
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 9 to 7 computations (22.2% saved)

simplify48.0ms (2.5%)

Algorithm
egg-herbie
Rules
663×div-sub_binary64
631×fma-def_binary64
417×times-frac_binary64
412×associate-/l*_binary64
382×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0711
1199
2509
31117
42367
55317
616137
755787
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))

eval1.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 6 computations (25% saved)

localize5.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite42.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
606×pow1_binary64
566×add-log-exp_binary64
565×log1p-expm1-u_binary64
565×expm1-log1p-u_binary64
554×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify69.0ms (3.6%)

Algorithm
egg-herbie
Rules
707×distribute-lft-out_binary64
453×fma-neg_binary64
394×*-commutative_binary64
355×distribute-rgt-out_binary64
341×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024151
160131
2145119
3461112
41854112
53798112
65492112
77410112
Stop Event
node limit
Counts
38 → 35
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(*.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)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

eval10.0ms (0.5%)

Compiler

Compiled 359 to 249 computations (30.6% saved)

prune33.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh000
Picked011
Done000
Total33336
Error
0.0b
Counts
36 → 3
Alt Table
Click to see full alt table
StatusErrorProgram
0.8b
(exp.f64 -1)
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 20 to 16 computations (20% saved)

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite61.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
807×pow1_binary64
752×add-log-exp_binary64
751×log1p-expm1-u_binary64
751×expm1-log1p-u_binary64
738×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0821
116514
2207414
Stop Event
node limit
Counts
2 → 54
Calls
Call 1
Inputs
(expm1.f64 (+.f64 -1 (*.f64 x x)))
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
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 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 (+.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 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -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 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 1 (/.f64 (+.f64 1 (*.f64 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 (expm1.f64 (fma.f64 x x -1)) (-.f64 (expm1.f64 (fma.f64 x x -1)) 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 (sqrt.f64 (fma.f64 x x -1))) (sqrt.f64 (fma.f64 x x -1)))))) (#(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 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 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)))))

simplify45.0ms (2.4%)

Algorithm
egg-herbie
Rules
691×distribute-lft-out_binary64
542×fma-def_binary64
480×fma-neg_binary64
408×*-commutative_binary64
341×distribute-rgt-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029310
176266
2194245
3656229
42487227
56316227
Stop Event
node limit
Counts
78 → 72
Calls
Call 1
Inputs
(-.f64 (exp.f64 -1) 1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1)
(-.f64 (+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
Outputs
(-.f64 (exp.f64 -1) 1)
(expm1.f64 -1)
(-.f64 (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1)) 1)
(+.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (expm1.f64 -1))
(fma.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 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) 1)
(+.f64 (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))) -1)
(fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))) 1)
(+.f64 (fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))) -1)
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (expm1.f64 -1))))
(+.f64 -1 (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 -1 (*.f64 (exp.f64 -1) (+.f64 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)) (*.f64 1/2 (pow.f64 x 4)))))
(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 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(-.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1)
(expm1.f64 (+.f64 (*.f64 x x) -1))
(expm1.f64 (fma.f64 x x -1))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(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 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)) (*.f64 1/2 (pow.f64 x 4))))
(*.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)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

localize2.0ms (0.1%)

eval25.0ms (1.3%)

Compiler

Compiled 935 to 731 computations (21.8% saved)

prune26.0ms (1.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New71172
Fresh000
Picked011
Done022
Total71475
Error
0.0b
Counts
75 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.8b
(exp.f64 -1)
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 28 to 22 computations (21.4% saved)

localize6.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.0b
(pow.f64 (exp.f64 x) x)
0.0b
(pow.f64 (exp.f64 x) x)
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))

series7.0ms (0.3%)

Counts
2 → 24
Calls

6 calls:

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

rewrite57.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
575×pow1_binary64
528×add-log-exp_binary64
528×log1p-expm1-u_binary64
528×expm1-log1p-u_binary64
514×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify48.0ms (2.5%)

Algorithm
egg-herbie
Rules
486×associate-+l+_binary64
479×fma-def_binary64
457×distribute-rgt-out_binary64
439×*-commutative_binary64
435×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031246
178218
2199200
3594195
42324195
54560195
65499195
Stop Event
node limit
Counts
50 → 44
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (fma.f64 x x 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(fma.f64 (exp.f64 -1) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
1
(+.f64 1 (pow.f64 x 2))
(+.f64 (*.f64 x x) 1)
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)

eval13.0ms (0.7%)

Compiler

Compiled 465 to 314 computations (32.5% saved)

prune7.0ms (0.4%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New42244
Fresh000
Picked011
Done123
Total43548
Error
0.0b
Counts
48 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.8b
(exp.f64 -1)
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 35 to 27 computations (22.9% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series1.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite61.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
592×pow1_binary64
551×add-log-exp_binary64
551×log1p-expm1-u_binary64
551×expm1-log1p-u_binary64
539×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
11227
215037
Stop Event
node limit
Counts
1 → 21
Calls
Call 1
Inputs
(exp.f64 (+.f64 -1 (*.f64 x x)))
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 (exp.f64 -1) (exp.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) (exp.f64 -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 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 (sqrt.f64 (fma.f64 x x -1))) (sqrt.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 (pow.f64 (cbrt.f64 (fma.f64 x x -1)) 2)) (cbrt.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))))))))

simplify57.0ms (3%)

Algorithm
egg-herbie
Rules
707×distribute-lft-out_binary64
453×fma-neg_binary64
394×*-commutative_binary64
355×distribute-rgt-out_binary64
341×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024151
160131
2145119
3461112
41854112
53798112
65492112
77410112
Stop Event
node limit
Counts
33 → 30
Calls
Call 1
Inputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
Outputs
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1)))
(*.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 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6)) (fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)) (exp.f64 -1))))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(*.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)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite46.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
545×pow1_binary64
521×add-sqr-sqrt_binary64
501×add-log-exp_binary64
501×log1p-expm1-u_binary64
501×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0715
112913
2142913
Stop Event
node limit
Counts
2 → 32
Calls
Call 1
Inputs
(exp.f64 (*.f64 x x))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (*.f64 x x))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (*.f64 x x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (*.f64 x x))) (pow.f64 (cbrt.f64 (exp.f64 (*.f64 x x))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (*.f64 x x))) 2) (cbrt.f64 (exp.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (*.f64 x x))) (sqrt.f64 (exp.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (*.f64 x x)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 x) x)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (*.f64 x x))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (*.f64 x x))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (pow.f64 x 4))) (pow.f64 (cbrt.f64 x) 2))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (*.f64 x x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (pow.f64 (cbrt.f64 x) 2)) (cbrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 x) (sqrt.f64 x)) (sqrt.f64 x))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (*.f64 x x))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (*.f64 x x))))))))
((#(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 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 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 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))))))))

simplify53.0ms (2.8%)

Algorithm
egg-herbie
Rules
486×associate-+l+_binary64
479×fma-def_binary64
457×distribute-rgt-out_binary64
441×*-commutative_binary64
417×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031246
178218
2199200
3593195
42273195
54511195
65451195
Stop Event
node limit
Counts
56 → 48
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
Outputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (*.f64 x x))
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (fma.f64 x x 1) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))
(+.f64 (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))) (*.f64 (fma.f64 x x 1) (exp.f64 -1)))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4))))
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))) (*.f64 (fma.f64 x x 1) (exp.f64 -1))))
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))))
(*.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

eval34.0ms (1.8%)

Compiler

Compiled 789 to 564 computations (28.5% saved)

prune11.0ms (0.6%)

Pruning

5 alts after pruning (0 fresh and 5 done)

PrunedKeptTotal
New78078
Fresh000
Picked011
Done044
Total78583
Error
0.0b
Counts
83 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.8b
(exp.f64 -1)
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 35 to 27 computations (22.9% saved)

regimes31.0ms (1.6%)

Counts
6 → 1
Calls
Call 1
Inputs
(exp.f64 -1)
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Outputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Calls

9 calls:

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

Compiled 90 to 60 computations (33.3% saved)

regimes33.0ms (1.7%)

Accuracy

Total -0.8b remaining (-3869.2%)

Threshold costs -0.8b (-3869.2%)

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

8 calls:

13.0ms
x
6.0ms
(-.f64 1 (*.f64 x x))
2.0ms
(*.f64 x x)
2.0ms
(-.f64 1 (*.f64 x x))
2.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Results
ErrorSegmentsBranch
0.0b1x
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(-.f64 1 (*.f64 x x))
0.0b1(*.f64 x x)
Compiler

Compiled 79 to 53 computations (32.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
11223
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
Outputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)

end33.0ms (1.8%)

Stop Event
done
Compiler

Compiled 34 to 26 computations (23.5% saved)

Profiling

Loading profile data...