Details

Time bar (total: 4.1s)

analyze5.0ms (0.1%)

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

Compiled 9 to 7 computations (22.2% saved)

sample1.5s (37.3%)

Results
1.5s8256×body256valid
2.0ms16×body256invalid

preprocess111.0ms (2.7%)

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

Useful iterations: 0 (0.0ms)

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

Compiled 9 to 7 computations (22.2% saved)

simplify76.0ms (1.9%)

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

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

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

rewrite65.0ms (1.6%)

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

simplify85.0ms (2.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))

eval16.0ms (0.4%)

Compiler

Compiled 359 to 249 computations (30.6% saved)

prune80.0ms (2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New31435
Fresh000
Picked011
Done000
Total31536
Error
0.0b
Counts
36 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
2.0b
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
0.0b
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
63.3b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
1.1b
(exp.f64 -1)
Compiler

Compiled 45 to 34 computations (24.4% saved)

localize6.0ms (0.1%)

Compiler

Compiled 4 to 4 computations (0% saved)

localize49.0ms (1.2%)

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)

series4.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

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

simplify116.0ms (2.9%)

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

localize17.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 34 to 19 computations (44.1% saved)

series18.0ms (0.4%)

Counts
3 → 36
Calls

9 calls:

TimeVariablePointExpression
7.0ms
x
@-inf
(exp.f64 (+.f64 -1 (*.f64 x x)))
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))))
2.0ms
x
@inf
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)

rewrite75.0ms (1.8%)

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))))
(exp.f64 (+.f64 -1 (*.f64 x x)))
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 -1)) (cbrt.f64 (pow.f64 (exp.f64 x) x)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1/3) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 -1) 1/3) (pow.f64 (pow.f64 (exp.f64 x) x) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1/3) (pow.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) 1/3))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (fma.f64 x x -1)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (fma.f64 x x -1) 1/3))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (fma.f64 x x -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 -1) (pow.f64 (exp.f64 x) x))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 2) (*.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (fma.f64 x x -1))) (sqrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (*.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 2) 3) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 3) (pow.f64 (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) 1) (cbrt.f64 (exp.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (pow.f64 (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))) 2)) (cbrt.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (cbrt.f64 (exp.f64 (fma.f64 x x -1))) 2) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6)) (pow.f64 (exp.f64 (fma.f64 x x -1)) 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x 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))))))))
((#(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))))))

simplify75.0ms (1.8%)

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
097772
1332634
21234553
37285553
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)
(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))
(*.f64 (pow.f64 1 1/3) (exp.f64 -1))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4))))
(+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))) (*.f64 2/3 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)))) (pow.f64 x 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (exp.f64 -1)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3)))) (*.f64 2/9 (*.f64 (pow.f64 1 1/3) (exp.f64 -1))))) (pow.f64 x 4)) (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/6 (exp.f64 -1)) (+.f64 (*.f64 1/27 (exp.f64 -1)) (*.f64 2/3 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1)))))))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 (/.f64 1 (exp.f64 -1)) 1/3))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))))) (*.f64 2/9 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 1 1/3)))))) (pow.f64 x 6)))))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
(*.f64 (pow.f64 1 1/3) (exp.f64 (-.f64 (pow.f64 x 2) 1)))
Outputs
(pow.f64 (exp.f64 -1) 1/3)
(cbrt.f64 (exp.f64 -1))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (pow.f64 (exp.f64 -1) 1/3))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (cbrt.f64 (exp.f64 -1)))
(*.f64 (+.f64 (*.f64 1/3 (*.f64 x x)) 1) (cbrt.f64 (exp.f64 -1)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (exp.f64 -1)) 1/3) (pow.f64 x 2))) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (exp.f64 -1)) (*.f64 1/3 (exp.f64 -1))) (pow.f64 x 4)) (pow.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2)) 1/3))) (pow.f64 (exp.f64 -1) 1/3)))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 -1) 1/6) (*.f64 (pow.f64 x 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 -1) 2))))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 1/3 (*.f64 (cbrt.f64 (exp.f64 -1)) (*.f64 x x)) (fma.f64 (*.f64 (*.f64 1/18 (exp.f64 -1)) (pow.f64 x 4)) (cbrt.f64 (/.f64 1 (exp.f64 -2))) (cbrt.f64 (exp.f64 -1))))
(fma.f64 (cbrt.f64 (exp.f64 2)) (*.f64 (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)))
(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 (*.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 (*.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) (*.f64 1/6 (pow.f64 x 6)) (*.f64 (exp.f64 -1) (+.f64 (*.f64 1/2 (pow.f64 x 4)) (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))
(exp.f64 (-.f64 (pow.f64 x 2) 1))
(exp.f64 (+.f64 (*.f64 x x) -1))
(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 2/9 (*.f64 (exp.f64 -1) 1/6)) 1)))))))
(+.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 2/3 (*.f64 (-.f64 (*.f64 (exp.f64 -1) 7/54) (*.f64 (exp.f64 -1) 1/9)) (cbrt.f64 (E.f64))) (*.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 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)))))) (fma.f64 (exp.f64 -1) 1/27 (*.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)))))) (*.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)))
(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)))
(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)))
(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)))
(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)))
(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)))
(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)))
(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)))
(exp.f64 (+.f64 (*.f64 x x) -1))
(exp.f64 (fma.f64 x x -1))

