Details

Time bar (total: 5.7s)

analyze62.0ms (1.1%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
75%74.9%25%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
80%74.9%18.7%0.1%6.2%0%0%6
80%74.9%18.7%0.1%6.2%0%0%7
82.8%74.9%15.6%0.1%9.4%0%0%8
82.8%74.9%15.6%0.1%9.4%0%0%9
84.2%74.9%14%0.1%10.9%0%0%10
84.2%74.9%14%0.1%10.9%0%0%11
85%74.9%13.3%0.1%11.7%0%0%12
Compiler

Compiled 8 to 6 computations (25% saved)

sample2.3s (39.6%)

Results
920.0ms6199×body256valid
692.0ms1362×body1024valid
279.0ms653×body1024infinite
191.0ms692×body512valid
96.0ms332×body512infinite
64.0ms416×body256infinite
2.0msbody2048valid
Bogosity

preprocess14.0ms (0.3%)

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 9 to 7 computations (22.2% saved)

simplify6.0ms (0.1%)

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

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune3.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
Click to see full alt table
StatusErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
Compiler

Compiled 7 to 5 computations (28.6% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

Compiled 13 to 5 computations (61.5% saved)

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
im
@inf
(*.f64 (exp.f64 re) (cos.f64 im))
1.0ms
im
@-inf
(*.f64 (exp.f64 re) (cos.f64 im))

rewrite43.0ms (0.8%)

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 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 exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))))

simplify90.0ms (1.6%)

Algorithm
egg-herbie
Rules
760×fma-def_binary64
587×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
3869122
43456118
55851118
67287118
77711118
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 re (*.f64 re 1/2) (+.f64 re 1)))
(*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re 1/2) 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))))
(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 (+.f64 re 1) (cos.f64 im) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2))))
(*.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))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (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)))
(+.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 -1/2 (*.f64 im im)) (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 (*.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 (exp.f64 re) (*.f64 im im)) (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 im (*.f64 im -1/2)) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(fma.f64 (exp.f64 re) (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (exp.f64 re) (fma.f64 -1/720 (pow.f64 im 6) 1)))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 -1/720 (pow.f64 im 6) 1) (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 im (*.f64 im -1/2) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))

eval5.0ms (0.1%)

Compiler

Compiled 275 to 141 computations (48.7% saved)

prune9.0ms (0.2%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New18725
Fresh000
Picked011
Done000
Total18826
Error
0b
Counts
26 → 8
Alt Table
Click to see full alt table
StatusErrorProgram
0.4b
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
20.0b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
15.3b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
18.5b
(exp.f64 re)
0.2b
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))
20.0b
(*.f64 (cos.f64 im) (+.f64 re 1))
20.2b
(cos.f64 im)
Compiler

Compiled 113 to 83 computations (26.5% saved)

localize14.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.2b
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))
0.2b
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)
Compiler

Compiled 29 to 11 computations (62.1% saved)

series8.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite53.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
713×pow1_binary64
664×add-log-exp_binary64
664×log1p-expm1-u_binary64
664×expm1-log1p-u_binary64
645×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0919
118419
2190619
Stop Event
node limit
Counts
2 → 54
Calls
Call 1
Inputs
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (*.f64 (cos.f64 im) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (*.f64 (exp.f64 re) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) (cos.f64 im)) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) (*.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (*.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2) 3) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3) (pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (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) (cos.f64 im)) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 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) (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 (*.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) (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 sqrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 6))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 3 (+.f64 re (log.f64 (cos.f64 im)))))))))
((#(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 *.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 1 (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(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 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1/3))))) (#(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 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 2) 1/3) (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) 1/3) (pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3/2) 1/3))))) (#(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 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 (cos.f64 im)) (exp.f64 re)))))) (#(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 exp.f64 (+.f64 re (log.f64 (cos.f64 im))))))))

simplify128.0ms (2.2%)

Algorithm
egg-herbie
Rules
842×fma-def_binary64
558×associate-*l*_binary64
517×associate-*r*_binary64
376×unswap-sqr_binary64
327×associate-+l+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0101820
1302789
21055734
35736724
46674724
57805724
Stop Event
node limit
Counts
102 → 82
Calls
Call 1
Inputs
(pow.f64 (cos.f64 im) 3)
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (cos.f64 im) 3))
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 im) 2)) (pow.f64 (cos.f64 im) 2)) (cos.f64 im)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))) (pow.f64 re 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(pow.f64 (exp.f64 re) 3)
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (pow.f64 (exp.f64 re) 3))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2))))) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 2)) (*.f64 -1/360 (pow.f64 (exp.f64 re) 2))) (exp.f64 re)) (*.f64 -1/720 (pow.f64 (exp.f64 re) 3))))) (pow.f64 im 6)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3))))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(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))
Outputs
(pow.f64 (cos.f64 im) 3)
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (cos.f64 im) 3))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3))
(*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3))
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(+.f64 (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re)))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re) (pow.f64 (cos.f64 im) 3)))
(fma.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 re re) 9/2) (*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3)))
(fma.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) re) (*.f64 (+.f64 (*.f64 (*.f64 re re) 9/2) 1) (pow.f64 (cos.f64 im) 3)))
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (pow.f64 (cos.f64 im) 2)) (pow.f64 (cos.f64 im) 2)) (cos.f64 im)) (*.f64 1/6 (pow.f64 (cos.f64 im) 3))))) (pow.f64 re 3)) (*.f64 (+.f64 (*.f64 1/2 (pow.f64 (cos.f64 im) 3)) (*.f64 4 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))))
(+.f64 (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) (fma.f64 (+.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (fma.f64 (*.f64 4/3 (pow.f64 (cos.f64 im) 2)) (cos.f64 im) (*.f64 (pow.f64 (cos.f64 im) 3) 1/6))) (pow.f64 re 3) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re))))
(+.f64 (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (pow.f64 (cos.f64 im) 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re re) (*.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (fma.f64 (pow.f64 (cos.f64 im) 3) 1/6 (*.f64 4/3 (pow.f64 (cos.f64 im) 3)))) (pow.f64 re 3))))
(+.f64 (*.f64 (+.f64 (*.f64 3 re) 1) (pow.f64 (cos.f64 im) 3)) (*.f64 (*.f64 re re) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) 9/2) (*.f64 re (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 (cos.f64 im) 3) 3/2))))))
(fma.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) re) (fma.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 (cos.f64 im) 3) 3/2)) (pow.f64 re 3) (*.f64 (+.f64 (*.f64 (*.f64 re re) 9/2) 1) (pow.f64 (cos.f64 im) 3))))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(pow.f64 (exp.f64 re) 3)
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (pow.f64 (exp.f64 re) 3))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (pow.f64 (exp.f64 re) 3))
(fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3))
(*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3) (*.f64 (pow.f64 (exp.f64 re) 3) 13/24)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) 13/24 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3)))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3)))
(+.f64 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (exp.f64 re) 3)) (*.f64 -1/2 (pow.f64 (exp.f64 re) 3))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2))))) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (exp.f64 re) 2)) (*.f64 -1/360 (pow.f64 (exp.f64 re) 2))) (exp.f64 re)) (*.f64 -1/720 (pow.f64 (exp.f64 re) 3))))) (pow.f64 im 6)) (+.f64 (*.f64 (+.f64 (*.f64 (exp.f64 re) (+.f64 (*.f64 1/12 (pow.f64 (exp.f64 re) 2)) (*.f64 1/4 (pow.f64 (exp.f64 re) 2)))) (+.f64 (*.f64 1/24 (pow.f64 (exp.f64 re) 3)) (*.f64 1/2 (pow.f64 (exp.f64 re) 3)))) (pow.f64 im 4)) (pow.f64 (exp.f64 re) 3))))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 -1/24 (pow.f64 (exp.f64 re) 3) (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3)) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 2) -2/45) (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 3) -1/720)))) (pow.f64 im 6) (fma.f64 (fma.f64 (exp.f64 re) (*.f64 (pow.f64 (exp.f64 re) 2) 1/3) (*.f64 (pow.f64 (exp.f64 re) 3) 13/24)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3))))
(fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) -3/2) (*.f64 im im) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) -1/24 (fma.f64 -1/2 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3) (fma.f64 (pow.f64 (exp.f64 re) 3) -1/720 (*.f64 (pow.f64 (exp.f64 re) 3) -2/45)))) (pow.f64 im 6) (fma.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) 13/24 (*.f64 (pow.f64 (exp.f64 re) 3) 1/3)) (pow.f64 im 4) (pow.f64 (exp.f64 re) 3))))
(fma.f64 (+.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) -2/45 (*.f64 (pow.f64 (exp.f64 re) 3) -1/6)) (*.f64 (pow.f64 (exp.f64 re) 3) -31/720)) (pow.f64 im 6) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (fma.f64 im (*.f64 (pow.f64 (exp.f64 re) 3) (*.f64 -3/2 im)) (pow.f64 (exp.f64 re) 3))))
(fma.f64 (+.f64 (fma.f64 (pow.f64 (exp.f64 re) 3) -2/45 (*.f64 (pow.f64 (exp.f64 re) 3) -1/6)) (*.f64 (pow.f64 (exp.f64 re) 3) -31/720)) (pow.f64 im 6) (fma.f64 (*.f64 (pow.f64 (exp.f64 re) 3) 7/8) (pow.f64 im 4) (*.f64 (+.f64 (*.f64 (*.f64 im im) -3/2) 1) (pow.f64 (exp.f64 re) 3))))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(*.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (exp.f64 re) 3))
(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 (*.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 1) (*.f64 re (*.f64 re 1/2)))))
(*.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 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (exp.f64 re))
(*.f64 (+.f64 (*.f64 (*.f64 -1/2 im) im) 1) (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)))
(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 (*.f64 -1/2 im) im) (*.f64 1/24 (pow.f64 im 4)))))
(+.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 (*.f64 -1/2 im) im) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(*.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))

