Details

Time bar (total: 4.2s)

analyze7.0ms (0.2%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
50%50%50%0%0%0%0%3
66.7%50%25%0%25%0%0%4
80%50%12.5%0%37.5%0%0%5
88.9%50%6.2%0%43.7%0%0%6
94.1%50%3.1%0%46.9%0%0%7
97%50%1.6%0%48.4%0%0%8
98.5%50%0.8%0%49.2%0%0%9
99.2%50%0.4%0%49.6%0%0%10
99.6%50.2%0.2%0%49.6%0%0%11
99.8%50.2%0.1%0%49.7%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample1.5s (36.6%)

Results
1.5s8256×body256valid
2.0ms14×body256infinite
Bogosity

preprocess88.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: 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)

simplify54.0ms (1.3%)

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

eval1.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 6 computations (25% saved)

localize23.0ms (0.6%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 12 computations (50% saved)

series2.0ms (0%)

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

rewrite50.0ms (1.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)))))))))

simplify68.0ms (1.6%)

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.2%)

Compiler

Compiled 359 to 249 computations (30.6% saved)

prune7.0ms (0.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

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

Compiled 29 to 23 computations (20.7% saved)

localize18.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 35 to 20 computations (42.9% saved)

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite71.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
757×pow1_binary64
710×add-log-exp_binary64
710×log1p-expm1-u_binary64
710×expm1-log1p-u_binary64
693×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify60.0ms (1.4%)

Algorithm
egg-herbie
Rules
791×associate-+l+_binary64
681×associate-+r+_binary64
483×*-commutative_binary64
395×distribute-rgt-out_binary64
346×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049541
1147474
2468408
32419392
47678392
Stop Event
node limit
Counts
108 → 66
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))
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(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 (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 (fma.f64 x x 1) (*.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))
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3))
(fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (exp.f64 -3))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (exp.f64 -3)))
(*.f64 (exp.f64 -3) (+.f64 (+.f64 1 (*.f64 x (*.f64 x 3))) (*.f64 (pow.f64 x 4) 9/2)))
(+.f64 (*.f64 (+.f64 (*.f64 4 (pow.f64 (exp.f64 -1) 3)) (*.f64 1/2 (pow.f64 (exp.f64 -1) 3))) (pow.f64 x 4)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)) (pow.f64 x 2)) (+.f64 (*.f64 (+.f64 (*.f64 2 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 1/6 (pow.f64 (exp.f64 -1) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (exp.f64 -1) 2)) (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1)) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (pow.f64 x 4) (fma.f64 (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (*.f64 x x) (fma.f64 (fma.f64 2 (pow.f64 (exp.f64 -1) 3) (fma.f64 1/6 (pow.f64 (exp.f64 -1) 3) (fma.f64 (*.f64 4/3 (pow.f64 (exp.f64 -1) 2)) (exp.f64 -1) (pow.f64 (exp.f64 -1) 3)))) (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 (pow.f64 x 4) (*.f64 (pow.f64 (exp.f64 -1) 3) 9/2) (fma.f64 (*.f64 x x) (*.f64 3 (pow.f64 (exp.f64 -1) 3)) (fma.f64 (pow.f64 x 6) (+.f64 (*.f64 (exp.f64 -1) (+.f64 (exp.f64 -2) (*.f64 (exp.f64 -2) 4/3))) (*.f64 (pow.f64 (exp.f64 -1) 3) 13/6)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 x (*.f64 x (*.f64 3 (exp.f64 -3))) (fma.f64 (pow.f64 x 4) (*.f64 (exp.f64 -3) 9/2) (fma.f64 (pow.f64 x 6) (fma.f64 (exp.f64 -3) 13/6 (*.f64 7/3 (exp.f64 -3))) (exp.f64 -3))))
(+.f64 (fma.f64 (pow.f64 x 6) (*.f64 (exp.f64 -3) 9/2) (exp.f64 -3)) (*.f64 (*.f64 x x) (*.f64 (exp.f64 -3) (+.f64 (*.f64 (*.f64 x x) 9/2) 3))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (fma.f64 x x -1))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 3)
(pow.f64 (exp.f64 (+.f64 (*.f64 x x) -1)) 3)
(pow.f64 (exp.f64 (fma.f64 x x -1)) 3)
(pow.f64 (exp.f64 3) (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 (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 (fma.f64 x x 1) (*.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))

localize3.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize13.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 19 to 9 computations (52.6% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite50.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
711×pow1_binary64
664×add-log-exp_binary64
663×log1p-expm1-u_binary64
663×expm1-log1p-u_binary64
651×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
11527
219137
Stop Event
node limit
Counts
1 → 18
Calls
Call 1
Inputs
(pow.f64 (E.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 (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 (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 (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 1 (fma.f64 x x -1)) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 2)) (fma.f64 x x -1)) (pow.f64 (cbrt.f64 (E.f64)) (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (E.f64)) (fma.f64 x x -1)) (pow.f64 (sqrt.f64 (E.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))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (fma.f64 x x -1))))))

simplify68.0ms (1.6%)

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
30 → 26
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))

eval62.0ms (1.5%)

Compiler

Compiled 1167 to 908 computations (22.2% saved)

prune26.0ms (0.6%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New90292
Fresh000
Picked011
Done123
Total91596
Error
0.0b
Counts
96 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(exp.f64 -1)
0.3b
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (pow.f64 (exp.f64 x) x) 3)))
0.0b
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.1b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Compiler

Compiled 40 to 32 computations (20% saved)

localize45.0ms (1.1%)

Local error

Found 4 expressions with local error:

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

Compiled 45 to 28 computations (37.8% saved)

series9.0ms (0.2%)

Counts
4 → 36
Calls

9 calls:

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

rewrite99.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
898×pow1_binary64
839×add-log-exp_binary64
839×log1p-expm1-u_binary64
839×expm1-log1p-u_binary64
813×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify92.0ms (2.2%)

Algorithm
egg-herbie
Rules
864×distribute-rgt-out_binary64
688×fma-def_binary64
551×distribute-lft-out_binary64
536×associate-*l*_binary64
381×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
043366
1114336
2283318
3845312
43259312
56046312
67473312
Stop Event
node limit
Counts
116 → 106
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))
1
(+.f64 (*.f64 3 (pow.f64 x 2)) 1)
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) 1))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) (+.f64 1 (*.f64 9/2 (pow.f64 x 6)))))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
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 (exp.f64 -1) (*.f64 1/2 (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 (exp.f64 -1) (*.f64 1/2 (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 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1))))
(*.f64 (exp.f64 -1) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (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 1/2 (pow.f64 x 4) (*.f64 x x)))
(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 1/2 (pow.f64 x 4) (*.f64 x x))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 1)))
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (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)
1
(+.f64 (*.f64 3 (pow.f64 x 2)) 1)
(fma.f64 3 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) 3 1)
(fma.f64 x (*.f64 x 3) 1)
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) 1))
(fma.f64 3 (*.f64 x x) (fma.f64 9/2 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) 3 (fma.f64 (pow.f64 x 4) 9/2 1))
(fma.f64 (*.f64 x x) (fma.f64 x (*.f64 x 9/2) 3) 1)
(fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 1))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) (+.f64 1 (*.f64 9/2 (pow.f64 x 6)))))
(fma.f64 3 (*.f64 x x) (+.f64 (fma.f64 9/2 (pow.f64 x 4) 1) (*.f64 (pow.f64 x 6) 9/2)))
(fma.f64 (*.f64 x x) 3 (fma.f64 (pow.f64 x 4) 9/2 (fma.f64 (pow.f64 x 6) 9/2 1)))
(fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 (fma.f64 (pow.f64 x 6) 9/2 1)))
(fma.f64 x (*.f64 x 3) (fma.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)) 1))
(fma.f64 9/2 (+.f64 (pow.f64 x 4) (pow.f64 x 6)) (fma.f64 x (*.f64 x 3) 1))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))
(pow.f64 (exp.f64 (pow.f64 x 2)) 3)
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (pow.f64 (exp.f64 x) x) 3)
(pow.f64 (exp.f64 x) (*.f64 x 3))

