Details

Time bar (total: 7.5s)

analyze84.0ms (1.1%)

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)

sample3.1s (41.3%)

Results
1.3s6208×body256valid
1.0s1359×body1024valid
389.0ms701×body1024invalid
180.0ms688×body512valid
116.0ms322×body512invalid
54.0ms405×body256invalid
1.0msbody2048valid

preprocess51.0ms (0.7%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
11116
022
Stop Event
saturated
saturated
Calls
Call 1
Inputs
0
1
Outputs
0
1
Call 2
Inputs
(*.f64 (exp.f64 re) (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)

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

localize13.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 13 to 5 computations (61.5% saved)

series9.0ms (0.1%)

Counts
2 → 12
Calls

9 calls:

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

rewrite85.0ms (1.1%)

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

Useful iterations: 0 (0.0ms)

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

simplify135.0ms (1.8%)

Algorithm
egg-herbie
Rules
945×fma-def_binary64
678×associate-*l*_binary64
650×distribute-lft-out_binary64
612×distribute-rgt-out_binary64
462×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
049204
1131200
2331182
31047165
43921160
56575160
67086160
77519160
Stop Event
node limit
Counts
39 → 48
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(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
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 im im)))
(fma.f64 -1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4))))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (fma.f64 -1/720 (pow.f64 im 6) 1)))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 -1/720 (pow.f64 im 6) (fma.f64 1/24 (pow.f64 im 4) 1)))
(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 (cos.f64 im) (*.f64 re 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 1 (fma.f64 1/2 (*.f64 re re) re)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))
(*.f64 (cos.f64 im) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 1/2 (*.f64 re re) re)))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 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))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re))))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (fma.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re)) (exp.f64 re))))
(+.f64 (*.f64 (fma.f64 1/24 (pow.f64 im 4) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 -1/720 (pow.f64 im 6) (fma.f64 1/24 (pow.f64 im 4) 1))))

eval22.0ms (0.3%)

Compiler

Compiled 500 to 253 computations (49.4% saved)

prune33.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43548
Fresh000
Picked011
Done000
Total43649
Error
0b
Counts
49 → 6
Alt Table
Click to see full alt table
StatusErrorProgram
0.2b
(*.f64 (exp.f64 re) (-.f64 (+.f64 1 (cos.f64 im)) 1))
21.9b
(cos.f64 im)
0.2b
(*.f64 (exp.f64 re) (log.f64 (exp.f64 (cos.f64 im))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
18.5b
(exp.f64 re)
21.8b
(*.f64 (cos.f64 im) (+.f64 1 re))
Compiler

Compiled 79 to 61 computations (22.8% saved)

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 22 to 7 computations (68.2% saved)

series28.0ms (0.4%)

Counts
3 → 40
Calls

12 calls:

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

rewrite81.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
599×pow1_binary64
545×add-log-exp_binary64
545×log1p-expm1-u_binary64
545×expm1-log1p-u_binary64
531×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

simplify157.0ms (2.1%)

Algorithm
egg-herbie
Rules
401×*-commutative_binary64
385×cube-div_binary64
374×fabs-div_binary64
371×cube-prod_binary64
369×sqr-pow_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
064430
1177426
2452405
31430388
42146384
53027384
63224384
73510384
84008384
95668384
106625384
Stop Event
node limit
Counts
89 → 79
Calls
Call 1
Inputs
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(exp.f64 1)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (exp.f64 1))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 1) (pow.f64 im 4))) (exp.f64 1)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 1) (pow.f64 im 4))) (+.f64 (*.f64 -31/720 (*.f64 (exp.f64 1) (pow.f64 im 6))) (exp.f64 1))))
(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
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 1 (*.f64 -1/2 (*.f64 im im)))
(fma.f64 -1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 1 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(+.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 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))))
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(exp.f64 1)
(E.f64)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (exp.f64 1))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (E.f64)) (E.f64))
(*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (E.f64))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 1) (pow.f64 im 4))) (exp.f64 1)))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 im 4) (E.f64)) (E.f64)))
(fma.f64 (pow.f64 im 4) (*.f64 (E.f64) 1/6) (*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (E.f64)))
(*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 (pow.f64 im 4) 1/6)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 1) (pow.f64 im 2))) (+.f64 (*.f64 1/6 (*.f64 (exp.f64 1) (pow.f64 im 4))) (+.f64 (*.f64 -31/720 (*.f64 (exp.f64 1) (pow.f64 im 6))) (exp.f64 1))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (E.f64)) (fma.f64 1/6 (*.f64 (pow.f64 im 4) (E.f64)) (fma.f64 -31/720 (*.f64 (pow.f64 im 6) (E.f64)) (E.f64))))
(+.f64 (*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (E.f64)) (*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 im 4) 1/6) (*.f64 (pow.f64 im 6) -31/720))))
(fma.f64 (pow.f64 im 4) (*.f64 (E.f64) 1/6) (*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 (pow.f64 im 6) -31/720))))
(*.f64 (E.f64) (+.f64 (+.f64 (*.f64 (pow.f64 im 4) 1/6) (*.f64 (pow.f64 im 6) -31/720)) (fma.f64 -1/2 (*.f64 im im) 1)))
(*.f64 (E.f64) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (+.f64 (*.f64 (pow.f64 im 4) 1/6) (*.f64 (pow.f64 im 6) -31/720))))
(*.f64 (E.f64) (+.f64 (*.f64 (pow.f64 im 6) -31/720) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 (pow.f64 im 4) 1/6))))
(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 (cos.f64 im) (*.f64 re 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 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (cos.f64 im) (*.f64 re (*.f64 re 1/2)) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 1/6 (pow.f64 re 3)))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re)))))
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (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 (*.f64 im im) (exp.f64 re)) (exp.f64 re))
(*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 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))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re))))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (fma.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re)) (exp.f64 re))))
(+.f64 (*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(*.f64 (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))) (exp.f64 re))
(*.f64 (+.f64 1 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))))) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 im)
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 2 expressions with local error:

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