localize3.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize2.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cos.f64 im) (+.f64 re 1))
Compiler

Compiled 16 to 9 computations (43.8% saved)

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite50.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
729×pow1_binary64
676×log1p-expm1-u_binary64
676×expm1-log1p-u_binary64
675×add-log-exp_binary64
660×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify127.0ms (2.2%)

Algorithm
egg-herbie
Rules
773×fma-def_binary64
757×distribute-rgt-out_binary64
630×distribute-rgt-in_binary64
619×distribute-lft-in_binary64
521×associate-*l*_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
030268
178262
2249250
3914243
43884243
56204243
66386243
76625243
86844243
97117239
Stop Event
node limit
Counts
48 → 36
Calls
Call 1
Inputs
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
Outputs
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re))
(+.f64 1 (fma.f64 (*.f64 im (fma.f64 re -1/2 -1/2)) im re))
(*.f64 (+.f64 1 re) (fma.f64 -1/2 (*.f64 im im) 1))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) 1))
(+.f64 1 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im (fma.f64 re -1/2 -1/2)) im re)))
(*.f64 (+.f64 1 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (+.f64 1 re) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 im im) 1)))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) 1)))
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im (fma.f64 re -1/2 -1/2)) im re)))
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (*.f64 (+.f64 1 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 -1/720 (pow.f64 im 6) 1))))
(fma.f64 (+.f64 1 re) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (+.f64 1 re) (fma.f64 -1/2 (*.f64 im im) 1)))
(*.f64 (+.f64 1 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
0.1b
(*.f64 (cos.f64 im) re)
Compiler

Compiled 17 to 5 computations (70.6% saved)

series5.0ms (0.1%)

Counts
2 → 11
Calls

12 calls:

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

rewrite51.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
713×pow1_binary64
661×add-log-exp_binary64
661×log1p-expm1-u_binary64
661×expm1-log1p-u_binary64
646×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify89.0ms (1.6%)

Algorithm
egg-herbie
Rules
670×associate-+l+_binary64
554×associate-*l*_binary64
425×associate-*r*_binary64
381×associate-+r+_binary64
318×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
046165
1120161
2307161
31216161
44523161
55873161
66227161
77912161
Stop Event
node limit
Counts
60 → 67
Calls
Call 1
Inputs
re
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re)
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re))
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re)))
(+.f64 1 re)
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re))
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))))
(cos.f64 im)
(*.f64 (cos.f64 im) re)
(*.f64 (cos.f64 im) re)
Outputs
re
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) re)
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) re)
(fma.f64 re (*.f64 -1/2 (*.f64 im im)) re)
(fma.f64 (*.f64 re (*.f64 -1/2 im)) im re)
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) re))
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) (fma.f64 1/24 (*.f64 re (pow.f64 im 4)) re))
(fma.f64 re (*.f64 -1/2 (*.f64 im im)) (fma.f64 re (*.f64 1/24 (pow.f64 im 4)) re))
(fma.f64 re (*.f64 1/24 (pow.f64 im 4)) (fma.f64 (*.f64 re (*.f64 -1/2 im)) im re))
(+.f64 (*.f64 -1/2 (*.f64 re (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 re (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 re (pow.f64 im 6))) re)))
(fma.f64 -1/2 (*.f64 re (*.f64 im im)) (fma.f64 1/24 (*.f64 re (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 re (pow.f64 im 6)) re)))
(fma.f64 re (*.f64 -1/2 (*.f64 im im)) (fma.f64 re (*.f64 -1/720 (pow.f64 im 6)) (fma.f64 re (*.f64 1/24 (pow.f64 im 4)) re)))
(+.f64 re (*.f64 re (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4))))))
(+.f64 1 re)
(+.f64 re 1)
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 re))
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 re 1))
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (+.f64 re 1))
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4)))))
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 im 4) (fma.f64 1/24 re 1/24)))))
(+.f64 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re) (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) 1))
(+.f64 (*.f64 (-.f64 (*.f64 -1/2 re) 1/2) (pow.f64 im 2)) (+.f64 1 (+.f64 (*.f64 (-.f64 (*.f64 -1/720 re) 1/720) (pow.f64 im 6)) (+.f64 re (*.f64 (+.f64 (*.f64 1/24 re) 1/24) (pow.f64 im 4))))))
(fma.f64 (fma.f64 -1/2 re -1/2) (*.f64 im im) (+.f64 1 (fma.f64 (fma.f64 -1/720 re -1/720) (pow.f64 im 6) (+.f64 re (*.f64 (pow.f64 im 4) (fma.f64 1/24 re 1/24))))))
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re)) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 1 (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) re))))
(+.f64 1 (fma.f64 im (*.f64 im (fma.f64 re -1/2 -1/2)) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) re))))
(cos.f64 im)
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))

eval57.0ms (1%)

Compiler

Compiled 2982 to 1546 computations (48.2% saved)

prune34.0ms (0.6%)

Pruning

11 alts after pruning (6 fresh and 5 done)

PrunedKeptTotal
New2046210
Fresh202
Picked011
Done145
Total20711218
Error
0b
Counts
218 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
20.3b
(+.f64 re (cos.f64 im))
18.5b
(exp.f64 re)
20.0b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
15.3b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
0.4b
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
20.0b
(*.f64 (cos.f64 im) (+.f64 re 1))
20.0b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
20.2b
(cos.f64 im)
38.2b
(+.f64 re 1)
20.6b
(log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))
Compiler

Compiled 138 to 102 computations (26.1% saved)

