Details

Time bar (total: 7.0s)

analyze55.0ms (0.8%)

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

Compiled 8 to 6 computations (25% saved)

sample2.7s (38.4%)

Results
1.3s6185×body256valid
695.0ms1392×body1024valid
328.0ms681×body1024invalid
194.0ms673×body512valid
98.0ms440×body256invalid
78.0ms324×body512invalid
3.0msbody2048valid

preprocess28.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 9 to 7 computations (22.2% saved)

simplify11.0ms (0.2%)

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

eval1.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
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)

localize12.0ms (0.2%)

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)

series7.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

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

rewrite159.0ms (2.3%)

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

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

eval11.0ms (0.2%)

Compiler

Compiled 275 to 141 computations (48.7% saved)

prune18.0ms (0.3%)

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)
23.6b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
10.5b
(pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)
23.8b
(cos.f64 im)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
17.6b
(exp.f64 re)
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
23.6b
(*.f64 (cos.f64 im) (+.f64 re 1))
Compiler

Compiled 117 to 87 computations (25.6% saved)

localize25.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

Compiled 26 to 7 computations (73.1% saved)

series309.0ms (4.4%)

Counts
2 → 48
Calls

12 calls:

TimeVariablePointExpression
114.0ms
re
@-inf
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
68.0ms
im
@-inf
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
66.0ms
im
@inf
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
52.0ms
re
@inf
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
3.0ms
im
@0
(log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im)))

rewrite91.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
611×pow1_binary64
559×expm1-log1p-u_binary64
558×add-log-exp_binary64
558×log1p-expm1-u_binary64
544×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify104.0ms (1.5%)

Algorithm
egg-herbie
Rules
619×distribute-rgt-in_binary64
492×fma-def_binary64
398×associate-*l*_binary64
397×associate-*r*_binary64
366×unswap-sqr_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0101875
1308868
21011846
35099827
Stop Event
node limit
Counts
91 → 75
Calls
Call 1
Inputs
(log.f64 (+.f64 1 (cos.f64 im)))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (log.f64 (+.f64 1 (cos.f64 im))))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (pow.f64 re 2))) (log.f64 (+.f64 1 (cos.f64 im)))))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 -3 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 2 (/.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 (cos.f64 im)) 3))))))) (log.f64 (+.f64 1 (cos.f64 im))))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (exp.f64 re)))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (log.f64 (+.f64 1 (exp.f64 re))))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4))) (log.f64 (+.f64 1 (exp.f64 re)))))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 im 6) (+.f64 (*.f64 -1 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 15 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (*.f64 -30 (/.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (+.f64 1 (exp.f64 re)) 3))))))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4))) (log.f64 (+.f64 1 (exp.f64 re))))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(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
(log.f64 (+.f64 1 (cos.f64 im)))
(log1p.f64 (cos.f64 im))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (log.f64 (+.f64 1 (cos.f64 im))))
(+.f64 (log1p.f64 (cos.f64 im)) (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))))
(+.f64 (log1p.f64 (cos.f64 im)) (*.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re))
(fma.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re (log1p.f64 (cos.f64 im)))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (pow.f64 re 2))) (log.f64 (+.f64 1 (cos.f64 im)))))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (fma.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (neg.f64 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (*.f64 re re)) (log1p.f64 (cos.f64 im))))
(+.f64 (*.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re) (fma.f64 1/2 (*.f64 (-.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 re re)) (log1p.f64 (cos.f64 im))))
(fma.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re (fma.f64 (-.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 re (*.f64 re 1/2)) (log1p.f64 (cos.f64 im))))
(fma.f64 (*.f64 (+.f64 (/.f64 (neg.f64 (cos.f64 im)) (+.f64 1 (cos.f64 im))) 1) (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im)))) (*.f64 re (*.f64 re 1/2)) (fma.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re (log1p.f64 (cos.f64 im))))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (*.f64 -1 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (+.f64 (*.f64 -3 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 2 (/.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 (cos.f64 im)) 3))))))) (log.f64 (+.f64 1 (cos.f64 im))))))
(+.f64 (/.f64 (*.f64 (cos.f64 im) re) (+.f64 1 (cos.f64 im))) (fma.f64 1/2 (*.f64 (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (neg.f64 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)))) (*.f64 re re)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (fma.f64 -3 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)) (/.f64 (*.f64 2 (pow.f64 (cos.f64 im) 3)) (pow.f64 (+.f64 1 (cos.f64 im)) 3))))) (log1p.f64 (cos.f64 im)))))
(+.f64 (*.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re) (fma.f64 1/2 (*.f64 (-.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 re re)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (+.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (fma.f64 2 (/.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 (cos.f64 im)) 3)) (*.f64 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)) -3)))) (log1p.f64 (cos.f64 im)))))
(fma.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re (fma.f64 (fma.f64 2 (pow.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) 3) (fma.f64 (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2)) -3 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))))) (*.f64 1/6 (pow.f64 re 3)) (fma.f64 (-.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (+.f64 1 (cos.f64 im)) 2))) (*.f64 re (*.f64 re 1/2)) (log1p.f64 (cos.f64 im)))))
(fma.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) re (fma.f64 (fma.f64 2 (pow.f64 (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))) 3) (*.f64 (+.f64 (/.f64 (*.f64 (cos.f64 im) -3) (+.f64 1 (cos.f64 im))) 1) (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im))))) (*.f64 1/6 (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (*.f64 (+.f64 (/.f64 (neg.f64 (cos.f64 im)) (+.f64 1 (cos.f64 im))) 1) (/.f64 (cos.f64 im) (+.f64 1 (cos.f64 im)))) (*.f64 re re)) (log1p.f64 (cos.f64 im)))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (exp.f64 re)))
(log1p.f64 (exp.f64 re))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (log.f64 (+.f64 1 (exp.f64 re))))
(fma.f64 -1/2 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) (*.f64 im im))) (log1p.f64 (exp.f64 re)))
(fma.f64 -1/2 (/.f64 (*.f64 im im) (/.f64 (+.f64 1 (exp.f64 re)) (exp.f64 re))) (log1p.f64 (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (log1p.f64 (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) im)) im) (log1p.f64 (exp.f64 re)))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4))) (log.f64 (+.f64 1 (exp.f64 re)))))
(fma.f64 -1/2 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) (*.f64 im im))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4)) (log1p.f64 (exp.f64 re))))
(fma.f64 -1/2 (/.f64 (*.f64 im im) (/.f64 (+.f64 1 (exp.f64 re)) (exp.f64 re))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4)) (log1p.f64 (exp.f64 re))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (fma.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (*.f64 1/24 (pow.f64 im 4)) (log1p.f64 (exp.f64 re))))
(fma.f64 -1/2 (*.f64 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) im)) im) (fma.f64 (*.f64 (+.f64 (/.f64 (*.f64 -3 (exp.f64 re)) (+.f64 1 (exp.f64 re))) 1) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (*.f64 1/24 (pow.f64 im 4)) (log1p.f64 (exp.f64 re))))
(+.f64 (*.f64 -1/2 (/.f64 (*.f64 (exp.f64 re) (pow.f64 im 2)) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 1/720 (*.f64 (pow.f64 im 6) (+.f64 (*.f64 -1 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (+.f64 (*.f64 15 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (*.f64 -30 (/.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (+.f64 1 (exp.f64 re)) 3))))))) (+.f64 (*.f64 1/24 (*.f64 (+.f64 (*.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4))) (log.f64 (+.f64 1 (exp.f64 re))))))
(fma.f64 -1/2 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) (*.f64 im im))) (fma.f64 1/720 (*.f64 (pow.f64 im 6) (fma.f64 -1 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))) (fma.f64 15 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (*.f64 -30 (pow.f64 (exp.f64 re) 3)) (pow.f64 (+.f64 1 (exp.f64 re)) 3))))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4)) (log1p.f64 (exp.f64 re)))))
(fma.f64 -1/2 (/.f64 (*.f64 im im) (/.f64 (+.f64 1 (exp.f64 re)) (exp.f64 re))) (fma.f64 1/720 (*.f64 (pow.f64 im 6) (-.f64 (fma.f64 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) 15 (*.f64 -30 (/.f64 (pow.f64 (exp.f64 re) 3) (pow.f64 (+.f64 1 (exp.f64 re)) 3)))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4)) (log1p.f64 (exp.f64 re)))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (fma.f64 1/24 (*.f64 (fma.f64 -3 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (pow.f64 im 6) (-.f64 (fma.f64 (/.f64 (pow.f64 (exp.f64 re) 2) (pow.f64 (+.f64 1 (exp.f64 re)) 2)) 15 (*.f64 -30 (pow.f64 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))) 3))) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))))) (log1p.f64 (exp.f64 re)))))
(fma.f64 -1/2 (*.f64 (/.f64 (exp.f64 re) (/.f64 (+.f64 1 (exp.f64 re)) im)) im) (fma.f64 (*.f64 (+.f64 (/.f64 (*.f64 -3 (exp.f64 re)) (+.f64 1 (exp.f64 re))) 1) (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re)))) (*.f64 1/24 (pow.f64 im 4)) (fma.f64 1/720 (*.f64 (pow.f64 im 6) (fma.f64 -30 (pow.f64 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))) 3) (*.f64 (/.f64 (exp.f64 re) (+.f64 1 (exp.f64 re))) (+.f64 -1 (/.f64 (*.f64 (exp.f64 re) 15) (+.f64 1 (exp.f64 re))))))) (log1p.f64 (exp.f64 re)))))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(log.f64 (+.f64 1 (*.f64 (exp.f64 re) (cos.f64 im))))
(log1p.f64 (*.f64 (cos.f64 im) (exp.f64 re)))
(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 1 re))
(+.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 (cos.f64 im) re)) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 (*.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 re (*.f64 (cos.f64 im) re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 1 re))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 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)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))
(fma.f64 -1/2 (*.f64 (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/24 (pow.f64 im 4)) (*.f64 (pow.f64 im 6) -1/720))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 (pow.f64 im 6) -1/720)) (*.f64 im (*.f64 im -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))

localize4.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize3.0ms (0%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize9.0ms (0.1%)

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)