Compiled 16 to 9 computations (43.8% saved)

series3.0ms (0%)

Counts
1 → 20
Calls

6 calls:

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

rewrite86.0ms (1.2%)

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

Useful iterations: 0 (0.0ms)

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

simplify123.0ms (1.7%)

Algorithm
egg-herbie
Rules
773×fma-def_binary64
759×distribute-rgt-out_binary64
625×distribute-rgt-in_binary64
620×distribute-lft-in_binary64
533×associate-*l*_binary64
Iterations

Useful iterations: 9 (0.0ms)

IterNodesCost
029232
173226
2248214
3904207
43921207
56225207
66407207
76646207
86865207
97138203
Stop Event
node limit
Counts
46 → 37
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 (+.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))
(fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 1 re))
(*.f64 (+.f64 1 re) (fma.f64 -1/2 (*.f64 im im) 1))
(*.f64 (+.f64 1 re) (fma.f64 im (*.f64 -1/2 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))
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 1 re)))
(*.f64 (+.f64 1 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 1 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 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)))
(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) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 1 re))))
(fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) (*.f64 (+.f64 1 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (*.f64 1/24 (pow.f64 im 4)))))
(fma.f64 (+.f64 1 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))) (*.f64 (+.f64 1 re) (fma.f64 im (*.f64 -1/2 im) 1)))
(*.f64 (+.f64 1 re) (+.f64 (fma.f64 -1/2 (*.f64 im im) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(*.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))

localize48.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

Compiled 28 to 16 computations (42.9% saved)

series4.0ms (0%)

Counts
3 → 40
Calls

12 calls:

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

rewrite97.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
917×pow1_binary64
851×add-log-exp_binary64
851×log1p-expm1-u_binary64
851×expm1-log1p-u_binary64
835×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify134.0ms (1.8%)

Algorithm
egg-herbie
Rules
692×associate-*l*_binary64
650×distribute-lft-out_binary64
613×distribute-rgt-out_binary64
469×associate-*r*_binary64
426×sqr-pow_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
053408
1141402
2360382
31141369
43300367
55954367
66465367
76898367
87590367
Stop Event
node limit
Counts
133 → 122
Calls
Call 1
Inputs
2
(+.f64 2 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(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
2
(+.f64 2 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 2 (*.f64 -1/2 (*.f64 im im)))
(fma.f64 -1/2 (*.f64 im im) 2)
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 2 (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) 2) (*.f64 1/24 (pow.f64 im 4)))
(fma.f64 1/24 (pow.f64 im 4) (fma.f64 -1/2 (*.f64 im im) 2))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 2))
(+.f64 2 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 2 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) 2) (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (fma.f64 -1/720 (pow.f64 im 6) (*.f64 -1/2 (*.f64 im im))) (fma.f64 1/24 (pow.f64 im 4) 2))
1
(+.f64 1 (*.f64 -1/2 (pow.f64 im 2)))
(+.f64 (*.f64 -1/2 (*.f64 im im)) 1)
(fma.f64 -1/2 (*.f64 im im) 1)
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (*.f64 1/24 (pow.f64 im 4))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))) 1)
(+.f64 (*.f64 1/24 (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 im im) 1))
(fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))
(+.f64 1 (+.f64 (*.f64 -1/2 (pow.f64 im 2)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))) 1)
(+.f64 (fma.f64 -1/720 (pow.f64 im 6) (*.f64 1/24 (pow.f64 im 4))) (fma.f64 -1/2 (*.f64 im im) 1))
(+.f64 (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4))) (fma.f64 -1/720 (pow.f64 im 6) 1))
(+.f64 (*.f64 -1/720 (pow.f64 im 6)) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(cos.f64 im)
(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 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 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (cos.f64 im) (*.f64 1/6 (pow.f64 re 3)) (*.f64 (cos.f64 im) (+.f64 (+.f64 1 re) (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6))))))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (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 (*.f64 im im) (exp.f64 re)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 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))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (*.f64 im im) (exp.f64 re)) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re))))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 1/24 (*.f64 (pow.f64 im 4) (exp.f64 re)) (fma.f64 -1/720 (*.f64 (pow.f64 im 6) (exp.f64 re)) (exp.f64 re))))
(+.f64 (*.f64 (fma.f64 -1/2 (*.f64 im im) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (fma.f64 -1/2 (*.f64 im im) (fma.f64 1/24 (pow.f64 im 4) 1))))
(*.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))