localize21.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.2b
(cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
0.2b
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
Compiler

Compiled 28 to 9 computations (67.9% saved)

series23.0ms (0.4%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
5.0ms
im
@inf
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
4.0ms
re
@0
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
4.0ms
im
@0
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
3.0ms
re
@inf
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
3.0ms
re
@-inf
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)

rewrite58.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
706×pow1_binary64
657×add-log-exp_binary64
657×log1p-expm1-u_binary64
657×expm1-log1p-u_binary64
640×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify159.0ms (2.8%)

Algorithm
egg-herbie
Rules
516×*-commutative_binary64
472×distribute-rgt-in_binary64
467×distribute-lft-in_binary64
462×associate-+l+_binary64
451×associate-+r+_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01891810
16271735
220621628
367781622
Stop Event
node limit
Counts
102 → 88
Calls
Call 1
Inputs
(*.f64 (pow.f64 1 1/3) (cos.f64 im))
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (*.f64 (pow.f64 1 1/3) (cos.f64 im)))
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9)))) (*.f64 2/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))) (pow.f64 re 2)) (*.f64 (pow.f64 1 1/3) (cos.f64 im))))
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9)))) (*.f64 2/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))) (pow.f64 re 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 1 1/3))) (+.f64 (*.f64 2/9 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))) (*.f64 2/9 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (*.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 re 3)))))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (exp.f64 re))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 re)))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))))) (pow.f64 im 4)) (*.f64 (pow.f64 1 1/3) (exp.f64 re))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))))) (pow.f64 im 4)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3))))) (+.f64 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))) (pow.f64 (*.f64 1 (exp.f64 re)) 1/3)) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (pow.f64 im 6)) (*.f64 (pow.f64 1 1/3) (exp.f64 re)))))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(pow.f64 (cos.f64 im) 1/3)
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (pow.f64 (cos.f64 im) 1/3))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (cos.f64 im) 1/3)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 re 3)) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (cos.f64 im) 1/3))))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (exp.f64 re) 1/3)
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (pow.f64 (exp.f64 re) 1/3))
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (+.f64 (pow.f64 (exp.f64 re) 1/3) (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))) (pow.f64 im 4))))))
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))) (pow.f64 im 6)))) (+.f64 (pow.f64 (exp.f64 re) 1/3) (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))) (pow.f64 im 4)))))))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
Outputs
(*.f64 (pow.f64 1 1/3) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (*.f64 (pow.f64 1 1/3) (cos.f64 im)))
(fma.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) 1) re (cos.f64 im))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (cos.f64 im))
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9)))) (*.f64 2/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))) (pow.f64 re 2)) (*.f64 (pow.f64 1 1/3) (cos.f64 im))))
(fma.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) 1) re (fma.f64 (+.f64 (*.f64 1/3 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18))))) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (cbrt.f64 (/.f64 1 (cos.f64 im)))) (*.f64 1/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) 2/9))) (*.f64 re re) (cos.f64 im)))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (fma.f64 (fma.f64 1/3 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im)))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 1/9 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18))) (*.f64 (*.f64 2/9 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 re re) (cos.f64 im)))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (fma.f64 (+.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) 2/9) (+.f64 (*.f64 1/9 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (+.f64 1/3 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im))))))))) (*.f64 re re) (cos.f64 im)))
(+.f64 (*.f64 (+.f64 (*.f64 2/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 13)) 1/9))) re) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (+.f64 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9)))) (*.f64 2/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))) (pow.f64 re 2)) (+.f64 (*.f64 (pow.f64 1 1/3) (cos.f64 im)) (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (cos.f64 im)) 1/3) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/9 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 14)) 1/9))))) (+.f64 (*.f64 1/3 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 1 1/3))) (+.f64 (*.f64 2/9 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 (+.f64 (*.f64 2/3 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))) (*.f64 2/9 (*.f64 (pow.f64 (*.f64 1 (cos.f64 im)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (*.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 re 3)))))
(fma.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) 1) re (+.f64 (fma.f64 (+.f64 (*.f64 1/3 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18))))) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (cbrt.f64 (/.f64 1 (cos.f64 im)))) (*.f64 1/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) 2/9))) (*.f64 re re) (cos.f64 im)) (*.f64 (fma.f64 1/3 (*.f64 (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (cbrt.f64 (/.f64 1 (cos.f64 im)))) (*.f64 1/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (*.f64 1 (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7)))))) (fma.f64 2/9 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (*.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7)))))) (*.f64 2/9 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 (pow.f64 (cos.f64 im) 1/18) (pow.f64 (cos.f64 im) 1/18))))))))) (pow.f64 re 3))))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (fma.f64 (fma.f64 1/3 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im)))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 1/9 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18))) (*.f64 (*.f64 2/9 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 re re) (fma.f64 (fma.f64 1/3 (*.f64 (fma.f64 (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im)))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 1/9 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 (*.f64 2/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7))))) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 (*.f64 2/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7)))))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (cos.f64 im) 1/18) (pow.f64 (cos.f64 im) 1/18))))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))))))) (pow.f64 re 3) (cos.f64 im))))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (fma.f64 (+.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) 2/9) (+.f64 (*.f64 1/9 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (+.f64 1/3 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im))))))))) (*.f64 re re) (fma.f64 (fma.f64 1/3 (*.f64 (fma.f64 (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im)))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (*.f64 1/9 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (+.f64 (fma.f64 (cos.f64 im) 1/6 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3))) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27)) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (+.f64 (fma.f64 (cos.f64 im) 1/6 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3))) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (cos.f64 im) 1/18) (pow.f64 (cos.f64 im) 1/18))))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))))))) (pow.f64 re 3) (cos.f64 im))))
(fma.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 13) 1/18)) re (fma.f64 (+.f64 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) 2/9) (+.f64 (*.f64 1/9 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (+.f64 1/3 (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im))))))))) (*.f64 re re) (fma.f64 (fma.f64 1/3 (*.f64 (fma.f64 (*.f64 2/3 (cbrt.f64 (/.f64 1 (cos.f64 im)))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18) (*.f64 1/9 (pow.f64 (pow.f64 (cos.f64 im) 14) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (fma.f64 (cos.f64 im) 1/6 (fma.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27))) (fma.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 2/3 (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (fma.f64 (cos.f64 im) 1/6 (fma.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27)))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (cos.f64 im) 1/18) (pow.f64 (cos.f64 im) 1/18))))) (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 2/9 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))))))) (pow.f64 re 3) (cos.f64 im))))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (exp.f64 re))
(exp.f64 re)
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (*.f64 (pow.f64 1 1/3) (exp.f64 re)))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (exp.f64 re))
(*.f64 (exp.f64 re) (+.f64 1 (*.f64 (*.f64 im im) -1/2)))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))))) (pow.f64 im 4)) (*.f64 (pow.f64 1 1/3) (exp.f64 re))))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (exp.f64 re) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 1/18 (exp.f64 re) (*.f64 1/3 (*.f64 (exp.f64 re) -1/24)))) (pow.f64 im 4) (exp.f64 re)))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 -1/24 (cbrt.f64 (exp.f64 (neg.f64 re))))) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 (exp.f64 re) 1/18 (*.f64 (*.f64 1/3 (exp.f64 re)) -1/24))) (pow.f64 im 4) (exp.f64 re)))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 (exp.f64 re) 1/18 (*.f64 (exp.f64 re) -1/72))) (pow.f64 im 4) (exp.f64 re)))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 -1/3 (*.f64 (pow.f64 1 1/3) (exp.f64 re)))) (pow.f64 im 2)) (+.f64 (*.f64 (+.f64 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3)))) (+.f64 (*.f64 1/18 (*.f64 (pow.f64 1 1/3) (exp.f64 re))) (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))))) (pow.f64 im 4)) (+.f64 (*.f64 (+.f64 (*.f64 1/3 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))))) (*.f64 1/36 (pow.f64 (*.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3))))) (+.f64 (*.f64 (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (*.f64 -1/9 (*.f64 (pow.f64 (/.f64 1 (exp.f64 re)) 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))) (pow.f64 (*.f64 1 (exp.f64 re)) 1/3)) (*.f64 -1/9 (*.f64 (pow.f64 1 1/3) (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))))) (pow.f64 im 6)) (*.f64 (pow.f64 1 1/3) (exp.f64 re)))))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (exp.f64 re) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 1/18 (exp.f64 re) (*.f64 1/3 (*.f64 (exp.f64 re) -1/24)))) (pow.f64 im 4) (fma.f64 (+.f64 (*.f64 1/3 (-.f64 (*.f64 (exp.f64 re) -1/720) (fma.f64 -1/216 (exp.f64 re) (*.f64 -1/3 (*.f64 (exp.f64 re) -1/24))))) (fma.f64 -1/6 (*.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (exp.f64 re) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2))))) (fma.f64 (fma.f64 2/3 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (-.f64 (*.f64 (exp.f64 re) -1/720) (fma.f64 -1/216 (exp.f64 re) (*.f64 -1/3 (*.f64 (exp.f64 re) -1/24))))) (*.f64 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (exp.f64 re) -1/24)) -1/9)) (cbrt.f64 (exp.f64 re)) (*.f64 -1/9 (*.f64 (exp.f64 re) -1/24))))) (pow.f64 im 6) (exp.f64 re))))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 -1/24 (cbrt.f64 (exp.f64 (neg.f64 re))))) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 (exp.f64 re) 1/18 (*.f64 (*.f64 1/3 (exp.f64 re)) -1/24))) (pow.f64 im 4) (fma.f64 (fma.f64 1/3 (-.f64 (*.f64 (exp.f64 re) 7/2160) (*.f64 (exp.f64 re) 1/72)) (fma.f64 -1/6 (*.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 -1/24 (cbrt.f64 (exp.f64 (neg.f64 re))))) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2))))) (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (-.f64 (*.f64 (exp.f64 re) 7/2160) (*.f64 (exp.f64 re) 1/72))) (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (*.f64 (exp.f64 re) -1/24) -1/9))) (*.f64 (*.f64 (exp.f64 re) -1/24) -1/9)))) (pow.f64 im 6) (exp.f64 re))))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (fma.f64 (fma.f64 (cbrt.f64 (exp.f64 re)) (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2)))) (fma.f64 (exp.f64 re) 1/18 (*.f64 (exp.f64 re) -1/72))) (pow.f64 im 4) (fma.f64 (fma.f64 1/3 (*.f64 (exp.f64 re) -23/2160) (+.f64 (*.f64 (*.f64 (exp.f64 re) -1/24) -1/9) (*.f64 (cbrt.f64 (exp.f64 re)) (+.f64 (*.f64 -1/6 (fma.f64 2/3 (*.f64 (exp.f64 re) (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) -1/24)) (*.f64 1/36 (cbrt.f64 (pow.f64 (exp.f64 re) 2))))) (*.f64 (cbrt.f64 (exp.f64 (neg.f64 re))) (+.f64 (*.f64 2/3 (*.f64 (exp.f64 re) -23/2160)) (*.f64 (*.f64 (exp.f64 re) -1/24) -1/9))))))) (pow.f64 im 6) (exp.f64 re))))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (pow.f64 1 1/3) (*.f64 (exp.f64 re) (cos.f64 im)))
(*.f64 (cos.f64 im) (exp.f64 re))
(pow.f64 (cos.f64 im) 1/3)
(cbrt.f64 (cos.f64 im))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (pow.f64 (cos.f64 im) 1/3))
(fma.f64 1/3 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (cbrt.f64 (cos.f64 im)))
(fma.f64 1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) re)) (cbrt.f64 (cos.f64 im)))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (cos.f64 im) 1/3)))
(fma.f64 1/3 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 re re))) (cbrt.f64 (cos.f64 im))))
(fma.f64 1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) re)) (fma.f64 1/3 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 re re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))))) (cbrt.f64 (cos.f64 im))))
(fma.f64 1/3 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 re (*.f64 re (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))))) (cbrt.f64 (cos.f64 im))))
(+.f64 (*.f64 1/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/9) re)) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (+.f64 (*.f64 2/3 (*.f64 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 4)) 1/9) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9))))) (*.f64 1/27 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 7)) 1/3)))) (pow.f64 re 3)) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3) (*.f64 (pow.f64 re 2) (-.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/3 (pow.f64 (*.f64 1 (pow.f64 (cos.f64 im) 17)) 1/9)))))) (pow.f64 (cos.f64 im) 1/3))))
(fma.f64 1/3 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 2/3 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7))))) (*.f64 (pow.f64 re 3) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/2) (*.f64 -1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)))) (*.f64 re re))) (cbrt.f64 (cos.f64 im)))))
(fma.f64 1/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) re)) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 (cos.f64 im) 1/6) (fma.f64 (*.f64 2/3 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 1/27 (cbrt.f64 (pow.f64 (cos.f64 im) 7))))) (*.f64 (pow.f64 re 3) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))))) (fma.f64 1/3 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 re re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))))) (cbrt.f64 (cos.f64 im)))))
(+.f64 (cbrt.f64 (cos.f64 im)) (*.f64 1/3 (+.f64 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (+.f64 (*.f64 (+.f64 (fma.f64 (cos.f64 im) 1/6 (*.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3))) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27)) (pow.f64 re 3)) (*.f64 re (*.f64 re (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)))))))))
(+.f64 (cbrt.f64 (cos.f64 im)) (*.f64 1/3 (+.f64 (*.f64 re (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 7) 1/18))) (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (+.f64 (*.f64 (fma.f64 (cos.f64 im) 1/6 (fma.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)) (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 4) 1/18)) -2/3) (*.f64 (cbrt.f64 (pow.f64 (cos.f64 im) 7)) -1/27))) (pow.f64 re 3)) (*.f64 re (*.f64 re (fma.f64 (cos.f64 im) 1/2 (*.f64 (*.f64 (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18) (pow.f64 (pow.f64 (cos.f64 im) 17) 1/18)) -1/3)))))))))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (exp.f64 re) 1/3)
(cbrt.f64 (exp.f64 re))
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (pow.f64 (exp.f64 re) 1/3))
(fma.f64 -1/6 (*.f64 (*.f64 im im) (cbrt.f64 (exp.f64 re))) (cbrt.f64 (exp.f64 re)))
(fma.f64 -1/6 (*.f64 im (*.f64 im (cbrt.f64 (exp.f64 re)))) (cbrt.f64 (exp.f64 re)))
(*.f64 (+.f64 (*.f64 -1/6 (*.f64 im im)) 1) (cbrt.f64 (exp.f64 re)))
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (+.f64 (pow.f64 (exp.f64 re) 1/3) (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))) (pow.f64 im 4))))))
(+.f64 (fma.f64 -1/6 (*.f64 (*.f64 im im) (cbrt.f64 (exp.f64 re))) (cbrt.f64 (exp.f64 re))) (*.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))) (*.f64 (*.f64 (exp.f64 re) -1/24) (pow.f64 im 4)))))
(fma.f64 -1/6 (*.f64 im (*.f64 im (cbrt.f64 (exp.f64 re)))) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 re) -1/24) (*.f64 (pow.f64 im 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))))) (cbrt.f64 (exp.f64 re))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 im im)) 1) (cbrt.f64 (exp.f64 re))) (*.f64 1/3 (*.f64 (*.f64 (exp.f64 re) -1/24) (*.f64 (pow.f64 im 4) (cbrt.f64 (exp.f64 (-.f64 (neg.f64 re) re)))))))
(+.f64 (*.f64 -1/6 (*.f64 (pow.f64 (*.f64 1 (exp.f64 re)) 1/3) (pow.f64 im 2))) (+.f64 (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 -1/720 (exp.f64 re)) (+.f64 (*.f64 -1/216 (exp.f64 re)) (*.f64 -1/3 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re)))))) (pow.f64 im 6)))) (+.f64 (pow.f64 (exp.f64 re) 1/3) (*.f64 1/3 (*.f64 (pow.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2)) 1/3) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (*.f64 1/12 (exp.f64 re))) (pow.f64 im 4)))))))
(fma.f64 -1/6 (*.f64 (*.f64 im im) (cbrt.f64 (exp.f64 re))) (fma.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))) (*.f64 (-.f64 (*.f64 (exp.f64 re) -1/720) (fma.f64 -1/216 (exp.f64 re) (*.f64 -1/3 (*.f64 (exp.f64 re) -1/24)))) (pow.f64 im 6))) (+.f64 (cbrt.f64 (exp.f64 re)) (*.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))) (*.f64 (*.f64 (exp.f64 re) -1/24) (pow.f64 im 4)))))))
(fma.f64 -1/6 (*.f64 im (*.f64 im (cbrt.f64 (exp.f64 re)))) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 (exp.f64 re) 7/2160) (*.f64 (exp.f64 re) 1/72)) (*.f64 (pow.f64 im 6) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))))) (fma.f64 1/3 (*.f64 (*.f64 (exp.f64 re) -1/24) (*.f64 (pow.f64 im 4) (cbrt.f64 (/.f64 1 (pow.f64 (exp.f64 re) 2))))) (cbrt.f64 (exp.f64 re)))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/6 (*.f64 im im)) 1) (cbrt.f64 (exp.f64 re))) (*.f64 (*.f64 1/3 (cbrt.f64 (exp.f64 (-.f64 (neg.f64 re) re)))) (+.f64 (*.f64 (*.f64 (exp.f64 re) -1/24) (pow.f64 im 4)) (*.f64 (*.f64 (exp.f64 re) -23/2160) (pow.f64 im 6)))))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 1/3)
(cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re)))