series3.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

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

simplify132.0ms (1.9%)

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

rewrite55.0ms (0.8%)

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

simplify85.0ms (1.2%)

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

eval90.0ms (1.3%)

Compiler

Compiled 2897 to 1482 computations (48.8% saved)

prune47.0ms (0.7%)

Pruning

12 alts after pruning (6 fresh and 6 done)

PrunedKeptTotal
New1976203
Fresh202
Picked011
Done055
Total19912211
Error
0b
Counts
211 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
34.5b
(pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3) 1/3)
17.6b
(exp.f64 re)
24.0b
(+.f64 re (cos.f64 im))
23.9b
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
23.6b
(*.f64 (cos.f64 im) (+.f64 re 1))
23.8b
(*.f64 (cos.f64 im) (+.f64 re (+.f64 (*.f64 re (*.f64 re 1/2)) 1)))
40.8b
(+.f64 re 1)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
23.9b
(/.f64 (*.f64 (fma.f64 re re -1) (cos.f64 im)) (+.f64 re -1))
23.6b
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
23.8b
(cos.f64 im)
Compiler

Compiled 177 to 129 computations (27.1% saved)

localize18.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

Compiled 44 to 28 computations (36.4% saved)

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite151.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
581×log-prod_binary64
490×fma-def_binary64
441×pow-prod-down_binary64
311×pow2_binary64
266×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify171.0ms (2.5%)

Algorithm
egg-herbie
Rules
948×distribute-rgt-in_binary64
792×distribute-lft-in_binary64
540×sqr-pow_binary64
445×*-commutative_binary64
322×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
041464
1118460
2402424
31871403
43505393
54273393
64425393
74596393
84764393
94986393
106731393
117140393
127583393
Stop Event
node limit
Counts
82 → 76
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)))
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 1/2 (*.f64 re 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 1 (fma.f64 1/2 (*.f64 re re) re)))
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re 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 1 (+.f64 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im)))) (fma.f64 1/2 (*.f64 re re) re)))
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re 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 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (*.f64 -1/720 (pow.f64 im 6)) 1) (+.f64 (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/2 (*.f64 im im)))) (fma.f64 1/2 (*.f64 re re) re)))
(+.f64 (fma.f64 1/2 (*.f64 re re) 1) (+.f64 re (*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re re) re)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 (*.f64 im im) (+.f64 -1/2 (*.f64 (*.f64 im im) 1/24)))))))
(*.f64 (+.f64 1 (fma.f64 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 re (*.f64 (cos.f64 im) (*.f64 1/2 re)))
(+.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 (*.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 1/2 (*.f64 re 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 1/2 (*.f64 re 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 re (*.f64 (cos.f64 im) (*.f64 1/2 re)))
(+.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 (*.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 1/2 (*.f64 re 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 1/2 (*.f64 re re) re)) (cos.f64 im))

localize3.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize8.0ms (0.1%)

Compiler

Compiled 10 to 4 computations (60% saved)

localize24.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 61 to 37 computations (39.3% saved)

series8.0ms (0.1%)

Counts
4 → 60
Calls

15 calls:

TimeVariablePointExpression
1.0ms
im
@inf
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
1.0ms
im
@0
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 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
re
@-inf
(*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))
1.0ms
im
@-inf
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))

rewrite225.0ms (3.2%)

Algorithm
batch-egg-rewrite
Rules
777×fma-def_binary64
752×log-prod_binary64
315×fma-neg_binary64
273×expm1-udef_binary64
272×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01460
131850
2465050
Stop Event
node limit
Counts
4 → 227
Calls
Call 1
Inputs
(*.f64 re 1/6)
(*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
(+.f64 (+.f64 1 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 1/6 (pow.f64 re 3)) (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 1/2 re) re) (*.f64 1/6 (pow.f64 re 3)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (*.f64 (*.f64 1/2 re) re) 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 (*.f64 1/2 re) re) 3) (pow.f64 (*.f64 1/6 (pow.f64 re 3)) 3)) (fma.f64 (*.f64 (*.f64 1/2 re) re) (*.f64 (*.f64 1/2 re) re) (-.f64 (*.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/6 (pow.f64 re 3))) (*.f64 (*.f64 (*.f64 1/2 re) re) (*.f64 1/6 (pow.f64 re 3))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (*.f64 (*.f64 1/2 re) re) (*.f64 (*.f64 1/2 re) re)) (*.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 1/6 (pow.f64 re 3)))) (-.f64 (*.f64 (*.f64 1/2 re) re) (*.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 (*.f64 1/2 re) re))))))) (#(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 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/6 (pow.f64 re 3) (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re 1/6) (*.f64 re re) (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 re 1/6) (*.f64 (*.f64 1/2 re) re))))) (#(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 1/6 (pow.f64 re 3)) (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 1/2 re) re) (*.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 (*.f64 1/2 re) re))))) (#(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 (pow.f64 (cbrt.f64 (*.f64 re 1/6)) 2) (*.f64 (cbrt.f64 (*.f64 re 1/6)) (*.f64 re re)) (*.f64 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 re 3) 1/6 (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 1/2 re) re) 1 (*.f64 (*.f64 1/6 (pow.f64 re 3)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 1/2 re) re)) (cbrt.f64 (*.f64 (*.f64 1/2 re) re))) (cbrt.f64 (*.f64 (*.f64 1/2 re) re)) (*.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 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 1/2 re) re)) (sqrt.f64 (*.f64 (*.f64 1/2 re) re)) (*.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 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re 1/6) re) re (*.f64 (*.f64 1/2 re) re))))) (#(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 (*.f64 re 1/6) (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (*.f64 (*.f64 1/2 re) re))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) 1/6) re (*.f64 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(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 (*.f64 1/2 re) re))))) (#(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 +.f64 (cos.f64 im) (*.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (cos.f64 im)))))) (#(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 0 (*.f64 (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 (fma.f64 re (cos.f64 im) (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) 1) (*.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (*.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im))) (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im))))) (log.f64 (cbrt.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im)))) (log.f64 (sqrt.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) 3) (pow.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) 3)) (fma.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)) (fma.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) (neg.f64 (*.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im))) (*.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))) (-.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3)) (cos.f64 im)) (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.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) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (cos.f64 im)) (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (*.f64 (cos.f64 im) (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3))) (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.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) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)))) (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (pow.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (*.f64 (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 log.f64 (*.f64 (exp.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))) (exp.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 3))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 3)))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (*.f64 (pow.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) 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 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 (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 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 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (*.f64 (fma.f64 re 1/6 1/2) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re 1/6 1/2) (*.f64 (*.f64 re re) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (cos.f64 im) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cos.f64 im) 1 (*.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 (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) (+.f64 re 1) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (cos.f64 im) (*.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 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 (fma.f64 re (cos.f64 im) (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (*.f64 (cbrt.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(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 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (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 (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 (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 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (cbrt.f64 (cos.f64 im)) (*.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 (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) (*.f64 (cbrt.f64 (cos.f64 im)) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(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 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (*.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 re)) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (sqrt.f64 (cos.f64 im)) (*.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 (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)) (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (+.f64 re 1)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)) 1 (*.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))) (cbrt.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))) (cbrt.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 re (cos.f64 im) (cos.f64 im))) (cbrt.f64 (fma.f64 re (cos.f64 im) (cos.f64 im)))) (cbrt.f64 (fma.f64 re (cos.f64 im) (cos.f64 im))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))) (sqrt.f64 (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 re (cos.f64 im) (cos.f64 im))) (sqrt.f64 (fma.f64 re (cos.f64 im) (cos.f64 im))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2)))) (*.f64 (sqrt.f64 (cos.f64 im)) (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (sqrt.f64 (cos.f64 im))) (*.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (sqrt.f64 (cos.f64 im))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (sqrt.f64 (cos.f64 im)) (hypot.f64 1 (sqrt.f64 re))) (*.f64 (sqrt.f64 (cos.f64 im)) (hypot.f64 1 (sqrt.f64 re))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im))) (*.f64 (hypot.f64 1 (sqrt.f64 re)) (sqrt.f64 (cos.f64 im))) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) re) (*.f64 re (fma.f64 re 1/6 1/2)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 re 1/6 1/2) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (fma.f64 re 1/6 1/2)) (*.f64 re re) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (cbrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)))) (cbrt.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2)))) (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (pow.f64 (cbrt.f64 (cos.f64 im)) 2)) (cbrt.f64 (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (fma.f64 re (cos.f64 im) (cos.f64 im)))))) (#(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 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cos.f64 im) (hypot.f64 1 (sqrt.f64 re))) (hypot.f64 1 (sqrt.f64 re)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(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 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (+.f64 re 1) (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)) (*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im))))))))
((#(struct:change #<rule egg-rr> (2) ((x -.f64 (exp.f64 (log1p.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (/.f64 (pow.f64 (+.f64 re 1) 2) (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))) (/.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)) (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 2) (cbrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (sqrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3)) (/.f64 1 (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1)) (pow.f64 (+.f64 re 1) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (/.f64 1 (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1)) (pow.f64 (+.f64 re 1) 2)) (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3)) (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1)) (pow.f64 (+.f64 re 1) 2)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3)) (fma.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2) (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (+.f64 (pow.f64 (+.f64 re 1) 3) (pow.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 3))) (neg.f64 (fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.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) (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)))) (neg.f64 (-.f64 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 1 (pow.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 3)) (+.f64 1 (fma.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (neg.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2)) (pow.f64 (+.f64 re 1) 2)) (-.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 1 (*.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (-.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 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))) (exp.f64 (+.f64 re 1))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))) (+.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 (fma.f64 re 1/6 1/2))))) (+.f64 1 (expm1.f64 (+.f64 re 1)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (+.f64 1 (expm1.f64 (+.f64 re 1))) (pow.f64 (exp.f64 re) (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (*.f64 (exp.f64 (+.f64 re 1)) (+.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 (+.f64 1 (expm1.f64 (+.f64 re 1))) (+.f64 1 (expm1.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (+.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log1p.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)))))) (#(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)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re 1 (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 re (*.f64 re 1/2) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) 1/2 (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1/2 (*.f64 re re) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (fma.f64 re 1/6 1/2) (*.f64 re re) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) 1 (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 re (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (+.f64 re 1) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 (*.f64 1/2 re) re) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 re 1) 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (cbrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (*.f64 (pow.f64 re 4) (pow.f64 (fma.f64 re 1/6 1/2) 2))) (cbrt.f64 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 re 4)) (*.f64 (pow.f64 (cbrt.f64 re) 2) (fma.f64 re 1/6 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 (pow.f64 re 4)) (*.f64 (pow.f64 (cbrt.f64 re) 2) 1/2) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (cbrt.f64 re) (pow.f64 (cbrt.f64 re) 2) (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (cbrt.f64 re) (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 re) 2) (*.f64 (cbrt.f64 re) (*.f64 re (fma.f64 re 1/6 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 (fma.f64 re 1/6 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 (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (fma.f64 re 1/6 1/2)) 2) (*.f64 (cbrt.f64 (fma.f64 re 1/6 1/2)) (*.f64 re re)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (*.f64 re (sqrt.f64 (fma.f64 re 1/6 1/2))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (sqrt.f64 re) (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 re) (*.f64 (sqrt.f64 re) (*.f64 re (fma.f64 re 1/6 1/2))) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (hypot.f64 1 (sqrt.f64 re)) (hypot.f64 1 (sqrt.f64 re)) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (fma.f64 re 1/6 1/2)) (*.f64 (sqrt.f64 (fma.f64 re 1/6 1/2)) (*.f64 re re)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (+.f64 1 (pow.f64 re 3)) (/.f64 1 (fma.f64 re (-.f64 re 1) 1)) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (-.f64 1 (*.f64 re re)) (/.f64 1 (-.f64 1 re)) (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 re (fma.f64 re 1/6 1/2)) re (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re))) (cbrt.f64 (fma.f64 re (*.f64 re (fma.f64 re 1/6 1/2)) re)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 1/2 re) re)) (cbrt.f64 (*.f64 (*.f64 1/2 re) re))) (cbrt.f64 (*.f64 (*.f64 1/2 re) re)) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (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)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 (*.f64 1/2 re) re)) (sqrt.f64 (*.f64 (*.f64 1/2 re) re)) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (cbrt.f64 (pow.f64 re 4))) (sqrt.f64 (pow.f64 (cbrt.f64 re) 2)) (+.f64 1 (*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 re) re (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) (pow.f64 (cbrt.f64 (fma.f64 re 1/6 1/2)) 2)) (cbrt.f64 (fma.f64 re 1/6 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (*.f64 re re) (sqrt.f64 (fma.f64 re 1/6 1/2))) (sqrt.f64 (fma.f64 re 1/6 1/2)) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 (fma.f64 re 1/6 1/2) (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (+.f64 re 1))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (*.f64 1/2 (cbrt.f64 (pow.f64 re 4))) (pow.f64 (cbrt.f64 re) 2) (fma.f64 1/6 (pow.f64 re 3) (+.f64 re 1)))))))

simplify129.0ms (1.8%)

Algorithm
egg-herbie
Rules
1572×distribute-rgt-in_binary64
1051×distribute-lft-in_binary64
470×fma-def_binary64
458×*-commutative_binary64
298×distribute-lft-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
060965
1189878
2597780
33332763
44120750
54799750
65009750
75223750
85418750
Stop Event
node limit
Counts
287 → 265
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))))
1
(+.f64 1 re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 1 re)))
(*.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 (*.f64 1/6 (pow.f64 re 3)) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re)))
(*.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 (*.f64 1/6 (pow.f64 re 3)) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re)))
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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 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 (*.f64 re 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)))))
(fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (*.f64 im im)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) 1))
(*.f64 (+.f64 re (fma.f64 (*.f64 re 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)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)) (*.f64 im im)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re))))
(fma.f64 (*.f64 im im) (fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1)))
(*.f64 (+.f64 re (fma.f64 (*.f64 re 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 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)) (+.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) (fma.f64 (+.f64 -1/720 (*.f64 (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re) -1/720)) (pow.f64 im 6) 1))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1) (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1))) (*.f64 (+.f64 re (fma.f64 (*.f64 re 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 (pow.f64 im 4) (fma.f64 (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) re) 1/24 1/24) (*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 -1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (+.f64 (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (+.f64 (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(*.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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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))
(*.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 (*.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))) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.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))))
(*.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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 re (*.f64 (cos.f64 im) (*.f64 re (fma.f64 1/6 re 1/2))))
(+.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 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 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 re (*.f64 (cos.f64 im) (*.f64 re (fma.f64 1/6 re 1/2))))
(+.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 re (*.f64 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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1)) (cos.f64 im))
(fma.f64 (fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) re) (cos.f64 im) (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 re (fma.f64 re (*.f64 re 1/2) 1))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 1 re)))
(+.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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1))
(*.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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 1/6 (pow.f64 re 3)) re))
(fma.f64 1/2 (*.f64 re re) (fma.f64 1/6 (pow.f64 re 3) re))
(fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)
(fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re)))
(+.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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1))
(*.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 (*.f64 re re) (fma.f64 1/6 re 1/2))
(*.f64 re (*.f64 re (fma.f64 1/6 re 1/2)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 1/6 (pow.f64 re 3)) re))
(fma.f64 1/2 (*.f64 re re) (fma.f64 1/6 (pow.f64 re 3) re))
(fma.f64 (*.f64 re re) (fma.f64 1/6 re 1/2) re)
(fma.f64 re (*.f64 re (fma.f64 1/6 re 1/2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 1/6 (pow.f64 re 3)) re)))
(+.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 (*.f64 re re) (fma.f64 1/6 re 1/2) 1))

