Details

Time bar (total: 10.1s)

analyze547.0ms (5.4%)

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

Symmetry

(sort re im)

Results
1.8s8256×body128valid
248.0ms1035×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify92.0ms (0.9%)

Algorithm
egg-herbie
Rules
666×fma-def_binary64
620×associate-/l/_binary64
557×cube-prod_binary64
533×sqr-pow_binary64
502×pow-sqr_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01922
12821
23421
34514
46211
56511
617611
747911
876911
983911
10123311
11152311
12234111
13345511
14439911
15487411
16487211

prune5.0ms (0%)

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.7b
(/.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))

series757.0ms (7.5%)

Counts
2 → 60
Calls

2 calls:

741.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
15.0ms
(hypot.f64 re im)

rewrite49.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
713×log1p-expm1-u_binary64
713×expm1-log1p-u_binary64
145×expm1-udef_binary64
145×log1p-udef_binary64
80×add-sqr-sqrt_binary64
Counts
2 → 54
Calls

2 calls:

48.0ms
(hypot.f64 re im)
48.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
115615
2187415
3503015
000
100

simplify71.0ms (0.7%)

Algorithm
egg-herbie
Rules
779×fma-neg_binary64
762×times-frac_binary64
408×associate-/r*_binary64
365×associate-/l*_binary64
340×fma-def_binary64
Counts
114 → 129
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01331684
13921570
211161490
347521490
453421490

prune102.0ms (1%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New11613129
Fresh011
Picked101
Done000
Total11714131
Error
0.0b
Counts
131 → 14
Alt Table
StatusErrorProgram
1.3b
(/.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2)) (cbrt.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))))
44.8b
(/.f64 (log.f64 (pow.f64 (pow.f64 (hypot.f64 re im) 3) 1/3)) (log.f64 base))
34.7b
(/.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)))
16.0b
(/.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))
19.8b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)))) 1)
0.4b
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
0.3b
(/.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)) (log.f64 base))
16.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (cbrt.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))))
1.2b
(*.f64 (/.f64 1 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (log.f64 (hypot.f64 re im)) (cbrt.f64 (log.f64 base))))
1.3b
(*.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))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
0.7b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
Compiler

Compiled 2828 to 1522 computations (46.2% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.3b
(/.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)) (log.f64 base))
0.6b
(cbrt.f64 (hypot.f64 re im))
0.8b
(pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)

series1.8s (18%)

Counts
3 → 84
Calls

3 calls:

1.7s
(/.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)) (log.f64 base))
69.0ms
(pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)
40.0ms
(cbrt.f64 (hypot.f64 re im))

rewrite58.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
898×log1p-expm1-u_binary64
898×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
95×add-log-exp_binary64
94×add-exp-log_binary64
Counts
3 → 81
Calls

3 calls:

56.0ms
(/.f64 (log.f64 (pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)) (log.f64 base))
56.0ms
(cbrt.f64 (hypot.f64 re im))
56.0ms
(pow.f64 (cbrt.f64 (hypot.f64 re im)) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
120521
2236021
3561321
000
100

simplify381.0ms (3.8%)

Algorithm
egg-herbie
Rules
762×times-frac_binary64
637×fma-def_binary64
355×associate-/l*_binary64
353×fma-neg_binary64
298×cancel-sign-sub-inv_binary64
Counts
165 → 179
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01922418
15862294
217462202
347872202
449462202
549502202

prune173.0ms (1.7%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New2255230
Fresh6713
Picked101
Done000
Total23212244
Error
0b
Counts
244 → 12
Alt Table
StatusErrorProgram
34.3b
(*.f64 (/.f64 3 (sqrt.f64 (log.f64 base))) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (sqrt.f64 (log.f64 base))))
33.9b
(/.f64 (log.f64 (pow.f64 (pow.f64 im 1/3) 3)) (log.f64 base))
1.3b
(/.f64 (log.f64 (pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2)) (cbrt.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))))
1.2b
(*.f64 (/.f64 3 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
0.4b
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
32.4b
(fma.f64 1/2 (/.f64 (*.f64 im im) (*.f64 (*.f64 re re) (log.f64 base))) (/.f64 (log.f64 (neg.f64 re)) (log.f64 base)))
1.3b
(*.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))
34.7b
(/.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.4b
(/.f64 (log.f64 (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 re im)))) 3)) (log.f64 base))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
16.0b
(/.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))
Compiler

Compiled 4819 to 2761 computations (42.7% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series1.8s (17.5%)

Counts
2 → 72
Calls

2 calls:

1.0s
(pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) -1)
750.0ms
(/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))