localize3.0ms (0.1%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize5.0ms (0.1%)

Compiler

Compiled 10 to 4 computations (60% saved)

localize18.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))
0.0b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
Compiler

Compiled 40 to 25 computations (37.5% saved)

series5.0ms (0.1%)

Counts
2 → 36
Calls

9 calls:

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

rewrite78.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
588×log-prod_binary64
511×fma-def_binary64
468×pow-prod-down_binary64
311×pow2_binary64
251×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01131
124127
2339427
Stop Event
node limit
Counts
2 → 148
Calls
Call 1
Inputs
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 re (cos.f64 im)) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1) (*.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) re) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))) 2)) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3) (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (pow.f64 re 6) 1/8))) (+.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 2) (-.f64 (pow.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) 2) (*.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 2) (pow.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) 2)) (-.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (cos.f64 im)) (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (cos.f64 im)) (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4))) (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)))) (exp.f64 (*.f64 (cos.f64 im) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) re (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 re 1) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (cos.f64 im) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 (*.f64 re 1/2) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re 1/2) (*.f64 re (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (*.f64 re 1/2)) (cos.f64 im) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 1/2 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (*.f64 (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (*.f64 (cbrt.f64 (+.f64 re 1)) (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 re (*.f64 re 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 1/2)) (*.f64 (*.f64 re (sqrt.f64 1/2)) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 re 1)) (*.f64 (sqrt.f64 (+.f64 re 1)) (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (*.f64 re 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 1 (*.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re 1))) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re (sqrt.f64 1/2)) (sqrt.f64 (cos.f64 im))) (*.f64 (*.f64 re (sqrt.f64 1/2)) (sqrt.f64 (cos.f64 im))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) re) (*.f64 re 1/2) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re 1/2)) re (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re re)) 1/2 (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (cbrt.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4))) (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re (sqrt.f64 1/2))) (*.f64 re (sqrt.f64 1/2)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (*.f64 (*.f64 re (sqrt.f64 1/2)) (cbrt.f64 (cos.f64 im))) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re (*.f64 re 1/2)) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 re 1) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 re 1) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (+.f64 re 1)) 2)) (cbrt.f64 (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (sqrt.f64 (+.f64 re 1))) (sqrt.f64 (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 re 1) 2) (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2))))) (/.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4) (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) (pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 2) (cbrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) (sqrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (/.f64 1 (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (/.f64 1 (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2)) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2)))) (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3)) (fma.f64 (pow.f64 (*.f64 re re) 2) 1/4 (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (*.f64 (+.f64 re 1) re) (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) (neg.f64 (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4))) (neg.f64 (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 re 3) (pow.f64 (fma.f64 re (*.f64 re 1/2) 1) 3)) (fma.f64 re re (-.f64 (pow.f64 (fma.f64 re (*.f64 re 1/2) 1) 2) (*.f64 re (fma.f64 re (*.f64 re 1/2) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 re re) (pow.f64 (fma.f64 re (*.f64 re 1/2) 1) 2)) (-.f64 re (fma.f64 re (*.f64 re 1/2) 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4) (pow.f64 (+.f64 re 1) 2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 2) 1/2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (fma.f64 (*.f64 re (*.f64 re 1/2)) (fma.f64 re (*.f64 re 1/2) (neg.f64 (+.f64 re 1))) (pow.f64 (+.f64 re 1) 2)) (fma.f64 (pow.f64 re 6) 1/8 (pow.f64 (+.f64 re 1) 3))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (/.f64 (+.f64 re (-.f64 1 (*.f64 re (*.f64 re 1/2)))) (-.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4))) -1)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 re)) (exp.f64 (fma.f64 re (*.f64 re 1/2) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 re 1))) (pow.f64 (sqrt.f64 (exp.f64 re)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 re 1)) (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 re 1))) (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re 1/2)))) (exp.f64 (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (sqrt.f64 (exp.f64 re)) re) (+.f64 1 (expm1.f64 (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re 1/2)))) (+.f64 1 (expm1.f64 (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 re (*.f64 re 1/2) 1)) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (fma.f64 re (*.f64 re 1/2) 1)) (+.f64 1 (expm1.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (+.f64 re (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log1p.f64 (+.f64 re (*.f64 re (*.f64 re 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re 1 (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re 1 (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 re 1/2) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 re (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 re (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re (*.f64 re 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 re (*.f64 re 1/2) 1) re)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) 1 (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 re re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re 1/2) re (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (*.f64 re 1/2)) 1 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) 1/2 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 re 1/2)) 2) (*.f64 (cbrt.f64 (*.f64 re 1/2)) re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (cbrt.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 (*.f64 re (sqrt.f64 1/2)) 4)) (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (+.f64 re 1)) (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (+.f64 re 1)) 2) (cbrt.f64 (+.f64 re 1)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 re) (pow.f64 (cbrt.f64 re) 2) (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 re) (pow.f64 (cbrt.f64 re) 2) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (cbrt.f64 re) (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (cbrt.f64 re) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) 1) (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) 1) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) (*.f64 re 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 re 1/2)) (*.f64 (sqrt.f64 (*.f64 re 1/2)) re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 1/2)) (*.f64 re (sqrt.f64 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (+.f64 re 1)) (sqrt.f64 (+.f64 re 1)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (sqrt.f64 re) (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (sqrt.f64 re) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) 1) (fma.f64 re (*.f64 re 1/2) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) 1) (*.f64 (fma.f64 re (*.f64 re 1/2) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) (*.f64 re 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 re 3)) (/.f64 1 (-.f64 (fma.f64 re re 1) re)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re re -1) (/.f64 1 (+.f64 re -1)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re 1/2) 1)) 2) (cbrt.f64 (fma.f64 re (*.f64 re 1/2) 1)) re)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (*.f64 re (sqrt.f64 1/2))) (hypot.f64 1 (*.f64 re (sqrt.f64 1/2))) re)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (pow.f64 (cbrt.f64 (*.f64 re 1/2)) 2)) (cbrt.f64 (*.f64 re 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (*.f64 re 1/2))) (sqrt.f64 (*.f64 re 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re 1/2) (pow.f64 (cbrt.f64 re) 2)) (cbrt.f64 re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re 1/2) (sqrt.f64 re)) (sqrt.f64 re) (+.f64 re 1))))))