localize16.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (fma.f64 re re -1) (cos.f64 im))
12.2b
(/.f64 (*.f64 (fma.f64 re re -1) (cos.f64 im)) (+.f64 re -1))
Compiler

Compiled 32 to 17 computations (46.9% saved)

series7.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite62.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
497×log-prod_binary64
387×exp-prod_binary64
312×pow-prod-down_binary64
256×pow2_binary64
180×pow1/3_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify61.0ms (0.9%)

Algorithm
egg-herbie
Rules
564×associate-+l+_binary64
542×div-sub_binary64
441×associate-+r+_binary64
406×associate-/r*_binary64
392×associate-/l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
058846
1159693
2473677
31745586
47634586
Stop Event
node limit
Counts
139 → 120
Calls
Call 1
Inputs
(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))
(/.f64 (-.f64 (pow.f64 re 2) 1) (-.f64 re 1))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1))) (/.f64 1 (-.f64 re 1)))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1)))) (/.f64 1 (-.f64 re 1)))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4)) (-.f64 re 1))) (+.f64 (*.f64 -1/720 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 6)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1))))) (/.f64 1 (-.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(*.f64 -1 (cos.f64 im))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 (cos.f64 im) (pow.f64 re 2))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 (cos.f64 im) (pow.f64 re 2))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(-.f64 (pow.f64 re 2) 1)
(-.f64 (+.f64 (pow.f64 re 2) (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)))) 1)
(-.f64 (+.f64 (pow.f64 re 2) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4))))) 1)
(-.f64 (+.f64 (pow.f64 re 2) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4))) (*.f64 -1/720 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 6)))))) 1)
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
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 (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 (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 (cos.f64 im) re)
(+.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 (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 (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 (cos.f64 im) re)
(+.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 (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 (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 (pow.f64 re 2) 1) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (-.f64 re 1))
(/.f64 (fma.f64 re re -1) (+.f64 re -1))
(/.f64 (+.f64 re 1) 1)
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1))) (/.f64 1 (-.f64 re 1)))
(+.f64 (*.f64 -1/2 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (*.f64 im im)))) (/.f64 (+.f64 (*.f64 re re) -1) (-.f64 re 1)))
(fma.f64 -1/2 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 im im)) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(fma.f64 -1/2 (/.f64 im (/.f64 (/.f64 1 (+.f64 re 1)) im)) (/.f64 (+.f64 re 1) 1))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1)))) (/.f64 1 (-.f64 re 1)))
(-.f64 (fma.f64 -1/2 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (*.f64 im im))) (fma.f64 1/24 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (pow.f64 im 4))) (/.f64 (*.f64 re re) (-.f64 re 1)))) (/.f64 1 (-.f64 re 1)))
(fma.f64 -1/2 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 im im)) (+.f64 (*.f64 1/24 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (pow.f64 im 4))) (/.f64 (fma.f64 re re -1) (+.f64 re -1))))
(fma.f64 -1/2 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (pow.f64 im 4)) (/.f64 (fma.f64 re re -1) (+.f64 re -1))))
(+.f64 (/.f64 (+.f64 re 1) 1) (*.f64 (/.f64 (+.f64 re 1) 1) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 im (*.f64 im -1/2)))))
(-.f64 (+.f64 (*.f64 -1/2 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)) (-.f64 re 1))) (+.f64 (*.f64 1/24 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4)) (-.f64 re 1))) (+.f64 (*.f64 -1/720 (/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 6)) (-.f64 re 1))) (/.f64 (pow.f64 re 2) (-.f64 re 1))))) (/.f64 1 (-.f64 re 1)))
(-.f64 (fma.f64 -1/2 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (*.f64 im im))) (fma.f64 1/24 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (pow.f64 im 4))) (fma.f64 -1/720 (/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (pow.f64 im 6))) (/.f64 (*.f64 re re) (-.f64 re 1))))) (/.f64 1 (-.f64 re 1)))
(fma.f64 -1/2 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (pow.f64 im 4)) (*.f64 -1/720 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (pow.f64 im 6)))) (/.f64 (fma.f64 re re -1) (+.f64 re -1))))
(+.f64 (fma.f64 1/24 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (pow.f64 im 4)) (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 -1/720 (pow.f64 im 6)))) (fma.f64 -1/2 (*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (*.f64 im im)) (/.f64 (fma.f64 re re -1) (+.f64 re -1))))
(+.f64 (fma.f64 1/24 (/.f64 (pow.f64 im 4) (/.f64 1 (+.f64 re 1))) (/.f64 (+.f64 re 1) 1)) (*.f64 (/.f64 (+.f64 re 1) 1) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 -1/720 (pow.f64 im 6)))))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(/.f64 (*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im)) (-.f64 re 1))
(/.f64 (+.f64 (*.f64 re re) -1) (/.f64 (-.f64 re 1) (cos.f64 im)))
(*.f64 (/.f64 (fma.f64 re re -1) (+.f64 re -1)) (cos.f64 im))
(*.f64 (cos.f64 im) (/.f64 (fma.f64 re re -1) (+.f64 re -1)))
(/.f64 (cos.f64 im) (/.f64 1 (+.f64 re 1)))
(*.f64 -1 (cos.f64 im))
(neg.f64 (cos.f64 im))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (cos.f64 im) (pow.f64 re 2))
(*.f64 (cos.f64 im) (*.f64 re re))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (cos.f64 im) (pow.f64 re 2))
(*.f64 (cos.f64 im) (*.f64 re re))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(+.f64 (*.f64 -1 (cos.f64 im)) (*.f64 (cos.f64 im) (pow.f64 re 2)))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(-.f64 (pow.f64 re 2) 1)
(+.f64 (*.f64 re re) -1)
(fma.f64 re re -1)
(-.f64 (+.f64 (pow.f64 re 2) (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2)))) 1)
(+.f64 (*.f64 re re) (-.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 re re) -1) (*.f64 im im))) 1))
(fma.f64 re re (fma.f64 -1/2 (*.f64 im (*.f64 im (fma.f64 re re -1))) -1))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (fma.f64 re re -1))
(*.f64 (fma.f64 re re -1) (+.f64 1 (*.f64 im (*.f64 im -1/2))))
(-.f64 (+.f64 (pow.f64 re 2) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2))) (*.f64 1/24 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4))))) 1)
(+.f64 (+.f64 (*.f64 re re) (fma.f64 -1/2 (*.f64 (+.f64 (*.f64 re re) -1) (*.f64 im im)) (*.f64 1/24 (*.f64 (+.f64 (*.f64 re re) -1) (pow.f64 im 4))))) -1)
(+.f64 (fma.f64 1/24 (*.f64 (fma.f64 re re -1) (pow.f64 im 4)) (*.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 re re -1))) (fma.f64 re re -1))
(+.f64 (fma.f64 re re -1) (*.f64 (fma.f64 re re -1) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 im (*.f64 im -1/2)))))
(*.f64 (fma.f64 re re -1) (+.f64 (+.f64 1 (*.f64 im (*.f64 im -1/2))) (*.f64 1/24 (pow.f64 im 4))))
(-.f64 (+.f64 (pow.f64 re 2) (+.f64 (*.f64 -1/2 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 4))) (*.f64 -1/720 (*.f64 (-.f64 (pow.f64 re 2) 1) (pow.f64 im 6)))))) 1)
(+.f64 (*.f64 re re) (-.f64 (fma.f64 -1/2 (*.f64 (+.f64 (*.f64 re re) -1) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 (*.f64 re re) -1) (pow.f64 im 4)) (*.f64 -1/720 (*.f64 (+.f64 (*.f64 re re) -1) (pow.f64 im 6))))) 1))
(+.f64 (fma.f64 -1/2 (*.f64 im (*.f64 im (fma.f64 re re -1))) (fma.f64 1/24 (*.f64 (fma.f64 re re -1) (pow.f64 im 4)) (*.f64 (fma.f64 re re -1) (*.f64 (pow.f64 im 6) -1/720)))) (fma.f64 re re -1))
(+.f64 (*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (fma.f64 re re -1)) (*.f64 (fma.f64 re re -1) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 re re -1) (*.f64 (fma.f64 re re -1) (+.f64 (*.f64 im (*.f64 im -1/2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))
(*.f64 (-.f64 (pow.f64 re 2) 1) (cos.f64 im))
(fma.f64 -1 (cos.f64 im) (*.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (cos.f64 im) (fma.f64 re re -1))

eval243.0ms (3.5%)

Compiler

Compiled 9097 to 5573 computations (38.7% saved)

prune94.0ms (1.4%)

Pruning

11 alts after pruning (3 fresh and 8 done)

PrunedKeptTotal
New4583461
Fresh101
Picked101
Done2810
Total46211473
Error
0b
Counts
473 → 11
Alt Table
Click to see full alt table
StatusErrorProgram
23.8b
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2))))
17.6b
(exp.f64 re)
24.0b
(+.f64 re (cos.f64 im))
23.9b
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
34.5b
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
22.9b
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 re -1))
40.8b
(+.f64 re 1)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
23.6b
(*.f64 (cos.f64 im) (+.f64 re 1))
23.8b
(cos.f64 im)
Compiler