localize18.0ms (0.4%)

Local error

Found 2 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)
Compiler

Compiled 18 to 9 computations (50% saved)

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

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

rewrite59.0ms (1.4%)

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
0711
11309
214689
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
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)))))))

simplify75.0ms (1.8%)

Algorithm
egg-herbie
Rules
721×distribute-lft-out_binary64
438×fma-neg_binary64
406×*-commutative_binary64
370×distribute-rgt-out_binary64
344×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
023151
156131
2142119
3459112
41943112
53886112
65555112
77397112
Stop Event
node limit
Counts
23 → 20
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))
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)))))
(*.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))

eval226.0ms (5.4%)

Compiler

Compiled 2024 to 1359 computations (32.9% saved)

prune20.0ms (0.5%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1464150
Fresh000
Picked011
Done224
Total1487155
Error
0.0b
Counts
155 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(exp.f64 -1)
0.1b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.3b
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
0.3b
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (exp.f64 x) (*.f64 x 3))))
0.0b
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
2.0b
(*.f64 (cbrt.f64 (exp.f64 -2)) (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x)))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Compiler

Compiled 63 to 50 computations (20.6% saved)

localize29.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

Compiled 44 to 32 computations (27.3% saved)

series8.0ms (0.2%)

Counts
3 → 36
Calls

