Details

Time bar (total: 9.8s)

analyze512.0ms (5.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
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)

sample1.8s (18.3%)

Symmetry

(sort re im)

Results
1.5s8256×body128valid
166.0ms991×body128invalid
Compiler

Compiled 95 to 62 computations (34.7% saved)

simplify96.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.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.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
34.0b
(/.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)))
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.4b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))

series699.0ms (7.2%)

Counts
2 → 60
Calls

2 calls:

686.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
12.0ms
(hypot.f64 re im)

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×times-frac_binary64
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
12×pow1_binary64
Counts
2 → 48
Calls

2 calls:

3.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))
0.0ms
(hypot.f64 re im)

simplify91.0ms (0.9%)

Algorithm
egg-herbie
Rules
787×times-frac_binary64
599×fma-neg_binary64
441×associate-/r*_binary64
410×associate-/l*_binary64
341×fma-def_binary64
Counts
108 → 142
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01942481
14842312
212912236
345832236
449842236

prune102.0ms (1%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13111142
Fresh011
Picked101
Done000
Total13212144
Error
0.0b
Counts
144 → 12
Alt Table
StatusErrorProgram
1.6b
(log1p.f64 (expm1.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.4b
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))
13.0b
(*.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (log.f64 base)))
1.3b
(*.f64 (/.f64 1 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (log.f64 (hypot.f64 re im)) (cbrt.f64 (log.f64 base))))
33.3b
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 base))) (sqrt.f64 (log.f64 base)))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
13.0b
(/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (/.f64 (log.f64 base) (sqrt.f64 (log.f64 (hypot.f64 re im)))))
1.0b
(log.f64 (exp.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
13.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
17.6b
(expm1.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
34.0b
(/.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.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base))))
Compiler

Compiled 3052 to 1437 computations (52.9% saved)

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series1.7s (17.6%)

Counts
2 → 72
Calls

2 calls:

955.0ms
(/.f64 (log.f64 base) (log.f64 (hypot.f64 re im)))
759.0ms
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))

rewrite24.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
140×times-frac_binary64
69×*-un-lft-identity_binary64
69×add-sqr-sqrt_binary64
69×add-cube-cbrt_binary64
45×pow1_binary64
Counts
2 → 144
Calls

2 calls:

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

simplify141.0ms (1.4%)

Algorithm
egg-herbie
Rules
432×fma-neg_binary64
429×times-frac_binary64
347×associate-/r*_binary64
294×associate-/l*_binary64
190×fma-def_binary64
Counts
216 → 240
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
03946731
112315978
247495978
350955978

prune241.0ms (2.5%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New2844288
Fresh4711
Picked011
Done000
Total28812300
Error
0.0b
Counts
300 → 12
Alt Table
StatusErrorProgram
1.6b
(log1p.f64 (expm1.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.4b
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (/.f64 (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)) (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))))))
0.7b
(/.f64 1 (cbrt.f64 (pow.f64 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))) 3)))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
1.3b
(*.f64 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))) 1)) (/.f64 1 (/.f64 (cbrt.f64 (log.f64 base)) (log.f64 (hypot.f64 re im)))))
0.4b
(/.f64 1 (*.f64 (log.f64 base) (/.f64 1 (log.f64 (hypot.f64 re im)))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base))))
13.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
17.6b
(expm1.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
13.0b
(*.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (log.f64 base)))
13.0b
(/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (/.f64 (log.f64 base) (sqrt.f64 (log.f64 (hypot.f64 re im)))))
Compiler