simplify156.0ms (2.7%)

Algorithm
egg-herbie
Rules
948×distribute-rgt-in_binary64
791×distribute-lft-in_binary64
540×sqr-pow_binary64
452×*-commutative_binary64
320×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
042565
1121561
2404525
31860504
43513494
54273494
64425494
74596494
84764494
94986494
106731494
117140494
127581494
Stop Event
node limit
Counts
184 → 173
Calls
Call 1
Inputs
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(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/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.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 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.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)))
1
(+.f64 1 re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(*.f64 1/2 (pow.f64 re 2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(*.f64 1/2 (pow.f64 re 2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
Outputs
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re)))
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re)))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) re) (fma.f64 1/2 (*.f64 re re) 1))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4))))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 re (+.f64 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))) (fma.f64 1/2 (*.f64 re re) 1)))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))))
(fma.f64 1/2 (*.f64 re re) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 6)) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4)))))))
(fma.f64 1/2 (*.f64 re re) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 -1/720 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 6)) 1)))
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 (+.f64 re 1) -1/720 (*.f64 (*.f64 re re) -1/1440)) 1) (+.f64 (fma.f64 1/2 (*.f64 re re) re) (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4))))))
(+.f64 (fma.f64 1/2 (*.f64 re re) 1) (+.f64 re (*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 (*.f64 im im) (+.f64 (*.f64 (*.f64 im im) 1/24) -1/2))))))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(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 (*.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 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) 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 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)))
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))))
(*.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im)))
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re))
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 1/2 re) re))
(+.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 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) 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 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)))
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))))
(*.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im)))
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re))
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 1/2 re) re))
(+.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 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) 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 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
1
(+.f64 1 re)
(+.f64 re 1)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(fma.f64 1/2 (*.f64 re re) re)
(fma.f64 re (*.f64 1/2 re) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(fma.f64 1/2 (*.f64 re re) re)
(fma.f64 re (*.f64 1/2 re) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
2.3b
(log.f64 (cos.f64 im))
Compiler

Compiled 20 to 6 computations (70% saved)

series85.0ms (1.5%)

Counts
2 → 28
Calls

9 calls:

TimeVariablePointExpression
35.0ms
im
@inf
(log.f64 (cos.f64 im))
33.0ms
re
@0
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
13.0ms
im
@-inf
(log.f64 (cos.f64 im))
1.0ms
im
@0
(log.f64 (cos.f64 im))
0.0ms
im
@0
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))

rewrite54.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
754×pow1_binary64
697×add-log-exp_binary64
697×log1p-expm1-u_binary64
697×expm1-log1p-u_binary64
681×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
114213
2188313
Stop Event
node limit
Counts
2 → 42
Calls
Call 1
Inputs
(log.f64 (cos.f64 im))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (cos.f64 im))) (log.f64 (sqrt.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (log.f64 (cbrt.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (log.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (log.f64 (cos.f64 im))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (log.f64 (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (log.f64 (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (log.f64 (cos.f64 im))) (pow.f64 (cbrt.f64 (log.f64 (cos.f64 im))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (log.f64 (cos.f64 im))) 2) (cbrt.f64 (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (log.f64 (cos.f64 im))) (sqrt.f64 (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (log.f64 (cos.f64 im)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (log.f64 (cos.f64 im))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (log.f64 (cos.f64 im))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (log.f64 (cos.f64 im)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (log.f64 (cos.f64 im)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (log.f64 (cos.f64 im)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (-.f64 (cos.f64 im) 1))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (log.f64 (cos.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 1 (expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 (cos.f64 im) (exp.f64 re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (exp.f64 re))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 (cos.f64 im) (exp.f64 re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (exp.f64 re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) 2) (cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) (sqrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 (exp.f64 re) 1) (cos.f64 im))))) (#(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 pow.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (exp.f64 re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 2)) (cbrt.f64 (+.f64 (log.f64 (cos.f64 im)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 (sqrt.f64 (+.f64 (log.f64 (cos.f64 im)) re))) (sqrt.f64 (+.f64 (log.f64 (cos.f64 im)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (exp.f64 1) (+.f64 (log.f64 (cos.f64 im)) re))))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (exp.f64 re)) 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 (cos.f64 im) (exp.f64 re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (exp.f64 re))))))))

simplify78.0ms (1.4%)

Algorithm
egg-herbie
Rules
683×unsub-neg_binary64
519×distribute-lft-out_binary64
350×unswap-sqr_binary64
291×*-commutative_binary64
259×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
059382
1155348
2388340
31359329
42972325
57737325
Stop Event
node limit
Counts
70 → 66
Calls
Call 1
Inputs
(*.f64 -1/2 (pow.f64 im 2))
(+.f64 (*.f64 -1/12 (pow.f64 im 4)) (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 (*.f64 -1/12 (pow.f64 im 4)) (+.f64 (*.f64 -1/45 (pow.f64 im 6)) (*.f64 -1/2 (pow.f64 im 2))))
(+.f64 (*.f64 -17/2520 (pow.f64 im 8)) (+.f64 (*.f64 -1/12 (pow.f64 im 4)) (+.f64 (*.f64 -1/45 (pow.f64 im 6)) (*.f64 -1/2 (pow.f64 im 2)))))
(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 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(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))))))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
Outputs
(*.f64 -1/2 (pow.f64 im 2))
(*.f64 -1/2 (*.f64 im im))
(+.f64 (*.f64 -1/12 (pow.f64 im 4)) (*.f64 -1/2 (pow.f64 im 2)))
(fma.f64 -1/12 (pow.f64 im 4) (*.f64 -1/2 (*.f64 im im)))
(fma.f64 -1/2 (*.f64 im im) (*.f64 -1/12 (pow.f64 im 4)))
(+.f64 (*.f64 -1/12 (pow.f64 im 4)) (+.f64 (*.f64 -1/45 (pow.f64 im 6)) (*.f64 -1/2 (pow.f64 im 2))))
(fma.f64 -1/12 (pow.f64 im 4) (fma.f64 -1/45 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im))))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 -1/12 (pow.f64 im 4) (*.f64 -1/45 (pow.f64 im 6))))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 -1/45 (pow.f64 im 6) (*.f64 -1/12 (pow.f64 im 4))))
(+.f64 (*.f64 -17/2520 (pow.f64 im 8)) (+.f64 (*.f64 -1/12 (pow.f64 im 4)) (+.f64 (*.f64 -1/45 (pow.f64 im 6)) (*.f64 -1/2 (pow.f64 im 2)))))
(fma.f64 -17/2520 (pow.f64 im 8) (fma.f64 -1/12 (pow.f64 im 4) (fma.f64 -1/45 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im)))))
(fma.f64 -1/12 (pow.f64 im 4) (fma.f64 -17/2520 (pow.f64 im 8) (fma.f64 -1/2 (*.f64 im im) (*.f64 -1/45 (pow.f64 im 6)))))
(fma.f64 -1/12 (pow.f64 im 4) (fma.f64 -17/2520 (pow.f64 im 8) (fma.f64 -1/45 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im)))))
(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 1/2 (*.f64 re re))))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 1/2 (*.f64 re re)))))
(*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) 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 1) (*.f64 1/2 (*.f64 re re)))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)) (+.f64 re 1)))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (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 (*.f64 im im) (exp.f64 re)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (exp.f64 re))
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) 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 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 (pow.f64 im 4) 1/24))))
(*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 (pow.f64 im 4) 1/24)))
(*.f64 (exp.f64 re) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 (pow.f64 im 4) 1/24))))
(+.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 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re))))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (fma.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re)) (exp.f64 re))))
(+.f64 (fma.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) 1/24) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 (pow.f64 im 6) -1/720) (*.f64 -1/2 (*.f64 im im)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 (pow.f64 im 6) -1/720) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 (pow.f64 im 4) 1/24)))))
(*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 (*.f64 (pow.f64 im 6) -1/720) (*.f64 (pow.f64 im 4) 1/24))))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (cos.f64 im) (exp.f64 re))