9 calls:

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

rewrite117.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
910×pow1_binary64
850×add-log-exp_binary64
849×log1p-expm1-u_binary64
849×expm1-log1p-u_binary64
827×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify73.0ms (1.7%)

Algorithm
egg-herbie
Rules
711×associate-/l/_binary64
634×associate-/r/_binary64
611×distribute-rgt-out_binary64
485×associate-/l*_binary64
368×*-commutative_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
051577
1143571
2428455
31624414
43281409
53862409
64848409
Stop Event
node limit
Counts
86 → 77
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 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
1
(+.f64 (*.f64 3 (pow.f64 x 2)) 1)
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) 1))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) (+.f64 1 (*.f64 9/2 (pow.f64 x 6)))))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 -1) 3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (pow.f64 (exp.f64 -1) 3))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (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 (+.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 (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 (fma.f64 x x 1) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (*.f64 1/2 (pow.f64 x 4)))))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 (*.f64 3 (pow.f64 x 2)))) 1/3) (exp.f64 -1))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 3) (*.f64 x x))))
(*.f64 (exp.f64 -1) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3)))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
1
(+.f64 (*.f64 3 (pow.f64 x 2)) 1)
(fma.f64 3 (*.f64 x x) 1)
(fma.f64 (*.f64 x x) 3 1)
(fma.f64 x (*.f64 x 3) 1)
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) 1))
(fma.f64 3 (*.f64 x x) (fma.f64 9/2 (pow.f64 x 4) 1))
(fma.f64 (*.f64 x x) 3 (fma.f64 (pow.f64 x 4) 9/2 1))
(fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 1))
(+.f64 (*.f64 3 (pow.f64 x 2)) (+.f64 (*.f64 9/2 (pow.f64 x 4)) (+.f64 1 (*.f64 9/2 (pow.f64 x 6)))))
(fma.f64 3 (*.f64 x x) (+.f64 (fma.f64 9/2 (pow.f64 x 4) 1) (*.f64 (pow.f64 x 6) 9/2)))
(fma.f64 (*.f64 x x) 3 (fma.f64 (pow.f64 x 4) 9/2 (fma.f64 (pow.f64 x 6) 9/2 1)))
(fma.f64 (pow.f64 x 4) 9/2 (fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 6) 9/2 1)))
(fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 6) 9/2 (fma.f64 (pow.f64 x 4) 9/2 1)))
(fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 (fma.f64 (pow.f64 x 6) 9/2 1)))
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(exp.f64 (*.f64 3 (pow.f64 x 2)))
(pow.f64 (exp.f64 3) (*.f64 x x))
(pow.f64 (exp.f64 (*.f64 x x)) 3)
(pow.f64 (exp.f64 -1) 3)
(exp.f64 -3)
(+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3))
(fma.f64 3 (*.f64 (*.f64 x x) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))
(fma.f64 3 (*.f64 x (*.f64 x (pow.f64 (exp.f64 -1) 3))) (pow.f64 (exp.f64 -1) 3))
(*.f64 (fma.f64 x (*.f64 x 3) 1) (exp.f64 -3))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 9/2 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 3)) (fma.f64 3 (*.f64 (*.f64 x x) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3)))
(fma.f64 9/2 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 3)) (fma.f64 3 (*.f64 x (*.f64 x (pow.f64 (exp.f64 -1) 3))) (pow.f64 (exp.f64 -1) 3)))
(+.f64 (exp.f64 -3) (*.f64 (exp.f64 -3) (fma.f64 x (*.f64 x 3) (*.f64 (pow.f64 x 4) 9/2))))
(*.f64 (exp.f64 -3) (fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 1)))
(*.f64 (fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 1)) (exp.f64 -3))
(+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 4))) (+.f64 (*.f64 3 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 2))) (+.f64 (*.f64 9/2 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 x 6))) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 9/2 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 3)) (fma.f64 3 (*.f64 (*.f64 x x) (pow.f64 (exp.f64 -1) 3)) (fma.f64 9/2 (*.f64 (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))))
(fma.f64 9/2 (*.f64 (pow.f64 x 4) (pow.f64 (exp.f64 -1) 3)) (fma.f64 3 (*.f64 x (*.f64 x (pow.f64 (exp.f64 -1) 3))) (fma.f64 9/2 (*.f64 (pow.f64 x 6) (pow.f64 (exp.f64 -1) 3)) (pow.f64 (exp.f64 -1) 3))))
(+.f64 (*.f64 (fma.f64 (pow.f64 x 6) 9/2 1) (exp.f64 -3)) (*.f64 (exp.f64 -3) (fma.f64 x (*.f64 x 3) (*.f64 (pow.f64 x 4) 9/2))))
(fma.f64 (*.f64 x x) (*.f64 3 (exp.f64 -3)) (*.f64 (exp.f64 -3) (fma.f64 (pow.f64 x 6) 9/2 (fma.f64 (pow.f64 x 4) 9/2 1))))
(*.f64 (exp.f64 -3) (fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 6) 9/2 (fma.f64 (pow.f64 x 4) 9/2 1))))
(*.f64 (fma.f64 x (*.f64 x 3) (fma.f64 (pow.f64 x 4) 9/2 (fma.f64 (pow.f64 x 6) 9/2 1))) (exp.f64 -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))
(*.f64 (pow.f64 (exp.f64 -1) 3) (exp.f64 (*.f64 3 (pow.f64 x 2))))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 (*.f64 x x)) 3) (pow.f64 (exp.f64 -1) 3))
(*.f64 (pow.f64 (exp.f64 3) (*.f64 x x)) (exp.f64 -3))
(exp.f64 (+.f64 (*.f64 x (*.f64 x 3)) -3))

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 8 computations (52.9% saved)