rewrite61.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
861×log1p-expm1-u_binary64
861×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
93×add-log-exp_binary64
92×add-exp-log_binary64
Counts
2 → 76
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01025
119822
2226222
3543822
000
100

simplify100.0ms (1%)

Algorithm
egg-herbie
Rules
472×fma-neg_binary64
465×times-frac_binary64
386×associate-/r*_binary64
284×associate-/l*_binary64
248×fma-def_binary64
Counts
148 → 179
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03523790
112223520
247863520
351883520

prune198.0ms (2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2264230
Fresh5611
Picked101
Done000
Total23210242
Error
0b
Counts
242 → 10
Alt Table
StatusErrorProgram
16.6b
(pow.f64 (expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) -1)
1.2b
(*.f64 (/.f64 3 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
32.4b
(fma.f64 1/2 (/.f64 (*.f64 im im) (*.f64 (*.f64 re re) (log.f64 base))) (/.f64 (log.f64 (neg.f64 re)) (log.f64 base)))
1.3b
(*.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))
34.3b
(*.f64 (/.f64 3 (sqrt.f64 (log.f64 base))) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (sqrt.f64 (log.f64 base))))
0.7b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))) -1)
2.2b
(pow.f64 (log1p.f64 (expm1.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) -1)
0.4b
(/.f64 (log.f64 (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 re im)))) 3)) (log.f64 base))
0.4b
(*.f64 (/.f64 1 (neg.f64 (log.f64 base))) (neg.f64 (log.f64 (hypot.f64 re im))))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
Compiler

Compiled 6775 to 3847 computations (43.2% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series714.0ms (7.1%)

Counts
2 → 48
Calls

2 calls:

679.0ms
(*.f64 (/.f64 1 (neg.f64 (log.f64 base))) (neg.f64 (log.f64 (hypot.f64 re im))))
34.0ms
(/.f64 1 (neg.f64 (log.f64 base)))

rewrite56.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
817×log1p-expm1-u_binary64
817×expm1-log1p-u_binary64
114×add-sqr-sqrt_binary64
106×add-log-exp_binary64
105×add-exp-log_binary64
Counts
2 → 51
Calls

2 calls:

55.0ms
(/.f64 1 (neg.f64 (log.f64 base)))
55.0ms
(*.f64 (/.f64 1 (neg.f64 (log.f64 base))) (neg.f64 (log.f64 (hypot.f64 re im))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01223
123817
2219317
3509117
000
100

simplify71.0ms (0.7%)

Algorithm
egg-herbie
Rules
890×fma-neg_binary64
428×associate-/l/_binary64
294×times-frac_binary64
277×div-sub_binary64
222×fma-def_binary64
Counts
99 → 96
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0991220
12661124
26931084
325971064
448631064
554371064

prune88.0ms (0.9%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1470147
Fresh099
Picked011
Done000
Total14710157
Error
0b
Counts
157 → 10
Alt Table
StatusErrorProgram
16.6b
(pow.f64 (expm1.f64 (log1p.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) -1)
1.2b
(*.f64 (/.f64 3 (pow.f64 (cbrt.f64 (log.f64 base)) 2)) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
32.4b
(fma.f64 1/2 (/.f64 (*.f64 im im) (*.f64 (*.f64 re re) (log.f64 base))) (/.f64 (log.f64 (neg.f64 re)) (log.f64 base)))
1.3b
(*.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))
34.3b
(*.f64 (/.f64 3 (sqrt.f64 (log.f64 base))) (/.f64 (log.f64 (cbrt.f64 (hypot.f64 re im))) (sqrt.f64 (log.f64 base))))
0.7b
(pow.f64 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))) -1)
2.2b
(pow.f64 (log1p.f64 (expm1.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))) -1)
0.4b
(/.f64 (log.f64 (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 re im)))) 3)) (log.f64 base))
0.4b
(*.f64 (/.f64 1 (neg.f64 (log.f64 base))) (neg.f64 (log.f64 (hypot.f64 re im))))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 base) 3)))
Compiler

Compiled 2871 to 1537 computations (46.5% saved)

regimes640.0ms (6.3%)

Accuracy

Total 0.3b remaining (87.1%)

Threshold costs 0.3b (87.1%)

Counts
131 → 1
Compiler

Compiled 9801 to 7241 computations (26.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01326
11326

end151.0ms (1.5%)

Remove

(sort re im)

Compiler

Compiled 243 to 166 computations (31.7% saved)

Profiling

Loading profile data...