Details

Time bar (total: 2.7s)

analyze227.0ms (8.3%)

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%21.9%3.2%6
74.9%20.3%4.8%7
74.9%18%7.1%8
74.9%16.8%8.3%9
74.9%15.4%9.7%10
74.9%14.7%10.3%11
74.9%14%11.1%12
74.9%13.6%11.4%13
74.9%13.3%11.8%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.1s (76.5%)

Results
709.0ms5841×body128valid
647.0ms1357×body1024valid
259.0ms680×body1024invalid
211.0ms702×body512valid
98.0ms352×body512invalid
69.0ms351×body256valid
36.0ms178×body256invalid
32.0ms269×body128invalid
4.0msbody2048valid

preprocess18.0ms (0.7%)

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) (sin.f64 im))
(*.f64 (exp.f64 im) (sin.f64 re))
Outputs
(*.f64 (exp.f64 re) (sin.f64 im))
(*.f64 (exp.f64 im) (sin.f64 re))
Compiler

Compiled 7 to 5 computations (28.6% saved)

simplify8.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) (sin.f64 im))
Outputs
(*.f64 (exp.f64 re) (sin.f64 im))

prune1.0ms (0.1%)

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) (sin.f64 im))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite32.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
530×pow1_binary64
483×add-log-exp_binary64
483×log1p-expm1-u_binary64
483×expm1-log1p-u_binary64
471×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify35.0ms (1.3%)

Algorithm
egg-herbie
Rules
812×fma-def_binary64
778×distribute-lft-out_binary64
569×unswap-sqr_binary64
400×associate-*l*_binary64
288×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
044296
1122294
2312274
3911250
42806249
53670249
Stop Event
node limit
Counts
37 → 29
Calls
Call 1
Inputs
(sin.f64 im)
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re))
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) im)
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im))
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im)))
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im))))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
Outputs
(sin.f64 im)
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re))
(*.f64 (+.f64 re 1) (sin.f64 im))
(*.f64 (sin.f64 im) (+.f64 re 1))
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)))))
(+.f64 (sin.f64 im) (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) re)))
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(*.f64 (sin.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) re)))
(*.f64 (sin.f64 im) (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)))
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (+.f64 (*.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3))) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))))
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (fma.f64 1/6 (*.f64 (sin.f64 im) (pow.f64 re 3)) (*.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re))))))
(+.f64 (sin.f64 im) (fma.f64 (sin.f64 im) re (fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) (*.f64 (pow.f64 re 3) 1/6)))))
(fma.f64 (+.f64 re 1) (sin.f64 im) (*.f64 (sin.f64 im) (+.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 (sin.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2))))
(*.f64 (sin.f64 im) (+.f64 (fma.f64 re (*.f64 re 1/2) 1) (fma.f64 1/6 (pow.f64 re 3) re)))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) im)
(*.f64 im (exp.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (*.f64 (exp.f64 re) im))
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (*.f64 im (exp.f64 re)))
(fma.f64 im (exp.f64 re) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 3) -1/6)))
(*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))
(*.f64 (exp.f64 re) (fma.f64 -1/6 (pow.f64 im 3) im))
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (*.f64 (exp.f64 re) im)))
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 im (exp.f64 re))))
(fma.f64 (*.f64 (exp.f64 re) -1/6) (pow.f64 im 3) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (*.f64 im (exp.f64 re))))
(fma.f64 (exp.f64 re) (*.f64 -1/6 (pow.f64 im 3)) (*.f64 (exp.f64 re) (+.f64 im (*.f64 1/120 (pow.f64 im 5)))))
(*.f64 (exp.f64 re) (+.f64 im (fma.f64 -1/6 (pow.f64 im 3) (*.f64 1/120 (pow.f64 im 5)))))
(+.f64 (*.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5))) (+.f64 (*.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7))) (*.f64 (exp.f64 re) im))))
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 -1/5040 (*.f64 (exp.f64 re) (pow.f64 im 7)) (*.f64 im (exp.f64 re)))))
(fma.f64 -1/6 (*.f64 (exp.f64 re) (pow.f64 im 3)) (fma.f64 1/120 (*.f64 (exp.f64 re) (pow.f64 im 5)) (fma.f64 im (exp.f64 re) (*.f64 (*.f64 -1/5040 (pow.f64 im 7)) (exp.f64 re)))))
(+.f64 (*.f64 (exp.f64 re) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7)))) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 -1/6 (pow.f64 im 3) (*.f64 1/120 (pow.f64 im 5))) (fma.f64 -1/5040 (pow.f64 im 7) im)))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 1/120 (pow.f64 im 5) (*.f64 -1/5040 (pow.f64 im 7))) (fma.f64 -1/6 (pow.f64 im 3) im)))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))
(*.f64 (sin.f64 im) (exp.f64 re))