localize18.0ms (0.4%)

Local error

Found 2 expressions with local error:

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

Compiled 38 to 20 computations (47.4% saved)

series8.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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

rewrite118.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
763×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
0820
116316
2198216
Stop Event
node limit
Counts
2 → 37
Calls
Call 1
Inputs
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
(exp.f64 (sqrt.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 (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 1 (sqrt.f64 (fma.f64 x x -1))) (exp.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (fma.f64 x x -1))) (pow.f64 (sqrt.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 +.f64 1 (expm1.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (exp.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2) (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (cbrt.f64 (fma.f64 x x -1))) (cbrt.f64 (sqrt.f64 (fma.f64 x x -1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (sqrt.f64 (fma.f64 x x -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (fma.f64 x x -1) 1/4)) (pow.f64 (fma.f64 x x -1) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (exp.f64 (sqrt.f64 (fma.f64 x x -1)))))))))

simplify52.0ms (1.3%)

Algorithm
egg-herbie
Rules
584×associate-*l/_binary64
368×times-frac_binary64
367×fma-def_binary64
357×associate-/r*_binary64
292×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
091789
1276491
2973453
34418409
Stop Event
node limit
Counts
61 → 55
Calls
Call 1
Inputs
(exp.f64 (pow.f64 (sqrt.f64 -1) 2))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6))))))
(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))
(exp.f64 (sqrt.f64 -1))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
Outputs
(exp.f64 (pow.f64 (sqrt.f64 -1) 2))
(exp.f64 -1)
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 x x)))
(*.f64 (+.f64 (*.f64 x x) 1) (exp.f64 -1))
(*.f64 (exp.f64 -1) (fma.f64 x x 1))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)))))))
(fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (exp.f64 -1))
(*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x 1) (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8))))
(fma.f64 (exp.f64 -1) (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) (exp.f64 -1))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 1/2 (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))) (+.f64 1/6 (+.f64 (*.f64 1/720 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 720 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4))))) (+.f64 (*.f64 -360 (/.f64 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))) (sqrt.f64 -1))) (*.f64 30 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))))) (+.f64 (*.f64 1/4 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (-.f64 (*.f64 24 (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))))) (*.f64 3 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (sqrt.f64 -1))))))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2)))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6))))))
(+.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (+.f64 (*.f64 x x) (*.f64 (pow.f64 x 4) (-.f64 (+.f64 (+.f64 1/2 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2)))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)))))) (*.f64 (-.f64 (fma.f64 1/48 (/.f64 (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))) (sqrt.f64 -1)) (+.f64 1/6 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (fma.f64 -360 (/.f64 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3))) (sqrt.f64 -1)) (/.f64 30 (pow.f64 (sqrt.f64 -1) 3))))) (+.f64 (/.f64 1/4 (pow.f64 (sqrt.f64 -1) 2)) (*.f64 1/24 (*.f64 (sqrt.f64 -1) (-.f64 (*.f64 24 (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (/.f64 3 (pow.f64 (sqrt.f64 -1) 2))))))))) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 (exp.f64 (pow.f64 (sqrt.f64 -1) 2)) (pow.f64 x 6)))))
(+.f64 (exp.f64 -1) (fma.f64 (exp.f64 -1) (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4) 5/8))) (*.f64 (fma.f64 1/48 (/.f64 (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3) (sqrt.f64 -1)) (+.f64 (fma.f64 1/720 (*.f64 (sqrt.f64 -1) (fma.f64 720 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (fma.f64 -360 (+.f64 (/.f64 -1/8 (sqrt.f64 -1)) -1/8) (/.f64 -30 (sqrt.f64 -1))))) (fma.f64 1/24 (*.f64 (sqrt.f64 -1) (fma.f64 24 (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) 3)) -1/4)) 7/24)) (*.f64 (exp.f64 -1) (pow.f64 x 6)))))
(+.f64 (exp.f64 -1) (*.f64 (exp.f64 -1) (+.f64 (fma.f64 x x (*.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))))) 3/8))) (*.f64 (fma.f64 1/48 (/.f64 (+.f64 0 (/.f64 3 (sqrt.f64 -1))) (sqrt.f64 -1)) (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (fma.f64 720 (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5))) -45) (fma.f64 -360 (+.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1))) (/.f64 -30 (sqrt.f64 -1))))) (+.f64 1/8 (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1)))))) 1/24)) (pow.f64 x 6)))))
(*.f64 (exp.f64 -1) (+.f64 (+.f64 (fma.f64 (pow.f64 x 4) (+.f64 (*.f64 (sqrt.f64 -1) (/.f64 1/8 (sqrt.f64 -1))) 3/8) (*.f64 x x)) 1) (*.f64 (+.f64 1/8 (+.f64 (*.f64 (sqrt.f64 -1) (+.f64 (*.f64 1/720 (+.f64 (+.f64 (/.f64 45 (sqrt.f64 -1)) 45) (+.f64 (/.f64 -45 (sqrt.f64 -1)) (+.f64 (/.f64 45 (pow.f64 (sqrt.f64 -1) 5)) -45)))) (/.f64 1/8 (sqrt.f64 -1)))) -7/48)) (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))
(exp.f64 (sqrt.f64 -1))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))
(+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x)))))
(fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1)))
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (exp.f64 (sqrt.f64 -1)))
(+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1)))))
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x))))))
(fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1))))
(fma.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1))) (*.f64 (exp.f64 (sqrt.f64 -1)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1)))
(+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/48 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 5)))) (*.f64 1/16 (/.f64 1 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 2))) (*.f64 1/8 (/.f64 1 (pow.f64 (sqrt.f64 -1) 3)))))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (*.f64 (exp.f64 (sqrt.f64 -1)) (pow.f64 x 2)) (sqrt.f64 -1))))))
(fma.f64 (+.f64 (/.f64 1/48 (pow.f64 (sqrt.f64 -1) 3)) (-.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 4)))) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 2)) (/.f64 1/8 (pow.f64 (sqrt.f64 -1) 3)))) (+.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 1/2 (/.f64 (exp.f64 (sqrt.f64 -1)) (/.f64 (sqrt.f64 -1) (*.f64 x x)))))))
(fma.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (-.f64 (/.f64 -1/48 (sqrt.f64 -1)) 1/16)) (*.f64 (pow.f64 x 6) (exp.f64 (sqrt.f64 -1))) (fma.f64 (exp.f64 (sqrt.f64 -1)) (*.f64 (pow.f64 x 4) (-.f64 -1/8 (/.f64 -1/8 (sqrt.f64 -1)))) (fma.f64 1/2 (*.f64 (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)) (*.f64 x x)) (exp.f64 (sqrt.f64 -1)))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 (/.f64 -1/48 (sqrt.f64 -1)) -1/16)) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1))))
(+.f64 (*.f64 1/2 (*.f64 (*.f64 x x) (/.f64 (exp.f64 (sqrt.f64 -1)) (sqrt.f64 -1)))) (*.f64 (exp.f64 (sqrt.f64 -1)) (+.f64 (*.f64 (+.f64 (/.f64 1/16 (pow.f64 (sqrt.f64 -1) 5)) (+.f64 -1/16 (/.f64 -1/48 (sqrt.f64 -1)))) (pow.f64 x 6)) (fma.f64 (pow.f64 x 4) (+.f64 -1/8 (/.f64 1/8 (sqrt.f64 -1))) 1))))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))
(exp.f64 (sqrt.f64 (-.f64 (pow.f64 x 2) 1)))
(exp.f64 (sqrt.f64 (+.f64 (*.f64 x x) -1)))
(exp.f64 (sqrt.f64 (fma.f64 x x -1)))

