Details

Time bar (total: 10.3s)

analyze592.0ms (5.8%)

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
0%99.9%0.1%5
0%99.9%0.1%6
23.4%51.5%25.1%7
24.2%50.7%25.1%8
24.6%50.3%25.1%9
36.9%25.5%37.6%10
37.2%25.3%37.6%11
37.3%25.1%37.6%12
43.5%12.7%43.8%13
43.6%12.6%43.8%14
Compiler

Compiled 32 to 21 computations (34.4% saved)

sample1.9s (18.9%)

Results
1.6s8256×body128valid
199.0ms1047×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify125.0ms (1.2%)

Algorithm
egg-herbie
Rules
1042×fma-def_binary64
693×fma-neg_binary64
662×cube-prod_binary64
522×pow-sqr_binary64
453×associate-/l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01920
13519
25712
3809
4899
52169
64869
79789
812969
919969
1022879
1133119
1243679
1346449
1447219
1549869
1648269

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.2b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
28.5b
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
Compiler

Compiled 117 to 73 computations (37.6% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))

series462.0ms (4.5%)

Counts
1 → 8
Calls

1 calls:

462.0ms
(/.f64 (atan2.f64 im re) (log.f64 base))

rewrite4.0ms (0%)

Algorithm
rewrite-expression-head
Rules
12×times-frac_binary64
10×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 33
Calls

1 calls:

2.0ms
(/.f64 (atan2.f64 im re) (log.f64 base))

simplify90.0ms (0.9%)

Algorithm
egg-herbie
Rules
763×fma-neg_binary64
574×neg-mul-1_binary64
543×neg-sub0_binary64
429×sub-neg_binary64
336×div-sub_binary64
Counts
41 → 35
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
065663
1108615
2213585
3384585
41312585
52948585
63524585
74593585
84969585

prune33.0ms (0.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New26935
Fresh011
Picked011
Done000
Total261137
Error
0.1b
Counts
37 → 11
Alt Table
StatusErrorProgram
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
6.7b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base))) (/.f64 (atan2.f64 im re) (log.f64 base))))
1.2b
(/.f64 (/.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base)))
6.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base))))
13.2b
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.6b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
1.8b
(*.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))
28.5b
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
33.0b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
1.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
Compiler

Compiled 850 to 318 computations (62.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 1 (log.f64 base))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))

series472.0ms (4.6%)

Counts
2 → 44
Calls

2 calls:

437.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
35.0ms
(/.f64 1 (log.f64 base))

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
26×times-frac_binary64
21×*-un-lft-identity_binary64
20×add-cube-cbrt_binary64
16×associate-*r*_binary64
Counts
2 → 78
Calls

2 calls:

6.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
2.0ms
(/.f64 1 (log.f64 base))

simplify93.0ms (0.9%)

Algorithm
egg-herbie
Rules
460×unsub-neg_binary64
434×div-sub_binary64
409×sub-neg_binary64
351×associate-*r/_binary64
251×times-frac_binary64
Counts
122 → 97
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0801290
11451159
23201159
37491159
418281159
538501159
649461159

prune79.0ms (0.8%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New92597
Fresh279
Picked011
Done011
Total9414108
Error
0.0b
Counts
108 → 14
Alt Table
StatusErrorProgram
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
6.7b
(cbrt.f64 (*.f64 (*.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) (/.f64 (atan2.f64 im re) (log.f64 base))) (/.f64 (atan2.f64 im re) (log.f64 base))))
33.1b
(*.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (/.f64 1 (log.f64 base)))) (sqrt.f64 (/.f64 1 (log.f64 base))))
28.5b
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
1.5b
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
33.0b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
30.9b
(*.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))
1.2b
(/.f64 (/.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base)))
6.7b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)) (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)))))
13.2b
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.6b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
33.3b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
1.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
Compiler

Compiled 1845 to 869 computations (52.9% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (log.f64 base) (atan2.f64 im re))
0.5b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))

series1.5s (14.1%)

