Details

Time bar (total: 3.9s)

analyze55.0ms (1.4%)

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

Compiled 8 to 6 computations (25% saved)

sample2.3s (58.1%)

Results
885.0ms6164×body256valid
759.0ms1385×body1024valid
264.0ms702×body512valid
224.0ms669×body1024invalid
93.0ms347×body512invalid
49.0ms370×body256invalid
4.0msbody2048valid

preprocess19.0ms (0.5%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 9 to 7 computations (22.2% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

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

eval0.0ms (0%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

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)

localize7.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 13 to 5 computations (61.5% saved)

series5.0ms (0.1%)

Counts
1 → 8
Calls

6 calls:

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

rewrite40.0ms (1%)

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

Useful iterations: 0 (0.0ms)

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

simplify84.0ms (2.1%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
039152
1105150
2269142
3869122
43456118
55851118
67287118
77711118
Stop Event
node limit
Counts
19 → 25
Calls
Call 1
Inputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
Outputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im)))
(fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 re (*.f64 re 1/2))))
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 re 1/2) (+.f64 re 1)))
(*.f64 (cos.f64 im) (+.f64 re (fma.f64 re (*.f64 re 1/2) 1)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (fma.f64 (cos.f64 im) re (cos.f64 im))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 1/2 (*.f64 (cos.f64 im) (*.f64 re re)) (*.f64 (+.f64 re 1) (cos.f64 im))))
(fma.f64 (+.f64 re 1) (cos.f64 im) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) (*.f64 re (*.f64 re 1/2)))))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) (+.f64 (*.f64 re 1/6) 1/2))))
(*.f64 (cos.f64 im) (+.f64 (fma.f64 1/6 (pow.f64 re 3) 1) (fma.f64 re (*.f64 re 1/2) re)))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re))
(*.f64 (exp.f64 re) (fma.f64 im (*.f64 im -1/2) 1))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)))
(+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 im (*.f64 im -1/2)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (*.f64 -1/2 (*.f64 im im)) (fma.f64 1/24 (pow.f64 im 4) 1)))
(*.f64 (exp.f64 re) (+.f64 1 (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4)))))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4))) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (exp.f64 re)) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 1/24 (*.f64 (exp.f64 re) (pow.f64 im 4)) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re))))
(+.f64 (*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re)) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(fma.f64 (exp.f64 re) (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4))) (*.f64 (exp.f64 re) (fma.f64 -1/720 (pow.f64 im 6) 1)))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 -1/720 (pow.f64 im 6) 1) (fma.f64 im (*.f64 im -1/2) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (exp.f64 re) (+.f64 (fma.f64 im (*.f64 im -1/2) 1) (fma.f64 1/24 (pow.f64 im 4) (*.f64 -1/720 (pow.f64 im 6)))))

eval6.0ms (0.1%)

Compiler

Compiled 275 to 141 computations (48.7% saved)

prune5.0ms (0.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New21425
Fresh000
Picked011
Done000
Total21526
Error
0b
Counts
26 → 5
Alt Table
Click to see full alt table
StatusErrorProgram
19.2b
(*.f64 (cos.f64 im) (+.f64 re 1))
10.3b
(pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)
19.7b
(cos.f64 im)
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
19.6b
(exp.f64 re)
Compiler

Compiled 33 to 25 computations (24.2% saved)

localize4.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize3.0ms (0.1%)

Compiler

Compiled 5 to 3 computations (40% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

Compiled 16 to 9 computations (43.8% saved)

series85.0ms (2.2%)

Counts
1 → 24
Calls

6 calls:

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

rewrite55.0ms (1.4%)

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

Useful iterations: 0 (0.0ms)

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

simplify124.0ms (3.1%)

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

Useful iterations: 9 (0.0ms)

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

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
0.0b
(sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im)))
0.1b
(pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)
Compiler

Compiled 28 to 9 computations (67.9% saved)

series76.0ms (1.9%)

Counts
2 → 32
Calls

12 calls:

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

rewrite60.0ms (1.5%)

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

Useful iterations: 0 (0.0ms)

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

