Details

Time bar (total: 3.3s)

analyze61.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
50%50%0.1%2
50%50%0.1%3
74.9%25%0.1%4
74.9%25%0.1%5
74.9%18.7%6.3%6
74.9%18.7%6.3%7
74.9%15.6%9.5%8
74.9%15.6%9.5%9
74.9%14%11%10
74.9%14%11%11
74.9%13.3%11.8%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.4s (72.4%)

Results
771.0ms1383×body1024valid
647.0ms5642×body64valid
315.0ms673×body1024invalid
274.0ms711×body512valid
115.0ms318×body512invalid
100.0ms340×body256valid
43.0ms158×body256invalid
36.0ms176×body128valid
20.0ms92×body128invalid
19.0ms152×body64invalid
4.0msbody2048valid

preprocess14.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11116
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 im) (cos.f64 re))
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 im) (cos.f64 re))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))

series4.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

TimeVariablePointExpression
1.0ms
re
@inf
(*.f64 (exp.f64 re) (cos.f64 im))
1.0ms
im
@0
(*.f64 (exp.f64 re) (cos.f64 im))
1.0ms
re
@0
(*.f64 (exp.f64 re) (cos.f64 im))
1.0ms
re
@-inf
(*.f64 (exp.f64 re) (cos.f64 im))
0.0ms
im
@-inf
(*.f64 (exp.f64 re) (cos.f64 im))

rewrite34.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
530×pow1_binary64
504×add-sqr-sqrt_binary64
483×add-log-exp_binary64
483×log1p-expm1-u_binary64
483×expm1-log1p-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11138
213248
Stop Event
node limit
Counts
1 → 11
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))))

simplify69.0ms (2.1%)

Algorithm
egg-herbie
Rules
760×fma-def_binary64
582×associate-*l*_binary64
568×distribute-lft-out_binary64
524×distribute-rgt-out_binary64
448×distribute-rgt-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
039152
1105150
2269142
3868122
43279118
55667118
67103118
77527118
Stop Event
node limit
Counts
19 → 25
Calls
Call 1
Inputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
Outputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)))
(fma.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) re) (cos.f64 im))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 re 1))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
(*.f64 (cos.f64 im) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 re (*.f64 re 1/2) re)))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) (exp.f64 re))
(*.f64 (exp.f64 re) (fma.f64 im (*.f64 im -1/2) 1))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (exp.f64 re) (+.f64 1 (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re))))
(+.f64 (fma.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4)) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 im (*.f64 im -1/2)))))
(fma.f64 (exp.f64 re) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 im (*.f64 im -1/2))) (*.f64 (exp.f64 re) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im)))))

prune23.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New24125
Fresh000
Picked011
Done000
Total24226
Error
0b
Counts
26 → 2
Alt Table
StatusErrorProgram
0.3b
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 304 to 161 computations (47% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.2b
(+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))
0.3b
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)

series4.0ms (0.1%)

Counts
2 → 32
Calls

12 calls:

TimeVariablePointExpression
0.0ms
re
@0
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
0.0ms
im
@0
(+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))
0.0ms
re
@0
(+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))
0.0ms
im
@0
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
0.0ms
re
@inf
(+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))

rewrite58.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
910×pow1_binary64
844×add-log-exp_binary64
844×log1p-expm1-u_binary64
844×expm1-log1p-u_binary64
828×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0925
118917
2246717
Stop Event
node limit
Counts
2 → 83
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
(+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (fma.f64 (exp.f64 re) (cos.f64 im) -1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (*.f64 (fma.f64 (exp.f64 re) (cos.f64 im) -1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 0)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 -1 (fma.f64 (exp.f64 re) (cos.f64 im) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (exp.f64 re) (cos.f64 im) -1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (exp.f64 re)) 2) (*.f64 (cbrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (exp.f64 re)) (*.f64 (sqrt.f64 (exp.f64 re)) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) -1) (/.f64 1 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) -1) (/.f64 1 (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 1) (-.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (exp.f64 re)) 2)) (cbrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) -1) (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) (-.f64 1 (*.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) -1) (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) -1) (-.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) -1)) (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2) -1)) (neg.f64 (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) -1) 3)) (+.f64 1 (-.f64 (*.f64 (fma.f64 (exp.f64 re) (cos.f64 im) -1) (fma.f64 (exp.f64 re) (cos.f64 im) -1)) (fma.f64 (exp.f64 re) (cos.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 (exp.f64 re) (cos.f64 im) -1) (fma.f64 (exp.f64 re) (cos.f64 im) -1))) (-.f64 1 (fma.f64 (exp.f64 re) (cos.f64 im) -1)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 (exp.f64 re) (cos.f64 im) 1) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 2) (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 1 (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))) (/.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (exp.f64 re) (cos.f64 im) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 2) (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 2) (*.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) (*.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) (/.f64 1 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (fma.f64 (exp.f64 re) (cos.f64 im) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)) (/.f64 1 (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (fma.f64 (exp.f64 re) (cos.f64 im) -1))) (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (fma.f64 (exp.f64 re) (cos.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) (+.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)) (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))) (neg.f64 (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (fma.f64 (exp.f64 re) (cos.f64 im) -1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))) (neg.f64 (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1) (fma.f64 (exp.f64 re) (cos.f64 im) -1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) 1) (+.f64 1 (*.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (fma.f64 (exp.f64 re) (cos.f64 im) -1))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)) 1) (-.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1) 3))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (exp.f64 re) (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (exp.f64 re) (cos.f64 im) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (exp.f64 re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (exp.f64 re) (cos.f64 im) 1)))))))