eval148.0ms (2.6%)

Compiler

Compiled 6940 to 4152 computations (40.2% saved)

prune59.0ms (1%)

Pruning

12 alts after pruning (3 fresh and 9 done)

PrunedKeptTotal
New3502352
Fresh011
Picked011
Done189
Total35112363
Error
0b
Counts
363 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
20.3b
(+.f64 re (cos.f64 im))
18.5b
(exp.f64 re)
20.0b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
15.3b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
20.0b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
15.5b
(+.f64 1 (expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re)))
20.0b
(*.f64 (cos.f64 im) (+.f64 re 1))
20.0b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
20.2b
(cos.f64 im)
38.2b
(+.f64 re 1)
20.6b
(log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))
Compiler

Compiled 103 to 75 computations (27.2% saved)

localize15.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cos.f64 im) (+.f64 1 re))
0.0b
(exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re)))
0.2b
(log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))
Compiler

Compiled 31 to 18 computations (41.9% saved)

series7.0ms (0.1%)

Counts
3 → 64
Calls

18 calls:

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

rewrite146.0ms (2.6%)

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

Useful iterations: 0 (0.0ms)

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

simplify66.0ms (1.2%)

Algorithm
egg-herbie
Rules
667×distribute-rgt-out_binary64
665×fma-def_binary64
646×associate-*l*_binary64
636×associate-*r*_binary64
419×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
081953
1260925
2908854
35441835
Stop Event
node limit
Counts
162 → 97
Calls
Call 1
Inputs
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(exp.f64 (+.f64 1 re))
(+.f64 (exp.f64 (+.f64 1 re)) (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (exp.f64 (+.f64 1 re)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))) (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 4) (+.f64 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/24 (+.f64 1 re)))))))
(+.f64 (exp.f64 (+.f64 1 re)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))) (+.f64 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 6) (+.f64 (*.f64 -1/48 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/720 (+.f64 1 re)) (*.f64 -1/48 (pow.f64 (+.f64 1 re) 2)))))) (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 4) (+.f64 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/24 (+.f64 1 re))))))))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (cos.f64 im))
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))) (+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))) (+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 1/6 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)))))))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
Outputs
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re))
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) 1))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 1))
(*.f64 (+.f64 1 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) (+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) 1)))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1)))
(fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (*.f64 (+.f64 1 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(exp.f64 (+.f64 1 re))
(+.f64 (exp.f64 (+.f64 1 re)) (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (exp.f64 (+.f64 1 re)) (*.f64 -1/2 (*.f64 (*.f64 (+.f64 1 re) (*.f64 im im)) (exp.f64 (+.f64 1 re)))))
(fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 (*.f64 im im) (exp.f64 (+.f64 1 re)))) (exp.f64 (+.f64 1 re)))
(*.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1) (exp.f64 (+.f64 1 re)))
(*.f64 (exp.f64 (+.f64 1 re)) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 (exp.f64 (+.f64 1 re)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))) (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 4) (+.f64 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/24 (+.f64 1 re)))))))
(+.f64 (exp.f64 (+.f64 1 re)) (fma.f64 -1/2 (*.f64 (*.f64 (+.f64 1 re) (*.f64 im im)) (exp.f64 (+.f64 1 re))) (*.f64 (*.f64 (exp.f64 (+.f64 1 re)) (pow.f64 im 4)) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (+.f64 1/24 (*.f64 re 1/24))))))
(fma.f64 (E.f64) (exp.f64 re) (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 (*.f64 im im) (exp.f64 (+.f64 1 re)))) (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 4) (fma.f64 (+.f64 1 re) 1/24 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2)))))))
(fma.f64 (pow.f64 im 4) (*.f64 (exp.f64 (+.f64 1 re)) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (fma.f64 re 1/24 1/24))) (*.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1) (exp.f64 (+.f64 1 re))))
(*.f64 (exp.f64 (+.f64 1 re)) (+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1) (*.f64 (pow.f64 im 4) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (fma.f64 re 1/24 1/24)))))
(+.f64 (exp.f64 (+.f64 1 re)) (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (+.f64 1 re) (pow.f64 im 2)))) (+.f64 (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 6) (+.f64 (*.f64 -1/48 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/720 (+.f64 1 re)) (*.f64 -1/48 (pow.f64 (+.f64 1 re) 2)))))) (*.f64 (exp.f64 (+.f64 1 re)) (*.f64 (pow.f64 im 4) (+.f64 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/24 (+.f64 1 re))))))))
(+.f64 (exp.f64 (+.f64 1 re)) (fma.f64 -1/2 (*.f64 (*.f64 (+.f64 1 re) (*.f64 im im)) (exp.f64 (+.f64 1 re))) (*.f64 (exp.f64 (+.f64 1 re)) (+.f64 (*.f64 (pow.f64 im 6) (fma.f64 -1/48 (pow.f64 (+.f64 1 re) 3) (fma.f64 -1/720 (+.f64 1 re) (*.f64 (pow.f64 (+.f64 1 re) 2) -1/48)))) (*.f64 (pow.f64 im 4) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (+.f64 1/24 (*.f64 re 1/24))))))))
(fma.f64 (E.f64) (exp.f64 re) (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 (*.f64 im im) (exp.f64 (+.f64 1 re)))) (*.f64 (exp.f64 (+.f64 1 re)) (fma.f64 (pow.f64 im 6) (fma.f64 -1/48 (pow.f64 (+.f64 1 re) 3) (fma.f64 (+.f64 1 re) -1/720 (*.f64 (pow.f64 (+.f64 1 re) 2) -1/48))) (*.f64 (pow.f64 im 4) (fma.f64 (+.f64 1 re) 1/24 (*.f64 1/8 (pow.f64 (+.f64 1 re) 2))))))))
(fma.f64 (exp.f64 (+.f64 1 re)) (fma.f64 (pow.f64 im 4) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (fma.f64 re 1/24 1/24)) (*.f64 (pow.f64 im 6) (fma.f64 (pow.f64 (+.f64 1 re) 2) -1/48 (fma.f64 -1/48 (pow.f64 (+.f64 1 re) 3) (fma.f64 re -1/720 -1/720))))) (*.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1) (exp.f64 (+.f64 1 re))))
(*.f64 (exp.f64 (+.f64 1 re)) (+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1) (fma.f64 (pow.f64 im 4) (fma.f64 1/8 (pow.f64 (+.f64 1 re) 2) (fma.f64 re 1/24 1/24)) (*.f64 (pow.f64 im 6) (fma.f64 (pow.f64 (+.f64 1 re) 2) -1/48 (fma.f64 -1/48 (pow.f64 (+.f64 1 re) 3) (fma.f64 re -1/720 -1/720)))))))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (cos.f64 im))
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)))
(+.f64 (exp.f64 (cos.f64 im)) (*.f64 (*.f64 re (cos.f64 im)) (exp.f64 (cos.f64 im))))
(*.f64 (+.f64 (*.f64 re (cos.f64 im)) 1) (exp.f64 (cos.f64 im)))
(*.f64 (exp.f64 (cos.f64 im)) (fma.f64 re (cos.f64 im) 1))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))) (+.f64 (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re))))
(fma.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re))) (+.f64 (exp.f64 (cos.f64 im)) (*.f64 (*.f64 re (cos.f64 im)) (exp.f64 (cos.f64 im)))))
(fma.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re))) (*.f64 (+.f64 (*.f64 re (cos.f64 im)) 1) (exp.f64 (cos.f64 im))))
(*.f64 (exp.f64 (cos.f64 im)) (+.f64 (fma.f64 re (cos.f64 im) 1) (*.f64 1/2 (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re)))))
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))) (+.f64 (exp.f64 (cos.f64 im)) (+.f64 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (cos.f64 im) re)) (*.f64 1/6 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)))))))
(fma.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re))) (+.f64 (exp.f64 (cos.f64 im)) (fma.f64 (exp.f64 (cos.f64 im)) (*.f64 re (cos.f64 im)) (*.f64 1/6 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)))))))
(+.f64 (fma.f64 1/2 (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re))) (*.f64 (+.f64 (*.f64 re (cos.f64 im)) 1) (exp.f64 (cos.f64 im)))) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) 1/6)))
(fma.f64 (exp.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re))) (*.f64 (exp.f64 (cos.f64 im)) (+.f64 (fma.f64 re (cos.f64 im) 1) (*.f64 1/6 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3))))))
(fma.f64 (fma.f64 re (cos.f64 im) 1) (exp.f64 (cos.f64 im)) (*.f64 (exp.f64 (cos.f64 im)) (*.f64 (pow.f64 (cos.f64 im) 2) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 re (*.f64 re 1/2))))))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (+.f64 1 re) (cos.f64 im)))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(exp.f64 (*.f64 (cos.f64 im) (-.f64 1 (*.f64 -1 re))))
(pow.f64 (exp.f64 (+.f64 1 re)) (cos.f64 im))
(pow.f64 (exp.f64 (cos.f64 im)) (+.f64 1 re))
(+.f64 1 re)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))
(+.f64 1 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re))
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) 1))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 1))
(*.f64 (+.f64 1 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) (+.f64 (+.f64 1 re) (*.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im))))))
(fma.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4)) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 1 re) (*.f64 im im)) re) (fma.f64 -1/720 (*.f64 (+.f64 1 re) (pow.f64 im 6)) 1)))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 1)))
(fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (*.f64 (+.f64 1 re) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))