simplify49.0ms (1.2%)

Algorithm
egg-herbie
Rules
737×distribute-rgt-in_binary64
721×distribute-lft-in_binary64
548×fma-def_binary64
377×associate-*l*_binary64
369×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
095708
1266679
2815588
33784509
Stop Event
node limit
Counts
84 → 80
Calls
Call 1
Inputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/4 (cos.f64 im))) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/4 (cos.f64 im))) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2))))))
(*.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 (-.f64 (+.f64 (*.f64 1/16 (exp.f64 re)) (*.f64 1/24 (exp.f64 re))) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)) (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/16 (exp.f64 re)) (*.f64 1/24 (exp.f64 re))) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (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))
(sqrt.f64 (cos.f64 im))
(+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)))
(+.f64 (sqrt.f64 (cos.f64 im)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (pow.f64 re 2)) (sqrt.f64 (/.f64 1 (cos.f64 im)))))))
(+.f64 (sqrt.f64 (cos.f64 im)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (*.f64 1/2 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))) (pow.f64 re 3)) (sqrt.f64 (/.f64 1 (cos.f64 im))))) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (pow.f64 re 2)) (sqrt.f64 (/.f64 1 (cos.f64 im))))))))
(sqrt.f64 (exp.f64 re))
(+.f64 (sqrt.f64 (exp.f64 re)) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2))))
(+.f64 (sqrt.f64 (exp.f64 re)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)))) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2)))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 -1/720 (exp.f64 re)) (*.f64 -1/4 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (pow.f64 im 6)))) (+.f64 (sqrt.f64 (exp.f64 re)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)))) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2))))))
Outputs
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 re 1))
(+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/4 (cos.f64 im))) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))))
(+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (*.f64 (*.f64 re re) (-.f64 (*.f64 (cos.f64 im) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2))))
(fma.f64 (cos.f64 im) re (fma.f64 (*.f64 re re) (-.f64 (*.f64 (cos.f64 im) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (cos.f64 im)))
(fma.f64 (cos.f64 im) re (fma.f64 (*.f64 re re) (fma.f64 (cos.f64 im) 3/4 (*.f64 (cos.f64 im) -1/4)) (cos.f64 im)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2)))
(+.f64 (*.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3))) (+.f64 (*.f64 (cos.f64 im) re) (+.f64 (cos.f64 im) (*.f64 (pow.f64 re 2) (-.f64 (+.f64 (*.f64 1/2 (cos.f64 im)) (*.f64 1/4 (cos.f64 im))) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2))))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (+.f64 (fma.f64 (cos.f64 im) re (cos.f64 im)) (*.f64 (*.f64 re re) (-.f64 (*.f64 (cos.f64 im) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))))
(fma.f64 1/6 (*.f64 (cos.f64 im) (pow.f64 re 3)) (fma.f64 (cos.f64 im) re (fma.f64 (*.f64 re re) (-.f64 (*.f64 (cos.f64 im) 3/4) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (cos.f64 im))))
(+.f64 (fma.f64 (*.f64 re re) (fma.f64 (cos.f64 im) 3/4 (*.f64 (cos.f64 im) -1/4)) (cos.f64 im)) (*.f64 (cos.f64 im) (+.f64 (*.f64 1/6 (pow.f64 re 3)) re)))
(*.f64 (cos.f64 im) (+.f64 (+.f64 (*.f64 1/6 (pow.f64 re 3)) (+.f64 re 1)) (*.f64 (*.f64 re re) 1/2)))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(*.f64 (exp.f64 re) (cos.f64 im))
(*.f64 (cos.f64 im) (exp.f64 re))
(exp.f64 re)
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (exp.f64 re))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (exp.f64 re))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (exp.f64 re))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (exp.f64 re))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/16 (exp.f64 re)) (*.f64 1/24 (exp.f64 re))) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (fma.f64 (-.f64 (*.f64 (exp.f64 re) 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4) (exp.f64 re)))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 (-.f64 (*.f64 (exp.f64 re) 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4) (exp.f64 re)))
(fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) (fma.f64 (fma.f64 (exp.f64 re) 5/48 (*.f64 (exp.f64 re) -1/16)) (pow.f64 im 4) (exp.f64 re)))
(fma.f64 (exp.f64 re) (*.f64 im (*.f64 im -1/2)) (fma.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 im 4) (exp.f64 re)))
(+.f64 (*.f64 -1/2 (*.f64 (exp.f64 re) (pow.f64 im 2))) (+.f64 (*.f64 (-.f64 (+.f64 (*.f64 1/16 (exp.f64 re)) (*.f64 1/24 (exp.f64 re))) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)) (+.f64 (exp.f64 re) (*.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6))))))
(fma.f64 -1/2 (*.f64 (exp.f64 re) (*.f64 im im)) (+.f64 (fma.f64 (-.f64 (*.f64 (exp.f64 re) 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4) (exp.f64 re)) (*.f64 (*.f64 (exp.f64 re) -1/720) (pow.f64 im 6))))
(fma.f64 -1/2 (*.f64 im (*.f64 im (exp.f64 re))) (fma.f64 (-.f64 (*.f64 (exp.f64 re) 5/48) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4) (fma.f64 -1/720 (*.f64 (exp.f64 re) (pow.f64 im 6)) (exp.f64 re))))
(fma.f64 (fma.f64 (exp.f64 re) 5/48 (*.f64 (exp.f64 re) -1/16)) (pow.f64 im 4) (+.f64 (exp.f64 re) (*.f64 (exp.f64 re) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 im (*.f64 im -1/2))))))
(fma.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 im 4) (*.f64 (exp.f64 re) (+.f64 (+.f64 (*.f64 im (*.f64 im -1/2)) 1) (*.f64 -1/720 (pow.f64 im 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))
(sqrt.f64 (cos.f64 im))
(+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)))
(+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (*.f64 re (sqrt.f64 (cos.f64 im)))))
(fma.f64 1/2 (*.f64 re (sqrt.f64 (cos.f64 im))) (sqrt.f64 (cos.f64 im)))
(*.f64 (+.f64 (*.f64 re 1/2) 1) (sqrt.f64 (cos.f64 im)))
(+.f64 (sqrt.f64 (cos.f64 im)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (pow.f64 re 2)) (sqrt.f64 (/.f64 1 (cos.f64 im)))))))
(+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (+.f64 (*.f64 re (sqrt.f64 (cos.f64 im))) (*.f64 (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (*.f64 (*.f64 re re) (sqrt.f64 (/.f64 1 (cos.f64 im))))))))
(fma.f64 1/2 (fma.f64 re (sqrt.f64 (cos.f64 im)) (*.f64 (*.f64 re re) (*.f64 (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (sqrt.f64 (/.f64 1 (cos.f64 im)))))) (sqrt.f64 (cos.f64 im)))
(fma.f64 1/2 (fma.f64 (fma.f64 (cos.f64 im) 1/2 (*.f64 (cos.f64 im) -1/4)) (*.f64 (*.f64 re re) (sqrt.f64 (/.f64 1 (cos.f64 im)))) (*.f64 re (sqrt.f64 (cos.f64 im)))) (sqrt.f64 (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 re (*.f64 (cos.f64 im) 1/4))))) (sqrt.f64 (cos.f64 im)))
(+.f64 (sqrt.f64 (cos.f64 im)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (cos.f64 im)) re)) (+.f64 (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/6 (cos.f64 im)) (*.f64 1/2 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))) (pow.f64 re 3)) (sqrt.f64 (/.f64 1 (cos.f64 im))))) (*.f64 1/2 (*.f64 (*.f64 (-.f64 (*.f64 1/2 (cos.f64 im)) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (pow.f64 re 2)) (sqrt.f64 (/.f64 1 (cos.f64 im))))))))
(+.f64 (sqrt.f64 (cos.f64 im)) (fma.f64 1/2 (*.f64 re (sqrt.f64 (cos.f64 im))) (*.f64 1/2 (+.f64 (*.f64 (+.f64 (*.f64 (cos.f64 im) 1/6) (*.f64 -1/2 (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)))) (*.f64 (pow.f64 re 3) (sqrt.f64 (/.f64 1 (cos.f64 im))))) (*.f64 (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2)) (*.f64 (*.f64 re re) (sqrt.f64 (/.f64 1 (cos.f64 im)))))))))
(+.f64 (sqrt.f64 (cos.f64 im)) (*.f64 1/2 (+.f64 (*.f64 (sqrt.f64 (/.f64 1 (cos.f64 im))) (+.f64 (*.f64 (pow.f64 re 3) (fma.f64 (cos.f64 im) 1/6 (*.f64 -1/2 (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2))))) (*.f64 (*.f64 re re) (-.f64 (*.f64 (cos.f64 im) 1/2) (pow.f64 (*.f64 1/2 (sqrt.f64 (cos.f64 im))) 2))))) (*.f64 re (sqrt.f64 (cos.f64 im))))))
(fma.f64 1/2 (fma.f64 (sqrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 re re) (+.f64 (*.f64 re (fma.f64 -1/2 (fma.f64 (cos.f64 im) 1/2 (*.f64 (cos.f64 im) -1/4)) (*.f64 (cos.f64 im) 1/6))) (fma.f64 (cos.f64 im) 1/2 (*.f64 (cos.f64 im) -1/4)))) (*.f64 re (sqrt.f64 (cos.f64 im)))) (sqrt.f64 (cos.f64 im)))
(fma.f64 1/2 (fma.f64 re (sqrt.f64 (cos.f64 im)) (*.f64 (sqrt.f64 (/.f64 1 (cos.f64 im))) (*.f64 (*.f64 re re) (+.f64 (*.f64 (cos.f64 im) 1/4) (*.f64 re (fma.f64 1/2 (*.f64 (cos.f64 im) -1/4) (*.f64 (cos.f64 im) 1/6))))))) (sqrt.f64 (cos.f64 im)))
(sqrt.f64 (exp.f64 re))
(+.f64 (sqrt.f64 (exp.f64 re)) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2))))
(+.f64 (sqrt.f64 (exp.f64 re)) (*.f64 -1/4 (*.f64 (*.f64 im im) (sqrt.f64 (exp.f64 re)))))
(fma.f64 -1/4 (*.f64 (*.f64 im im) (sqrt.f64 (exp.f64 re))) (sqrt.f64 (exp.f64 re)))
(*.f64 (+.f64 (*.f64 (*.f64 im im) -1/4) 1) (sqrt.f64 (exp.f64 re)))
(*.f64 (+.f64 (*.f64 im (*.f64 im -1/4)) 1) (sqrt.f64 (exp.f64 re)))
(+.f64 (sqrt.f64 (exp.f64 re)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)))) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2)))))
(+.f64 (sqrt.f64 (exp.f64 re)) (fma.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (pow.f64 im 4) (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (*.f64 -1/4 (*.f64 (*.f64 im im) (sqrt.f64 (exp.f64 re))))))
(+.f64 (sqrt.f64 (exp.f64 re)) (fma.f64 1/2 (*.f64 (pow.f64 im 4) (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (*.f64 (*.f64 im im) (*.f64 -1/4 (sqrt.f64 (exp.f64 re))))))
(fma.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 (exp.f64 re) -1/16)) (*.f64 1/2 (pow.f64 im 4))) (*.f64 (+.f64 (*.f64 (*.f64 im im) -1/4) 1) (sqrt.f64 (exp.f64 re))))
(fma.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (*.f64 1/2 (*.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) -1/48))) (*.f64 (+.f64 (*.f64 im (*.f64 im -1/4)) 1) (sqrt.f64 (exp.f64 re))))
(+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 -1/720 (exp.f64 re)) (*.f64 -1/4 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (pow.f64 im 6)))) (+.f64 (sqrt.f64 (exp.f64 re)) (+.f64 (*.f64 1/2 (*.f64 (sqrt.f64 (/.f64 1 (exp.f64 re))) (*.f64 (-.f64 (*.f64 1/24 (exp.f64 re)) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)) (pow.f64 im 4)))) (*.f64 -1/4 (*.f64 (sqrt.f64 (exp.f64 re)) (pow.f64 im 2))))))
(fma.f64 1/2 (*.f64 (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (-.f64 (*.f64 (exp.f64 re) -1/720) (*.f64 -1/4 (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2))))) (pow.f64 im 6)) (+.f64 (sqrt.f64 (exp.f64 re)) (fma.f64 1/2 (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (pow.f64 im 4) (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (*.f64 -1/4 (*.f64 (*.f64 im im) (sqrt.f64 (exp.f64 re)))))))
(+.f64 (fma.f64 1/2 (*.f64 (pow.f64 im 4) (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))) (*.f64 (*.f64 im im) (*.f64 -1/4 (sqrt.f64 (exp.f64 re))))) (fma.f64 1/2 (*.f64 (pow.f64 im 6) (*.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (fma.f64 (exp.f64 re) -1/720 (*.f64 1/4 (-.f64 (*.f64 (exp.f64 re) 1/24) (pow.f64 (*.f64 -1/4 (sqrt.f64 (exp.f64 re))) 2)))))) (sqrt.f64 (exp.f64 re))))
(fma.f64 (*.f64 1/2 (*.f64 (pow.f64 im 6) (sqrt.f64 (exp.f64 (neg.f64 re))))) (fma.f64 1/4 (fma.f64 (exp.f64 re) 1/24 (*.f64 (exp.f64 re) -1/16)) (*.f64 (exp.f64 re) -1/720)) (fma.f64 (sqrt.f64 (exp.f64 (neg.f64 re))) (*.f64 (fma.f64 (exp.f64 re) 1/24 (*.f64 (exp.f64 re) -1/16)) (*.f64 1/2 (pow.f64 im 4))) (*.f64 (+.f64 (*.f64 (*.f64 im im) -1/4) 1) (sqrt.f64 (exp.f64 re)))))
(+.f64 (*.f64 (+.f64 (*.f64 im (*.f64 im -1/4)) 1) (sqrt.f64 (exp.f64 re))) (*.f64 (*.f64 1/2 (sqrt.f64 (exp.f64 (neg.f64 re)))) (+.f64 (*.f64 (pow.f64 im 4) (*.f64 (exp.f64 re) -1/48)) (*.f64 (pow.f64 im 6) (fma.f64 1/4 (*.f64 (exp.f64 re) -1/48) (*.f64 (exp.f64 re) -1/720))))))

