Details

Time bar (total: 3.9s)

analyze514.0ms (13.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 18 to 13 computations (27.8% saved)

sample2.1s (54.2%)

Results
856.0ms6262×body128valid
410.0ms552×body4096valid
396.0ms644×body2048valid
179.0ms429×body1024valid
175.0ms119×body256valid
78.0ms250×body512valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12515
23415
33615
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
10.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
10.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 51 to 37 computations (27.5% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
0.9b
(+.f64 re (hypot.f64 re im))

series175.0ms (4.4%)

Counts
2 → 32
Calls

2 calls:

165.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
9.0ms
(+.f64 re (hypot.f64 re im))

rewrite43.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
844×expm1-log1p-u_binary64
589×prod-diff_binary64
89×add-sqr-sqrt_binary64
86×log1p-expm1-u_binary64
85×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
117819
2234119
Stop Event
node limit
Counts
2 → 60
Calls

2 calls:

42.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
42.0ms
(+.f64 re (hypot.f64 re im))

simplify29.0ms (0.7%)

Algorithm
egg-herbie
Rules
427×fma-def_binary64
387×associate-*r*_binary64
306×associate-*l*_binary64
236×cancel-sign-sub-inv_binary64
223×associate-/l*_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0120860
1345810
21133762
Stop Event
node limit
Counts
92 → 105

prune84.0ms (2.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1005105
Fresh000
Picked011
Done000
Total1006106
Error
3.4b
Counts
106 → 6
Alt Table
StatusErrorProgram
10.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2))))
46.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
55.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))))
53.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (/.f64 im re) im) -1/2))))
45.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
10.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 2227 to 1505 computations (32.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 re (hypot.f64 re im)))
0.0b
(sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)))
0.4b
(pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)
0.9b
(+.f64 re (hypot.f64 re im))

series93.0ms (2.4%)

Counts
3 → 24
Calls

3 calls:

40.0ms
(pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)
30.0ms
(sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)))
23.0ms
(sqrt.f64 (+.f64 re (hypot.f64 re im)))

rewrite56.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
868×expm1-log1p-u_binary64
506×prod-diff_binary64
93×add-sqr-sqrt_binary64
92×egg-rr
91×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01028
121528
2242528
Stop Event
node limit
Counts
3 → 92
Calls

3 calls:

55.0ms
(sqrt.f64 (+.f64 re (hypot.f64 re im)))
55.0ms
(sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)))
55.0ms
(pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2)

simplify37.0ms (0.9%)

Algorithm
egg-herbie
Rules
594×fma-def_binary64
413×times-frac_binary64
393×associate-*l*_binary64
388×associate-/l*_binary64
361×cancel-sign-sub-inv_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0141957
1419866
21447795
Stop Event
node limit
Counts
116 → 136

prune157.0ms (4%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2001201
Fresh134
Picked011
Done011
Total2016207
Error
3.4b
Counts
207 → 6
Alt Table
StatusErrorProgram
55.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))))
53.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (/.f64 im re) im) -1/2))))
10.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2))))
46.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 im) 2))))
45.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
10.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 4475 to 2969 computations (33.7% saved)

localize5.0ms (0.1%)

prune8.0ms (0.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done022
Total066
Error
3.4b
Counts
6 → 6
Alt Table
StatusErrorProgram
55.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))))
53.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (/.f64 im re) im) -1/2))))
10.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2))))
46.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 im) 2))))
45.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
10.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 134 to 111 computations (17.2% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (sqrt.f64 im) 2)

series6.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

6.0ms
(pow.f64 (sqrt.f64 im) 2)

rewrite28.0ms (0.7%)

Algorithm
batch-egg-rewrite
Rules
302×log1p-expm1-u_binary64
302×expm1-log1p-u_binary64
272×add-cbrt-cube_binary64
266×add-log-exp_binary64
265×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
051
11031
28931
Stop Event
node limit
Counts
1 → 28
Calls

1 calls:

28.0ms
(pow.f64 (sqrt.f64 im) 2)

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
28 → 28

prune25.0ms (0.6%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New26228
Fresh022
Picked101
Done033
Total27734
Error
3.4b
Counts
34 → 7
Alt Table
StatusErrorProgram
55.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (*.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3))) (*.f64 1/2 (/.f64 (pow.f64 im 2) re))))))
53.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (/.f64 im re) im) -1/2))))
42.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (sqrt.f64 (*.f64 im im)))))
47.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (pow.f64 im 5/6) (pow.f64 im 1/6)))))
10.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (pow.f64 (sqrt.f64 (+.f64 re (hypot.f64 re im))) 2))))
45.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
10.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
Compiler

Compiled 419 to 329 computations (21.5% saved)

regimes367.0ms (9.3%)

Accuracy

Total 4.3b remaining (43.8%)

Threshold costs 0b (0%)

Counts
34 → 2
Compiler

Compiled 3445 to 2809 computations (18.5% saved)

bsearch1.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02653
13553
Stop Event
saturated

end134.0ms (3.4%)

Compiler

Compiled 173 to 133 computations (23.1% saved)

Profiling

Loading profile data...