Compiled 7935 to 3959 computations (50.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.5s (15.4%)

Counts
3 → 96
Calls

3 calls:

763.0ms
(*.f64 (log.f64 base) (/.f64 1 (log.f64 (hypot.f64 re im))))
680.0ms
(/.f64 1 (*.f64 (log.f64 base) (/.f64 1 (log.f64 (hypot.f64 re im)))))
64.0ms
(/.f64 1 (log.f64 (hypot.f64 re im)))

rewrite30.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
51×add-exp-log_binary64
30×add-sqr-sqrt_binary64
29×times-frac_binary64
24×*-un-lft-identity_binary64
23×add-cube-cbrt_binary64
Counts
3 → 121
Calls

3 calls:

12.0ms
(/.f64 1 (*.f64 (log.f64 base) (/.f64 1 (log.f64 (hypot.f64 re im)))))
7.0ms
(*.f64 (log.f64 base) (/.f64 1 (log.f64 (hypot.f64 re im))))
3.0ms
(/.f64 1 (log.f64 (hypot.f64 re im)))

simplify154.0ms (1.6%)

Algorithm
egg-herbie
Rules
695×times-frac_binary64
597×associate-/r*_binary64
488×associate-/l*_binary64
322×fma-def_binary64
202×fma-neg_binary64
Counts
217 → 290
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05296930
117296232
247876230
349766230

prune327.0ms (3.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New3353338
Fresh2810
Picked101
Done011
Total33812350
Error
0b
Counts
350 → 12
Alt Table
StatusErrorProgram
1.6b
(log1p.f64 (expm1.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.4b
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
1.3b
(*.f64 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))) 1)) (/.f64 1 (/.f64 (cbrt.f64 (log.f64 base)) (log.f64 (hypot.f64 re im)))))
0.7b
(/.f64 1 (log.f64 (pow.f64 base (/.f64 1 (log.f64 (hypot.f64 re im))))))
13.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (/.f64 (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)) (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))))))
17.6b
(expm1.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
13.0b
(*.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 im re))) (log.f64 base)))
0.7b
(/.f64 1 (*.f64 (log.f64 base) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 (hypot.f64 re im))) 3))))
1.3b
(/.f64 1 (*.f64 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))) (*.f64 (cbrt.f64 (log.f64 base)) (/.f64 1 (log.f64 (hypot.f64 re im))))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base))))
Compiler

Compiled 10213 to 6091 computations (40.4% saved)

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

series755.0ms (7.7%)

Counts
2 → 44
Calls

2 calls:

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

rewrite15.0ms (0.2%)

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 → 79
Calls

2 calls:

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

simplify99.0ms (1%)

Algorithm
egg-herbie
Rules
453×div-sub_binary64
341×times-frac_binary64
295×associate-/l*_binary64
248×fma-def_binary64
229×sub-neg_binary64
Counts
123 → 141
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01602246
13821983
29841943
334581943
447571943
557511943

prune152.0ms (1.6%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1872189
Fresh3710
Picked011
Done011
Total19011201
Error
0b
Counts
201 → 11
Alt Table
StatusErrorProgram
1.6b
(log1p.f64 (expm1.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.4b
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (hypot.f64 re im))))
0.4b
(*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 base)))
1.3b
(*.f64 (/.f64 1 (/.f64 (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base))) 1)) (/.f64 1 (/.f64 (cbrt.f64 (log.f64 base)) (log.f64 (hypot.f64 re im)))))
1.0b
(log.f64 (pow.f64 (hypot.f64 im re) (/.f64 1 (log.f64 base))))
13.5b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (*.f64 (cbrt.f64 (log.f64 base)) (cbrt.f64 (log.f64 base)))) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (cbrt.f64 (log.f64 base))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 1 1) 1) (/.f64 (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base)) (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))))))
13.0b
(*.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (*.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (/.f64 1 (log.f64 base))))
17.6b
(expm1.f64 (log1p.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 base))))
0.7b
(/.f64 1 (*.f64 (log.f64 base) (cbrt.f64 (pow.f64 (/.f64 1 (log.f64 (hypot.f64 re im))) 3))))
0.7b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (log.f64 (hypot.f64 re im)) (log.f64 (hypot.f64 re im))) (log.f64 (hypot.f64 re im))) (*.f64 (*.f64 (log.f64 base) (log.f64 base)) (log.f64 base))))
Compiler

Compiled 3655 to 1857 computations (49.2% saved)

regimes1.1s (11.2%)

Accuracy

Total 0.3b remaining (88.8%)

Threshold costs 0.3b (88.8%)

Counts
193 → 1
Compiler

Compiled 16861 to 11816 computations (29.9% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01015
11015

end167.0ms (1.7%)

Remove

(sort re im)

Compiler

Compiled 255 to 164 computations (35.7% saved)

Profiling

Loading profile data...