Counts
2 → 44
Calls

2 calls:

1.0s
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
420.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))

rewrite23.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64
60×*-un-lft-identity_binary64
60×add-sqr-sqrt_binary64
60×add-cube-cbrt_binary64
19×associate-/r*_binary64
Counts
2 → 123
Calls

2 calls:

6.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))
5.0ms
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))

simplify136.0ms (1.3%)

Algorithm
egg-herbie
Rules
991×div-sub_binary64
742×fma-neg_binary64
273×times-frac_binary64
234×neg-mul-1_binary64
167×*-commutative_binary64
Counts
167 → 145
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01122859
11932535
24622498
312522498
427212498
549772498
655282498

prune114.0ms (1.1%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New1432145
Fresh3811
Picked011
Done022
Total14613159
Error
0.0b
Counts
159 → 13
Alt Table
StatusErrorProgram
33.1b
(*.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (/.f64 1 (log.f64 base)))) (sqrt.f64 (/.f64 1 (log.f64 base))))
28.5b
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
1.5b
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
33.0b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
6.9b
(/.f64 1 (cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)) (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)))))
1.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
6.7b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)) (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
6.8b
(/.f64 1 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)))
0.6b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
33.3b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
30.9b
(*.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))
Compiler

Compiled 2918 to 1049 computations (64.1% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base)))))
0.4b
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
0.5b
(*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))
0.7b
(cbrt.f64 (/.f64 1 (log.f64 base)))

series3.2s (31.3%)

Counts
4 → 96
Calls

4 calls:

2.0s
(*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base)))))
498.0ms
(*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))
423.0ms
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
325.0ms
(cbrt.f64 (/.f64 1 (log.f64 base)))

rewrite64.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
136×cbrt-prod_binary64
103×add-sqr-sqrt_binary64
100×times-frac_binary64
78×*-un-lft-identity_binary64
62×add-cube-cbrt_binary64
Counts
4 → 201
Calls

4 calls:

16.0ms
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
13.0ms
(*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))
8.0ms
(*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base)))))
2.0ms
(cbrt.f64 (/.f64 1 (log.f64 base)))

simplify217.0ms (2.1%)

Algorithm
egg-herbie
Rules
577×fma-def_binary64
499×unswap-sqr_binary64
426×times-frac_binary64
418×*-commutative_binary64
250×associate-*l*_binary64
Counts
297 → 253
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01605485
12974824
210344586
326754540
447304540
550764540

prune269.0ms (2.6%)

Pruning

14 alts after pruning (10 fresh and 4 done)

PrunedKeptTotal
New3101311
Fresh099
Picked011
Done033
Total31014324
Error
0b
Counts
324 → 14
Alt Table
StatusErrorProgram
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
1.1b
(*.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
33.1b
(*.f64 (*.f64 (atan2.f64 im re) (sqrt.f64 (/.f64 1 (log.f64 base)))) (sqrt.f64 (/.f64 1 (log.f64 base))))
28.5b
(/.f64 (-.f64 (*.f64 (atan2.f64 im re) (log.f64 base)) (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
1.5b
(*.f64 (*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base))))) (cbrt.f64 (/.f64 1 (log.f64 base))))
33.0b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
6.9b
(/.f64 1 (cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)) (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)))))
1.5b
(*.f64 (*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base)))) (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
6.7b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (atan2.f64 im re) (atan2.f64 im re)) (atan2.f64 im re)) (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
6.8b
(/.f64 1 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)))
0.6b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
33.3b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
30.9b
(*.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (sqrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))
Compiler

Compiled 8876 to 5242 computations (40.9% saved)

regimes664.0ms (6.5%)

Accuracy

Total 0.3b remaining (83.1%)

Threshold costs 0.3b (83.1%)

Counts
120 → 1
Compiler

Compiled 12711 to 8296 computations (34.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
179

end177.0ms (1.7%)

Compiler

Compiled 283 to 175 computations (38.2% saved)

Profiling

Loading profile data...