eval87.0ms (1.2%)

Compiler

Compiled 3967 to 2197 computations (44.6% saved)

prune65.0ms (0.9%)

Pruning

12 alts after pruning (7 fresh and 5 done)

PrunedKeptTotal
New3237330
Fresh000
Picked011
Done145
Total32412336
Error
0b
Counts
336 → 12
Alt Table
Click to see full alt table
StatusErrorProgram
21.9b
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re))))))
22.0b
(*.f64 (-.f64 (+.f64 1 (cos.f64 im)) 1) (+.f64 1 re))
18.5b
(exp.f64 re)
21.9b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
0.2b
(*.f64 (exp.f64 re) (-.f64 (+.f64 1 (cos.f64 im)) 1))
21.9b
(cos.f64 im)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
40.1b
(+.f64 1 re)
39.9b
1
22.0b
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)
22.0b
(log.f64 (exp.f64 (cos.f64 im)))
21.8b
(*.f64 (cos.f64 im) (+.f64 1 re))
Compiler

Compiled 171 to 133 computations (22.2% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 44 to 27 computations (38.6% saved)

series6.0ms (0.1%)

Counts
3 → 48
Calls

12 calls:

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

rewrite93.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
572×log-prod_binary64
511×fma-def_binary64
428×pow-prod-down_binary64
306×pow2_binary64
240×fma-neg_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify166.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
042652
1121648
2404612
31860591
43513581
54273581
64425581
74596581
84764581
94986581
106731581
117140581
127581581
Stop Event
node limit
Counts
252 → 230
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)))
re
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) 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)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) 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)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
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))
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)) 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)) re)
(fma.f64 1/2 (*.f64 re re) re)
(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)) 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)) re)
(fma.f64 1/2 (*.f64 re re) re)
(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)) 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)) re)
(fma.f64 1/2 (*.f64 re re) re)
(fma.f64 re (*.f64 1/2 re) re)
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))

localize3.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

Compiled 30 to 19 computations (36.7% saved)

series4.0ms (0.1%)

Counts
1 → 24
Calls

6 calls:

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

rewrite65.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
492×fma-def_binary64
491×prod-diff_binary64
419×log-prod_binary64
340×pow-prod-down_binary64
243×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify124.0ms (1.7%)

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
139 → 127
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))

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 34 to 21 computations (38.2% saved)

series7.0ms (0.1%)

Counts
2 → 48
Calls

12 calls:

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

