Details

Time bar (total: 7.5s)

analyze1.2s (16.2%)

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)

sample2.0s (26.6%)

Results
1.7s8256×body128valid
226.0ms1001×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify126.0ms (1.7%)

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.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
32.7b
(/.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)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
Compiler

Compiled 117 to 73 computations (37.6% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series439.0ms (5.9%)

Counts
1 → 8
Calls

1 calls:

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

rewrite4.0ms (0.1%)

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

simplify85.0ms (1.1%)

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

prune39.0ms (0.5%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New231235
Fresh011
Picked011
Done000
Total231437
Error
0.0b
Counts
37 → 14
Alt Table
StatusErrorProgram
1.2b
(/.f64 (/.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base)))
1.4b
(*.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))))
1.7b
(/.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (/.f64 (log.f64 base) (cbrt.f64 (atan2.f64 im re))))
6.3b
(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))))
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
32.4b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
31.8b
(*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
0.5b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
33.5b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))
1.2b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))
32.8b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
32.7b
(/.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.8b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
Compiler

Compiled 988 to 384 computations (61.1% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series442.0ms (5.9%)

Counts
2 → 44
Calls

2 calls:

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

rewrite14.0ms (0.2%)

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)))
3.0ms
(/.f64 1 (log.f64 base))

simplify83.0ms (1.1%)

Algorithm
egg-herbie
Rules
460×unsub-neg_binary64
434×div-sub_binary64
409×sub-neg_binary64
377×associate-*r/_binary64
274×associate-/l*_binary64
Counts
122 → 98
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0801290
11451159
23201159
37491159
418261159
538501159
649461159

prune80.0ms (1.1%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New94498
Fresh5712
Picked011
Done011
Total9913112
Error
0.0b
Counts
112 → 13
Alt Table
StatusErrorProgram
33.6b
(*.f64 (atan2.f64 im re) (*.f64 (sqrt.f64 (/.f64 1 (log.f64 base))) (sqrt.f64 (/.f64 1 (log.f64 base)))))
0.5b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
33.6b
(*.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (sqrt.f64 (log.f64 base)))) (/.f64 1 (sqrt.f64 (log.f64 base))))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
1.2b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))
31.8b
(*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.3b
(/.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.3b
(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))))
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
1.5b
(*.f64 (atan2.f64 im re) (*.f64 (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base)))) (cbrt.f64 (/.f64 1 (log.f64 base)))))
32.8b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
32.7b
(/.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 1834 to 862 computations (53% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series787.0ms (10.6%)

Counts
2 → 44
Calls

2 calls:

394.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))
392.0ms
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))

rewrite25.0ms (0.3%)

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:

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

simplify125.0ms (1.7%)

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

prune117.0ms (1.6%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1405145
Fresh3710
Picked011
Done112
Total14414158
Error
0.0b
Counts
158 → 14
Alt Table
StatusErrorProgram
12.1b
(/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))
1.2b
(/.f64 (/.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base)))
33.6b
(*.f64 (atan2.f64 im re) (*.f64 (sqrt.f64 (/.f64 1 (log.f64 base))) (sqrt.f64 (/.f64 1 (log.f64 base)))))
0.6b
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))
0.5b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
33.6b
(*.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (sqrt.f64 (log.f64 base)))) (/.f64 1 (sqrt.f64 (log.f64 base))))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
32.6b
(/.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (atan2.f64 im re)))) (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re))))
31.8b
(*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
6.3b
(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))))
32.8b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
1.4b
(*.f64 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))) 1)) (/.f64 1 (/.f64 (cbrt.f64 (log.f64 base)) (atan2.f64 im re))))
33.6b
(/.f64 1 (/.f64 (sqrt.f64 (log.f64 base)) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base)))))
Compiler

Compiled 2921 to 1047 computations (64.2% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series406.0ms (5.5%)

Counts
2 → 36
Calls

2 calls:

393.0ms
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))
13.0ms
(/.f64 1 (atan2.f64 im re))

rewrite60.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
538×times-frac_binary64
241×*-un-lft-identity_binary64
241×add-sqr-sqrt_binary64
241×add-cube-cbrt_binary64
46×add-exp-log_binary64
Counts
2 → 304
Calls

2 calls:

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

simplify378.0ms (5.1%)

Algorithm
egg-herbie
Rules
486×fma-neg_binary64
409×neg-mul-1_binary64
378×neg-sub0_binary64
351×unsub-neg_binary64
311×times-frac_binary64
Counts
340 → 289
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01477681
13246875
27596740
314296740
416686740
533486740
641486740
744136740
849946740
948476740

prune243.0ms (3.3%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New3244328
Fresh8311
Picked011
Done022
Total33210342
Error
0b
Counts
342 → 10
Alt Table
StatusErrorProgram
0.6b
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (atan2.f64 im re)))
1.6b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (cbrt.f64 (/.f64 1 (log.f64 base)))) 1) (/.f64 (cbrt.f64 (/.f64 1 (log.f64 base))) (/.f64 1 (atan2.f64 im re))))
0.5b
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
1.4b
(/.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (/.f64 1 (atan2.f64 im re)) (/.f64 1 (cbrt.f64 (log.f64 base)))))
34.7b
(/.f64 (/.f64 1 (log.f64 base)) (*.f64 (sqrt.f64 (/.f64 1 (atan2.f64 im re))) (sqrt.f64 (/.f64 1 (atan2.f64 im re)))))
32.8b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
31.8b
(*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
6.4b
(/.f64 (/.f64 1 (log.f64 base)) (cbrt.f64 (pow.f64 (/.f64 1 (atan2.f64 im re)) 3)))
Compiler

Compiled 7412 to 3921 computations (47.1% saved)

regimes635.0ms (8.5%)

Accuracy

Total 0.3b remaining (90.2%)

Threshold costs 0.3b (90.2%)

Counts
119 → 1
Compiler

Compiled 11261 to 7501 computations (33.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
179

end138.0ms (1.9%)

Compiler

Compiled 196 to 130 computations (33.7% saved)

Profiling

Loading profile data...