eval61.0ms (1.5%)

Compiler

Compiled 2024 to 1019 computations (49.7% saved)

prune20.0ms (0.5%)

Pruning

7 alts after pruning (2 fresh and 5 done)

PrunedKeptTotal
New1392141
Fresh000
Picked011
Done044
Total1397146
Error
0b
Counts
146 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
19.2b
(*.f64 (cos.f64 im) (+.f64 re 1))
10.3b
(pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)
19.7b
(cos.f64 im)
19.4b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2)))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
19.6b
(exp.f64 re)
38.4b
(+.f64 1 re)
Compiler

Compiled 52 to 39 computations (25% saved)

localize42.0ms (1.1%)

Local error

Found 3 expressions with local error:

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

Compiled 40 to 21 computations (47.5% saved)

series7.0ms (0.2%)

Counts
3 → 48
Calls

12 calls:

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

rewrite108.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
565×log-prod_binary64
546×fma-def_binary64
449×pow-prod-down_binary64
308×pow2_binary64
280×fma-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify200.0ms (5.1%)

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
042649
1121645
2404609
31860588
43513578
54273578
64425578
74596578
84764578
94986578
106731578
117140578
127581578
Stop Event
node limit
Counts
214 → 191
Calls
Call 1
Inputs
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re)))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
1
(+.f64 1 re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(*.f64 1/2 (pow.f64 re 2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(*.f64 1/2 (pow.f64 re 2))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (pow.f64 re 2))
Outputs
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) re)))
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re)))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) re) (fma.f64 1/2 (*.f64 re re) 1))
(*.f64 (+.f64 (*.f64 -1/2 (*.f64 im im)) 1) (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 1 (*.f64 -1/2 (*.f64 im im))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4)))))))
(fma.f64 1/2 (*.f64 re re) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4))))))
(+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 re (+.f64 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4)))) (fma.f64 1/2 (*.f64 re re) 1)))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (*.f64 1/24 (pow.f64 im 4))))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (*.f64 1/24 (pow.f64 im 4)) (+.f64 1 (*.f64 -1/2 (*.f64 im im)))))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 (*.f64 -1/720 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 6))) (+.f64 1 (+.f64 (*.f64 -1/2 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 2))) (+.f64 re (*.f64 1/24 (*.f64 (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)) (pow.f64 im 4))))))))
(fma.f64 1/2 (*.f64 re re) (fma.f64 -1/720 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 6)) (+.f64 1 (+.f64 (fma.f64 -1/2 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (*.f64 im im)) re) (*.f64 1/24 (*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (pow.f64 im 4)))))))
(fma.f64 1/2 (*.f64 re re) (+.f64 (fma.f64 -1/2 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (*.f64 im im)) (fma.f64 1/24 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 4)) re)) (fma.f64 -1/720 (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (pow.f64 im 6)) 1)))
(+.f64 (fma.f64 (pow.f64 im 6) (fma.f64 (+.f64 re 1) -1/720 (*.f64 (*.f64 re re) -1/1440)) 1) (+.f64 (fma.f64 1/2 (*.f64 re re) re) (*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (+.f64 (*.f64 -1/2 (*.f64 im im)) (*.f64 1/24 (pow.f64 im 4))))))
(+.f64 (fma.f64 1/2 (*.f64 re re) 1) (+.f64 re (*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 (*.f64 im im) (+.f64 (*.f64 (*.f64 im im) 1/24) -1/2))))))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (+.f64 (+.f64 1 (*.f64 -1/2 (*.f64 im im))) (+.f64 (*.f64 -1/720 (pow.f64 im 6)) (*.f64 1/24 (pow.f64 im 4)))))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 (cos.f64 im) (+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(cos.f64 im)
(+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im))
(fma.f64 (cos.f64 im) re (cos.f64 im))
(*.f64 (+.f64 re 1) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)))
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))))
(*.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im)))
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re))
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2)))
(*.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)))
(*.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))))
(*.f64 (*.f64 1/2 (*.f64 re re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (*.f64 (cos.f64 im) re))
(fma.f64 1/2 (*.f64 (*.f64 re re) (cos.f64 im)) (*.f64 re (cos.f64 im)))
(fma.f64 1/2 (*.f64 re (*.f64 re (cos.f64 im))) (*.f64 re (cos.f64 im)))
(*.f64 (cos.f64 im) (fma.f64 1/2 (*.f64 re re) re))
(*.f64 (cos.f64 im) (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
(+.f64 (*.f64 1/2 (*.f64 (cos.f64 im) (pow.f64 re 2))) (+.f64 (*.f64 (cos.f64 im) re) (cos.f64 im)))
(*.f64 (fma.f64 1/2 (*.f64 re re) (+.f64 re 1)) (cos.f64 im))
(*.f64 (+.f64 re (fma.f64 1/2 (*.f64 re re) 1)) (cos.f64 im))
(*.f64 (+.f64 1 (fma.f64 re (*.f64 1/2 re) re)) (cos.f64 im))
1
(+.f64 1 re)
(+.f64 re 1)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(fma.f64 1/2 (*.f64 re re) re)
(fma.f64 re (*.f64 1/2 re) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) re)
(fma.f64 1/2 (*.f64 re re) re)
(fma.f64 re (*.f64 1/2 re) re)
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(+.f64 (*.f64 1/2 (pow.f64 re 2)) (+.f64 1 re))
(fma.f64 1/2 (*.f64 re re) (+.f64 re 1))
(+.f64 re (fma.f64 1/2 (*.f64 re re) 1))
(+.f64 1 (fma.f64 re (*.f64 1/2 re) re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))
(*.f64 1/2 (pow.f64 re 2))
(*.f64 1/2 (*.f64 re re))

localize3.0ms (0.1%)

Compiler

Compiled 7 to 5 computations (28.6% saved)

eval147.0ms (3.7%)

Compiler

Compiled 3400 to 2103 computations (38.1% saved)

prune49.0ms (1.2%)

Pruning

7 alts after pruning (0 fresh and 7 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done066
Total1917198
Error
0b
Counts
198 → 7
Alt Table
Click to see full alt table
StatusErrorProgram
19.2b
(*.f64 (cos.f64 im) (+.f64 re 1))
10.3b
(pow.f64 (sqrt.f64 (*.f64 (exp.f64 re) (cos.f64 im))) 2)
19.7b
(cos.f64 im)
19.4b
(*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2)))
0.0b
(*.f64 (exp.f64 re) (cos.f64 im))
19.6b
(exp.f64 re)
38.4b
(+.f64 1 re)
Compiler

Compiled 52 to 39 computations (25% saved)

regimes24.0ms (0.6%)

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

5 calls:

5.0ms
im
5.0ms
re
5.0ms
(*.f64 (exp.f64 re) (cos.f64 im))
5.0ms
(cos.f64 im)
2.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 61 to 35 computations (42.6% saved)

regimes162.0ms (4.1%)

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

5 calls:

129.0ms
im
13.0ms
re
11.0ms
(cos.f64 im)
3.0ms
(exp.f64 re)
3.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.6b2re
9.8b3im
0.6b2(exp.f64 re)
0.6b2(exp.f64 re)
9.4b2(cos.f64 im)
Compiler

Compiled 45 to 29 computations (35.6% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.9999999706752342
0.9999999997306527
Compiler

Compiled 12 to 9 computations (25% saved)

regimes41.0ms (1%)

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

5 calls:

15.0ms
im
9.0ms
(cos.f64 im)
7.0ms
re
5.0ms
(exp.f64 re)
3.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
0.6b2re
9.8b3im
0.6b2(exp.f64 re)
0.6b2(exp.f64 re)
9.4b2(cos.f64 im)
Compiler

Compiled 33 to 22 computations (33.3% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.9999999706752342
0.9999999997306527
Compiler

Compiled 12 to 9 computations (25% saved)

regimes34.0ms (0.9%)

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

4 calls:

12.0ms
im
9.0ms
(cos.f64 im)
8.0ms
re
3.0ms
(exp.f64 re)
Results
ErrorSegmentsBranch
1.1b2re
10.0b3im
1.1b2(exp.f64 re)
9.6b2(cos.f64 im)
Compiler

Compiled 23 to 16 computations (30.4% saved)

bsearch0.0ms (0%)

Algorithm
left-value
Steps
TimeLeftRight
0.0ms
0.9999999706752342
0.9999999997306527
Compiler

Compiled 12 to 9 computations (25% saved)

regimes10.0ms (0.3%)

Accuracy

Total -19.1b remaining (-97.3%)

Threshold costs -19.1b (-97.3%)

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

3 calls:

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

Compiled 17 to 12 computations (29.4% saved)

simplify6.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02178
12878
Stop Event
done
saturated
Calls
Call 1
Inputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2))))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
(+.f64 1 re)
Outputs
(*.f64 (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2))))
(if (<=.f64 (exp.f64 re) 9007199074597007/9007199254740992) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 (+.f64 re 1) (*.f64 (*.f64 re re) 1/2))))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 9007199074597007/9007199254740992) (exp.f64 re) (*.f64 (cos.f64 im) (+.f64 re 1)))
(if (<=.f64 (exp.f64 re) 18446743704774670336/18446744073709551616) (exp.f64 re) (cos.f64 im))
(if (<=.f64 (exp.f64 re) 9007199074597007/9007199254740992) (exp.f64 re) (cos.f64 im))
(cos.f64 im)
(+.f64 1 re)
(+.f64 re 1)
Compiler

Compiled 63 to 43 computations (31.7% saved)

soundness0.0ms (0%)

end38.0ms (1%)

Compiler

Compiled 53 to 26 computations (50.9% saved)

Profiling

Loading profile data...