rewrite76.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
779×prod-diff_binary64
609×fma-def_binary64
420×log-prod_binary64
260×fma-neg_binary64
242×pow2_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify261.0ms (3.5%)

Algorithm
egg-herbie
Rules
591×distribute-rgt-in_binary64
587×distribute-lft-in_binary64
525×associate-*l*_binary64
477×distribute-lft-out_binary64
455×distribute-rgt-out_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
039556
1107544
2338520
31195518
43160516
56573516
66749516
76988516
87207516
97480516
107817516
Stop Event
node limit
Counts
238 → 213
Calls
Call 1
Inputs
(+.f64 2 re)
(+.f64 2 (+.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 2 (+.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 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))))
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(+.f64 1 (cos.f64 im))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (cos.f64 im) re)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (cos.f64 im) re)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 1 (+.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))
(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 2 re)
(+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 2 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im)))))
(+.f64 2 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re))
(+.f64 2 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re))
(+.f64 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 2))
(fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) (+.f64 2 re))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 2 (+.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 2 (+.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) 2))
(+.f64 2 (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re)))
(+.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 2 (+.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 2 (+.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)) 2)))
(+.f64 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (fma.f64 (pow.f64 im 6) (fma.f64 re -1/720 -1/720) 2)))
(+.f64 2 (+.f64 re (*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))))
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (*.f64 (+.f64 1 re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 (*.f64 (cos.f64 im) (+.f64 1 re)) 1)
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (cos.f64 im))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(*.f64 (cos.f64 im) re)
(*.f64 re (cos.f64 im))
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 (cos.f64 im) (+.f64 re 1) 1)
(fma.f64 (+.f64 re 1) (cos.f64 im) 1)
(+.f64 1 re)
(+.f64 re 1)
(+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2)))))
(+.f64 (+.f64 re 1) (*.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 re (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) 1))
(+.f64 (*.f64 1/24 (*.f64 (+.f64 1 re) (pow.f64 im 4))) (+.f64 1 (+.f64 re (*.f64 -1/2 (*.f64 (+.f64 1 re) (pow.f64 im 2))))))
(fma.f64 1/24 (*.f64 (+.f64 re 1) (pow.f64 im 4)) (+.f64 (+.f64 re 1) (*.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 (fma.f64 (*.f64 im im) (fma.f64 re -1/2 -1/2) re) (fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) 1))
(*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (+.f64 re 1) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))
(+.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 (+.f64 re 1) (*.f64 -1/2 (*.f64 (+.f64 re 1) (*.f64 im im))))))
(fma.f64 (+.f64 1/24 (*.f64 re 1/24)) (pow.f64 im 4) (+.f64 (fma.f64 (+.f64 -1/2 (*.f64 re -1/2)) (*.f64 im im) re) (fma.f64 (+.f64 -1/720 (*.f64 re -1/720)) (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 im) (fma.f64 re -1/2 -1/2) re)))
(fma.f64 (pow.f64 im 4) (fma.f64 re 1/24 1/24) (*.f64 (+.f64 re 1) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 1 (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (+.f64 re 1) (+.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 1 re))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 1 re))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(*.f64 (+.f64 1 re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (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) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (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) re)
(*.f64 re (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(fma.f64 re (cos.f64 im) (cos.f64 im))

localize29.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

Compiled 69 to 42 computations (39.1% saved)

series11.0ms (0.1%)

Counts
4 → 48
Calls

15 calls:

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

rewrite106.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
818×fma-def_binary64
743×log-prod_binary64
362×fma-neg_binary64
274×expm1-udef_binary64
274×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify128.0ms (1.7%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
060917
1189830
2597732
33353715
44134702
54813702
65023702
75237702
85432702
Stop Event
node limit
Counts
264 → 253
Calls
Call 1
Inputs
(*.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/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(*.f64 1/6 (pow.f64 re 3))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 1/2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (*.f64 1/6 (pow.f64 re 3)))
(fma.f64 1/2 (*.f64 re re) (*.f64 1/6 (pow.f64 re 3)))
(*.f64 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re))
(+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (*.f64 im im)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 (*.f64 -1/2 (*.f64 im im)) 1))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (*.f64 im im)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re))))
(fma.f64 (*.f64 im im) (fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re) -1/2 -1/2) (*.f64 (+.f64 (*.f64 1/24 (pow.f64 im 4)) 1) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re))))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) 1)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (*.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 re 1/6 1/2) re)) (pow.f64 im 4)) (fma.f64 -1/2 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (*.f64 im im)) (fma.f64 -1/720 (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (pow.f64 im 6)) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)))))
(+.f64 (*.f64 (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1) (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re))) (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))))
(fma.f64 (pow.f64 im 4) (fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re) 1/24 1/24) (*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) 1))))
(*.f64 (+.f64 1 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) re)) (+.f64 1 (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 -1/720 (pow.f64 im 6))))))
(*.f64 (+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 1 (fma.f64 1/2 (*.f64 re re) re)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(*.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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 (pow.f64 re 3) (*.f64 1/6 (cos.f64 im))))
(*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))
(*.f64 re (*.f64 re (*.f64 (fma.f64 re 1/6 1/2) (cos.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (fma.f64 (*.f64 1/6 (cos.f64 im)) (pow.f64 re 3) (*.f64 re (cos.f64 im))))
(*.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 (pow.f64 re 3) (*.f64 1/6 (cos.f64 im))))
(*.f64 re (*.f64 (*.f64 re (fma.f64 re 1/6 1/2)) (cos.f64 im)))
(*.f64 re (*.f64 re (*.f64 (fma.f64 re 1/6 1/2) (cos.f64 im))))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (*.f64 (cos.f64 im) re)))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (fma.f64 1/6 (*.f64 (pow.f64 re 3) (cos.f64 im)) (*.f64 re (cos.f64 im))))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (fma.f64 (*.f64 1/6 (cos.f64 im)) (pow.f64 re 3) (*.f64 re (cos.f64 im))))
(*.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 1/2) re)) (cos.f64 im))
(fma.f64 (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 1 (fma.f64 1/2 (*.f64 re re) re))
(+.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 re 1/6 1/2) re))
(+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 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 re 1/6 1/2) re))
(+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 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 re (*.f64 re (fma.f64 re 1/6 1/2)))
(*.f64 (*.f64 re re) (fma.f64 re 1/6 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 re 1/6 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 re 1/6 1/2) re))
(+.f64 re (fma.f64 (*.f64 re re) (fma.f64 re 1/6 1/2) 1))

