Details

Time bar (total: 2.2s)

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)

sample944.0ms (43.3%)

Results
929.0ms8256×body256valid
1.0ms13×body256invalid

preprocess59.0ms (2.7%)

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

Useful iterations: 0 (0.0ms)

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

simplify46.0ms (2.1%)

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

Useful iterations: 3 (0.0ms)

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

eval2.0ms (0.1%)

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)

localize10.0ms (0.5%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 12 computations (50% saved)

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))))

rewrite47.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
218489
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 -1) (+.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 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)))))))))

simplify77.0ms (3.5%)

Algorithm
egg-herbie
Rules
723×distribute-lft-out_binary64
453×fma-neg_binary64
399×*-commutative_binary64
370×distribute-rgt-out_binary64
341×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
024151
160131
2145119
3462112
41945112
53890112
65584112
77510112
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 (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 (*.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))

eval9.0ms (0.4%)

Compiler

Compiled 359 to 249 computations (30.6% saved)

prune5.0ms (0.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New32335
Fresh000
Picked011
Done000
Total32436
Error
0b
Counts
36 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.9b
(exp.f64 -1)
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
Compiler

Compiled 30 to 24 computations (20% saved)

localize3.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize21.0ms (1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
1.0b
(log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
1.0b
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))
Compiler

Compiled 32 to 17 computations (46.9% saved)

series62.0ms (2.8%)

Counts
3 → 36
Calls

9 calls:

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

rewrite113.0ms (5.2%)

Algorithm
batch-egg-rewrite
Rules
673×pow1_binary64
626×expm1-log1p-u_binary64
625×add-log-exp_binary64
625×log1p-expm1-u_binary64
611×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0829
114323
2171123
Stop Event
node limit
Counts
3 → 63
Calls
Call 1
Inputs
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))
(log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
(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 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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) (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 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 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 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 log1p.f64 (expm1.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 -.f64 (+.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log1p.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log1p.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log1p.f64 (exp.f64 (fma.f64 x x -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 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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) (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 (pow.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 3) 1) (+.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) (+.f64 1 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 1) (+.f64 (exp.f64 (fma.f64 x x -1)) 1)) 1) (+.f64 (+.f64 (exp.f64 (fma.f64 x x -1)) 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 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 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))))))))

simplify41.0ms (1.9%)