Compiled 96 to 72 computations (25% saved)

localize18.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

Compiled 40 to 25 computations (37.5% saved)

series3.0ms (0%)

Counts
2 → 36
Calls

9 calls:

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

rewrite95.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
588×log-prod_binary64
566×fma-def_binary64
456×pow-prod-down_binary64
311×pow2_binary64
219×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify150.0ms (2.2%)

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
182 → 171
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))

localize14.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 re -1))
Compiler

Compiled 20 to 10 computations (50% saved)

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite50.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
839×pow1_binary64
779×add-log-exp_binary64
777×log1p-expm1-u_binary64
777×expm1-log1p-u_binary64
764×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0811
11739
224409
Stop Event
node limit
Counts
1 → 38
Calls
Call 1
Inputs
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 re -1))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x -.f64 0 (/.f64 (cos.f64 im) (+.f64 re -1)))))) (#(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 0 (+.f64 re -1)) (/.f64 (cos.f64 im) (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (/.f64 1 (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cos.f64 im) (/.f64 1 (+.f64 1 (neg.f64 re))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 -1 (/.f64 (cos.f64 im) (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (cos.f64 im) (+.f64 re -1)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (/.f64 (cos.f64 im) (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))) (pow.f64 (cbrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))) 2) (cbrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (*.f64 (cbrt.f64 (cos.f64 im)) (/.f64 1 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))) (sqrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (cos.f64 im)) (/.f64 1 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (+.f64 re -1)) (cos.f64 im))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) 1) (/.f64 (cbrt.f64 (cos.f64 im)) (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (cos.f64 im)) 1) (/.f64 (sqrt.f64 (cos.f64 im)) (+.f64 re -1)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (pow.f64 (cbrt.f64 (+.f64 re -1)) 2)) (/.f64 (cos.f64 im) (cbrt.f64 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (pow.f64 (cbrt.f64 (+.f64 re -1)) 2)) (/.f64 (cos.f64 im) (cbrt.f64 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (pow.f64 (cbrt.f64 (+.f64 re -1)) 2)) (cbrt.f64 (/.f64 (cos.f64 im) (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (sqrt.f64 (cos.f64 im)) (pow.f64 (cbrt.f64 (+.f64 re -1)) 2)) (/.f64 (sqrt.f64 (cos.f64 im)) (cbrt.f64 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 -1 (sqrt.f64 (+.f64 re -1))) (/.f64 (cos.f64 im) (sqrt.f64 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 1 (sqrt.f64 (+.f64 re -1))) (/.f64 (cos.f64 im) (sqrt.f64 (+.f64 re -1))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 im)) 2) (sqrt.f64 (+.f64 re -1))) (/.f64 (cbrt.f64 (cos.f64 im)) (sqrt.f64 (+.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 (*.f64 re -1))))))) (#(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 pow.f64 (/.f64 (+.f64 re -1) (cos.f64 im)) -1)))) (#(struct:change #<rule egg-rr> (2) ((x neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))))) (#(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 (exp.f64 (/.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 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 (log.f64 (/.f64 (cos.f64 im) (+.f64 re -1))))))))

simplify53.0ms (0.8%)

Algorithm
egg-herbie
Rules
613×fma-def_binary64
454×unswap-sqr_binary64
439×sub-neg_binary64
347×fma-neg_binary64
256×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
059466
1165444
2426410
31294387
45772387
Stop Event
node limit
Counts
62 → 63
Calls
Call 1
Inputs
(/.f64 -1 (-.f64 re 1))
(-.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (/.f64 1 (-.f64 re 1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (-.f64 re 1)))) (/.f64 1 (-.f64 re 1)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (+.f64 (*.f64 1/720 (/.f64 (pow.f64 im 6) (-.f64 re 1))) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (-.f64 re 1))))) (/.f64 1 (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (cos.f64 im) (pow.f64 re 2))))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) (pow.f64 re 2)) (*.f64 (cos.f64 im) (pow.f64 re 3)))))
(*.f64 -1 (/.f64 (cos.f64 im) re))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 4))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3))))))
(*.f64 -1 (/.f64 (cos.f64 im) re))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 4))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3))))))
Outputs
(/.f64 -1 (-.f64 re 1))
(/.f64 -1 (+.f64 re -1))
(/.f64 -1 (+.f64 -1 re))
(-.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (/.f64 1 (-.f64 re 1)))
(-.f64 (*.f64 1/2 (/.f64 (*.f64 im im) (+.f64 re -1))) (/.f64 1 (+.f64 re -1)))
(fma.f64 1/2 (/.f64 (*.f64 im im) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re)))
(fma.f64 1/2 (*.f64 (/.f64 im (+.f64 -1 re)) im) (/.f64 -1 (+.f64 -1 re)))
(fma.f64 (/.f64 1/2 (+.f64 -1 re)) (*.f64 im im) (/.f64 -1 (+.f64 -1 re)))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (-.f64 re 1)))) (/.f64 1 (-.f64 re 1)))
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 im im) (+.f64 re -1)) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 re -1)))) (/.f64 1 (+.f64 re -1)))
(fma.f64 1/2 (/.f64 (*.f64 im im) (+.f64 -1 re)) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re))))
(fma.f64 1/2 (*.f64 (/.f64 im (+.f64 -1 re)) im) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re))))
(fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (fma.f64 (/.f64 1/2 (+.f64 -1 re)) (*.f64 im im) (/.f64 -1 (+.f64 -1 re))))
(fma.f64 1/2 (*.f64 im (/.f64 im (+.f64 -1 re))) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re))))
(-.f64 (+.f64 (*.f64 1/2 (/.f64 (pow.f64 im 2) (-.f64 re 1))) (+.f64 (*.f64 1/720 (/.f64 (pow.f64 im 6) (-.f64 re 1))) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (-.f64 re 1))))) (/.f64 1 (-.f64 re 1)))
(-.f64 (fma.f64 1/2 (/.f64 (*.f64 im im) (+.f64 re -1)) (fma.f64 1/720 (/.f64 (pow.f64 im 6) (+.f64 re -1)) (*.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 re -1))))) (/.f64 1 (+.f64 re -1)))
(+.f64 (fma.f64 1/720 (/.f64 (pow.f64 im 6) (+.f64 -1 re)) (/.f64 -1/24 (/.f64 (+.f64 -1 re) (pow.f64 im 4)))) (fma.f64 1/2 (/.f64 (*.f64 im im) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re))))
(fma.f64 1/2 (*.f64 (/.f64 im (+.f64 -1 re)) im) (fma.f64 1/720 (/.f64 (pow.f64 im 6) (+.f64 -1 re)) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re)))))
(fma.f64 1/2 (*.f64 im (/.f64 im (+.f64 -1 re))) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (fma.f64 1/720 (/.f64 (pow.f64 im 6) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re)))))
(fma.f64 (/.f64 1/2 (+.f64 -1 re)) (*.f64 im im) (fma.f64 -1/24 (/.f64 (pow.f64 im 4) (+.f64 -1 re)) (fma.f64 1/720 (/.f64 (pow.f64 im 6) (+.f64 -1 re)) (/.f64 -1 (+.f64 -1 re)))))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(*.f64 -1 (/.f64 (cos.f64 im) (-.f64 re 1)))
(neg.f64 (/.f64 (cos.f64 im) (+.f64 re -1)))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 -1 re))
(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 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (cos.f64 im) (pow.f64 re 2))))
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (*.f64 (cos.f64 im) (*.f64 re re)))
(fma.f64 re (cos.f64 im) (fma.f64 (cos.f64 im) (*.f64 re re) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (fma.f64 re re 1) re))
(fma.f64 (cos.f64 im) (fma.f64 re re re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (+.f64 (*.f64 (cos.f64 im) (pow.f64 re 2)) (*.f64 (cos.f64 im) (pow.f64 re 3)))))
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 (*.f64 re re) (pow.f64 re 3))))
(fma.f64 re (cos.f64 im) (fma.f64 (cos.f64 im) (fma.f64 re re (pow.f64 re 3)) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (fma.f64 re re (pow.f64 re 3))))
(*.f64 (fma.f64 re re 1) (fma.f64 re (cos.f64 im) (cos.f64 im)))
(*.f64 (cos.f64 im) (*.f64 (fma.f64 re re 1) (+.f64 re 1)))
(*.f64 -1 (/.f64 (cos.f64 im) re))
(neg.f64 (/.f64 (cos.f64 im) re))
(/.f64 (neg.f64 (cos.f64 im)) re)
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))))
(*.f64 -1 (+.f64 (/.f64 (cos.f64 im) re) (/.f64 (cos.f64 im) (*.f64 re re))))
(-.f64 (/.f64 (neg.f64 (cos.f64 im)) re) (/.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (/.f64 -1 re)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(fma.f64 -1 (/.f64 (cos.f64 im) re) (*.f64 -1 (+.f64 (/.f64 (cos.f64 im) (*.f64 re re)) (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(-.f64 (-.f64 (/.f64 (neg.f64 (cos.f64 im)) re) (/.f64 (cos.f64 im) (*.f64 re re))) (/.f64 (cos.f64 im) (pow.f64 re 3)))
(-.f64 (*.f64 (/.f64 (cos.f64 im) (*.f64 re re)) (+.f64 -1 (/.f64 -1 re))) (/.f64 (cos.f64 im) re))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (+.f64 (/.f64 -1 (*.f64 re re)) (/.f64 -1 re))))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 (/.f64 -1 (*.f64 re re)) (+.f64 -1 (/.f64 -1 re))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 4))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3))))))
(fma.f64 -1 (/.f64 (cos.f64 im) re) (fma.f64 -1 (/.f64 (cos.f64 im) (*.f64 re re)) (*.f64 -1 (+.f64 (/.f64 (cos.f64 im) (pow.f64 re 4)) (/.f64 (cos.f64 im) (pow.f64 re 3))))))
(-.f64 (-.f64 (-.f64 (/.f64 (neg.f64 (cos.f64 im)) (pow.f64 re 3)) (/.f64 (cos.f64 im) (pow.f64 re 4))) (/.f64 (cos.f64 im) (*.f64 re re))) (/.f64 (cos.f64 im) re))
(-.f64 (*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (/.f64 -1 re))) (+.f64 (/.f64 (cos.f64 im) (pow.f64 re 3)) (/.f64 (cos.f64 im) (pow.f64 re 4))))
(*.f64 (+.f64 (/.f64 (cos.f64 im) re) (/.f64 (cos.f64 im) (*.f64 re re))) (+.f64 -1 (/.f64 -1 (*.f64 re re))))
(*.f64 -1 (/.f64 (cos.f64 im) re))
(neg.f64 (/.f64 (cos.f64 im) re))
(/.f64 (neg.f64 (cos.f64 im)) re)
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))))
(*.f64 -1 (+.f64 (/.f64 (cos.f64 im) re) (/.f64 (cos.f64 im) (*.f64 re re))))
(-.f64 (/.f64 (neg.f64 (cos.f64 im)) re) (/.f64 (cos.f64 im) (*.f64 re re)))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (/.f64 -1 re)))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(fma.f64 -1 (/.f64 (cos.f64 im) re) (*.f64 -1 (+.f64 (/.f64 (cos.f64 im) (*.f64 re re)) (/.f64 (cos.f64 im) (pow.f64 re 3)))))
(-.f64 (-.f64 (/.f64 (neg.f64 (cos.f64 im)) re) (/.f64 (cos.f64 im) (*.f64 re re))) (/.f64 (cos.f64 im) (pow.f64 re 3)))
(-.f64 (*.f64 (/.f64 (cos.f64 im) (*.f64 re re)) (+.f64 -1 (/.f64 -1 re))) (/.f64 (cos.f64 im) re))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (+.f64 (/.f64 -1 (*.f64 re re)) (/.f64 -1 re))))
(*.f64 (/.f64 (cos.f64 im) re) (+.f64 (/.f64 -1 (*.f64 re re)) (+.f64 -1 (/.f64 -1 re))))
(+.f64 (*.f64 -1 (/.f64 (cos.f64 im) re)) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 4))) (*.f64 -1 (/.f64 (cos.f64 im) (pow.f64 re 3))))))
(fma.f64 -1 (/.f64 (cos.f64 im) re) (fma.f64 -1 (/.f64 (cos.f64 im) (*.f64 re re)) (*.f64 -1 (+.f64 (/.f64 (cos.f64 im) (pow.f64 re 4)) (/.f64 (cos.f64 im) (pow.f64 re 3))))))
(-.f64 (-.f64 (-.f64 (/.f64 (neg.f64 (cos.f64 im)) (pow.f64 re 3)) (/.f64 (cos.f64 im) (pow.f64 re 4))) (/.f64 (cos.f64 im) (*.f64 re re))) (/.f64 (cos.f64 im) re))
(-.f64 (*.f64 (/.f64 (cos.f64 im) re) (+.f64 -1 (/.f64 -1 re))) (+.f64 (/.f64 (cos.f64 im) (pow.f64 re 3)) (/.f64 (cos.f64 im) (pow.f64 re 4))))
(*.f64 (+.f64 (/.f64 (cos.f64 im) re) (/.f64 (cos.f64 im) (*.f64 re re))) (+.f64 -1 (/.f64 -1 (*.f64 re re))))

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (+.f64 re 1) (cos.f64 im))
0.3b
(pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3)
13.0b
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
Compiler