simplify102.0ms (3.1%)

Algorithm
egg-herbie
Rules
572×associate-*l*_binary64
568×distribute-lft-out_binary64
524×distribute-rgt-out_binary64
448×distribute-rgt-in_binary64
409×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
051456
1145452
2388434
31270412
43095408
55484408
66728408
77153408
87845408
Stop Event
node limit
Counts
115 → 113
Calls
Call 1
Inputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (exp.f64 re) (cos.f64 im))
(+.f64 1 (cos.f64 im))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(+.f64 1 (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))))
(+.f64 1 (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))))
Outputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (+.f64 re 1)))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 1/2 (*.f64 re re)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 1/2 (*.f64 re re)))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)) (*.f64 (cos.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (+.f64 re 1))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))) (+.f64 re 1)))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re (+.f64 1/2 (*.f64 re 1/6)))))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re (+.f64 1/2 (*.f64 re 1/6)))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re))
(*.f64 (exp.f64 re) (+.f64 1 (*.f64 im (*.f64 im -1/2))))
(*.f64 (exp.f64 re) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 1 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 im (*.f64 im -1/2)))))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re))))
(+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 im (*.f64 im -1/2)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (exp.f64 re) (+.f64 (+.f64 1 (*.f64 1/24 (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 -1/720 (pow.f64 im 6)))))
(*.f64 (exp.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im -1/2))) (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 -1/720 (*.f64 im im))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(+.f64 1 (cos.f64 im))
(+.f64 (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) 1)
(+.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))) 1)
(+.f64 (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (+.f64 re 1))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 1/2 (*.f64 re re))))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 1/2 (*.f64 re re))))) 1)
(+.f64 1 (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))))
(+.f64 (fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))) 1)
(+.f64 (fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (+.f64 re 1))) (fma.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)) 1))
(+.f64 (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))) (+.f64 re 1))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re (+.f64 1/2 (*.f64 re 1/6))))))) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re (+.f64 1/2 (*.f64 re 1/6))))))) 1)
(+.f64 1 (exp.f64 re))
(+.f64 (exp.f64 re) 1)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (exp.f64 re) 1))
(+.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) 1))
(+.f64 (exp.f64 re) (fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) 1))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 1 (*.f64 im (*.f64 im -1/2)))))
(+.f64 (exp.f64 re) (fma.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im)) 1))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) 1))
(+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) 1))
(+.f64 (+.f64 (exp.f64 re) 1) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4))))))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 1 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im))))))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 im (*.f64 im -1/2))))))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 1 (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))) 1))
(+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re))) (fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) 1))
(+.f64 (+.f64 1 (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4))))) (*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re)))
(+.f64 1 (+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 (+.f64 1 (*.f64 1/24 (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 -1/720 (pow.f64 im 6))))))
(+.f64 1 (*.f64 (exp.f64 re) (+.f64 (+.f64 1 (*.f64 im (*.f64 im -1/2))) (*.f64 (pow.f64 im 4) (+.f64 1/24 (*.f64 -1/720 (*.f64 im im)))))))

prune476.0ms (14.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1380138
Fresh000
Picked011
Done011
Total1382140
Error
0b
Counts
140 → 2
Alt Table
StatusErrorProgram
0.3b
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 2091 to 1112 computations (46.8% saved)

regimes17.0ms (0.5%)

Accuracy

Total -0.3b remaining (-6773%)

Threshold costs -0.3b (-6773%)

Counts
2 → 1
Calls
Call 1
Inputs
(-.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))) 1)
(*.f64 (exp.f64 re) (cos.f64 im))
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
Results
3.0ms0.0bre
5.0ms0.0bim
3.0ms0.0b(*.f64 (exp.f64 re) (cos.f64 im))
2.0ms0.0b(exp.f64 re)
3.0ms0.0b(cos.f64 im)
Compiler

Compiled 37 to 24 computations (35.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
Stop Event
saturated
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))

end14.0ms (0.4%)

Stop Event
done
Compiler

Compiled 14 to 10 computations (28.6% saved)

Profiling

Loading profile data...