eval192.0ms (4.7%)

Compiler

Compiled 3786 to 3140 computations (17.1% saved)

prune54.0ms (1.3%)

Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New2021203
Fresh000
Picked011
Done134
Total2035208
Error
0.0b
Counts
208 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
63.3b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
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 (neg.f64 (-.f64 1 (*.f64 x x))))
1.1b
(exp.f64 -1)
Compiler

Compiled 43 to 32 computations (25.6% saved)

localize46.0ms (1.1%)

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)

series46.0ms (1.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite65.0ms (1.6%)

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

simplify154.0ms (3.8%)

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

eval23.0ms (0.6%)

Compiler

Compiled 465 to 314 computations (32.5% saved)

prune14.0ms (0.3%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New41344
Fresh000
Picked011
Done134
Total42749
Error
0.0b
Counts
49 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
63.3b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
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)))
0.0b
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x))) (exp.f64 -1))
1.1b
(exp.f64 -1)
Compiler

Compiled 65 to 45 computations (30.8% saved)

localize8.0ms (0.2%)

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)

localize12.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 19 to 9 computations (52.6% saved)

series2.0ms (0.1%)

Counts
2 → 24
Calls

6 calls:

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

rewrite55.0ms (1.4%)

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

Useful iterations: 1 (0.0ms)

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