eval426.0ms (5.7%)

Compiler

Compiled 17767 to 10963 computations (38.3% saved)

prune163.0ms (2.2%)

Pruning

13 alts after pruning (4 fresh and 9 done)

PrunedKeptTotal
New101321015
Fresh022
Picked011
Done189
Total1014131027
Error
0b
Counts
1027 → 13
Alt Table
Click to see full alt table
StatusErrorProgram
21.9b
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re))))))
22.0b
(*.f64 (-.f64 (+.f64 1 (cos.f64 im)) 1) (+.f64 1 re))
18.5b
(exp.f64 re)
21.9b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
40.1b
(+.f64 1 re)
22.1b
(*.f64 (-.f64 (+.f64 1 (cos.f64 im)) 1) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
21.9b
(cos.f64 im)
40.3b
(*.f64 1 (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
39.9b
1
22.0b
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)
22.0b
(log.f64 (exp.f64 (cos.f64 im)))
21.8b
(*.f64 (cos.f64 im) (+.f64 1 re))
Compiler

Compiled 124 to 96 computations (22.6% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(cos.f64 im)
0.1b
(exp.f64 (cos.f64 im))
0.3b
(log.f64 (exp.f64 (cos.f64 im)))
Compiler

Compiled 12 to 5 computations (58.3% saved)

localize16.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

Compiled 40 to 27 computations (32.5% saved)

localize25.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

Compiled 58 to 37 computations (36.2% saved)

series2.0ms (0%)

Counts
1 → 24
Calls

6 calls:

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

rewrite82.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
819×fma-def_binary64
665×log-prod_binary64
372×fma-neg_binary64
245×expm1-udef_binary64
245×log1p-udef_binary64
Iterations

Useful iterations: 2 (0.0ms)

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

simplify150.0ms (2%)

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
146 → 140
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))

eval221.0ms (3%)

Compiler

Compiled 8477 to 5783 computations (31.8% saved)

prune136.0ms (1.8%)

Pruning

14 alts after pruning (2 fresh and 12 done)

PrunedKeptTotal
New4752477
Fresh101
Picked011
Done01111
Total47614490
Error
0b
Counts
490 → 14
Alt Table
Click to see full alt table
StatusErrorProgram
21.9b
(cos.f64 im)
39.9b
1
21.9b
(*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re))))))
22.0b
(*.f64 (-.f64 (+.f64 1 (cos.f64 im)) 1) (+.f64 1 re))
18.5b
(exp.f64 re)
21.9b
(*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
40.1b
(+.f64 1 re)
22.1b
(*.f64 (-.f64 (+.f64 1 (cos.f64 im)) 1) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
40.4b
(*.f64 1 (+.f64 1 (*.f64 1/2 (*.f64 re re))))
40.3b
(*.f64 1 (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2)))))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
22.0b
(-.f64 (+.f64 1 (*.f64 (cos.f64 im) (+.f64 1 re))) 1)
22.0b
(log.f64 (exp.f64 (cos.f64 im)))
21.8b
(*.f64 (cos.f64 im) (+.f64 1 re))
Compiler

