Details

Time bar (total: 9.9s)

analyze564.0ms (5.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
50%50%0.1%5
50%50%0.1%6
50%40.6%9.5%7
50%39%11%8
50%33.6%16.5%9
50%32.4%17.7%10
50%29.5%20.6%11
50%28.8%21.3%12
50%27.3%22.8%13
50%26.9%23.1%14
Compiler

Compiled 15 to 12 computations (20% saved)

sample5.6s (56.6%)

Results
1.8s2066×body1024valid
1.4s2042×body1024invalid
818.0ms4697×body128valid
509.0ms1019×body512valid
417.0ms1018×body512invalid
160.0ms532×body256invalid
148.0ms467×body256valid
139.0ms814×body128invalid
17.0msbody2048valid
Compiler

Compiled 44 to 35 computations (20.5% saved)

simplify81.0ms (0.8%)

Algorithm
egg-herbie
Rules
778×unswap-sqr_binary64
536×fma-def_binary64
491×associate-/r*_binary64
476×fabs-mul_binary64
360×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01218
12718
26518
310417
413717
519617
632917
773617
8224217
9225017
10261917
11412817
12456317
13539117

prune5.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
Compiler

Compiled 51 to 34 computations (33.3% saved)

localize16.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
0.0b
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(/.f64 1/2 (exp.f64 im))

series73.0ms (0.7%)

Counts
3 → 40
Calls

3 calls:

46.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
16.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))
11.0ms
(/.f64 1/2 (exp.f64 im))

rewrite16.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
times-frac_binary64
add-cbrt-cube_binary64
Counts
3 → 61
Calls

3 calls:

6.0ms
(*.f64 (sin.f64 re) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
5.0ms
(/.f64 1/2 (exp.f64 im))
1.0ms
(fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))

simplify113.0ms (1.1%)

Algorithm
egg-herbie
Rules
686×fma-neg_binary64
500×associate-*l*_binary64
496×fma-def_binary64
422×associate-*r*_binary64
311×times-frac_binary64
Counts
101 → 109
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01681824
13951671
211841647
338691643
450271643

prune203.0ms (2.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1063109
Fresh000
Picked101
Done000
Total1073110
Error
0b
Counts
110 → 3
Alt Table
StatusErrorProgram
0.8b
(+.f64 (sin.f64 re) (*.f64 1/2 (*.f64 (sin.f64 re) (pow.f64 im 2))))
19.4b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 re) (sin.f64 re)) (sin.f64 re)) (*.f64 (*.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))) (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))
0.0b
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
Compiler

Compiled 2141 to 1181 computations (44.8% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
0.0b
(*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
0.0b
(/.f64 1/2 (exp.f64 im))

series120.0ms (1.2%)

Counts
3 → 60
Calls

3 calls:

54.0ms
(*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
47.0ms
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
18.0ms
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
12×associate-*r*_binary64
11×pow1_binary64
10×sqrt-prod_binary64
10×add-cbrt-cube_binary64
Counts
3 → 62
Calls

3 calls:

11.0ms
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
9.0ms
(*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
2.0ms
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))

simplify190.0ms (1.9%)

Algorithm
egg-herbie
Rules
694×fma-neg_binary64
596×fma-def_binary64
342×sub-neg_binary64
331×*-commutative_binary64
244×distribute-rgt-in_binary64
Counts
122 → 123
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01602812
14302612
213692530
337532528
448442528
549782528

prune460.0ms (4.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2282230
Fresh202
Picked011
Done000
Total2303233
Error
0b
Counts
233 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))
0.8b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.0b
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
Compiler

Compiled 6738 to 3943 computations (41.5% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))
0.0b
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))
0.0b
(*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
0.0b
(/.f64 1/2 (exp.f64 im))

series44.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

44.0ms
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))

rewrite27.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
sqrt-prod_binary64
associate-*r*_binary64
Counts
1 → 29
Calls

1 calls:

20.0ms
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))

simplify133.0ms (1.3%)

Algorithm
egg-herbie
Rules
697×fma-neg_binary64
515×cancel-sign-sub-inv_binary64
373×fma-def_binary64
356×*-commutative_binary64
257×sub-neg_binary64
Counts
53 → 55
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01251924
13381281
211311273
329831264
445651261
551701261

prune740.0ms (7.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3020302
Fresh011
Picked011
Done011
Total3023305
Error
0b
Counts
305 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))
0.8b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.0b
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
Compiler

Compiled 12121 to 7383 computations (39.1% saved)

localize12.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.1b
(*.f64 (sin.f64 re) (*.f64 im im))

series50.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

27.0ms
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
22.0ms
(*.f64 (sin.f64 re) (*.f64 im im))

rewrite11.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
2 → 31
Calls

2 calls:

8.0ms
(*.f64 (sin.f64 re) (*.f64 im im))
1.0ms
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))

simplify145.0ms (1.5%)

Algorithm
egg-herbie
Rules
474×associate-*l*_binary64
408×fma-def_binary64
381×associate-*r*_binary64
338×distribute-rgt-neg-in_binary64
328×distribute-lft-neg-in_binary64
Counts
79 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0981249
12471133
28091043
330731043
449991043
549301043

prune128.0ms (1.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New71071
Fresh000
Picked011
Done022
Total71374
Error
0b
Counts
74 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))) (sqrt.f64 (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))))
0.8b
(fma.f64 1/2 (*.f64 (sin.f64 re) (*.f64 im im)) (sin.f64 re))
0.0b
(*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im))))) (sqrt.f64 (fma.f64 1/2 (exp.f64 im) (/.f64 1/2 (exp.f64 im)))))
Compiler

Compiled 1293 to 607 computations (53.1% saved)

regimes903.0ms (9.1%)

Accuracy

Total 0.0b remaining (67.2%)

Threshold costs 0.0b (67.2%)

Counts
67 → 1
Compiler

Compiled 7248 to 5031 computations (30.6% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01355
11655
21655

end174.0ms (1.8%)

Compiler

Compiled 144 to 95 computations (34% saved)

Profiling

Loading profile data...