Details

Time bar (total: 2.9s)

analyze4.0ms (0.1%)

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.9s (63.5%)

Results
1.8s8256×body256valid
3.0ms17×body256infinite
Bogosity

preprocess65.0ms (2.2%)

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)

simplify60.0ms (2.1%)

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

Useful iterations: 3 (0.0ms)

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

eval1.0ms (0%)

Compiler

Compiled 13 to 9 computations (30.8% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 8 to 6 computations (25% saved)

localize11.0ms (0.4%)

Local error

Found 1 expressions with local error:

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

Compiled 24 to 12 computations (50% saved)

series1.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite52.0ms (1.8%)

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

simplify90.0ms (3.1%)

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

eval10.0ms (0.4%)

Compiler

Compiled 359 to 249 computations (30.6% saved)

prune6.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.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
1.5b
(exp.f64 -1)
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Compiler

Compiled 30 to 24 computations (20% saved)

localize3.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize13.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

Compiled 26 to 14 computations (46.2% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite64.0ms (2.2%)

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

Useful iterations: 1 (0.0ms)

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

simplify60.0ms (2%)

Algorithm
egg-herbie
Rules
699×distribute-lft-out_binary64
543×fma-def_binary64
480×fma-neg_binary64
415×*-commutative_binary64
351×distribute-rgt-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

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

localize18.0ms (0.6%)

Local error

Found 3 expressions with local error:

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

Compiled 34 to 19 computations (44.1% saved)

series14.0ms (0.5%)

Counts
3 → 36
Calls

9 calls:

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

rewrite102.0ms (3.5%)

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

Useful iterations: 1 (0.0ms)

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

simplify62.0ms (2.1%)

Algorithm
egg-herbie
Rules
956×fma-def_binary64
537×distribute-rgt-in_binary64
535×distribute-lft-in_binary64
522×associate-+l+_binary64
471×associate-+r+_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
097820
1332634
21234553
37215553
Stop Event
node limit
Counts
108 → 76
Calls
Call 1
Inputs
(pow.f64 (exp.f64 -1) 1/3)
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(*.f64 (pow.f64 1 1/3) (exp.f64 -1))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4))))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6)))))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(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
(pow.f64 (exp.f64 -1) 1/3)
(cbrt.f64 (exp.f64 -1))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (pow.f64 x 4) (*.f64 (exp.f64 -1) 1/18)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))) (pow.f64 x 6)))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))) (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (pow.f64 x 6))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1)))))
(fma.f64 1/3 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (*.f64 (pow.f64 x 6) (cbrt.f64 (/.f64 1 (exp.f64 -2))))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1)))))
(fma.f64 1/3 (fma.f64 (*.f64 (exp.f64 -1) 1/54) (*.f64 (cbrt.f64 (exp.f64 2)) (pow.f64 x 6)) (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x))) (fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (pow.f64 x 4) (*.f64 (exp.f64 -1) 1/18)) (cbrt.f64 (exp.f64 -1))))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(pow.f64 (exp.f64 (-.f64 (pow.f64 x 2) 1)) 1/3)
(cbrt.f64 (exp.f64 (+.f64 (*.f64 x x) -1)))
(cbrt.f64 (exp.f64 (fma.f64 x x -1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 -1))
(exp.f64 -1)
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (pow.f64 x 4) (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9)))))
(fma.f64 (exp.f64 -1) (*.f64 x x) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.f64 (exp.f64 -1) 2/9))) (exp.f64 -1)))
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 5/18))))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (fma.f64 (fma.f64 1/3 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2)))) (*.f64 (exp.f64 -1) 2/9))) (pow.f64 x 4) (*.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3))) (cbrt.f64 (exp.f64 1))) (*.f64 (*.f64 2/9 (*.f64 (exp.f64 -1) 1/6)) (cbrt.f64 (exp.f64 1)))) (+.f64 (*.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 1/6) (fma.f64 1/27 (exp.f64 -1) (*.f64 (*.f64 (exp.f64 -1) 1/6) 2/3)))) (fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 2/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (cbrt.f64 (exp.f64 1))) (*.f64 1/9 (cbrt.f64 (pow.f64 (exp.f64 -1) 2))))) (*.f64 (*.f64 1 (*.f64 (exp.f64 -1) 1/6)) 2/9)))))))
(+.f64 (*.f64 (exp.f64 -1) (+.f64 (*.f64 x x) 1)) (fma.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 2/3 (cbrt.f64 (E.f64))) (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (*.f64 (cbrt.f64 (E.f64)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 1/3 (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (fma.f64 (*.f64 1/3 (cbrt.f64 (exp.f64 -1))) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.f64 (exp.f64 -1) 1/27)))) (*.f64 (pow.f64 x 4) (+.f64 (*.f64 1/18 (exp.f64 -1)) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 1/9 (cbrt.f64 (exp.f64 -2)) (*.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)))) (*.f64 (exp.f64 -1) 2/9))))))
(fma.f64 (exp.f64 -1) (fma.f64 x x 1) (fma.f64 (pow.f64 x 6) (fma.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 (cbrt.f64 (E.f64)) (+.f64 (*.f64 2/3 (*.f64 (exp.f64 -1) 1/54)) (*.f64 (exp.f64 -1) 1/27))) (fma.f64 (exp.f64 -1) 1/27 (*.f64 1/3 (+.f64 (*.f64 (exp.f64 -1) 1/54) (*.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2))))))))) (*.f64 (pow.f64 x 4) (fma.f64 (cbrt.f64 (exp.f64 -1)) (fma.f64 (*.f64 (exp.f64 -1) 1/9) (cbrt.f64 (E.f64)) (*.f64 1/9 (cbrt.f64 (exp.f64 -2)))) (*.f64 (exp.f64 -1) 5/18)))))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(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) (+.f64 (*.f64 x x) 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 (*.f64 (exp.f64 -1) 1/6) (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) (fma.f64 x x 1) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (*.f64 1/6 (pow.f64 x 6)))))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(*.f64 1 (exp.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (fma.f64 x x -1))

eval106.0ms (3.6%)

Compiler

Compiled 2447 to 2032 computations (17% saved)

prune20.0ms (0.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1471148
Fresh000
Picked101
Done033
Total1484152
Error
0.0b
Counts
152 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
1.5b
(exp.f64 -1)
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
Compiler

Compiled 28 to 22 computations (21.4% saved)

localize14.0ms (0.5%)

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)

series3.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite53.0ms (1.8%)

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

Useful iterations: 1 (0.0ms)

IterNodesCost
0717
113015
2146815
Stop Event
node limit
Counts
2 → 26
Calls
Call 1
Inputs
(pow.f64 (exp.f64 x) x)
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Outputs
((#(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 (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)))))))

simplify102.0ms (3.5%)

Algorithm
egg-herbie
Rules
479×fma-def_binary64
476×distribute-rgt-out_binary64
437×*-commutative_binary64
416×associate-*l*_binary64
351×distribute-lft-out_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031246
178218
2199200
3595195
42377195
54635195
65600195
Stop Event
node limit
Counts
50 → 44
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
Outputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (*.f64 x x))
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4)))))
(+.f64 1 (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (*.f64 1/2 (pow.f64 x 4)))))
(fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1)))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1)))
(fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 1)))
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 (pow.f64 x 2))
(exp.f64 (*.f64 x x))
(pow.f64 (exp.f64 x) x)
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1))
(*.f64 (fma.f64 x x 1) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (fma.f64 (exp.f64 -1) (*.f64 x x) (exp.f64 -1)) (*.f64 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4)))
(+.f64 (*.f64 (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 x x (fma.f64 1/2 (pow.f64 x 4) 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 (*.f64 1/2 (exp.f64 -1)) (pow.f64 x 4))))
(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/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(*.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 (fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) 1))) (exp.f64 -1))
(*.f64 (fma.f64 x x (fma.f64 1/6 (pow.f64 x 6) (fma.f64 1/2 (pow.f64 x 4) 1))) (exp.f64 -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))

eval24.0ms (0.8%)

Compiler

Compiled 465 to 314 computations (32.5% saved)

prune7.0ms (0.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

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

Compiled 27 to 21 computations (22.2% saved)

localize9.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 17 to 8 computations (52.9% saved)

eval5.0ms (0.2%)

Compiler

Compiled 170 to 136 computations (20% saved)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New14014
Fresh000
Picked011
Done033
Total14418
Error
0.0b
Counts
18 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
0.0b
(exp.f64 (+.f64 -1 (*.f64 x x)))
1.5b
(exp.f64 -1)
Compiler

Compiled 27 to 21 computations (22.2% saved)

regimes26.0ms (0.9%)

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

9 calls:

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

Compiled 92 to 62 computations (32.6% saved)

regimes21.0ms (0.7%)

Accuracy

Total -1.5b remaining (-6152.2%)

Threshold costs -1.5b (-6152.2%)

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

8 calls:

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

Compiled 72 to 49 computations (31.9% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

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

Compiled 18 to 14 computations (22.2% saved)

soundness0.0ms (0%)

end25.0ms (0.9%)

Compiler

Compiled 16 to 12 computations (25% saved)

Profiling

Loading profile data...