simplify63.0ms (1.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
56 → 48
Calls
Call 1
Inputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 x 6)) (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4)))))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 (pow.f64 x 2))
(exp.f64 -1)
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (exp.f64 -1))
(+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4)))))
(+.f64 (*.f64 1/6 (*.f64 (exp.f64 -1) (pow.f64 x 6))) (+.f64 (*.f64 (exp.f64 -1) (pow.f64 x 2)) (+.f64 (exp.f64 -1) (*.f64 1/2 (*.f64 (exp.f64 -1) (pow.f64 x 4))))))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
(*.f64 (exp.f64 (pow.f64 x 2)) (exp.f64 -1))
Outputs
1
(+.f64 1 (pow.f64 x 2))
(+.f64 1 (*.f64 x x))
(fma.f64 x x 1)
(+.f64 1 (+.f64 (pow.f64 x 2) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (+.f64 (*.f64 x x) (*.f64 1/2 (pow.f64 x 4))))
(+.f64 1 (fma.f64 x x (*.f64 1/2 (pow.f64 x 4))))
(fma.f64 x x (fma.f64 1/2 (pow.f64 x 4) 1))
(+.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))

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 41 to 11 computations (73.2% saved)

series3.0ms (0.1%)

Counts
3 → 36
Calls

9 calls:

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

rewrite127.0ms (3.1%)

Algorithm
batch-egg-rewrite
Rules
669×pow1_binary64
617×add-log-exp_binary64
617×log1p-expm1-u_binary64
617×expm1-log1p-u_binary64
598×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify78.0ms (1.9%)

