Details

Time bar (total: 8.2s)

analyze1.8s (22.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
0%74.9%25.1%7
0%74.9%25.1%8
0%74.9%25.1%9
0%62.4%37.6%10
0.6%61.8%37.6%11
0.9%61.5%37.6%12
1%55.1%43.8%13
1.5%54.6%43.8%14
Compiler

Compiled 32 to 21 computations (34.4% saved)

sample2.0s (24%)

Results
1.7s8256×body128valid
195.0ms1003×body128invalid
Compiler

Compiled 63 to 41 computations (34.9% saved)

simplify134.0ms (1.6%)

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
0.3b
(/.f64 (atan2.f64 im re) (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 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))

series441.0ms (5.4%)

Counts
1 → 8
Calls

1 calls:

440.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 (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

prune34.0ms (0.4%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New241135
Fresh101
Picked011
Done000
Total251237
Error
0.1b
Counts
37 → 12
Alt Table
StatusErrorProgram
32.3b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
9.2b
(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))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (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)))
30.7b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
1.6b
(*.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (log.f64 base)))
30.0b
(*.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
32.3b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))
1.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))
30.9b
(*.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.8b
(*.f64 (/.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (sqrt.f64 (log.f64 base))) (/.f64 (cbrt.f64 (atan2.f64 im re)) (sqrt.f64 (log.f64 base))))
Compiler

Compiled 858 to 326 computations (62% saved)

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

series467.0ms (5.7%)

Counts
2 → 44
Calls

2 calls:

433.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
34.0ms
(/.f64 1 (log.f64 base))

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

simplify96.0ms (1.2%)

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

prune84.0ms (1%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New91798
Fresh7310
Picked011
Done011
Total9812110
Error
0.0b
Counts
110 → 12
Alt Table
StatusErrorProgram
32.4b
(*.f64 (*.f64 (atan2.f64 im re) (/.f64 1 (sqrt.f64 (log.f64 base)))) (/.f64 1 (sqrt.f64 (log.f64 base))))
1.1b
(*.f64 (atan2.f64 im re) (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (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)))
32.3b
(*.f64 (atan2.f64 im re) (*.f64 (sqrt.f64 (/.f64 1 (log.f64 base))) (sqrt.f64 (/.f64 1 (log.f64 base)))))
1.1b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))
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))))
32.3b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)))))
1.6b
(*.f64 (*.f64 (cbrt.f64 (atan2.f64 im re)) (cbrt.f64 (atan2.f64 im re))) (*.f64 (cbrt.f64 (atan2.f64 im re)) (/.f64 1 (log.f64 base))))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))))
Compiler

Compiled 1776 to 846 computations (52.4% saved)

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

series825.0ms (10%)

Counts
2 → 44
Calls

2 calls:

413.0ms
(/.f64 1 (/.f64 (log.f64 base) (atan2.f64 im re)))
411.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))

rewrite17.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:

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

simplify140.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

prune115.0ms (1.4%)

Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New1387145
Fresh459
Picked101
Done022
Total14314157
Error
0.0b
Counts
157 → 14
Alt Table
StatusErrorProgram
1.3b
(/.f64 (/.f64 1 (*.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))
1.1b
(*.f64 (atan2.f64 im re) (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base))))
12.7b
(/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
33.8b
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))
1.1b
(*.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.4b
(/.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))))
30.6b
(*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (atan2.f64 im re)))) (/.f64 1 (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re)))))
9.1b
(/.f64 1 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)))
32.3b
(*.f64 (atan2.f64 im re) (*.f64 (sqrt.f64 (/.f64 1 (log.f64 base))) (sqrt.f64 (/.f64 1 (log.f64 base)))))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)))))
32.4b
(/.f64 1 (*.f64 (sqrt.f64 (log.f64 base)) (/.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re))))
Compiler

Compiled 2929 to 1069 computations (63.5% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (log.f64 base))
0.4b
(*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))
0.5b
(*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base)))
0.6b
(cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base))))

series144.0ms (1.8%)

Counts
3 → 36
Calls

3 calls:

60.0ms
(*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))
51.0ms
(*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base)))
33.0ms
(cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base))))

rewrite70.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
292×add-exp-log_binary64
148×prod-exp_binary64
114×div-exp_binary64
86×times-frac_binary64
79×pow1_binary64
Counts
3 → 279
Calls

3 calls:

14.0ms
(*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))
12.0ms
(*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base)))
10.0ms
(cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base))))

simplify185.0ms (2.3%)

Algorithm
egg-herbie
Rules
637×unswap-sqr_binary64
617×fma-def_binary64
462×times-frac_binary64
440×log-prod_binary64
326×associate-*l*_binary64
Counts
315 → 314
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01734566
12663148
26152838
321852707
438282707
549842707
649522707

prune386.0ms (4.7%)

Pruning

15 alts after pruning (12 fresh and 3 done)

PrunedKeptTotal
New4292431
Fresh11011
Picked011
Done022
Total43015445
Error
0.0b
Counts
445 → 15
Alt Table
StatusErrorProgram
1.3b
(/.f64 (/.f64 1 (*.f64 (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))) (cbrt.f64 (/.f64 (log.f64 base) (atan2.f64 im re))))
1.1b
(*.f64 (atan2.f64 im re) (/.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (cbrt.f64 (log.f64 base))))
30.6b
(*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 (atan2.f64 im re)))) (/.f64 1 (/.f64 (log.f64 base) (sqrt.f64 (atan2.f64 im re)))))
1.0b
(*.f64 (atan2.f64 im re) (*.f64 (cbrt.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base)))) (cbrt.f64 (/.f64 1 (log.f64 base)))))
12.7b
(/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))))
0.3b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
33.8b
(/.f64 1 (expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (atan2.f64 im re)))))
1.1b
(*.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.4b
(/.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (*.f64 (*.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 base))) (/.f64 1 (log.f64 base)))))
32.4b
(/.f64 1 (*.f64 (sqrt.f64 (log.f64 base)) (/.f64 (sqrt.f64 (log.f64 base)) (atan2.f64 im re))))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (/.f64 1 (pow.f64 (log.f64 base) 3))))
9.1b
(/.f64 1 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)))
32.3b
(*.f64 (atan2.f64 im re) (*.f64 (sqrt.f64 (/.f64 1 (log.f64 base))) (sqrt.f64 (/.f64 1 (log.f64 base)))))
Compiler

Compiled 10490 to 5702 computations (45.6% saved)

regimes958.0ms (11.7%)

Accuracy

Total 0.3b remaining (85.7%)

Threshold costs 0.3b (85.7%)

Counts
175 → 1
Compiler

Compiled 16816 to 11371 computations (32.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
179

end181.0ms (2.2%)

Compiler

Compiled 276 to 179 computations (35.1% saved)

Profiling

Loading profile data...