prune19.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New28129
Fresh000
Picked011
Done000
Total28230
Error
0.0b
Counts
30 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (sin.f64 im))
23.2b
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))
Compiler

Compiled 355 to 185 computations (47.9% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
0.0b
(+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))
0.1b
(*.f64 (sin.f64 im) re)
1.8b
(*.f64 (sin.f64 im) (pow.f64 re 2))

series12.0ms (0.4%)

Counts
4 → 19
Calls

24 calls:

TimeVariablePointExpression
2.0ms
re
@0
(*.f64 (sin.f64 im) (pow.f64 re 2))
1.0ms
im
@-inf
(*.f64 (sin.f64 im) (pow.f64 re 2))
1.0ms
im
@0
(*.f64 (sin.f64 im) (pow.f64 re 2))
1.0ms
re
@inf
(*.f64 (sin.f64 im) (pow.f64 re 2))
1.0ms
im
@inf
(*.f64 (sin.f64 im) (pow.f64 re 2))

rewrite59.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
555×log-prod_binary64
373×fma-def_binary64
202×expm1-udef_binary64
202×log1p-udef_binary64
171×fma-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01145
123645
2295345
Stop Event
node limit
Counts
4 → 118
Calls
Call 1
Inputs
(*.f64 (sin.f64 im) (pow.f64 re 2))
(*.f64 (sin.f64 im) re)
(+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2))))
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 im) (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re))) (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 im) (*.f64 re re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) (*.f64 re re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 re (sqrt.f64 (sin.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 im)) (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (sin.f64 im) 3) (pow.f64 (*.f64 re re) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (*.f64 re re) 3) (pow.f64 (sin.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 im) (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 im) (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 im) (*.f64 re re))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 im) (*.f64 re re))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) re)) (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) re)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) re))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (sin.f64 im)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (sin.f64 im) re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sin.f64 im) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (sin.f64 im) re)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (sin.f64 im) re) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (sin.f64 im)) re))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (sin.f64 im) re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (sin.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (sin.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (sin.f64 im) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (sin.f64 im) re)))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re))))) (/.f64 (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2))) (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 2) (cbrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) (sqrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (/.f64 1 (fma.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (-.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re)) (pow.f64 (*.f64 (sin.f64 im) re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2)))) (/.f64 1 (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (-.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re)) (pow.f64 (*.f64 (sin.f64 im) re) 2)) (fma.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re)))) (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (fma.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (-.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re)) (pow.f64 (*.f64 (sin.f64 im) re) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3)) (fma.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2)) (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 (*.f64 (sin.f64 im) re) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2)))) (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3) (pow.f64 (*.f64 (sin.f64 im) re) 3))) (neg.f64 (fma.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (-.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re)) (pow.f64 (*.f64 (sin.f64 im) re) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 (sin.f64 im) re) 2) (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2))))) (neg.f64 (fma.f64 (sin.f64 im) re (*.f64 -1/2 (*.f64 (sin.f64 im) (*.f64 re re))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2))) (pow.f64 (*.f64 (sin.f64 im) re) 2)) (-.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re))) (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (sin.f64 im)) re) (+.f64 1 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re))) (+.f64 1 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) (pow.f64 (exp.f64 (sin.f64 im)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re)) (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) (+.f64 1 (expm1.f64 (*.f64 (sin.f64 im) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 im) re (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sin.f64 im) (*.f64 (*.f64 re re) 1/2) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (sin.f64 im) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 1/2 (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 im) re) 1 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 (sin.f64 im) (*.f64 re re)) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) 1 (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (sin.f64 im) re) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) (pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) 2) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) re)) 2) (cbrt.f64 (*.f64 (sin.f64 im) re)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) (sin.f64 im)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (sin.f64 im)) 2) (*.f64 (cbrt.f64 (sin.f64 im)) re) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) (pow.f64 (cbrt.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 2) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 2) (cbrt.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) (*.f64 re re))) 2) (*.f64 (cbrt.f64 (*.f64 (sin.f64 im) (*.f64 re re))) 1/2) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (sin.f64 im) re)) (sqrt.f64 (*.f64 (sin.f64 im) re)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (sin.f64 im)) (*.f64 re (sqrt.f64 (sin.f64 im))) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 im) 1/2)) re) (*.f64 (sqrt.f64 (*.f64 (sin.f64 im) 1/2)) re) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (sin.f64 im))) (sqrt.f64 (sin.f64 im)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (sin.f64 im))) (*.f64 (*.f64 re (sqrt.f64 (sin.f64 im))) 1/2) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) (sin.f64 im)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 im) 1/2) (*.f64 re re) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 im) (pow.f64 (cbrt.f64 re) 2)) (cbrt.f64 re) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sin.f64 im) (sqrt.f64 re)) (sqrt.f64 re) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (pow.f64 (cbrt.f64 (sin.f64 im)) 2)) (cbrt.f64 (sin.f64 im)) (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 re re)) (sin.f64 im) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (pow.f64 (cbrt.f64 (*.f64 (sin.f64 im) (*.f64 re re))) 2)) (cbrt.f64 (*.f64 (sin.f64 im) (*.f64 re re))) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (*.f64 re (sqrt.f64 (sin.f64 im)))) (*.f64 re (sqrt.f64 (sin.f64 im))) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (sin.f64 im) 1/2) re) re (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (sin.f64 im) 1/2) 1) (*.f64 re re) (*.f64 (sin.f64 im) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 (sin.f64 im) 1/2) (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (*.f64 (sin.f64 im) re))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re))) (cbrt.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 im) 1/2)) re) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 1/4 (*.f64 (pow.f64 re 4) (pow.f64 (sin.f64 im) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (*.f64 (sin.f64 im) 1/2)) (*.f64 re re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/8 (pow.f64 (*.f64 (sin.f64 im) (*.f64 re re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (*.f64 re re) (*.f64 (sin.f64 im) 1/2))))))))

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Rules
646×associate-+l+_binary64
569×fma-def_binary64
458×*-commutative_binary64
420×distribute-lft-out_binary64
414×associate-+r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
073476
1202476
2593439
32403416
Stop Event
node limit
Counts
137 → 153
Calls
Call 1
Inputs
(*.f64 (pow.f64 re 2) im)
(+.f64 (*.f64 (pow.f64 re 2) im) (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))
(+.f64 (*.f64 (pow.f64 re 2) im) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))))
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 (pow.f64 re 2) im) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (pow.f64 re 2) (pow.f64 im 5))))))
(*.f64 re im)
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im)))
(+.f64 (*.f64 -1/5040 (*.f64 re (pow.f64 im 7))) (+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im))))
(*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im)
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3)))
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) (*.f64 1/240 (pow.f64 re 2))) (pow.f64 im 5)) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3))))
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (+.f64 (*.f64 (+.f64 (*.f64 -1/10080 (pow.f64 re 2)) (*.f64 -1/5040 re)) (pow.f64 im 7)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) (*.f64 1/240 (pow.f64 re 2))) (pow.f64 im 5)) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3)))))
(*.f64 (sin.f64 im) re)
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (pow.f64 re 2) im))
(+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))) (+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))) (+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
Outputs
(*.f64 (pow.f64 re 2) im)
(*.f64 (*.f64 re re) im)
(*.f64 re (*.f64 re im))
(+.f64 (*.f64 (pow.f64 re 2) im) (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))))
(fma.f64 (*.f64 re re) im (*.f64 -1/6 (*.f64 (*.f64 re re) (pow.f64 im 3))))
(fma.f64 (*.f64 re re) im (*.f64 (*.f64 re re) (*.f64 (pow.f64 im 3) -1/6)))
(*.f64 (*.f64 re re) (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))
(+.f64 (*.f64 (pow.f64 re 2) im) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (pow.f64 re 2) (pow.f64 im 5)))))
(fma.f64 (*.f64 re re) im (fma.f64 -1/6 (*.f64 (*.f64 re re) (pow.f64 im 3)) (*.f64 1/120 (*.f64 (*.f64 re re) (pow.f64 im 5)))))
(fma.f64 (*.f64 re re) im (fma.f64 -1/6 (*.f64 re (*.f64 re (pow.f64 im 3))) (*.f64 (pow.f64 im 5) (*.f64 (*.f64 re re) 1/120))))
(fma.f64 re (*.f64 re im) (*.f64 (*.f64 re re) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))
(*.f64 (*.f64 re re) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (+.f64 im (*.f64 -1/6 (pow.f64 im 3)))))
(+.f64 (*.f64 -1/5040 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (+.f64 (*.f64 (pow.f64 re 2) im) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/120 (*.f64 (pow.f64 re 2) (pow.f64 im 5))))))
(fma.f64 -1/5040 (*.f64 (*.f64 re re) (pow.f64 im 7)) (fma.f64 (*.f64 re re) im (fma.f64 -1/6 (*.f64 (*.f64 re re) (pow.f64 im 3)) (*.f64 1/120 (*.f64 (*.f64 re re) (pow.f64 im 5))))))
(fma.f64 -1/5040 (*.f64 (*.f64 re re) (pow.f64 im 7)) (fma.f64 (*.f64 re re) im (fma.f64 -1/6 (*.f64 re (*.f64 re (pow.f64 im 3))) (*.f64 (pow.f64 im 5) (*.f64 (*.f64 re re) 1/120)))))
(+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 -1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))) (*.f64 (*.f64 re re) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7)))))
(*.f64 (*.f64 re re) (+.f64 (+.f64 (*.f64 -1/5040 (pow.f64 im 7)) im) (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3)))))
(*.f64 re im)
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (*.f64 re im))
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (*.f64 re im))
(fma.f64 re im (*.f64 re (*.f64 (pow.f64 im 3) -1/6)))
(*.f64 re (+.f64 (*.f64 -1/6 (pow.f64 im 3)) im))
(*.f64 re (+.f64 im (*.f64 -1/6 (pow.f64 im 3))))
(+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im)))
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (*.f64 re im)))
(fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 re im (*.f64 re (*.f64 (pow.f64 im 5) 1/120))))
(fma.f64 re (*.f64 1/120 (pow.f64 im 5)) (*.f64 re (+.f64 (*.f64 -1/6 (pow.f64 im 3)) im)))
(*.f64 re (+.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) im))
(+.f64 (*.f64 -1/5040 (*.f64 re (pow.f64 im 7))) (+.f64 (*.f64 -1/6 (*.f64 re (pow.f64 im 3))) (+.f64 (*.f64 1/120 (*.f64 re (pow.f64 im 5))) (*.f64 re im))))
(fma.f64 -1/5040 (*.f64 re (pow.f64 im 7)) (fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 1/120 (*.f64 re (pow.f64 im 5)) (*.f64 re im))))
(fma.f64 -1/5040 (*.f64 re (pow.f64 im 7)) (fma.f64 -1/6 (*.f64 re (pow.f64 im 3)) (fma.f64 re im (*.f64 re (*.f64 (pow.f64 im 5) 1/120)))))
(fma.f64 re (*.f64 -1/5040 (pow.f64 im 7)) (fma.f64 re (*.f64 1/120 (pow.f64 im 5)) (*.f64 re (+.f64 (*.f64 -1/6 (pow.f64 im 3)) im))))
(*.f64 re (+.f64 (+.f64 (*.f64 1/120 (pow.f64 im 5)) (*.f64 -1/6 (pow.f64 im 3))) (+.f64 im (*.f64 -1/5040 (pow.f64 im 7)))))
(*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im)
(*.f64 im (fma.f64 1/2 (*.f64 re re) re))
(*.f64 im (fma.f64 (*.f64 re re) 1/2 re))
(*.f64 im (fma.f64 re (*.f64 re 1/2) re))
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3)))
(fma.f64 (fma.f64 1/2 (*.f64 re re) re) im (*.f64 (pow.f64 im 3) (fma.f64 -1/12 (*.f64 re re) (*.f64 re -1/6))))
(fma.f64 im (fma.f64 (*.f64 re re) 1/2 re) (*.f64 (pow.f64 im 3) (fma.f64 re -1/6 (*.f64 re (*.f64 re -1/12)))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (*.f64 (pow.f64 im 3) (*.f64 re (+.f64 -1/6 (*.f64 re -1/12)))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (*.f64 (*.f64 re (pow.f64 im 3)) (+.f64 -1/6 (*.f64 re -1/12))))
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) (*.f64 1/240 (pow.f64 re 2))) (pow.f64 im 5)) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3))))
(fma.f64 (fma.f64 1/2 (*.f64 re re) re) im (fma.f64 (fma.f64 1/120 re (*.f64 (*.f64 re re) 1/240)) (pow.f64 im 5) (*.f64 (pow.f64 im 3) (fma.f64 -1/12 (*.f64 re re) (*.f64 re -1/6)))))
(fma.f64 im (fma.f64 (*.f64 re re) 1/2 re) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 (*.f64 re (*.f64 re 1/240))) (*.f64 (pow.f64 im 3) (fma.f64 re -1/6 (*.f64 re (*.f64 re -1/12))))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (fma.f64 (pow.f64 im 5) (*.f64 re (+.f64 1/120 (*.f64 re 1/240))) (*.f64 (pow.f64 im 3) (*.f64 re (+.f64 -1/6 (*.f64 re -1/12))))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (fma.f64 (pow.f64 im 5) (*.f64 re (+.f64 (*.f64 re 1/240) 1/120)) (*.f64 (*.f64 re (pow.f64 im 3)) (+.f64 -1/6 (*.f64 re -1/12)))))
(+.f64 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im) (+.f64 (*.f64 (+.f64 (*.f64 -1/10080 (pow.f64 re 2)) (*.f64 -1/5040 re)) (pow.f64 im 7)) (+.f64 (*.f64 (+.f64 (*.f64 1/120 re) (*.f64 1/240 (pow.f64 re 2))) (pow.f64 im 5)) (*.f64 (+.f64 (*.f64 -1/12 (pow.f64 re 2)) (*.f64 -1/6 re)) (pow.f64 im 3)))))
(fma.f64 (fma.f64 1/2 (*.f64 re re) re) im (fma.f64 (fma.f64 -1/10080 (*.f64 re re) (*.f64 re -1/5040)) (pow.f64 im 7) (fma.f64 (fma.f64 1/120 re (*.f64 (*.f64 re re) 1/240)) (pow.f64 im 5) (*.f64 (pow.f64 im 3) (fma.f64 -1/12 (*.f64 re re) (*.f64 re -1/6))))))
(fma.f64 im (fma.f64 (*.f64 re re) 1/2 re) (fma.f64 (pow.f64 im 7) (fma.f64 re -1/5040 (*.f64 (*.f64 re re) -1/10080)) (fma.f64 (pow.f64 im 5) (fma.f64 re 1/120 (*.f64 re (*.f64 re 1/240))) (*.f64 (pow.f64 im 3) (fma.f64 re -1/6 (*.f64 re (*.f64 re -1/12)))))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (fma.f64 (pow.f64 im 5) (*.f64 re (+.f64 1/120 (*.f64 re 1/240))) (fma.f64 (pow.f64 im 7) (*.f64 re (+.f64 (*.f64 re -1/10080) -1/5040)) (*.f64 (pow.f64 im 3) (*.f64 re (+.f64 -1/6 (*.f64 re -1/12)))))))
(fma.f64 im (fma.f64 re (*.f64 re 1/2) re) (fma.f64 (pow.f64 im 5) (*.f64 re (+.f64 (*.f64 re 1/240) 1/120)) (fma.f64 (pow.f64 im 7) (*.f64 re (+.f64 (*.f64 re -1/10080) -1/5040)) (*.f64 (*.f64 re (pow.f64 im 3)) (+.f64 -1/6 (*.f64 re -1/12))))))
(*.f64 (sin.f64 im) re)
(*.f64 re (sin.f64 im))
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (sin.f64 im)))
(*.f64 re (*.f64 (*.f64 re (sin.f64 im)) 1/2))
(*.f64 re (*.f64 re (*.f64 1/2 (sin.f64 im))))
(*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (sin.f64 im)))
(*.f64 re (*.f64 (*.f64 re (sin.f64 im)) 1/2))
(*.f64 re (*.f64 re (*.f64 1/2 (sin.f64 im))))
(*.f64 1/2 (*.f64 (pow.f64 re 2) im))
(*.f64 (*.f64 (*.f64 re re) im) 1/2)
(*.f64 (*.f64 re (*.f64 re im)) 1/2)
(*.f64 re (*.f64 re (*.f64 im 1/2)))
(+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))
(fma.f64 -1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (*.f64 (*.f64 (*.f64 re re) im) 1/2))
(fma.f64 (*.f64 re (*.f64 re (pow.f64 im 3))) -1/12 (*.f64 (*.f64 (*.f64 re re) im) 1/2))
(*.f64 (*.f64 re re) (+.f64 (*.f64 im 1/2) (*.f64 (pow.f64 im 3) -1/12)))
(+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))) (+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(fma.f64 1/240 (*.f64 (*.f64 re re) (pow.f64 im 5)) (fma.f64 -1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (*.f64 (*.f64 (*.f64 re re) im) 1/2)))
(fma.f64 (*.f64 (*.f64 re re) (pow.f64 im 5)) 1/240 (fma.f64 (*.f64 re (*.f64 re (pow.f64 im 3))) -1/12 (*.f64 (*.f64 (*.f64 re re) im) 1/2)))
(fma.f64 (*.f64 re re) (*.f64 im 1/2) (*.f64 (*.f64 re re) (+.f64 (*.f64 (pow.f64 im 5) 1/240) (*.f64 (pow.f64 im 3) -1/12))))
(*.f64 (*.f64 re re) (+.f64 (*.f64 (pow.f64 im 3) -1/12) (+.f64 (*.f64 (pow.f64 im 5) 1/240) (*.f64 im 1/2))))
(+.f64 (*.f64 1/240 (*.f64 (pow.f64 re 2) (pow.f64 im 5))) (+.f64 (*.f64 -1/12 (*.f64 (pow.f64 re 2) (pow.f64 im 3))) (+.f64 (*.f64 -1/10080 (*.f64 (pow.f64 re 2) (pow.f64 im 7))) (*.f64 1/2 (*.f64 (pow.f64 re 2) im)))))
(fma.f64 1/240 (*.f64 (*.f64 re re) (pow.f64 im 5)) (fma.f64 -1/12 (*.f64 (*.f64 re re) (pow.f64 im 3)) (fma.f64 -1/10080 (*.f64 (*.f64 re re) (pow.f64 im 7)) (*.f64 (*.f64 (*.f64 re re) im) 1/2))))
(fma.f64 (*.f64 (*.f64 re re) (pow.f64 im 5)) 1/240 (fma.f64 (*.f64 re (*.f64 re (pow.f64 im 3))) -1/12 (fma.f64 (*.f64 (*.f64 re re) -1/10080) (pow.f64 im 7) (*.f64 (*.f64 (*.f64 re re) im) 1/2))))
(+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 im 1/2) (*.f64 (pow.f64 im 7) -1/10080))) (*.f64 (*.f64 re re) (+.f64 (*.f64 (pow.f64 im 5) 1/240) (*.f64 (pow.f64 im 3) -1/12))))
(*.f64 (*.f64 re re) (+.f64 (+.f64 (*.f64 (pow.f64 im 5) 1/240) (*.f64 (pow.f64 im 3) -1/12)) (+.f64 (*.f64 (pow.f64 im 7) -1/10080) (*.f64 im 1/2))))