Algorithm
egg-herbie
Rules
786×associate-*l/_binary64
728×associate-/l*_binary64
638×associate-*r/_binary64
610×associate-/r*_binary64
258×distribute-rgt-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060620
1158551
2471516
32194509
Stop Event
node limit
Counts
99 → 58
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))
(log.f64 (+.f64 1 (exp.f64 -1)))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 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
(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 (fma.f64 x x 1) (*.f64 1/2 (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))))))
(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 x x 1) (+.f64 (*.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))
(log.f64 (+.f64 1 (exp.f64 -1)))
(log1p.f64 (exp.f64 -1))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))))
(+.f64 (log1p.f64 (exp.f64 -1)) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)))
(fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))
(+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4)))))
(+.f64 (log1p.f64 (exp.f64 -1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1))))))))
(+.f64 (log1p.f64 (exp.f64 -1)) (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (/.f64 -12 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))))) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))))
(fma.f64 (pow.f64 x 4) (+.f64 (/.f64 -1/2 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))) (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))
(fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (/.f64 -1/2 (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (exp.f64 -2)) (/.f64 1/2 (/.f64 (+.f64 (exp.f64 -1) 1) (exp.f64 -1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1))))
(+.f64 (*.f64 1/720 (*.f64 (+.f64 (*.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (+.f64 (*.f64 120 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1)))) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 1 (exp.f64 -1)) 3))))) (pow.f64 x 6))) (+.f64 (log.f64 (+.f64 1 (exp.f64 -1))) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 1 (exp.f64 -1))) (*.f64 1/24 (*.f64 (+.f64 (*.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 1 (exp.f64 -1)) 2))) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 1 (exp.f64 -1))))) (pow.f64 x 4))))))
(fma.f64 1/720 (*.f64 (pow.f64 x 6) (fma.f64 -360 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (fma.f64 120 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 240 (/.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)))))) (+.f64 (log1p.f64 (exp.f64 -1)) (+.f64 (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1)) (*.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 -12 (/.f64 (pow.f64 (exp.f64 -1) 2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (*.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))))))))
(+.f64 (fma.f64 1/24 (*.f64 (pow.f64 x 4) (fma.f64 12 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (/.f64 -12 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))))) (/.f64 (*.f64 (exp.f64 -1) (*.f64 x x)) (+.f64 (exp.f64 -1) 1))) (fma.f64 (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120 (/.f64 (*.f64 240 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (+.f64 (exp.f64 -1) 1) 3))))) (pow.f64 x 6) (log1p.f64 (exp.f64 -1))))
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 (/.f64 (exp.f64 -2) (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) -360 (fma.f64 240 (pow.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 3) (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) 120)))) (fma.f64 (pow.f64 x 4) (+.f64 (/.f64 -1/2 (/.f64 (pow.f64 (+.f64 (exp.f64 -1) 1) 2) (exp.f64 -2))) (*.f64 1/2 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))))
(fma.f64 (pow.f64 x 6) (*.f64 1/720 (fma.f64 240 (/.f64 (exp.f64 -3) (pow.f64 (+.f64 (exp.f64 -1) 1) 3)) (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (+.f64 (*.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) -360) 120)))) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (/.f64 -1/2 (pow.f64 (+.f64 (exp.f64 -1) 1) 2)) (exp.f64 -2)) (/.f64 1/2 (/.f64 (+.f64 (exp.f64 -1) 1) (exp.f64 -1)))) (fma.f64 (/.f64 (exp.f64 -1) (+.f64 (exp.f64 -1) 1)) (*.f64 x x) (log1p.f64 (exp.f64 -1)))))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.f64 (fma.f64 x x -1)))
(log.f64 (+.f64 1 (exp.f64 (-.f64 (pow.f64 x 2) 1))))
(log1p.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(log1p.f64 (exp.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 (+.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 (fma.f64 x x 1) (*.f64 1/2 (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))))))
(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 x x 1) (+.f64 (*.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))

localize16.0ms (0.7%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
1.0b
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
Compiler

Compiled 34 to 19 computations (44.1% saved)

series43.0ms (2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
37.0ms
x
@inf
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
2.0ms
x
@0
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
2.0ms
x
@0
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
1.0ms
x
@inf
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
0.0ms
x
@-inf
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))