localize26.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

Compiled 40 to 27 computations (32.5% saved)

series3.0ms (0.1%)

Counts
3 → 12
Calls

3 calls:

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

rewrite134.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
787×pow1_binary64
730×add-log-exp_binary64
730×log1p-expm1-u_binary64
730×expm1-log1p-u_binary64
714×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify67.0ms (1.6%)

Algorithm
egg-herbie
Rules
864×unswap-sqr_binary64
747×distribute-lft-out_binary64
551×fma-def_binary64
490×associate-/l/_binary64
425×associate-/r/_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
028203
171197
2186177
3737168
42089168
54604168
65300168
76048168
Stop Event
node limit
Counts
68 → 65
Calls
Call 1
Inputs
(pow.f64 (exp.f64 -1) 1/3)
(+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 1/3))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/2 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 6))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/2 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 4))))))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
Outputs
(pow.f64 (exp.f64 -1) 1/3)
(cbrt.f64 (exp.f64 -1))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (pow.f64 (exp.f64 -1) 1/3))
(fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 (exp.f64 -1)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 x x 1))
(+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/2 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 4)))))
(+.f64 (fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (*.f64 1/2 (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 x 4))))
(+.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (pow.f64 x 4) 1/2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4))))
(*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(+.f64 (*.f64 1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 6))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2)) (+.f64 (pow.f64 (exp.f64 -1) 1/3) (*.f64 1/2 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 4))))))
(fma.f64 1/6 (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 x 6)) (+.f64 (fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x) (cbrt.f64 (exp.f64 -1))) (*.f64 1/2 (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 x 4)))))
(fma.f64 1/6 (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 x 6)) (+.f64 (*.f64 (+.f64 (*.f64 x x) 1) (cbrt.f64 (exp.f64 -1))) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (pow.f64 x 4) 1/2))))
(fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (fma.f64 x x 1) (*.f64 1/2 (pow.f64 x 4)))))
(*.f64 (cbrt.f64 (exp.f64 -1)) (+.f64 (*.f64 1/6 (pow.f64 x 6)) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1))))
(*.f64 (cbrt.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)))))
(*.f64 (cbrt.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 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))
(*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (exp.f64 (pow.f64 x 2)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (exp.f64 (*.f64 x x)))
(*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x))