localize26.0ms (0.5%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
0.0b
(*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))
0.3b
(*.f64 re 1/6)
Compiler

Compiled 69 to 41 computations (40.6% saved)

series7.0ms (0.1%)

Counts
3 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
im
@inf
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
1.0ms
im
@0
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
1.0ms
re
@inf
(*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))
1.0ms
im
@-inf
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
1.0ms
re
@0
(*.f64 re 1/6)

rewrite93.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
735×log-prod_binary64
721×fma-def_binary64
342×fma-neg_binary64
272×expm1-udef_binary64
272×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01441
131735
2454235
Stop Event
node limit
Counts
3 → 134
Calls
Call 1
Inputs
(*.f64 re 1/6)
(*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 re 1/6))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) re)) (cbrt.f64 (pow.f64 (exp.f64 1/6) re)))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 1/6) re))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) re))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 1/6) re))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 re 1/6))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 re 1/6) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 re 1/6)) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 re 1/6)) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 1/216 (pow.f64 re 3)) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 re 1/6) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 1/6) re))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 re 1/6))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 1/216 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 re 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 re 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 re 1/6)))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 re 1/6)) 1))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 re (*.f64 re 1/2)) 1) (*.f64 (*.f64 1/6 (pow.f64 re 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2)))) (cbrt.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2)))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 re (*.f64 re 1/2)) 3) (pow.f64 (*.f64 1/6 (pow.f64 re 3)) 3)) (fma.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 re (*.f64 re 1/2)) (-.f64 (*.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/6 (pow.f64 re 3))) (*.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 re (*.f64 re 1/2))) (*.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/6 (pow.f64 re 3)))) (-.f64 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (fma.f64 1/216 (pow.f64 re 3) 1/8) (*.f64 re re)) (fma.f64 (*.f64 re 1/6) (fma.f64 re 1/6 -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1/4 (pow.f64 (*.f64 re 1/6) 2)) (*.f64 re re)) (+.f64 1/2 (*.f64 -1/6 re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 re re) (fma.f64 1/216 (pow.f64 re 3) 1/8)) (fma.f64 (*.f64 re 1/6) (fma.f64 re 1/6 -1/2) 1/4))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (*.f64 re re) (-.f64 1/4 (pow.f64 (*.f64 re 1/6) 2))) (+.f64 1/2 (*.f64 -1/6 re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 1/6 (pow.f64 re 3))) (exp.f64 (*.f64 re (*.f64 re 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (log.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 re (*.f64 re 1/6)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 re 1/2) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 1/6 (*.f64 re re)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/6 (pow.f64 re 3) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re 1/6) (*.f64 re re) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 re 1/6) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) 1/2 (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re (*.f64 re 1/2)) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 1/6 (pow.f64 re 3)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 re 4)) (*.f64 (pow.f64 (cbrt.f64 re) 2) 1/2) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 re 4)) (*.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 re 1/6)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 re 1/6)) 2) (*.f64 (cbrt.f64 (*.f64 re 1/6)) (*.f64 re re)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 re 1/6)) (*.f64 (sqrt.f64 (*.f64 re 1/6)) (*.f64 re re)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 re 3) 1/6 (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (*.f64 re 1/2)) 1 (*.f64 (*.f64 1/6 (pow.f64 re 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (cbrt.f64 (*.f64 re (*.f64 re 1/2)))) (cbrt.f64 (*.f64 re (*.f64 re 1/2))) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 1/6 (pow.f64 re 3))) (cbrt.f64 (*.f64 1/6 (pow.f64 re 3)))) (cbrt.f64 (*.f64 1/6 (pow.f64 re 3))) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 re (*.f64 re 1/2))) (sqrt.f64 (*.f64 re (*.f64 re 1/2))) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 1/6 (pow.f64 re 3))) (sqrt.f64 (*.f64 1/6 (pow.f64 re 3))) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (*.f64 re 1/6))) (*.f64 re (sqrt.f64 (*.f64 re 1/6))) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (*.f64 re 1/6)) re) (*.f64 (sqrt.f64 (*.f64 re 1/6)) re) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re 1/6) re) re (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 re) re (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) 1/6) re (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) (pow.f64 (cbrt.f64 (*.f64 re 1/6)) 2)) (cbrt.f64 (*.f64 re 1/6)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) (sqrt.f64 (*.f64 re 1/6))) (sqrt.f64 (*.f64 re 1/6)) (*.f64 re (*.f64 re 1/2)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re 1/6) (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (*.f64 re (*.f64 re 1/2)))))))
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 0 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) (*.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im))) (cbrt.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 3)) (+.f64 (pow.f64 (cos.f64 im) 2) (-.f64 (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (*.f64 (cos.f64 im) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (cos.f64 im) 2) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))) (-.f64 (cos.f64 im) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 1 (pow.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 3)) (cos.f64 im)) (fma.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (-.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (-.f64 1 (pow.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 2)) (cos.f64 im)) (-.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (+.f64 1 (pow.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 3))) (fma.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (-.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 1) 1))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (-.f64 1 (pow.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 2))) (-.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (cos.f64 im))) (exp.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (exp.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (+.f64 1 (expm1.f64 (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)) 3) (pow.f64 (cos.f64 im) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (+.f64 (log1p.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (log.f64 (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (*.f64 (+.f64 (log1p.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (log.f64 (cos.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (+.f64 re 1) (*.f64 (cos.f64 im) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (cos.f64 im) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 2) (*.f64 (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (*.f64 (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) 1) (*.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cbrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))) (cbrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (sqrt.f64 (*.f64 (cos.f64 im) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (*.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (sqrt.f64 (cos.f64 im))) (*.f64 (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (sqrt.f64 (cos.f64 im))) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (pow.f64 (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 2)) (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (sqrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (cos.f64 im))))))

simplify124.0ms (2.2%)

Algorithm
egg-herbie
Rules
1126×distribute-rgt-in_binary64
936×distribute-lft-in_binary64
405×+-commutative_binary64
402×*-commutative_binary64
384×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
052826
1159757
2538661
32674642
43714629
54354629
64529629
74733629
84928629
97938629
Stop Event
node limit
Counts
182 → 163
Calls
Call 1
Inputs
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/2 (pow.f64 re 2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2))))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2))))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(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 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.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 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.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 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
Outputs
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/6 re)
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 re (*.f64 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))
(+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2))))
(+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))))
(+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re))
(+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1))
(+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(fma.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (*.f64 im im)) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))))
(+.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (*.f64 im im)) 1))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (*.f64 im im)) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (pow.f64 im 4)) (+.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (*.f64 im im)) 1)))
(fma.f64 (*.f64 im im) (fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) -1/2 -1/2) (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1))))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (*.f64 im (+.f64 (*.f64 -1/2 im) (*.f64 1/24 (pow.f64 im 3)))) 1))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 4))) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 2))) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))) (pow.f64 im 6))) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (*.f64 im im)) (fma.f64 -1/720 (*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (pow.f64 im 6)) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))))))
(fma.f64 1/24 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (*.f64 im im)) (fma.f64 -1/720 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (pow.f64 im 6)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1) (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1))) (*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(fma.f64 (*.f64 im im) (fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) -1/2 -1/2) (*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))) (*.f64 im (+.f64 (*.f64 -1/2 im) (*.f64 1/24 (pow.f64 im 3))))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (pow.f64 re 2) (+.f64 (*.f64 1/6 re) 1/2)))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(fma.f64 re (cos.f64 im) (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 (*.f64 re re) (cos.f64 im)) (fma.f64 (cos.f64 im) re (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (fma.f64 re (cos.f64 im) (cos.f64 im)))
(+.f64 (cos.f64 im) (*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re)))
(*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) 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))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
(*.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)))
(*.f64 (pow.f64 re 3) (*.f64 1/6 (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im)))))
(*.f64 re (*.f64 (*.f64 re (fma.f64 1/6 re 1/2)) (cos.f64 im)))
(*.f64 re (*.f64 re (*.f64 (fma.f64 1/6 re 1/2) (cos.f64 im))))
(*.f64 (*.f64 re re) (*.f64 (fma.f64 1/6 re 1/2) (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(*.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))
(*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)))
(*.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)))
(*.f64 (pow.f64 re 3) (*.f64 1/6 (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im)))))
(*.f64 re (*.f64 (*.f64 re (fma.f64 1/6 re 1/2)) (cos.f64 im)))
(*.f64 re (*.f64 re (*.f64 (fma.f64 1/6 re 1/2) (cos.f64 im))))
(*.f64 (*.f64 re re) (*.f64 (fma.f64 1/6 re 1/2) (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(*.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(*.f64 (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (fma.f64 1/6 re 1/2)))) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) 1)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (cos.f64 im) (cos.f64 im))

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re))
0.3b
(+.f64 1 (expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re)))
2.3b
(log.f64 (cos.f64 im))
Compiler

Compiled 29 to 9 computations (69% saved)

series4.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite68.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
970×pow1_binary64
898×log1p-expm1-u_binary64
898×expm1-log1p-u_binary64
897×add-log-exp_binary64
95×add-sqr-sqrt_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify56.0ms (1%)

