Details

Time bar (total: 3.2s)

analyze5.0ms (0.2%)

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)

sample1.1s (35.3%)

Symmetry

(sort re im)

Results
1.1s8256×body128valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify9.0ms (0.3%)

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

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

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series28.0ms (0.9%)

Counts
1 → 24
Calls

1 calls:

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

rewrite69.0ms (2.1%)

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

1 calls:

68.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

simplify76.0ms (2.4%)

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
58 → 73
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
084936
1247924
2685880
32534860
44655860
54995860
64963860

prune55.0ms (1.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New65873
Fresh000
Picked011
Done000
Total65974
Error
0.0b
Counts
74 → 9
Alt Table
StatusErrorProgram
1.3b
(*.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 (log.f64 (hypot.f64 re im)) (log.f64 10))
19.0b
(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.7b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(pow.f64 (/.f64 (log.f64 10) (log.f64 (hypot.f64 re im))) -1)
18.8b
(pow.f64 (sqrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))) 2)
1.3b
(pow.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))) 3)
0.6b
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))
Compiler

Compiled 1662 to 1184 computations (28.8% saved)

localize9.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.4b
(/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10)))

series55.0ms (1.7%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10)))
26.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))

rewrite59.0ms (1.8%)

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

2 calls:

57.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))))
56.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

simplify75.0ms (2.3%)

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
150 → 180
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422156
14522108
212341872
345501868
450281868

prune134.0ms (4.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1764180
Fresh527
Picked101
Done101
Total1836189
Error
0b
Counts
189 → 6
Alt Table
StatusErrorProgram
0.5b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
1.3b
(pow.f64 (cbrt.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10))) 3)
0.5b
(/.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.7b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10)) 1)
Compiler

Compiled 4375 to 3380 computations (22.7% saved)

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

series55.0ms (1.7%)

Counts
2 → 48
Calls

2 calls:

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

rewrite83.0ms (2.6%)

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

2 calls:

82.0ms
(*.f64 (/.f64 1 (sqrt.f64 (log.f64 10))) (*.f64 (log.f64 (hypot.f64 re im)) (pow.f64 (log.f64 10) -1/2)))
82.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

simplify81.0ms (2.5%)

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
101 → 131
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01422156
14522108
212341872
345501868
450281868

prune94.0ms (2.9%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1301131
Fresh145
Picked011
Done000
Total1316137
Error
0b
Counts
137 → 6
Alt Table
StatusErrorProgram
0.5b
(/.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
(cbrt.f64 (pow.f64 (*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 10))) 3))
0.7b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10)) 1)
0.5b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
Compiler

Compiled 3518 to 2811 computations (20.1% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10)))
0.5b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
1.0b
(cbrt.f64 (log.f64 10))
1.0b
(cbrt.f64 (sqrt.f64 (log.f64 10)))

series84.0ms (2.6%)

Counts
4 → 48
Calls

4 calls:

59.0ms
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10)))
24.0ms
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
0.0ms
(cbrt.f64 (sqrt.f64 (log.f64 10)))
0.0ms
(cbrt.f64 (log.f64 10))

rewrite74.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
230×expm1-udef_binary64
229×log1p-udef_binary64
222×log-pow_binary64
208×log-div_binary64
135×prod-diff_binary64
Counts
4 → 133
Calls

4 calls:

72.0ms
(/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10)))
72.0ms
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
72.0ms
(cbrt.f64 (log.f64 10))
72.0ms
(cbrt.f64 (sqrt.f64 (log.f64 10)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01361
126636
2342836
3514136
000
100

simplify77.0ms (2.4%)

Algorithm
egg-herbie
Rules
793×fma-neg_binary64
640×fma-def_binary64
478×times-frac_binary64
320×associate-/l*_binary64
307×associate-/r*_binary64
Counts
181 → 212
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01432396
14612356
213542016
344781988
450081988

prune179.0ms (5.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2120212
Fresh044
Picked011
Done011
Total2126218
Error
0b
Counts
218 → 6
Alt Table
StatusErrorProgram
0.5b
(/.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
(cbrt.f64 (pow.f64 (*.f64 (log.f64 (hypot.f64 re im)) (/.f64 1 (log.f64 10))) 3))
0.7b
(neg.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 1/10)))
0.6b
(pow.f64 (/.f64 (log.f64 (hypot.f64 re im)) (log.f64 10)) 1)
0.5b
(/.f64 (/.f64 (/.f64 (log.f64 (hypot.f64 re im)) (sqrt.f64 (log.f64 10))) (cbrt.f64 (log.f64 10))) (cbrt.f64 (sqrt.f64 (log.f64 10))))
Compiler

Compiled 5461 to 4368 computations (20% saved)

regimes646.0ms (19.9%)

Accuracy

Total 0.3b remaining (97.5%)

Threshold costs 0.3b (97.5%)

Counts
79 → 1
Compiler

Compiled 11056 to 9162 computations (17.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01424
11724
21624

end111.0ms (3.4%)

Remove

(sort re im)

Compiler

Compiled 159 to 139 computations (12.6% saved)

Profiling

Loading profile data...