Details

Time bar (total: 6.4s)

analyze572.0ms (8.9%)

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 (30.9%)

Results
1.7s8256×body128valid
230.0ms1052×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify127.0ms (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

prune4.0ms (0.1%)

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

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series355.0ms (5.5%)

Counts
1 → 8
Calls

1 calls:

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

rewrite41.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
643×log1p-expm1-u_binary64
643×expm1-log1p-u_binary64
351×log-prod_binary64
131×expm1-udef_binary64
131×log1p-udef_binary64
Counts
1 → 36
Calls

1 calls:

41.0ms
(/.f64 (atan2.f64 im re) (log.f64 base))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
11389
216879
352249

simplify249.0ms (3.9%)

Algorithm
egg-herbie
Rules
1250×distribute-rgt-in_binary64
882×div-sub_binary64
628×fma-neg_binary64
606×associate--r-_binary64
502×fma-def_binary64
Counts
44 → 39
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
016104
129104
24296
39072
415472
546272
698772
7189972
8236372
9243072
10249172
11259972
12462872
13363672
14410672
15434072
16436472
17436472
18431372
19436372
20446972
21447572
22553872

prune36.0ms (0.6%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New281139
Fresh011
Picked011
Done000
Total281341
Error
0.1b
Counts
41 → 13
Alt Table
StatusErrorProgram
12.9b
(log.f64 (exp.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
0.3b
(/.f64 (atan2.f64 im re) (log.f64 base))
28.9b
(*.f64 (/.f64 (sqrt.f64 (atan2.f64 im re)) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (atan2.f64 im re)) (cbrt.f64 (log.f64 base))))
30.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.4b
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
27.5b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
4.6b
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))
0.5b
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
27.1b
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)
28.5b
(pow.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3) 1/3)
34.2b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))
1.2b
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (atan2.f64 im re) (cbrt.f64 (log.f64 base))))
Compiler

Compiled 850 to 401 computations (52.8% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series378.0ms (5.9%)

Counts
2 → 44
Calls

2 calls:

346.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
32.0ms
(/.f64 1 (log.f64 base))

rewrite101.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
712×log1p-expm1-u_binary64
712×expm1-log1p-u_binary64
149×expm1-udef_binary64
149×log1p-udef_binary64
92×fma-neg_binary64
Counts
2 → 49
Calls

2 calls:

101.0ms
(/.f64 1 (log.f64 base))
100.0ms
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0915
117415
2190915
3498815
4500015
5500715

simplify272.0ms (4.2%)

Algorithm
egg-herbie
Rules
1250×distribute-rgt-in_binary64
882×div-sub_binary64
628×fma-neg_binary64
606×associate--r-_binary64
502×fma-def_binary64
Counts
93 → 54
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
020388
132388
245372
392372
4154372
5462372
6987372
71899372
82365372
92430372
102491372
112599372
124628372
133636372
144106372
154340372
164364372
174364372
184313372
194363372
204469372
214475372
225538372

prune51.0ms (0.8%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New48654
Fresh4711
Picked011
Done101
Total531467
Error
0.0b
Counts
67 → 14
Alt Table
StatusErrorProgram
1.4b
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))
34.5b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
27.5b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
30.4b
(*.f64 (atan2.f64 im re) (sqrt.f64 (pow.f64 (log.f64 base) -2)))
27.1b
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)
0.8b
(*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))))
4.6b
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))
0.5b
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
1.1b
(/.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))
34.2b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
30.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)))
34.2b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))
Compiler

Compiled 976 to 526 computations (46.1% 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
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)

series756.0ms (11.7%)

Counts
2 → 44
Calls

2 calls:

416.0ms
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
340.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))

rewrite49.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
791×log1p-expm1-u_binary64
791×expm1-log1p-u_binary64
158×log1p-udef_binary64
91×add-sqr-sqrt_binary64
84×add-log-exp_binary64
Counts
2 → 76
Calls

2 calls:

48.0ms
(/.f64 (log.f64 base) (atan2.f64 im re))
48.0ms
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0921
118018
2207518
3514718

simplify214.0ms (3.3%)