rewrite65.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
750×pow1_binary64
703×add-log-exp_binary64
703×log1p-expm1-u_binary64
703×expm1-log1p-u_binary64
686×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0920
118816
2197116
Stop Event
node limit
Counts
2 → 43
Calls
Call 1
Inputs
(cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x))))
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (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)))) (pow.f64 (cbrt.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 (pow.f64 (cbrt.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 (cbrt.f64 (exp.f64 -1)) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(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 1 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 (pow.f64 (exp.f64 x) x) 1/3))))) (#(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 (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 (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 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 exp.f64 (*.f64 (fma.f64 x x -1) 1/3))))))
((#(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 (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 1 (exp.f64 (fma.f64 x x -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 (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 (pow.f64 (cbrt.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 (pow.f64 (pow.f64 (cbrt.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 (*.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) (pow.f64 (cbrt.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 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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))))

simplify81.0ms (3.7%)

Algorithm
egg-herbie
Rules
776×fma-def_binary64
690×associate-*l*_binary64
633×associate-*r*_binary64
489×distribute-rgt-in_binary64
487×distribute-lft-in_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
088645
1304503
21120434
Stop Event
node limit
Counts
67 → 62
Calls
Call 1
Inputs
(pow.f64 (exp.f64 -1) 1/3)
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(*.f64 (pow.f64 1 1/3) (exp.f64 -1))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4))))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6)))))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
Outputs
(pow.f64 (exp.f64 -1) 1/3)
(cbrt.f64 (exp.f64 -1))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) 1/18) (*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (pow.f64 x 6))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1)))))
(fma.f64 1/3 (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (exp.f64 -2))) (pow.f64 x 6)) (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1)))))
(fma.f64 1/3 (fma.f64 (pow.f64 x 6) (*.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (exp.f64 -1) 1/54)) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x))) (fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (*.f64 (exp.f64 -1) (pow.f64 x 4)) 1/18) (cbrt.f64 (exp.f64 -1))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 -1))
(exp.f64 -1)
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (pow.f64 x 4) (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9)))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 2/9))) (exp.f64 -1)))
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64))))) (*.f64 (exp.f64 -1) 5/18))))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (fma.f64 (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9))) (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (cbrt.f64 (exp.f64 1))) (*.f64 (*.f64 2/9 (*.f64 (exp.f64 -1) 1/6)) (cbrt.f64 (exp.f64 1)))) (+.f64 (*.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3)))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2))))) (*.f64 (*.f64 2/9 (*.f64 (exp.f64 -1) 1/6)) 1)))))))
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1)) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 2/9))) (*.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 2/3 (cbrt.f64 (E.f64))) (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (*.f64 (cbrt.f64 (E.f64)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (fma.f64 (*.f64 1/3 (cbrt.f64 (exp.f64 -1))) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 1/27)))))))
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (fma.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (E.f64)) (+.f64 (*.f64 2/3 (*.f64 (exp.f64 -1) 1/54)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 (exp.f64 -1) 1/27 (*.f64 1/3 (+.f64 (*.f64 (exp.f64 -1) 1/54) (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64)))))))))) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (exp.f64 -1) (*.f64 1/9 (cbrt.f64 (E.f64))))) (*.f64 (exp.f64 -1) 5/18)))))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))

eval65.0ms (3%)

Compiler

Compiled 2168 to 1845 computations (14.9% saved)

prune16.0ms (0.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1201121
Fresh000
Picked011
Done123
Total1214125
Error
0b
Counts
125 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.9b
(exp.f64 -1)
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
Compiler

Compiled 29 to 23 computations (20.7% saved)

localize36.0ms (1.7%)

Local error

Found 2 expressions with local error:

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

Compiled 18 to 9 computations (50% saved)

series5.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

TimeVariablePointExpression
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))
1.0ms
x
@0
(pow.f64 (exp.f64 x) x)
0.0ms
x
@inf
(pow.f64 (exp.f64 x) x)

rewrite174.0ms (8%)

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 log1p.f64 (expm1.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 -.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 log1p.f64 (expm1.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 x x))))))

simplify75.0ms (3.4%)

Algorithm
egg-herbie
Rules
479×fma-def_binary64
476×distribute-rgt-out_binary64
439×*-commutative_binary64
438×associate-*l*_binary64
345×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031246
178218
2199200
3593195
42427195
54667195
65634195
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 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 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 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(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))
(+.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)

eval22.0ms (1%)

Compiler

Compiled 465 to 314 computations (32.5% saved)

prune50.0ms (2.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New43144
Fresh000
Picked011
Done123
Total44448
Error
0b
Counts
48 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.9b
(exp.f64 -1)
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 28 to 22 computations (21.4% saved)

localize8.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 8 computations (52.9% saved)

eval1.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% saved)

prune3.0ms (0.2%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New101
Fresh000
Picked011
Done033
Total145
Error
0b
Counts
5 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.9b
(exp.f64 -1)
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 28 to 22 computations (21.4% saved)

regimes54.0ms (2.5%)

Accuracy

Total -2.9b remaining (-24355%)

Threshold costs -2.9b (-24355%)

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 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(expm1.f64 (log1p.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))))
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
Outputs
(exp.f64 (+.f64 -1 (*.f64 x x)))
Calls

8 calls:

33.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
5.0ms
x
3.0ms
(*.f64 x x)
2.0ms
(-.f64 1 (*.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)
Compiler

Compiled 88 to 60 computations (31.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
1812
Stop Event
done
saturated
Calls
Call 1
Inputs
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
Outputs
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
Compiler

Compiled 10 to 8 computations (20% saved)

soundness0.0ms (0%)

end20.0ms (0.9%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

Profiling

Loading profile data...