Details

Time bar (total: 9.4s)

analyze679.0ms (7.3%)

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

Symmetry

(sort re im)

Results
1.8s8256×body128valid
190.0ms1004×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify93.0ms (1%)

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
33.3b
(/.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 (hypot.f64 re im)) (log.f64 base))
Compiler

Compiled 120 to 77 computations (35.8% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series526.0ms (5.6%)

Counts
1 → 36
Calls

1 calls:

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

rewrite42.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
1 → 34
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
115611
2187411
3503011
000
100

simplify70.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
70 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0961148
12631052
26901012
32594992
44861992
55436992

prune54.0ms (0.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New69877
Fresh011
Picked011
Done000
Total691079
Error
0.0b
Counts
79 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
33.3b
(/.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.6b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
21.6b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)))) 1)
35.2b
(pow.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3) 1/3)
17.0b
(*.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))))
0.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
1.2b
(*.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 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) 1) (/.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 base)))
Compiler

Compiled 1832 to 937 computations (48.9% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series536.0ms (5.7%)

Counts
2 → 44
Calls

2 calls:

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

rewrite44.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
782×log1p-expm1-u_binary64
782×expm1-log1p-u_binary64
93×add-sqr-sqrt_binary64
88×add-log-exp_binary64
86×add-exp-log_binary64
Counts
2 → 50
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
119217
2209517
3497817
000
100

simplify69.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
94 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0981212
12651116
26921060
325961040
448621040
554371040

prune64.0ms (0.7%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New93295
Fresh178
Picked011
Done011
Total9411105
Error
0.0b
Counts
105 → 11
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
21.6b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)))) 1)
1.2b
(*.f64 (log.f64 (hypot.f64 re im)) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1)))
33.3b
(/.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.6b
(cbrt.f64 (pow.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)
17.0b
(*.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))))
0.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
1.2b
(*.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 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (/.f64 (log.f64 base) (cbrt.f64 (log.f64 (hypot.f64 re im)))))
Compiler

Compiled 2025 to 1067 computations (47.3% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
0.5b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
0.7b
(pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3)

series1.3s (13.5%)

Counts
2 → 72
Calls

2 calls:

694.0ms
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
564.0ms
(pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3)

rewrite56.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
904×log1p-expm1-u_binary64
904×expm1-log1p-u_binary64
99×add-sqr-sqrt_binary64
95×add-log-exp_binary64
94×add-exp-log_binary64
Counts
2 → 84
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01125
120625
2236525
3563925
000
100

simplify316.0ms (3.4%)

Algorithm
egg-herbie
Rules
500×times-frac_binary64
374×associate-/r*_binary64
325×fma-neg_binary64
259×sub-neg_binary64
251×associate-/l*_binary64
Counts
156 → 188
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02843710
110063418
242893414
350103414

prune201.0ms (2.1%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New2623265
Fresh358
Picked011
Done022
Total26511276
Error
0.0b
Counts
276 → 11
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
21.6b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)))) 1)
1.2b
(*.f64 (log.f64 (hypot.f64 re im)) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1)))
1.4b
(*.f64 (pow.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) 2) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 2) (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))))
33.3b
(/.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.6b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
0.7b
(*.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) (pow.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 2) 1/3))
0.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
1.2b
(*.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))))
Compiler

Compiled 7551 to 4226 computations (44% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series2.2s (23.7%)

Counts
2 → 72
Calls

2 calls:

1.4s
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
820.0ms
(pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base)))

rewrite48.0ms (0.5%)

Algorithm
batch-egg-rewrite
Rules
792×log1p-expm1-u_binary64
792×expm1-log1p-u_binary64
96×add-sqr-sqrt_binary64
90×add-log-exp_binary64
89×add-exp-log_binary64
Counts
2 → 47
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01026
119523
2211523
3498423
000
100

simplify138.0ms (1.5%)

Algorithm
egg-herbie
Rules
553×cancel-sign-sub-inv_binary64
414×unswap-sqr_binary64
340×fma-neg_binary64
330×times-frac_binary64
282×associate-/r*_binary64
Counts
119 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02623852
19413642
239143502
343483486
449013486
548523486

prune129.0ms (1.4%)

Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New1601161
Fresh257
Picked011
Done033
Total16210172
Error
0b
Counts
172 → 10
Alt Table
StatusErrorProgram
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
0.6b
(log.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base))))
21.6b
(-.f64 (exp.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)))) 1)
1.2b
(*.f64 (log.f64 (hypot.f64 re im)) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (log.f64 base)) 2) -1) (pow.f64 (cbrt.f64 (log.f64 base)) -1)))
0.6b
(cbrt.f64 (/.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 2) (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))))
33.3b
(/.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.6b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 3))
0.7b
(*.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))) (pow.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base)) 2) 1/3))
0.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
1.6b
(log.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base)))) (pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 re im) (/.f64 1 (log.f64 base)))) 2)))
Compiler

Compiled 4892 to 2785 computations (43.1% saved)

regimes561.0ms (6%)

Accuracy

Total 0.3b remaining (85.6%)

Threshold costs 0.3b (85.6%)

Counts
111 → 1
Compiler

Compiled 9696 to 6901 computations (28.8% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
1811

end143.0ms (1.5%)

Remove

(sort re im)

Compiler

Compiled 222 to 151 computations (32% saved)

Profiling

Loading profile data...