Algorithm
egg-herbie
Rules
1461×associate-+l+_binary64
799×distribute-rgt-in_binary64
752×unsub-neg_binary64
736×sub-neg_binary64
662×div-sub_binary64
Counts
120 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
021428
140428
263396
3122396
4307396
5758396
61494396
71867396
82145396
92393396
102795396
112863396
122728396
133858396
143444396
153670396
163982396
173982396
184094396
195463396

prune66.0ms (1%)

Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New79281
Fresh11112
Picked011
Done011
Total801595
Error
0.0b
Counts
95 → 15
Alt Table
StatusErrorProgram
1.4b
(*.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2))
34.5b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
4.5b
(pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)) -1)
0.5b
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
10.2b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1)
27.1b
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)
0.8b
(*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))))
27.5b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
4.6b
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))
1.1b
(/.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))
34.2b
(/.f64 (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
30.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)))
34.2b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (atan2.f64 im re) (sqrt.f64 (log.f64 base))))
Compiler

Compiled 1449 to 662 computations (54.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (log.f64 base))
0.3b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
0.6b
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))
0.7b
(pow.f64 (/.f64 1 (log.f64 base)) 3)

series413.0ms (6.4%)

Counts
3 → 60
Calls

3 calls:

340.0ms
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
38.0ms
(pow.f64 (/.f64 1 (log.f64 base)) 3)
34.0ms
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))

rewrite51.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
868×log1p-expm1-u_binary64
868×expm1-log1p-u_binary64
104×add-sqr-sqrt_binary64
97×add-log-exp_binary64
96×add-cbrt-cube_binary64
Counts
3 → 79
Calls

3 calls:

49.0ms
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
49.0ms
(cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3))
49.0ms
(pow.f64 (/.f64 1 (log.f64 base)) 3)
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01227
122121
2233721
3524421

simplify99.0ms (1.5%)

Algorithm
egg-herbie
Rules
681×fma-neg_binary64
634×unsub-neg_binary64
624×div-sub_binary64
491×fma-def_binary64
456×distribute-rgt-in_binary64
Counts
139 → 85
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
028504
158504
2112504
3301504
4691504
52735504
64412504
74991504
84995504
94876504

prune88.0ms (1.4%)

Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New1092111
Fresh3912
Picked011
Done022
Total11214126
Error
0.0b
Counts
126 → 14
Alt Table
StatusErrorProgram
0.4b
(*.f64 (atan2.f64 im re) (/.f64 1 (log.f64 base)))
0.7b
(*.f64 (atan2.f64 im re) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
4.5b
(pow.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) 3)) -1)
0.5b
(pow.f64 (/.f64 (log.f64 base) (atan2.f64 im re)) -1)
10.2b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (atan2.f64 im re)))) -1)
27.1b
(pow.f64 (sqrt.f64 (/.f64 (atan2.f64 im re) (log.f64 base))) 2)
0.8b
(*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (cbrt.f64 (pow.f64 (log.f64 base) -2))))
34.5b
(*.f64 (atan2.f64 im re) (exp.f64 (neg.f64 (log.f64 (log.f64 base)))))
27.5b
(exp.f64 (log.f64 (/.f64 (atan2.f64 im re) (log.f64 base))))
4.6b
(cbrt.f64 (pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 3))
0.3b
(pow.f64 (/.f64 (atan2.f64 im re) (log.f64 base)) 1)
1.1b
(/.f64 (/.f64 (atan2.f64 im re) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (log.f64 base)))
30.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.9b
(*.f64 (atan2.f64 im re) (*.f64 (/.f64 1 (cbrt.f64 (log.f64 base))) (pow.f64 (pow.f64 (log.f64 base) -2) 1/3)))
Compiler

Compiled 1594 to 874 computations (45.2% saved)

regimes316.0ms (4.9%)

Accuracy

Total 0.3b remaining (89.8%)

Threshold costs 0.3b (89.8%)

Counts
66 → 1
Compiler

Compiled 4936 to 3491 computations (29.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
099
1119
2109

end177.0ms (2.7%)

Compiler

Compiled 223 to 160 computations (28.3% saved)

Profiling

Loading profile data...