prune130.0ms (4.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1530153
Fresh000
Picked011
Done011
Total1532155
Error
0.0b
Counts
155 → 2
Alt Table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (sin.f64 im))
23.2b
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))
Compiler

Compiled 3559 to 1630 computations (54.2% saved)

regimes33.0ms (1.2%)

Accuracy

Total -56.0b remaining (-358342.5%)

Threshold costs -56.0b (-358342.5%)

Counts
11 → 1
Calls
Call 1
Inputs
(+.f64 (sin.f64 im) (*.f64 re (sin.f64 im)))
(+.f64 (sin.f64 im) (*.f64 im (fma.f64 re (*.f64 re 1/2) re)))
(+.f64 (sin.f64 im) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) re) im))
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (pow.f64 re 2) im))))
(exp.f64 (+.f64 re (log.f64 (sin.f64 im))))
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (sin.f64 im))) 3)
(*.f64 (exp.f64 re) im)
(+.f64 (sin.f64 im) (+.f64 (*.f64 (sin.f64 im) re) (*.f64 1/2 (*.f64 (sin.f64 im) (pow.f64 re 2)))))
(+.f64 (sin.f64 im) (*.f64 (sin.f64 im) re))
(sin.f64 im)
(*.f64 (exp.f64 re) (sin.f64 im))
Outputs
(*.f64 (exp.f64 re) (sin.f64 im))
Results
6.0ms0.0bre
7.0ms0.0bim
5.0ms0.0b(*.f64 (exp.f64 re) (sin.f64 im))
2.0ms0.0b(exp.f64 re)
8.0ms0.0b(sin.f64 im)
Compiler

Compiled 116 to 57 computations (50.9% saved)

simplify2.0ms (0.1%)

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) (sin.f64 im))
Outputs
(*.f64 (exp.f64 re) (sin.f64 im))

end14.0ms (0.5%)

Stop Event
done
Compiler

Compiled 14 to 10 computations (28.6% saved)

Profiling

Loading profile data...