Details

Time bar (total: 8.9s)

analyze594.0ms (6.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
12.5%87.4%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
62.4%31.2%6.3%7
62.4%31.2%6.3%8
62.4%28.1%9.5%9
62.4%28.1%9.5%10
62.4%26.5%11%11
62.4%26.5%11%12
62.4%25.8%11.8%13
62.4%25.8%11.8%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample268.0ms (3%)

Algorithm
intervals
Results
75.0ms139×body1024valid
63.0ms50×body1024invalid
16.0ms64×body512valid
10.0ms10×body2048valid
7.0ms88×body128invalid
5.0ms21×body512invalid
4.0ms29×body256valid
2.0ms12×body256invalid
1.0ms14×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify113.0ms (1.3%)

Algorithm
egg-herbie
Rules
454×fma-def_binary64
444×times-frac_binary64
419×sub-neg_binary64
365×distribute-rgt-neg-in_binary64
340×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01118
12318
24918
310618
422517
544917
696217
7171317
8358817
9428217
10477317
11492317
12495717
13474817

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
45.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
Compiler

Compiled 50 to 35 computations (30% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
4.0b
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

series20.0ms (0.2%)

Counts
2 → 32
Calls

2 calls:

18.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
2.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

rewrite19.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64
29×add-sqr-sqrt_binary64
27×prod-diff_binary64
25×add-cube-cbrt_binary64
13×distribute-lft-in_binary64
Counts
2 → 80
Calls

2 calls:

8.0ms
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
5.0ms
(-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im))

simplify94.0ms (1.1%)

Algorithm
egg-herbie
Rules
584×fma-neg_binary64
356×cancel-sign-sub-inv_binary64
302×distribute-rgt-in_binary64
277×associate-*r*_binary64
274×associate-*l*_binary64
Counts
112 → 124
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02252646
15472347
220432132
344152127
448972127

prune70.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh000
Picked011
Done000
Total1223125
Error
0.1b
Counts
125 → 3
Alt Table
StatusErrorProgram
45.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.2b
(*.f64 (*.f64 1/2 (sin.f64 re)) (fma.f64 (pow.f64 im 5) -1/60 (fma.f64 (pow.f64 im 3) -1/3 (*.f64 -2 im))))
0.2b
(neg.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))
Compiler

Compiled 3244 to 1150 computations (64.5% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 1/120 (pow.f64 im 5))
0.1b
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
0.1b
(fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))
0.1b
(*.f64 1/6 (pow.f64 im 3))

series73.0ms (0.8%)

Counts
4 → 48
Calls

4 calls:

35.0ms
(fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))
32.0ms
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
3.0ms
(*.f64 1/120 (pow.f64 im 5))
3.0ms
(*.f64 1/6 (pow.f64 im 3))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
22×associate-*r*_binary64
16×add-exp-log_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 94
Calls

4 calls:

6.0ms
(*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))
6.0ms
(*.f64 1/6 (pow.f64 im 3))
4.0ms
(*.f64 1/120 (pow.f64 im 5))
0.0ms
(fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))

simplify122.0ms (1.4%)

Algorithm
egg-herbie
Rules
430×cancel-sign-sub-inv_binary64
374×distribute-rgt-in_binary64
351×distribute-lft-in_binary64
327×fma-neg_binary64
256×associate-*r*_binary64
Counts
142 → 156
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02262918
15772607
221372544
346162543
449792543
549662543

prune174.0ms (2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1533156
Fresh101
Picked011
Done011
Total1545159
Error
0.1b
Counts
159 → 5
Alt Table
StatusErrorProgram
0.2b
(neg.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))
27.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
1.2b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5)))))) (cbrt.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))) (cbrt.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))))
45.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.2b
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
Compiler

Compiled 4680 to 3210 computations (31.4% saved)

localize12.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))
0.1b
(*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))

series36.0ms (0.4%)

Counts
2 → 36
Calls

2 calls:

32.0ms
(*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))
4.0ms
(fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))
0.0ms
(fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))

simplify71.0ms (0.8%)

Algorithm
egg-herbie
Rules
773×fma-neg_binary64
743×fma-def_binary64
424×distribute-rgt-in_binary64
408×distribute-lft-in_binary64
271×associate--l+_binary64
Counts
68 → 71
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01121648
13011502
212281469
347081469
453601469