Compiled 36 to 23 computations (36.1% saved)

series19.0ms (0.3%)

Counts
3 → 72
Calls

18 calls:

TimeVariablePointExpression
4.0ms
re
@-inf
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
3.0ms
im
@0
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
2.0ms
im
@inf
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
2.0ms
re
@0
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
2.0ms
im
@-inf
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)

rewrite61.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
948×pow1_binary64
890×add-log-exp_binary64
890×log1p-expm1-u_binary64
890×expm1-log1p-u_binary64
104×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify104.0ms (1.5%)

Algorithm
egg-herbie
Rules
942×associate-/l*_binary64
244×fma-def_binary64
221×cancel-sign-sub-inv_binary64
199×associate-*r*_binary64
184×associate-*l/_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02162616
17182432
231882151
Stop Event
node limit
Counts
154 → 129
Calls
Call 1
Inputs
(cos.f64 im)
(+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (cos.f64 im) 2))) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3)))))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (cos.f64 im) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5)) 1/3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (pow.f64 (cos.f64 im) 2))))) (pow.f64 re 3)) (pow.f64 (cos.f64 im) 2))) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))))))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/3 (/.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3)))) (*.f64 (pow.f64 (cos.f64 im) 2) re)))))
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 (cos.f64 im) re) (+.f64 (*.f64 1/3 (/.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3)))) (*.f64 (pow.f64 (cos.f64 im) 2) re))) (*.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5)) 1/3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (pow.f64 (cos.f64 im) 2))))) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re)))
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3))))
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (+.f64 (*.f64 -1/3 (/.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) re)))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3)))))
(+.f64 (*.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3)))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 5) (pow.f64 (cos.f64 im) 5))) 1/3))) (+.f64 (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2)))) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3))))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 5) (pow.f64 (cos.f64 im) 5))) 1/3)))))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2))))) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (+.f64 (*.f64 -1/3 (/.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) re)))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3))))))
(+.f64 1 re)
(+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re))
(+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3)))) (pow.f64 im 4)) (pow.f64 (+.f64 1 re) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re)))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 -1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))) (+.f64 (*.f64 -1/720 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 (+.f64 1 re) 2)) (*.f64 -1/24 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))))) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3))))) (pow.f64 (+.f64 1 re) 3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 3) (pow.f64 (+.f64 1 re) 6))))) (pow.f64 im 6)) (pow.f64 (+.f64 1 re) 2))) (+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3)))) (pow.f64 im 4)) (pow.f64 (+.f64 1 re) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re))))
(*.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))
(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 (pow.f64 (cos.f64 im) 3) (*.f64 2 (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 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (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 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(+.f64 (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 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (cos.f64 im) 3)) (*.f64 -2 (pow.f64 (cos.f64 im) 3))) re)) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (cos.f64 im) 3)) (*.f64 -2 (pow.f64 (cos.f64 im) 3))) re)) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))))
(pow.f64 (+.f64 1 re) 3)
(+.f64 (pow.f64 (+.f64 1 re) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)))
(+.f64 (pow.f64 (+.f64 1 re) 3) (+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (pow.f64 im 4)) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2))))
(+.f64 (pow.f64 (+.f64 1 re) 3) (+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (pow.f64 im 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 (+.f64 1 re) 2)) (*.f64 -1/24 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)) (*.f64 -1/720 (pow.f64 (+.f64 1 re) 3))))) (pow.f64 im 6)) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)))))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(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))
(+.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))
Outputs
(cos.f64 im)
(+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))))
(+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))))))
(fma.f64 (*.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))
(fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (cos.f64 im) 2))) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3)))))
(fma.f64 1/3 (/.f64 (*.f64 (*.f64 re re) (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im))))))) (pow.f64 (cos.f64 im) 2)) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))))))))
(fma.f64 1/3 (*.f64 (/.f64 (*.f64 re re) (pow.f64 (cos.f64 im) 2)) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (fma.f64 (*.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im)))
(fma.f64 1/3 (*.f64 (/.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3))) (pow.f64 (cos.f64 im) 2)) (*.f64 re re)) (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im)))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (cos.f64 im) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5)) 1/3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (pow.f64 (cos.f64 im) 2))))) (pow.f64 re 3)) (pow.f64 (cos.f64 im) 2))) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))))))
(fma.f64 1/3 (/.f64 (*.f64 (*.f64 re re) (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im))))))) (pow.f64 (cos.f64 im) 2)) (fma.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 2/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))))) (*.f64 1/27 (/.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 3) (pow.f64 (cos.f64 im) 2))))) (/.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 3))) (+.f64 (cos.f64 im) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))))))))
(fma.f64 1/3 (*.f64 (/.f64 (*.f64 re re) (pow.f64 (cos.f64 im) 2)) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (fma.f64 1/3 (*.f64 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 (*.f64 (*.f64 2/3 (*.f64 3 (pow.f64 (cos.f64 im) 3))) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))) (*.f64 1/27 (/.f64 (*.f64 27 (pow.f64 (pow.f64 (cos.f64 im) 3) 3)) (pow.f64 (cos.f64 im) 2))))) (pow.f64 (cos.f64 im) 2)) (pow.f64 re 3)) (fma.f64 (*.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))))
(fma.f64 1/3 (*.f64 (/.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3))) (pow.f64 (cos.f64 im) 2)) (*.f64 re re)) (fma.f64 1/3 (*.f64 (-.f64 (/.f64 (cos.f64 im) 1) (/.f64 (fma.f64 (*.f64 (*.f64 2/3 (*.f64 3 (pow.f64 (cos.f64 im) 3))) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3)))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))) (*.f64 1/27 (*.f64 (/.f64 (*.f64 3 (cos.f64 im)) 1) (*.f64 9 (pow.f64 (cos.f64 im) 6))))) (pow.f64 (cos.f64 im) 2))) (pow.f64 re 3)) (fma.f64 (*.f64 (pow.f64 (cos.f64 im) 3) re) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (cos.f64 im))))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (*.f64 (cos.f64 im) re))
(fma.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))) (*.f64 (cos.f64 im) re))
(fma.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (*.f64 (cos.f64 im) re))
(fma.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 (cos.f64 im) re) (*.f64 1/3 (/.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3)))) (*.f64 (pow.f64 (cos.f64 im) 2) re)))))
(fma.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))) (fma.f64 (cos.f64 im) re (*.f64 1/3 (/.f64 (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (*.f64 re (pow.f64 (cos.f64 im) 2))))))
(fma.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (fma.f64 (cos.f64 im) re (*.f64 1/3 (/.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im))))) (*.f64 re (pow.f64 (cos.f64 im) 2))))))
(fma.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (fma.f64 (cos.f64 im) re (/.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 1/3 (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3)))) (*.f64 re (pow.f64 (cos.f64 im) 2)))))
(+.f64 (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)) 1/3))) (+.f64 (*.f64 (cos.f64 im) re) (+.f64 (*.f64 1/3 (/.f64 (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3)))) (*.f64 (pow.f64 (cos.f64 im) 2) re))) (*.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 2/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (cos.f64 im)) 1/3))))) (pow.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5)) 1/3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (pow.f64 (cos.f64 im) 2))))) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2)))))))
(fma.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2)))) (fma.f64 (cos.f64 im) re (*.f64 1/3 (+.f64 (/.f64 (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (*.f64 re (pow.f64 (cos.f64 im) 2))) (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 2/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 (-.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))))) (*.f64 1/27 (/.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 3) (pow.f64 (cos.f64 im) 2))))) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re)))))))
(fma.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (fma.f64 (cos.f64 im) re (*.f64 1/3 (+.f64 (/.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im))))) (*.f64 re (pow.f64 (cos.f64 im) 2))) (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 (*.f64 (*.f64 2/3 (*.f64 3 (pow.f64 (cos.f64 im) 3))) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 -1/3 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)) (cbrt.f64 (/.f64 1 (cos.f64 im)))))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))) (*.f64 1/27 (/.f64 (*.f64 27 (pow.f64 (pow.f64 (cos.f64 im) 3) 3)) (pow.f64 (cos.f64 im) 2))))) (*.f64 re (*.f64 re (pow.f64 (cos.f64 im) 2))))))))
(fma.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 2))) (fma.f64 (cos.f64 im) re (*.f64 (/.f64 1/3 (pow.f64 (cos.f64 im) 2)) (+.f64 (/.f64 (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3))) re) (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 (*.f64 (*.f64 2/3 (*.f64 3 (pow.f64 (cos.f64 im) 3))) (fma.f64 3 (pow.f64 (cos.f64 im) 3) (*.f64 (cbrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) -1/3)))) (cbrt.f64 (/.f64 1 (pow.f64 (cos.f64 im) 5))) (*.f64 1/27 (*.f64 (/.f64 (*.f64 3 (cos.f64 im)) 1) (*.f64 9 (pow.f64 (cos.f64 im) 6)))))) (*.f64 re re))))))
(*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re)))
(neg.f64 (*.f64 (*.f64 (cos.f64 im) re) (cbrt.f64 -1)))
(*.f64 (*.f64 (neg.f64 (cbrt.f64 -1)) (cos.f64 im)) re)
(*.f64 (cos.f64 im) (*.f64 (neg.f64 (cbrt.f64 -1)) re))
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3))))
(fma.f64 -1 (*.f64 (*.f64 (cos.f64 im) re) (cbrt.f64 -1)) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))))))
(-.f64 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 1 (pow.f64 (cos.f64 im) 3))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1))))
(-.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 -1) 2)) (pow.f64 (cos.f64 im) 2)))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1))))
(+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (+.f64 (*.f64 -1/3 (/.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) re)))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3)))))
(fma.f64 -1 (*.f64 (*.f64 (cos.f64 im) re) (cbrt.f64 -1)) (fma.f64 -1/3 (/.f64 (-.f64 (*.f64 (pow.f64 (cos.f64 im) 3) -3) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (*.f64 (cos.f64 im) (cbrt.f64 -1))))))) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 2)) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2))))))))
(-.f64 (fma.f64 -1/3 (/.f64 (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 (*.f64 -1/3 (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))) (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2))) (*.f64 re (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 1 (pow.f64 (cos.f64 im) 3)))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1))))
(-.f64 (fma.f64 -1/3 (/.f64 (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 -1/3 (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))))) (*.f64 re (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 -1) 2)) (pow.f64 (cos.f64 im) 2))))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1))))
(+.f64 (*.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 1/3 (*.f64 (*.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3)))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 5) (pow.f64 (cos.f64 im) 5))) 1/3))) (+.f64 (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 3) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2)))) (*.f64 1/3 (*.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3))))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 5) (pow.f64 (cos.f64 im) 5))) 1/3)))))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 re 2))))) (+.f64 (*.f64 -1 (*.f64 (cbrt.f64 -1) (*.f64 (cos.f64 im) re))) (+.f64 (*.f64 -1/3 (/.f64 (-.f64 (+.f64 (*.f64 -2 (pow.f64 (cos.f64 im) 3)) (*.f64 -1 (pow.f64 (cos.f64 im) 3))) (*.f64 1/3 (*.f64 (pow.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) 2) (pow.f64 (/.f64 1 (*.f64 (cbrt.f64 -1) (cos.f64 im))) 1/3)))) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 (pow.f64 (cos.f64 im) 2) re)))) (*.f64 1/3 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 (/.f64 1 (*.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 2))) 1/3))))))
(fma.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 1/3 (*.f64 (-.f64 (*.f64 (pow.f64 (cos.f64 im) 3) -3) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (*.f64 (cos.f64 im) (cbrt.f64 -1))))))) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 5) (pow.f64 (cbrt.f64 -1) 5)))))) (fma.f64 1/27 (/.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 3) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 1/3 (*.f64 (-.f64 (*.f64 (pow.f64 (cos.f64 im) 3) -3) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (*.f64 (cos.f64 im) (cbrt.f64 -1))))))) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 5) (pow.f64 (cbrt.f64 -1) 5)))))))))) (*.f64 (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 re re)) (pow.f64 (cbrt.f64 -1) 2))) (fma.f64 -1 (*.f64 (*.f64 (cos.f64 im) re) (cbrt.f64 -1)) (fma.f64 -1/3 (/.f64 (-.f64 (*.f64 (pow.f64 (cos.f64 im) 3) -3) (*.f64 1/3 (*.f64 (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2) (cbrt.f64 (/.f64 1 (*.f64 (cos.f64 im) (cbrt.f64 -1))))))) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 2)) (pow.f64 (cbrt.f64 -1) 2))) (*.f64 1/3 (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))))))))
(fma.f64 1/3 (/.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 (*.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 (*.f64 -1/3 (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))) (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)))) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 5) (pow.f64 (cbrt.f64 -1) 5)))) (fma.f64 (*.f64 (*.f64 1 (pow.f64 (cos.f64 im) 3)) (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 (*.f64 -1/3 (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))) (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2)))) (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 5) (pow.f64 (cbrt.f64 -1) 5)))) (*.f64 1/27 (/.f64 (*.f64 27 (pow.f64 (pow.f64 (cos.f64 im) 3) 3)) (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2))))))) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 re re)))) (-.f64 (fma.f64 -1/3 (/.f64 (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 (*.f64 -1/3 (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))) (pow.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) 2))) (*.f64 re (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 1 (pow.f64 (cos.f64 im) 3)))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1)))))
(fma.f64 1/3 (/.f64 (+.f64 (-.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (*.f64 (cbrt.f64 (/.f64 1 (*.f64 (pow.f64 (cos.f64 im) 5) (pow.f64 (cbrt.f64 -1) 5)))) (*.f64 (pow.f64 (cos.f64 im) 3) (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 -1/3 (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))))))))) (*.f64 -1/27 (*.f64 (/.f64 (*.f64 3 (cos.f64 im)) 1) (/.f64 9 (/.f64 (pow.f64 (cbrt.f64 -1) 2) (pow.f64 (cos.f64 im) 6)))))) (*.f64 (pow.f64 (cos.f64 im) 2) (*.f64 (pow.f64 (cbrt.f64 -1) 2) (*.f64 re re)))) (-.f64 (fma.f64 -1/3 (/.f64 (fma.f64 (pow.f64 (cos.f64 im) 3) -3 (*.f64 -1/3 (*.f64 (*.f64 9 (pow.f64 (cos.f64 im) 6)) (cbrt.f64 (/.f64 (/.f64 1 (cbrt.f64 -1)) (cos.f64 im)))))) (*.f64 re (*.f64 (pow.f64 (cos.f64 im) 2) (pow.f64 (cbrt.f64 -1) 2)))) (*.f64 (pow.f64 (cos.f64 im) 3) (cbrt.f64 (/.f64 (/.f64 1 (pow.f64 (cbrt.f64 -1) 2)) (pow.f64 (cos.f64 im) 2))))) (*.f64 (cos.f64 im) (*.f64 re (cbrt.f64 -1)))))
(+.f64 1 re)
(+.f64 re 1)
(+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re))
(+.f64 1 (fma.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 im im))) re))
(+.f64 1 (fma.f64 1/3 (*.f64 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (pow.f64 (+.f64 re 1) 2)) (*.f64 im im)) re))
(+.f64 1 (fma.f64 1/3 (/.f64 (pow.f64 (+.f64 re 1) 3) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 -3/2 (*.f64 im im)))) re))
(+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3)))) (pow.f64 im 4)) (pow.f64 (+.f64 1 re) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re)))
(+.f64 1 (fma.f64 1/3 (/.f64 (-.f64 (fma.f64 1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 1/2 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)))) (*.f64 1/3 (/.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) 2) (pow.f64 (+.f64 re 1) 3)))) (/.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 im 4))) (fma.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 im im))) re)))
(+.f64 1 (fma.f64 1/3 (/.f64 (-.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (*.f64 (pow.f64 (+.f64 re 1) 3) 13/24)) (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 6) 9/4) (pow.f64 (+.f64 re 1) 3)))) (/.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 im 4))) (fma.f64 1/3 (*.f64 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (pow.f64 (+.f64 re 1) 2)) (*.f64 im im)) re)))
(+.f64 1 (fma.f64 1/3 (*.f64 (/.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 7/8) (*.f64 -1/3 (/.f64 (pow.f64 (+.f64 re 1) 6) (/.f64 (pow.f64 (+.f64 re 1) 3) 9/4)))) (pow.f64 (+.f64 re 1) 2)) (pow.f64 im 4)) (fma.f64 1/3 (/.f64 (pow.f64 (+.f64 re 1) 3) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 -3/2 (*.f64 im im)))) re)))
(+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 -1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))) (+.f64 (*.f64 -1/720 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 (+.f64 1 re) 2)) (*.f64 -1/24 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))))) (+.f64 (*.f64 2/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3))))) (pow.f64 (+.f64 1 re) 3))) (*.f64 1/27 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 3) (pow.f64 (+.f64 1 re) 6))))) (pow.f64 im 6)) (pow.f64 (+.f64 1 re) 2))) (+.f64 1 (+.f64 (*.f64 1/3 (/.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (*.f64 1/3 (/.f64 (pow.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) 2) (pow.f64 (+.f64 1 re) 3)))) (pow.f64 im 4)) (pow.f64 (+.f64 1 re) 2))) (+.f64 (*.f64 1/3 (/.f64 (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)) (pow.f64 (+.f64 1 re) 2))) re))))
(fma.f64 1/3 (/.f64 (-.f64 (fma.f64 -1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)) (fma.f64 -1/720 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) -2/45))))) (fma.f64 2/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (/.f64 (pow.f64 (+.f64 re 1) 3) (-.f64 (fma.f64 1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 1/2 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)))) (*.f64 1/3 (/.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) 2) (pow.f64 (+.f64 re 1) 3)))))) (*.f64 1/27 (/.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) 3) (pow.f64 (+.f64 re 1) 6))))) (/.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 im 6))) (+.f64 1 (fma.f64 1/3 (/.f64 (-.f64 (fma.f64 1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 1/2 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)))) (*.f64 1/3 (/.f64 (pow.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) 2) (pow.f64 (+.f64 re 1) 3)))) (/.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 im 4))) (fma.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 im im))) re))))
(fma.f64 1/3 (*.f64 (/.f64 (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/24 (-.f64 (fma.f64 -1/2 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/720 (*.f64 (pow.f64 (+.f64 re 1) 3) -2/45))) (fma.f64 2/3 (*.f64 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (pow.f64 (+.f64 re 1) 3)) (-.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (*.f64 (pow.f64 (+.f64 re 1) 3) 13/24)) (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 6) 9/4) (pow.f64 (+.f64 re 1) 3))))) (/.f64 1/27 (/.f64 (pow.f64 (+.f64 re 1) 6) (*.f64 (pow.f64 (pow.f64 (+.f64 re 1) 3) 3) -27/8)))))) (pow.f64 (+.f64 re 1) 2)) (pow.f64 im 6)) (+.f64 1 (fma.f64 1/3 (/.f64 (-.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (*.f64 (pow.f64 (+.f64 re 1) 3) 13/24)) (*.f64 1/3 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 6) 9/4) (pow.f64 (+.f64 re 1) 3)))) (/.f64 (pow.f64 (+.f64 re 1) 2) (pow.f64 im 4))) (fma.f64 1/3 (*.f64 (/.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (pow.f64 (+.f64 re 1) 2)) (*.f64 im im)) re))))
(fma.f64 1/3 (*.f64 (/.f64 (-.f64 (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/24 (fma.f64 -1/2 (*.f64 1/3 (pow.f64 (+.f64 re 1) 3)) (*.f64 (pow.f64 (+.f64 re 1) 3) -11/240))) (fma.f64 2/3 (*.f64 (/.f64 (pow.f64 (+.f64 re 1) 3) (/.f64 (pow.f64 (+.f64 re 1) 3) -3/2)) (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 7/8) (*.f64 -1/3 (/.f64 (pow.f64 (+.f64 re 1) 6) (/.f64 (pow.f64 (+.f64 re 1) 3) 9/4))))) (*.f64 (/.f64 1/27 (pow.f64 (+.f64 re 1) 6)) (*.f64 (pow.f64 (pow.f64 (+.f64 re 1) 3) 3) -27/8)))) (pow.f64 (+.f64 re 1) 2)) (pow.f64 im 6)) (+.f64 1 (fma.f64 1/3 (*.f64 (/.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 7/8) (*.f64 -1/3 (/.f64 (pow.f64 (+.f64 re 1) 6) (/.f64 (pow.f64 (+.f64 re 1) 3) 9/4)))) (pow.f64 (+.f64 re 1) 2)) (pow.f64 im 4)) (fma.f64 1/3 (/.f64 (pow.f64 (+.f64 re 1) 3) (/.f64 (pow.f64 (+.f64 re 1) 2) (*.f64 -3/2 (*.f64 im im)))) re))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 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) (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 re 3) 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 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re) (pow.f64 (cos.f64 im) 3)))
(+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 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 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (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 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (+.f64 (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re))) (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3))))
(+.f64 (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3)) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 3)))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))
(fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re)))
(fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re))))
(*.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (*.f64 re re) 3) (pow.f64 re 3)))
(+.f64 (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) re) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re)))))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 3)))
(+.f64 (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 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (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 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (+.f64 (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re))) (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3))))
(+.f64 (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3)) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 3)))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2)))
(fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re)))
(fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re))))
(*.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 (*.f64 re re) 3) (pow.f64 re 3)))
(+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (cos.f64 im) 3)) (*.f64 -2 (pow.f64 (cos.f64 im) 3))) re)) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (pow.f64 (cos.f64 im) 3))) (pow.f64 re 2))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (fma.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re)))))
(+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 3)))
(+.f64 (pow.f64 (cos.f64 im) 3) (+.f64 (*.f64 -1 (*.f64 (+.f64 (*.f64 -1 (pow.f64 (cos.f64 im) 3)) (*.f64 -2 (pow.f64 (cos.f64 im) 3))) re)) (+.f64 (*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3)) (*.f64 (+.f64 (pow.f64 (cos.f64 im) 3) (*.f64 2 (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 (pow.f64 (cos.f64 im) 3) (pow.f64 re 3) (*.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) (*.f64 re re))))
(fma.f64 (*.f64 3 (pow.f64 (cos.f64 im) 3)) re (+.f64 (*.f64 3 (*.f64 (pow.f64 (cos.f64 im) 3) (*.f64 re re))) (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3))))
(+.f64 (*.f64 (+.f64 (pow.f64 re 3) 1) (pow.f64 (cos.f64 im) 3)) (*.f64 (+.f64 re 1) (*.f64 (*.f64 re (pow.f64 (cos.f64 im) 3)) 3)))
(pow.f64 (+.f64 1 re) 3)
(pow.f64 (+.f64 re 1) 3)
(+.f64 (pow.f64 (+.f64 1 re) 3) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)))
(+.f64 (pow.f64 (+.f64 re 1) 3) (*.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (*.f64 im im)))
(fma.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (*.f64 im im) (pow.f64 (+.f64 re 1) 3))
(+.f64 (pow.f64 (+.f64 1 re) 3) (+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (pow.f64 im 4)) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (fma.f64 1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 1/2 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)))) (pow.f64 im 4) (*.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (*.f64 im im))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (*.f64 (pow.f64 (+.f64 re 1) 3) 13/24)) (pow.f64 im 4) (*.f64 (pow.f64 (+.f64 re 1) 3) (*.f64 -3/2 (*.f64 im im)))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 7/8) (pow.f64 im 4) (*.f64 (pow.f64 (+.f64 re 1) 3) (*.f64 -3/2 (*.f64 im im)))))
(+.f64 (pow.f64 (+.f64 1 re) 3) (+.f64 (*.f64 (+.f64 (*.f64 1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)))) (pow.f64 im 4)) (+.f64 (*.f64 (+.f64 (*.f64 -1/24 (pow.f64 (+.f64 1 re) 3)) (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/4 (pow.f64 (+.f64 1 re) 2)) (*.f64 1/12 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re))) (+.f64 (*.f64 (+.f64 (*.f64 -1/360 (pow.f64 (+.f64 1 re) 2)) (*.f64 -1/24 (pow.f64 (+.f64 1 re) 2))) (+.f64 1 re)) (*.f64 -1/720 (pow.f64 (+.f64 1 re) 3))))) (pow.f64 im 6)) (*.f64 (+.f64 (*.f64 -1/2 (pow.f64 (+.f64 1 re) 3)) (*.f64 -1 (pow.f64 (+.f64 1 re) 3))) (pow.f64 im 2)))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (fma.f64 1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 1/2 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)))) (pow.f64 im 4) (fma.f64 (fma.f64 -1/24 (pow.f64 (+.f64 re 1) 3) (fma.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) 1/3)) (fma.f64 -1/720 (pow.f64 (+.f64 re 1) 3) (*.f64 (+.f64 re 1) (*.f64 (pow.f64 (+.f64 re 1) 2) -2/45))))) (pow.f64 im 6) (*.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (*.f64 im im)))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (+.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (*.f64 (pow.f64 (+.f64 re 1) 3) 13/24)) (pow.f64 im 4) (fma.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) -3/2) (*.f64 im im) (*.f64 (pow.f64 im 6) (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/24 (fma.f64 -1/2 (*.f64 (pow.f64 (+.f64 re 1) 3) 1/3) (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/720 (*.f64 (pow.f64 (+.f64 re 1) 3) -2/45))))))))
(+.f64 (pow.f64 (+.f64 re 1) 3) (fma.f64 (*.f64 (pow.f64 (+.f64 re 1) 3) 7/8) (pow.f64 im 4) (fma.f64 (pow.f64 im 6) (fma.f64 (pow.f64 (+.f64 re 1) 3) -1/24 (fma.f64 -1/2 (*.f64 1/3 (pow.f64 (+.f64 re 1) 3)) (*.f64 (pow.f64 (+.f64 re 1) 3) -11/240))) (*.f64 (pow.f64 (+.f64 re 1) 3) (*.f64 -3/2 (*.f64 im im))))))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 1 re) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(*.f64 (pow.f64 (+.f64 1 re) 3) (pow.f64 (cos.f64 im) 3))
(*.f64 (pow.f64 (cos.f64 im) 3) (pow.f64 (+.f64 re 1) 3))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) re)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 1 re)
(+.f64 re 1)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))
(+.f64 1 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re 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 re 1) (pow.f64 im 4)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))))
(+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 1/24 (*.f64 re 1/24)) (pow.f64 im 4) 1))
(+.f64 (+.f64 re 1) (*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.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 re 1) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (+.f64 re 1) (pow.f64 im 6)) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))))
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 -1/720 (*.f64 (+.f64 re 1) (pow.f64 im 6)) 1)))
(+.f64 (*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re 1)) (*.f64 (+.f64 re 1) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))