Algorithm
egg-herbie
Rules
958×unsub-neg_binary64
797×fma-neg_binary64
304×cancel-sign-sub-inv_binary64
280×unswap-sqr_binary64
254×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
057644
1158589
2409566
31464544
43424535
Stop Event
node limit
Counts
105 → 91
Calls
Call 1
Inputs
(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))))))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(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 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(-.f64 (exp.f64 re) 1)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) 1)
(-.f64 (+.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))) 1)
(-.f64 (+.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)))))) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (cos.f64 im) 1)
(-.f64 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) 1)
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) 1)
(-.f64 (+.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)))) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
Outputs
(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 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (exp.f64 re))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (exp.f64 re))
(fma.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im)) (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)))
(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)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(+.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 (exp.f64 re) (*.f64 im im)) (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/2 (*.f64 im im)) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6))) (*.f64 -1/2 (*.f64 im im)))))
(*.f64 (exp.f64 re) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(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))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.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 re (*.f64 re (cos.f64 im))) (*.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) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) 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 re (*.f64 re (cos.f64 im))) (*.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 1) (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)) (+.f64 re 1)))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (+.f64 (log.f64 (cos.f64 im)) re))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re)))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(*.f64 (exp.f64 re) (cos.f64 im))
(-.f64 (exp.f64 re) 1)
(expm1.f64 re)
(-.f64 (+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re)) 1)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im))) (expm1.f64 re))
(fma.f64 (*.f64 (exp.f64 re) -1/2) (*.f64 im im) (expm1.f64 re))
(fma.f64 (exp.f64 re) (*.f64 -1/2 (*.f64 im im)) (expm1.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (expm1.f64 re))
(-.f64 (+.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))) 1)
(+.f64 (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))) -1)
(+.f64 (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (*.f64 (exp.f64 re) (*.f64 (pow.f64 im 4) 1/24))) (expm1.f64 re))
(+.f64 (expm1.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (expm1.f64 re) (*.f64 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (*.f64 (*.f64 im im) 1/24) -1/2)))
(fma.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))) -1)
(-.f64 (+.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)))))) 1)
(+.f64 (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))))) -1)
(+.f64 (fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (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)))) -1)
(+.f64 (fma.f64 (exp.f64 re) (*.f64 1/24 (pow.f64 im 4)) (expm1.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 -1/2 (*.f64 im im)))))
(+.f64 (expm1.f64 re) (*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6))) (*.f64 -1/2 (*.f64 im im)))))
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (cos.f64 im) 1)
(+.f64 (cos.f64 im) -1)
(-.f64 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)) 1)
(+.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)
(fma.f64 (cos.f64 im) (+.f64 re 1) -1)
(-.f64 (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))) 1)
(+.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 re (*.f64 re (cos.f64 im))) (*.f64 (+.f64 re 1) (cos.f64 im))) -1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) -1)
(fma.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 re (*.f64 re 1/2)))) -1)
(fma.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re 1/2) re)) -1)
(-.f64 (+.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)))) 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)) (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 re (*.f64 re (cos.f64 im))) (*.f64 (+.f64 re 1) (cos.f64 im)))) -1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))) (fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) -1))
(+.f64 (*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2)) (+.f64 re 1))) -1)
(fma.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2))) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (+.f64 (log.f64 (cos.f64 im)) re)) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)
(-.f64 (exp.f64 (-.f64 (log.f64 (cos.f64 im)) (*.f64 -1 re))) 1)
(expm1.f64 (+.f64 re (log.f64 (cos.f64 im))))
(fma.f64 (cos.f64 im) (exp.f64 re) -1)
(fma.f64 (exp.f64 re) (cos.f64 im) -1)

eval146.0ms (2.6%)

Compiler

Compiled 6548 to 3786 computations (42.2% saved)

prune66.0ms (1.2%)

Pruning

12 alts after pruning (0 fresh and 12 done)

PrunedKeptTotal
New3770377
Fresh000
Picked011
Done01111
Total37712389
Error
0b
Counts
389 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
20.3b
(+.f64 re (cos.f64 im))
18.5b
(exp.f64 re)
20.0b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
15.3b
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
20.0b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
15.5b
(+.f64 1 (expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re)))
20.0b
(*.f64 (cos.f64 im) (+.f64 re 1))
20.0b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
20.2b
(cos.f64 im)
38.2b
(+.f64 re 1)
20.6b
(log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))
Compiler

Compiled 103 to 75 computations (27.2% saved)

regimes97.0ms (1.7%)

Counts
16 → 1
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
(+.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(exp.f64 (+.f64 re (log.f64 (cos.f64 im))))
(+.f64 1 (expm1.f64 (+.f64 (log.f64 (cos.f64 im)) re)))
(log.f64 (exp.f64 (*.f64 (cos.f64 im) (+.f64 1 re))))
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
(cbrt.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3))
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
Calls

5 calls:

50.0ms
im
16.0ms
re
10.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
10.0ms
(cos.f64 im)
5.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.0b1re
0.0b1im
0.0b1(*.f64 (exp.f64 re) (cos.f64 im))
0.0b1(exp.f64 re)
0.0b1(cos.f64 im)
Compiler

Compiled 132 to 65 computations (50.8% saved)

regimes129.0ms (2.3%)

Counts
7 → 2
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
(+.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
Outputs
(exp.f64 re)
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
Calls

5 calls:

36.0ms
(exp.f64 re)
31.0ms
(cos.f64 im)
29.0ms
im
20.0ms
re
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.4b2re
8.5b3im
0.4b2(exp.f64 re)
0.4b2(exp.f64 re)
7.0b4(cos.f64 im)
Compiler

Compiled 65 to 40 computations (38.5% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.629325515064588e-25
0.9989185274639582
Compiler

Compiled 12 to 9 computations (25% saved)

regimes136.0ms (2.4%)

Counts
6 → 2
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
(+.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
Outputs
(exp.f64 re)
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
Calls

5 calls:

61.0ms
(cos.f64 im)
31.0ms
re
27.0ms
im
7.0ms
(exp.f64 re)
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.5b2re
8.5b3im
0.5b2(exp.f64 re)
0.5b2(exp.f64 re)
7.1b4(cos.f64 im)
Compiler

Compiled 49 to 30 computations (38.8% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.629325515064588e-25
0.9989185274639582
Compiler

Compiled 12 to 9 computations (25% saved)

regimes92.0ms (1.6%)

Counts
5 → 2
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
(+.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
Outputs
(exp.f64 re)
(*.f64 (cos.f64 im) (+.f64 re 1))
Calls

5 calls:

28.0ms
(cos.f64 im)
27.0ms
im
19.0ms
re
7.0ms
(exp.f64 re)
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.7b2re
8.6b3im
0.7b2(exp.f64 re)
0.7b2(exp.f64 re)
7.3b4(cos.f64 im)
Compiler

Compiled 37 to 23 computations (37.8% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.629325515064588e-25
0.9989185274639582
Compiler

Compiled 12 to 9 computations (25% saved)

regimes86.0ms (1.5%)

Counts
4 → 2
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
(+.f64 re (cos.f64 im))
Outputs
(exp.f64 re)
(+.f64 re (cos.f64 im))
Calls

5 calls:

28.0ms
(cos.f64 im)
24.0ms
im
18.0ms
re
7.0ms
(exp.f64 re)
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
1.0b2re
8.9b3im
1.0b2(exp.f64 re)
1.0b2(exp.f64 re)
7.5b4(cos.f64 im)
Compiler

Compiled 31 to 20 computations (35.5% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.629325515064588e-25
0.9989185274639582
Compiler

Compiled 12 to 9 computations (25% saved)

regimes74.0ms (1.3%)

Counts
3 → 2
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
(cos.f64 im)
Outputs
(exp.f64 re)
(cos.f64 im)
Calls

4 calls:

25.0ms
(cos.f64 im)
23.0ms
im
17.0ms
re
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
1.1b2re
8.9b3im
1.1b2(exp.f64 re)
7.5b4(cos.f64 im)
Compiler

Compiled 23 to 16 computations (30.4% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
5.629325515064588e-25
0.9989185274639582
Compiler

Compiled 12 to 9 computations (25% saved)

regimes20.0ms (0.4%)

Accuracy

Total -19.7b remaining (-106.2%)

Threshold costs -19.7b (-106.2%)

Counts
2 → 1
Calls
Call 1
Inputs
(+.f64 re 1)
(exp.f64 re)
Outputs
(exp.f64 re)
Calls

3 calls:

8.0ms
re
7.0ms
im
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
18.5b1re
18.5b1im
18.5b1(exp.f64 re)
Compiler

Compiled 17 to 12 computations (29.4% saved)

simplify12.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
031130
147130
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (+.f64 re (cos.f64 im)))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (cos.f64 im))
(exp.f64 re)
(+.f64 re 1)
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (+.f64 re (cos.f64 im)))
(if (<=.f64 (exp.f64 re) 5444517870735015/5444517870735015415413993718908291383296) (exp.f64 re) (cos.f64 im))
(exp.f64 re)
(+.f64 re 1)
Compiler

Compiled 101 to 68 computations (32.7% saved)

soundness0.0ms (0%)

end120.0ms (2.1%)

Compiler

Compiled 87 to 43 computations (50.6% saved)

Profiling

Loading profile data...