prune90.0ms (1%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New66571
Fresh112
Picked011
Done022
Total67976
Error
0.0b
Counts
76 → 9
Alt Table
StatusErrorProgram
30.6b
(neg.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (*.f64 (sqrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
0.2b
(neg.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))
31.1b
(neg.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
1.3b
(neg.f64 (*.f64 (*.f64 (sin.f64 re) (*.f64 (cbrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))) (cbrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))) (cbrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
1.2b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re))) (*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
27.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
36.1b
(neg.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 re) (sin.f64 re)) (sin.f64 re)) (*.f64 (*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
45.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
0.2b
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
Compiler

Compiled 2177 to 1526 computations (29.9% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re))) (*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
0.3b
(*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))
0.5b
(*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re)))
0.6b
(cbrt.f64 (sin.f64 re))

series687.0ms (7.7%)

Counts
4 → 72
Calls

4 calls:

238.0ms
(*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))
234.0ms
(*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re)))
182.0ms
(cbrt.f64 (sin.f64 re))
33.0ms
(*.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re))) (*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
25×pow1_binary64
23×cbrt-prod_binary64
20×add-exp-log_binary64
16×*-un-lft-identity_binary64
Counts
4 → 109
Calls

4 calls:

7.0ms
(*.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re))) (*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
7.0ms
(*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))
5.0ms
(*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re)))
1.0ms
(cbrt.f64 (sin.f64 re))

simplify121.0ms (1.4%)

Algorithm
egg-herbie
Rules
485×cancel-sign-sub-inv_binary64
479×unswap-sqr_binary64
403×associate-*r*_binary64
377×associate-*l*_binary64
322×fma-neg_binary64
Counts
181 → 193
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02814082
17713548
231253495
348273486
450283486

prune287.0ms (3.2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2383241
Fresh145
Picked101
Done033
Total24010250
Error
0.0b
Counts
250 → 10
Alt Table
StatusErrorProgram
30.6b
(neg.f64 (*.f64 (sqrt.f64 (sin.f64 re)) (*.f64 (sqrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
0.2b
(neg.f64 (fma.f64 im (sin.f64 re) (*.f64 (sin.f64 re) (+.f64 (*.f64 1/6 (pow.f64 im 3)) (*.f64 1/120 (pow.f64 im 5))))))
1.2b
(neg.f64 (*.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re))) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (cbrt.f64 (sin.f64 re)))) (*.f64 (cbrt.f64 (cbrt.f64 (sin.f64 re))) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
36.1b
(neg.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 (sin.f64 re) (sin.f64 re)) (sin.f64 re)) (*.f64 (*.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
31.1b
(neg.f64 (*.f64 (*.f64 (sin.f64 re) (sqrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
3.6b
(neg.f64 (*.f64 (cbrt.f64 (pow.f64 (sin.f64 re) 2)) (*.f64 (cbrt.f64 (sin.f64 re)) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
27.2b
(neg.f64 (*.f64 (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))) (sqrt.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))))
45.0b
(*.f64 (*.f64 1/2 (sin.f64 re)) (-.f64 (exp.f64 (neg.f64 im)) (exp.f64 im)))
31.3b
(neg.f64 (*.f64 (cbrt.f64 (sin.f64 re)) (*.f64 (pow.f64 (sin.f64 re) 2/3) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im)))))
0.2b
(neg.f64 (*.f64 (sin.f64 re) (fma.f64 1/120 (pow.f64 im 5) (fma.f64 1/6 (pow.f64 im 3) im))))
Compiler

Compiled 8090 to 4454 computations (44.9% saved)

regimes697.0ms (7.8%)

Accuracy

Total 0.8b remaining (93.2%)

Threshold costs 0.8b (93.2%)

Counts
102 → 1
Compiler

Compiled 16185 to 10706 computations (33.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01629
12429
22629
32729
42729

end1.0ms (0%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

sample5.3s (59.2%)

Algorithm
intervals
Results
2.4s4074×body1024valid
757.0ms1961×body1024invalid
558.0ms2102×body512valid
218.0ms947×body512invalid
205.0ms2620×body128invalid
167.0ms1026×body256valid
155.0ms195×body2048valid
70.0ms466×body256invalid
54.0ms603×body128valid
Compiler

Compiled 306 to 218 computations (28.8% saved)

Profiling

Loading profile data...