eval189.0ms (2.7%)

Compiler

Compiled 7877 to 5276 computations (33% saved)

prune96.0ms (1.4%)

Pruning

12 alts after pruning (1 fresh and 11 done)

PrunedKeptTotal
New3621363
Fresh000
Picked011
Done01010
Total36212374
Error
0b
Counts
374 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
23.8b
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2))))
17.6b
(exp.f64 re)
0.1b
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
40.1b
(/.f64 -1 (-.f64 re 1))
24.0b
(+.f64 re (cos.f64 im))
23.9b
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
34.5b
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
22.9b
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 re -1))
40.8b
(+.f64 re 1)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
23.6b
(*.f64 (cos.f64 im) (+.f64 re 1))
23.8b
(cos.f64 im)
Compiler

Compiled 103 to 78 computations (24.3% saved)

regimes60.0ms (0.9%)

Counts
18 → 1
Calls
Call 1
Inputs
(+.f64 re 1)
(/.f64 -1 (-.f64 re 1))
(cos.f64 im)
(exp.f64 re)
(+.f64 re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(/.f64 (neg.f64 (cos.f64 im)) (+.f64 re -1))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 (*.f64 re (*.f64 re 1/2)) 1)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 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))
(/.f64 (*.f64 (fma.f64 re re -1) (cos.f64 im)) (+.f64 re -1))
(pow.f64 (pow.f64 (*.f64 (+.f64 re 1) (cos.f64 im)) 3) 1/3)
(pow.f64 (pow.f64 (*.f64 (cos.f64 im) (+.f64 re 1)) 3) 1/3)
(expm1.f64 (log1p.f64 (*.f64 (exp.f64 re) (cos.f64 im))))
(pow.f64 (cbrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 3)
(pow.f64 (pow.f64 (*.f64 (exp.f64 re) (cos.f64 im)) 3) 1/3)
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
Calls

5 calls:

27.0ms
im
10.0ms
(cos.f64 im)
10.0ms
re
6.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
3.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 159 to 89 computations (44% saved)

regimes153.0ms (2.2%)

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

5 calls:

112.0ms
(cos.f64 im)
17.0ms
im
13.0ms
re
4.0ms
(exp.f64 re)
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.3b2re
9.4b3im
0.3b2(exp.f64 re)
0.3b2(exp.f64 re)
7.4b4(cos.f64 im)
Compiler

Compiled 89 to 55 computations (38.2% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
0.996585064884397
Compiler

Compiled 12 to 9 computations (25% saved)

regimes262.0ms (3.7%)

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

5 calls:

151.0ms
re
61.0ms
(cos.f64 im)
35.0ms
im
6.0ms
(exp.f64 re)
3.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.3b2re
9.4b3im
0.3b2(exp.f64 re)
0.3b2(exp.f64 re)
7.4b4(cos.f64 im)
Compiler

Compiled 73 to 45 computations (38.4% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
0.996585064884397
Compiler

Compiled 12 to 9 computations (25% saved)

regimes107.0ms (1.5%)

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

5 calls:

36.0ms
(cos.f64 im)
33.0ms
im
20.0ms
re
7.0ms
(exp.f64 re)
7.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.4b2re
9.4b3im
0.4b2(exp.f64 re)
0.4b2(exp.f64 re)
7.4b4(cos.f64 im)
Compiler

Compiled 49 to 31 computations (36.7% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
0.996585064884397
Compiler

Compiled 12 to 9 computations (25% saved)

regimes43.0ms (0.6%)

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

5 calls:

13.0ms
(cos.f64 im)
12.0ms
im
9.0ms
re
4.0ms
(exp.f64 re)
3.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.7b2re
10.0b3im
0.7b2(exp.f64 re)
0.7b2(exp.f64 re)
7.8b4(cos.f64 im)
Compiler

Compiled 36 to 24 computations (33.3% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
0.996585064884397
Compiler

Compiled 12 to 9 computations (25% saved)

regimes41.0ms (0.6%)

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

4 calls:

13.0ms
re
12.0ms
(cos.f64 im)
11.0ms
im
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.8b2re
10.0b3im
0.8b2(exp.f64 re)
7.8b4(cos.f64 im)
Compiler

Compiled 28 to 20 computations (28.6% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.0
0.996585064884397
Compiler

Compiled 12 to 9 computations (25% saved)

regimes13.0ms (0.2%)

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

3 calls:

4.0ms
im
4.0ms
re
3.0ms
(cos.f64 im)
Results
ErrorSegmentsBranch
23.8b1re
23.8b1im
23.8b1(cos.f64 im)
Compiler

Compiled 22 to 16 computations (27.3% saved)

regimes9.0ms (0.1%)

Accuracy

Total -0.8b remaining (-1.9%)

Threshold costs -0.8b (-1.9%)

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

2 calls:

5.0ms
im
3.0ms
re
Results
ErrorSegmentsBranch
40.1b1re
40.1b1im
Compiler

Compiled 16 to 12 computations (25% saved)

simplify7.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
034137
151137
252137
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2)))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (+.f64 re (cos.f64 im)))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
(/.f64 -1 (-.f64 re 1))
(+.f64 re 1)
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2)))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2)))))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (+.f64 re (cos.f64 im)))
(if (<=.f64 (exp.f64 re) 0) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
(/.f64 -1 (-.f64 re 1))
(/.f64 -1 (+.f64 re -1))
(+.f64 re 1)
Compiler

Compiled 108 to 74 computations (31.5% saved)

soundness0.0ms (0%)

end61.0ms (0.9%)

Compiler

Compiled 92 to 47 computations (48.9% saved)

Profiling

Loading profile data...