Details

Time bar (total: 6.4s)

analyze8.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
74.9%25%0.1%3
87.4%12.5%0.1%4
93.7%6.2%0.1%5
96.8%3.1%0.1%6
98.3%1.6%0.1%7
99.1%0.8%0.1%8
99.5%0.4%0.1%9
99.7%0.2%0.1%10
99.8%0.1%0.1%11
99.9%0%0.1%12
99.9%0%0.1%13
99.9%0%0.1%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample2.1s (32.4%)

Symmetry

(sort re im)

Results
2.0s8256×body128valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Rules
hypot-def_binary64
fma-def_binary64
+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01111
11411
21611
31611

prune6.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.6b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))
Compiler

Compiled 39 to 29 computations (25.6% saved)

localize13.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.6b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))

series56.0ms (0.9%)

Counts
1 → 24
Calls

1 calls:

56.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))

rewrite98.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
703×log1p-expm1-u_binary64
703×expm1-log1p-u_binary64
142×expm1-udef_binary64
141×log1p-udef_binary64
82×fma-udef_binary64
Counts
1 → 33
Calls

1 calls:

96.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
115811
2184311
3499211
4491111
000
100

simplify113.0ms (1.8%)

Algorithm
egg-herbie
Rules
428×associate-/l/_binary64
348×associate-/r/_binary64
292×times-frac_binary64
224×fma-def_binary64
223×sub-neg_binary64
Counts
57 → 72
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
084936
1247924
2685880
32534860
44655860
54995860
64963860

prune125.0ms (1.9%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New64872
Fresh000
Picked011
Done000
Total64973
Error
0.0b
Counts
73 → 9
Alt Table
StatusErrorProgram
0.6b
(/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))
17.4b
(exp.f64 (log.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))))
0.7b
(cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 3) (pow.f64 (log.f64 10) 3)))
0.6b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
1.4b
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) 2) (sqrt.f64 (log.f64 10))) (/.f64 (cbrt.f64 (log.f64 (hypot.f64 re im))) (sqrt.f64 (log.f64 10))))
0.6b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))
0.7b
(cbrt.f64 (pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10)) 3))
0.6b
(pow.f64 (/.f64 (log.f64 10) (log.f64 (hypot.f64 re im))) -1)
17.1b
(*.f64 (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) 1) (/.f64 (sqrt.f64 (log.f64 (hypot.f64 re im))) (log.f64 10)))
Compiler

Compiled 1667 to 1183 computations (29% saved)

localize19.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))
0.5b
(/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10)))

series118.0ms (1.8%)

Counts
2 → 48
Calls

2 calls:

63.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10)))
55.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))

rewrite99.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
541×log-prod_binary64
195×expm1-udef_binary64
194×log1p-udef_binary64
186×log-pow_binary64
178×pow3_binary64
Counts
2 → 101
Calls

2 calls:

95.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))
95.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01224
123824
2272624
3498024
000
100

simplify128.0ms (2%)

Algorithm
egg-herbie
Rules
587×fma-def_binary64
422×times-frac_binary64
352×sub-neg_binary64
304×associate-/r*_binary64
284×associate-/l*_binary64
Counts
149 → 179
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422156
14522108
212341872
345501868
450281868

prune284.0ms (4.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1745179
Fresh617
Picked101
Done101
Total1826188
Error
0b
Counts
188 → 6
Alt Table
StatusErrorProgram
0.6b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (pow.f64 (log.f64 10) 1/4)) (pow.f64 (log.f64 10) 1/4))
0.4b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))
0.8b
(/.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 2) (log.f64 10))) (/.f64 (sqrt.f64 (log.f64 10)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))))
0.6b
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im))))
0.6b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) 1) (log.f64 10))
Compiler

Compiled 4381 to 3382 computations (22.8% saved)

localize23.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))
0.3b
(*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2))

series119.0ms (1.8%)

Counts
2 → 48
Calls

2 calls:

63.0ms
(*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2))
55.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))

rewrite114.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
546×log-prod_binary64
287×prod-diff_binary64
210×expm1-udef_binary64
209×log1p-udef_binary64
196×log-pow_binary64
Counts
2 → 52
Calls

2 calls:

112.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))
112.0ms
(*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01435
128027
2276827
3498027
4531327
000
100

simplify129.0ms (2%)

Algorithm
egg-herbie
Rules
587×fma-def_binary64
422×times-frac_binary64
352×sub-neg_binary64
304×associate-/r*_binary64
284×associate-/l*_binary64
Counts
100 → 130
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422156
14522108
212341872
345501868
450281868

prune304.0ms (4.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh055
Picked011
Done000
Total1306136
Error
0b
Counts
136 → 6
Alt Table
StatusErrorProgram
0.6b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (pow.f64 (log.f64 10) 1/4)) (pow.f64 (log.f64 10) 1/4))
0.4b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))
0.8b
(/.f64 (cbrt.f64 (/.f64 (pow.f64 (log.f64 (hypot.f64 re im)) 2) (log.f64 10))) (/.f64 (sqrt.f64 (log.f64 10)) (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))))
0.6b
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im))))
0.6b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) 1) (log.f64 10))
Compiler

Compiled 3525 to 2814 computations (20.2% saved)

localize21.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im))))
0.5b
(/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im)))

series219.0ms (3.4%)

Counts
2 → 48
Calls

2 calls:

164.0ms
(/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im)))
54.0ms
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im))))

rewrite99.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
593×log-prod_binary64
214×expm1-udef_binary64
213×log1p-udef_binary64
200×log-pow_binary64
125×prod-diff_binary64
Counts
2 → 82
Calls

2 calls:

96.0ms
(/.f64 (pow.f64 (log.f64 10) -1/2) (/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im))))
95.0ms
(/.f64 (sqrt.f64 (log.f64 10)) (log.f64 (hypot.f64 re im)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01234
125227
2300827
3531027
000
100

simplify144.0ms (2.2%)

Algorithm
egg-herbie
Rules
520×fma-neg_binary64
422×unswap-sqr_binary64
302×fma-def_binary64
281×sub-neg_binary64
252×associate-/r*_binary64
Counts
130 → 169
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03363108
110752919
240622889
355592889

prune296.0ms (4.6%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1681169
Fresh224
Picked101
Done101
Total1723175
Error
0b
Counts
175 → 3
Alt Table
StatusErrorProgram
0.3b
(*.f64 (/.f64 (pow.f64 (log.f64 10) -1/2) (neg.f64 (sqrt.f64 (log.f64 10)))) (neg.f64 (log.f64 (hypot.f64 re im))))
0.6b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) 1) (log.f64 10))
Compiler

Compiled 5494 to 4255 computations (22.6% saved)

regimes1.6s (25.7%)

Accuracy

Total 0.3b remaining (98.4%)

Threshold costs 0.3b (98.4%)

Counts
86 → 1
Compiler

Compiled 11356 to 9449 computations (16.8% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01425
12325
23225
34125
44625
54925
65025
75025

end146.0ms (2.3%)

Remove

(sort re im)

Compiler

Compiled 106 to 92 computations (13.2% saved)

Profiling

Loading profile data...