localize14.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

Compiled 33 to 11 computations (66.7% saved)

series4.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite304.0ms (7.3%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
309×pow1_binary64
309×pow1_binary64
306×add-sqr-sqrt_binary64
306×add-sqr-sqrt_binary64
296×*-un-lft-identity_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0933
118033
2265233
0611
11291
220351
361881
0611
11291
059
11101
218071
358211
059
11101
0916
118016
2265216
0916
Stop Event
iter limit
node limit
iter limit
unsound
iter limit
unsound
node limit
Counts
3 → 8
Calls
Call 1
Inputs
(sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x)))
(pow.f64 (exp.f64 x) (+.f64 x x))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x . 1)))))
((#(struct:change #<rule egg-rr> (2) ((x . 1)))))
((#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1)) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))) (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))))))))

simplify63.0ms (1.5%)

Algorithm
egg-herbie
Rules
886×distribute-rgt-out_binary64
705×fma-def_binary64
567×distribute-lft-out_binary64
552×associate-*l*_binary64
406×associate-*r*_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
042464
1106450
2265382
3801371
43319339
56082323
Stop Event
node limit
Counts
44 → 32
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)))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
1
(+.f64 (*.f64 2 (pow.f64 x 2)) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (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 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (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 1/2 (pow.f64 x 4) (fma.f64 x x 1))
(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 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1)))
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
(sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2))))
(sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x))))
(sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2))
(fabs.f64 (exp.f64 (*.f64 x x)))
(pow.f64 (exp.f64 x) x)
1
(+.f64 (*.f64 2 (pow.f64 x 2)) 1)
(fma.f64 2 (*.f64 x x) 1)
(fma.f64 x (*.f64 x 2) 1)
(fma.f64 x (+.f64 x x) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (*.f64 2 (pow.f64 x 4))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (*.f64 2 (pow.f64 x 4)))
(fma.f64 2 (*.f64 x x) (fma.f64 2 (pow.f64 x 4) 1))
(fma.f64 x (*.f64 x 2) (fma.f64 2 (pow.f64 x 4) 1))
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) 1)
(+.f64 (*.f64 2 (pow.f64 x 2)) (+.f64 1 (+.f64 (*.f64 4/3 (pow.f64 x 6)) (*.f64 2 (pow.f64 x 4)))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 4/3 (pow.f64 x 6) (*.f64 2 (pow.f64 x 4))))
(+.f64 (fma.f64 2 (*.f64 x x) 1) (fma.f64 2 (pow.f64 x 4) (*.f64 (pow.f64 x 6) 4/3)))
(fma.f64 x (*.f64 x 2) (fma.f64 2 (pow.f64 x 4) (fma.f64 (pow.f64 x 6) 4/3 1)))
(fma.f64 2 (fma.f64 x x (pow.f64 x 4)) (fma.f64 (pow.f64 x 6) 4/3 1))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.f64 x x))
(exp.f64 (*.f64 2 (pow.f64 x 2)))
(exp.f64 (*.f64 2 (*.f64 x x)))
(pow.f64 (exp.f64 (*.f64 x x)) 2)
(pow.f64 (exp.f64 2) (*.f64 x x))
(pow.f64 (exp.f64 x) (+.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 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))
(+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x 1)))
(*.f64 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)) (exp.f64 -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 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))))
(fma.f64 1/6 (*.f64 (pow.f64 x 6) (exp.f64 -1)) (+.f64 (*.f64 (fma.f64 x x 1) (exp.f64 -1)) (*.f64 1/2 (*.f64 (pow.f64 x 4) (exp.f64 -1)))))
(fma.f64 (fma.f64 x x 1) (exp.f64 -1) (*.f64 (exp.f64 -1) (fma.f64 1/6 (pow.f64 x 6) (*.f64 1/2 (pow.f64 x 4)))))
(*.f64 (exp.f64 -1) (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1))))
(*.f64 (fma.f64 1/2 (pow.f64 x 4) (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) 1))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (pow.f64 x 2)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (exp.f64 (*.f64 2 (*.f64 x x)))) (exp.f64 -1))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 x x)) 2)) (exp.f64 -1))
(*.f64 (fabs.f64 (exp.f64 (*.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fabs.f64 (exp.f64 (*.f64 x x))))
(*.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))
(exp.f64 (+.f64 -1 (*.f64 x x)))

eval103.0ms (2.5%)

Compiler

Compiled 3070 to 2313 computations (24.7% saved)

prune70.0ms (1.7%)

Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New2162218
Fresh000
Picked011
Done156
Total2178225
Error
0.0b
Counts
225 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
0.7b
(exp.f64 -1)
0.1b
(exp.f64 (+.f64 -1 (*.f64 x x)))
0.3b
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
0.3b
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (exp.f64 x) (*.f64 x 3))))
0.0b
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
1.0b
(*.f64 (exp.f64 -2/3) (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x)))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
2.0b
(*.f64 (cbrt.f64 (exp.f64 -2)) (*.f64 (-.f64 (+.f64 1 (exp.f64 -1/3)) 1) (pow.f64 (exp.f64 x) x)))
Compiler