Algorithm
egg-herbie
Rules
691×fma-def_binary64
648×distribute-rgt-out_binary64
559×associate-*l*_binary64
517×distribute-lft-out_binary64
388×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
042362
1104330
2268310
3818305
43265305
55741305
66696305
Stop Event
node limit
Counts
95 → 84
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))
1
(+.f64 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2))))
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/48 (pow.f64 x 6)))))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (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 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 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 1 (*.f64 1/2 (pow.f64 x 2)))
(+.f64 1 (*.f64 (*.f64 x x) 1/2))
(fma.f64 (*.f64 x x) 1/2 1)
(fma.f64 x (*.f64 x 1/2) 1)
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (*.f64 1/2 (pow.f64 x 2))))
(fma.f64 1/8 (pow.f64 x 4) (+.f64 1 (*.f64 (*.f64 x x) 1/2)))
(fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (*.f64 x x) 1/2 1))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/8 1))
(+.f64 (*.f64 1/8 (pow.f64 x 4)) (+.f64 1 (+.f64 (*.f64 1/2 (pow.f64 x 2)) (*.f64 1/48 (pow.f64 x 6)))))
(fma.f64 1/8 (pow.f64 x 4) (+.f64 1 (fma.f64 1/2 (*.f64 x x) (*.f64 (pow.f64 x 6) 1/48))))
(+.f64 (fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (*.f64 x x) 1/2 1)) (*.f64 (pow.f64 x 6) 1/48))
(fma.f64 (pow.f64 x 4) 1/8 (fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 6) 1/48 1)))
(fma.f64 x (*.f64 x 1/2) (fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (pow.f64 x 6) 1/48 1)))
(fma.f64 (pow.f64 x 4) 1/8 (fma.f64 (pow.f64 x 6) 1/48 (fma.f64 (*.f64 x x) 1/2 1)))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (pow.f64 (exp.f64 x) x))
(sqrt.f64 (exp.f64 (pow.f64 x 2)))
(sqrt.f64 (exp.f64 (*.f64 x x)))
(sqrt.f64 (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 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 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 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/2 (pow.f64 x 4) (*.f64 1/6 (pow.f64 x 6)))))
(*.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 (fma.f64 1/2 (pow.f64 x 4) (fma.f64 1/6 (pow.f64 x 6) (fma.f64 x x 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))

eval209.0ms (5.1%)

Compiler

Compiled 3599 to 1987 computations (44.8% saved)

prune55.0ms (1.4%)

Pruning

8 alts after pruning (2 fresh and 6 done)

PrunedKeptTotal
New2502252
Fresh000
Picked101
Done066
Total2518259
Error
0.0b
Counts
259 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (/.f64 x 2)) (exp.f64 -1))
2.6b
(*.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))))
63.3b
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
0.0b
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
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.1b
(exp.f64 -1)
Compiler

Compiled 81 to 62 computations (23.5% saved)

regimes80.0ms (2%)

Counts
11 → 1
Calls
Call 1
Inputs
(exp.f64 -1)
(exp.f64 (+.f64 -1 (*.f64 x x)))
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
(+.f64 1 (expm1.f64 (+.f64 -1 (*.f64 x x))))
(*.f64 (exp.f64 (*.f64 x x)) (exp.f64 -1))
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
(pow.f64 (cbrt.f64 (exp.f64 (+.f64 -1 (*.f64 x x)))) 3)
(*.f64 (pow.f64 (pow.f64 (exp.f64 x) 2) (/.f64 x 2)) (exp.f64 -1))
(pow.f64 (exp.f64 (sqrt.f64 (+.f64 -1 (*.f64 x x)))) (sqrt.f64 (+.f64 -1 (*.f64 x x))))
(*.f64 (*.f64 (sqrt.f64 (pow.f64 (exp.f64 x) x)) (sqrt.f64 (pow.f64 (exp.f64 x) x))) (exp.f64 -1))
(*.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))))
Outputs
(*.f64 (pow.f64 (exp.f64 x) x) (exp.f64 -1))
Calls

9 calls:

34.0ms
(exp.f64 (neg.f64 (-.f64 1 (*.f64 x x))))
19.0ms
(*.f64 x x)
7.0ms
x
3.0ms
(*.f64 x x)
3.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 156 to 101 computations (35.3% saved)

regimes93.0ms (2.3%)

Accuracy

Total -1.1b remaining (-2676.9%)

Threshold costs -1.1b (-2676.9%)

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

8 calls:

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

Compiled 79 to 53 computations (32.9% saved)

simplify6.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
11223
Stop Event
fuel
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%)

end50.0ms (1.2%)

Compiler

Compiled 16 to 12 computations (25% saved)

Profiling

Loading profile data...