Details

Time bar (total: 6.4s)

analyze607.0ms (9.5%)

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

Symmetry

(sort re im)

Results
1.7s8256×body128valid
201.0ms1008×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify39.0ms (0.6%)

Algorithm
egg-herbie
Rules
567×associate-/l/_binary64
526×cube-prod_binary64
434×times-frac_binary64
365×sqr-pow_binary64
291×pow-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01922
13121
23821
34914
46611
57511
621811
7119611
8180411
9201511
10250911
11299211
12386911
Stop Event
node limit
Counts
1 → 2

prune4.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
34.2b
(/.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base)) (*.f64 (atan2.f64 im re) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
0.3b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
Compiler

Compiled 120 to 77 computations (35.8% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series522.0ms (8.2%)

Counts
2 → 60
Calls

2 calls:

509.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
13.0ms
(hypot.f64 re im)

rewrite45.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
713×log1p-expm1-u_binary64
713×expm1-log1p-u_binary64
145×expm1-udef_binary64
145×log1p-udef_binary64
81×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
115815
2196515
Stop Event
node limit
Counts
2 → 54
Calls

2 calls:

44.0ms
(hypot.f64 re im)
44.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))

simplify37.0ms (0.6%)

Algorithm
egg-herbie
Rules
762×times-frac_binary64
406×associate-/r*_binary64
360×associate-/l*_binary64
332×fma-def_binary64
209×associate-*r*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01331684
13941570
211881490
Stop Event
node limit
Counts
114 → 129

prune95.0ms (1.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11712129
Fresh011
Picked101
Done000
Total11813131
Error
0.0b
Counts
131 → 13
Alt Table
StatusErrorProgram
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
0.4b
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
34.2b
(/.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base)) (*.f64 (atan2.f64 im re) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
1.4b
(*.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) (pow.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) 2))
14.5b
(/.f64 (log.f64 (pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 re im)))) (sqrt.f64 (log.f64 (hypot.f64 re im))))) (log.f64 base))
1.4b
(pow.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) 3)
35.2b
(pow.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3) 1/3)
34.3b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 base))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 base))))
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
14.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) 1) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 base)))
0.7b
(log1p.f64 (expm1.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.7b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
Compiler

Compiled 2766 to 1487 computations (46.2% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.2b
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
0.4b
(/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))

series1.1s (17.7%)

Counts
2 → 72
Calls

2 calls:

598.0ms
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
532.0ms
(/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))

rewrite48.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
861×log1p-expm1-u_binary64
861×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
93×add-log-exp_binary64
92×add-exp-log_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01025
120022
2242922
Stop Event
node limit
Counts
2 → 76
Calls

2 calls:

47.0ms
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
47.0ms
(/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))

simplify49.0ms (0.8%)

Algorithm
egg-herbie
Rules
465×times-frac_binary64
386×associate-/r*_binary64
283×associate-/l*_binary64
248×fma-def_binary64
193×associate-*r*_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03523790
112803520
Stop Event
node limit
Counts
148 → 179

prune188.0ms (2.9%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2255230
Fresh5712
Picked101
Done000
Total23112243
Error
0b
Counts
243 → 12
Alt Table
StatusErrorProgram
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
35.3b
(*.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1))
19.1b
(pow.f64 (-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) 1) -1)
0.7b
(pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (log.f64 (hypot.f64 re im)) 3))) -1)
14.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) 1) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 base)))
34.2b
(/.f64 (+.f64 (*.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base)) (*.f64 (atan2.f64 im re) 0)) (+.f64 (*.f64 (log.f64 base) (log.f64 base)) (*.f64 0 0)))
14.5b
(/.f64 (log.f64 (pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 re im)))) (sqrt.f64 (log.f64 (hypot.f64 re im))))) (log.f64 base))
0.3b
(*.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 1)
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.6b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))) -1)
0.7b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
Compiler

Compiled 6873 to 3938 computations (42.7% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

prune101.0ms (1.6%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh11011
Picked011
Done000
Total12912141
Error
0b
Counts
141 → 12
Alt Table
StatusErrorProgram
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
35.3b
(*.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1))
19.1b
(pow.f64 (-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) 1) -1)
0.7b
(pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (log.f64 (hypot.f64 re im)) 3))) -1)
14.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) 1) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 base)))
14.5b
(/.f64 (log.f64 (pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 re im)))) (sqrt.f64 (log.f64 (hypot.f64 re im))))) (log.f64 base))
0.3b
(*.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 1)
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.7b
(*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3)) 1)
0.6b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))) -1)
0.7b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
Compiler

Compiled 2966 to 1718 computations (42.1% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.3b
(/.f64 1 (log.f64 base))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))

series519.0ms (8.1%)

Counts
2 → 44
Calls

2 calls:

487.0ms
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
31.0ms
(/.f64 1 (log.f64 base))

rewrite40.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
782×log1p-expm1-u_binary64
782×expm1-log1p-u_binary64
94×add-sqr-sqrt_binary64
88×add-log-exp_binary64
86×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
119417
2223617
Stop Event
node limit
Counts
2 → 49
Calls

2 calls:

39.0ms
(/.f64 1 (log.f64 base))
39.0ms
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))

simplify42.0ms (0.7%)

Algorithm
egg-herbie
Rules
890×fma-neg_binary64
294×times-frac_binary64
219×sub-neg_binary64
214×fma-def_binary64
199×associate-/r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0981212
12651116
27321060
330201040
Stop Event
node limit
Counts
93 → 95

prune113.0ms (1.8%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1451146
Fresh1910
Picked101
Done011
Total14711158
Error
0b
Counts
158 → 11
Alt Table
StatusErrorProgram
0.7b
(pow.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 base) 3) (pow.f64 (log.f64 (hypot.f64 re im)) 3))) -1)
14.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) 1) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 base)))
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
14.5b
(/.f64 (log.f64 (pow.f64 (exp.f64 (sqrt.f64 (log.f64 (hypot.f64 re im)))) (sqrt.f64 (log.f64 (hypot.f64 re im))))) (log.f64 base))
35.3b
(*.f64 (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1) (pow.f64 (sqrt.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))) -1))
0.3b
(*.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 1)
1.3b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.7b
(*.f64 (cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3)) 1)
0.6b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))) -1)
0.7b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
0.7b
(*.f64 (log.f64 (hypot.f64 re im)) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 base)) 3)))
Compiler

Compiled 2753 to 1531 computations (44.4% saved)

regimes650.0ms (10.2%)

Accuracy

Total 0.3b remaining (93%)

Threshold costs 0.3b (93%)

Counts
118 → 1
Compiler

Compiled 8846 to 6486 computations (26.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01116
Stop Event
saturated

end169.0ms (2.6%)

Remove

(sort re im)

Compiler

Compiled 239 to 170 computations (28.9% saved)

Profiling

Loading profile data...