Compiled 78 to 63 computations (19.2% saved)

regimes66.0ms (1.6%)

Counts
12 → 1
Calls
Call 1
Inputs
(exp.f64 -1)
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(cbrt.f64 (pow.f64 (exp.f64 (+.f64 -1 (*.f64 x x))) 3))
(*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) (+.f64 x x))) (exp.f64 -1))
(*.f64 (exp.f64 -2/3) (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x)))
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (exp.f64 x) (*.f64 x 3))))
(*.f64 (cbrt.f64 (exp.f64 -2)) (*.f64 (-.f64 (+.f64 1 (exp.f64 -1/3)) 1) (pow.f64 (exp.f64 x) x)))
(*.f64 (cbrt.f64 (exp.f64 -2)) (*.f64 (cbrt.f64 (exp.f64 -1)) (pow.f64 (exp.f64 x) x)))
(cbrt.f64 (*.f64 (pow.f64 (exp.f64 -1) 3) (pow.f64 (pow.f64 (exp.f64 x) x) 3)))
Outputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Calls

9 calls:

16.0ms
x
7.0ms
(-.f64 1 (*.f64 x x))
6.0ms
(*.f64 x x)
6.0ms
(*.f64 x x)
5.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)
0.0b1(*.f64 x x)
Compiler

Compiled 163 to 110 computations (32.5% saved)

regimes41.0ms (1%)

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

8 calls:

8.0ms
x
5.0ms
(neg.f64 (-.f64 1 (*.f64 x x)))
5.0ms
(*.f64 x x)
4.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
4.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 71 to 48 computations (32.4% saved)

regimes48.0ms (1.1%)

Accuracy

Total -0.6b remaining (-1152.4%)

Threshold costs -0.6b (-1152.4%)

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

8 calls:

16.0ms
x
4.0ms
(*.f64 x x)
4.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
4.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
4.0ms
(-.f64 1 (*.f64 x x))
Results
ErrorSegmentsBranch
0.1b1x
0.1b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.1b1(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
0.1b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.1b1(neg.f64 (-.f64 1 (*.f64 x x)))
0.1b1(-.f64 1 (*.f64 x x))
0.1b1(-.f64 1 (*.f64 x x))
0.1b1(*.f64 x x)
Compiler

Compiled 64 to 44 computations (31.3% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
1-exp_binary64
e-exp-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01234
11634
21834
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
Outputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(pow.f64 (E.f64) (+.f64 -1 (*.f64 x x)))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 -1)
Compiler

Compiled 26 to 20 computations (23.1% saved)

soundness0.0ms (0%)

end132.0ms (3.2%)

Compiler

Compiled 23 to 16 computations (30.4% saved)

Profiling

Loading profile data...