Compiled 135 to 105 computations (22.2% saved)

regimes59.0ms (0.8%)

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

5 calls:

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

Compiled 147 to 91 computations (38.1% saved)

regimes100.0ms (1.3%)

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

5 calls:

42.0ms
im
30.0ms
(cos.f64 im)
16.0ms
re
5.0ms
(exp.f64 re)
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.4b2re
10.6b5im
0.4b2(exp.f64 re)
0.4b2(exp.f64 re)
10.4b4(cos.f64 im)
Compiler

Compiled 119 to 80 computations (32.8% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.6203727032337031
0.9999999999999982
Compiler

Compiled 12 to 9 computations (25% saved)

regimes213.0ms (2.9%)

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

5 calls:

95.0ms
(cos.f64 im)
91.0ms
im
16.0ms
re
4.0ms
(exp.f64 re)
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.5b2re
10.6b5im
0.5b2(exp.f64 re)
0.5b2(exp.f64 re)
10.4b4(cos.f64 im)
Compiler

Compiled 103 to 71 computations (31.1% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.6203727032337031
0.9999999999999982
Compiler

Compiled 12 to 9 computations (25% saved)

regimes84.0ms (1.1%)

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

5 calls:

37.0ms
im
22.0ms
(cos.f64 im)
13.0ms
re
5.0ms
(exp.f64 re)
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.6b2re
10.7b5im
0.6b2(exp.f64 re)
0.6b2(exp.f64 re)
10.5b4(cos.f64 im)
Compiler

Compiled 75 to 53 computations (29.3% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.6203727032337031
0.9999999999999982
Compiler

Compiled 12 to 9 computations (25% saved)

regimes63.0ms (0.8%)

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

4 calls:

29.0ms
im
17.0ms
(cos.f64 im)
10.0ms
re
4.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.9b2re
10.8b5im
0.9b2(exp.f64 re)
10.6b4(cos.f64 im)
Compiler

Compiled 45 to 33 computations (26.7% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.6203727032337031
0.9999999999999982
Compiler

Compiled 12 to 9 computations (25% saved)

regimes17.0ms (0.2%)

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

3 calls:

6.0ms
im
5.0ms
re
4.0ms
(cos.f64 im)
Results
ErrorSegmentsBranch
21.9b1re
21.9b1im
21.9b1(cos.f64 im)
Compiler

Compiled 39 to 29 computations (25.6% saved)

regimes11.0ms (0.1%)

Accuracy

Total -0.4b remaining (-1.1%)

Threshold costs -0.4b (-1.1%)

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

2 calls:

4.0ms
re
4.0ms
im
Results
ErrorSegmentsBranch
39.9b1re
39.9b1im
Compiler

Compiled 33 to 25 computations (24.2% saved)

simplify8.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
030110
146110
Stop Event
fuel
saturated
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re)))))))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2))))))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 re)))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
1
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 1/6 re)))))))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re (+.f64 1 (*.f64 (*.f64 re re) (+.f64 1/2 (*.f64 re 1/6)))))))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 (+.f64 re (*.f64 re (*.f64 re 1/2))))))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 1 re)))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 3602879701896397/4503599627370496) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
1
Compiler

Compiled 86 to 59 computations (31.4% saved)

soundness0.0ms (0%)

end49.0ms (0.7%)

Compiler

Compiled 74 to 38 computations (48.6% saved)

Profiling

Loading profile data...