Details

Time bar (total: 4.1s)

analyze528.0ms (13%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14
Compiler

Compiled 20 to 14 computations (30% saved)

sample2.0s (49.9%)

Results
892.0ms6280×body128valid
408.0ms663×body2048valid
336.0ms519×body4096valid
226.0ms422×body1024valid
79.0ms239×body512valid
31.0ms133×body256valid
Compiler

Compiled 57 to 40 computations (29.8% saved)

simplify37.0ms (0.9%)

Algorithm
egg-herbie
Rules
203×fma-def_binary64
142×fma-neg_binary64
51×distribute-rgt-in_binary64
42×cancel-sign-sub-inv_binary64
28×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12015
23315
35015
46915
59815
615115
721115
826315
930515
1034315
1137915
1239615
1341515
1442815
1546515
1647715
1748615
1844915

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
11.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
35.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
11.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 85 to 61 computations (28.2% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series69.0ms (1.7%)

Counts
3 → 56
Calls

3 calls:

44.0ms
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
14.0ms
(-.f64 (hypot.f64 re im) re)
11.0ms
(hypot.f64 re im)

rewrite52.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
93×egg-rr
Counts
3 → 93
Calls

2 calls:

50.0ms
((-.f64 (hypot.f64 re im) re) (hypot.f64 re im) (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0823
117223
2205323
3573523
000
100

simplify68.0ms (1.7%)

Algorithm
egg-herbie
Rules
618×fma-def_binary64
559×fma-neg_binary64
365×associate-/l*_binary64
347×times-frac_binary64
280×cancel-sign-sub-inv_binary64
Counts
149 → 165
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01581505
14891464
215851399
347931395
450571395

prune99.0ms (2.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1614165
Fresh101
Picked011
Done000
Total1625167
Error
0.1b
Counts
167 → 5
Alt Table
StatusErrorProgram
55.6b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (/.f64 1 re))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 9))) (-.f64 (*.f64 1/32 (/.f64 (*.f64 (pow.f64 im 5) (sqrt.f64 2)) (sqrt.f64 1/2))) (*.f64 1/256 (/.f64 (*.f64 (pow.f64 im 5) (sqrt.f64 2)) (sqrt.f64 1/2)))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 2)) (sqrt.f64 1/2)) -1/16)))))
11.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
49.6b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
12.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re))))
Compiler

Compiled 3664 to 2505 computations (31.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re)))
0.0b
(hypot.f64 re im)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 re im)) 2)
7.4b
(-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re)

series88.0ms (2.2%)

Counts
3 → 40
Calls

3 calls:

45.0ms
(sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re)))
29.0ms
(pow.f64 (sqrt.f64 (hypot.f64 re im)) 2)
14.0ms
(-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re)

rewrite58.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
113×egg-rr
Counts
3 → 113
Calls

2 calls:

55.0ms
((-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re) (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) (sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
119623
2222423
3615623
000
100

simplify66.0ms (1.6%)

Algorithm
egg-herbie
Rules
595×fma-def_binary64
425×fma-neg_binary64
365×associate-/l*_binary64
347×times-frac_binary64
260×cancel-sign-sub-inv_binary64
Counts
153 → 171
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01511177
14601148
214971091
349021087
450861087

prune127.0ms (3.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2170217
Fresh033
Picked011
Done011
Total2175222
Error
0.1b
Counts
222 → 5
Alt Table
StatusErrorProgram
55.6b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (/.f64 1 re))) (fma.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 9))) (-.f64 (*.f64 1/32 (/.f64 (*.f64 (pow.f64 im 5) (sqrt.f64 2)) (sqrt.f64 1/2))) (*.f64 1/256 (/.f64 (*.f64 (pow.f64 im 5) (sqrt.f64 2)) (sqrt.f64 1/2)))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 2)) (sqrt.f64 1/2)) -1/16)))))
11.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
49.6b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
56.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
12.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re))))
Compiler

Compiled 4993 to 3226 computations (35.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (/.f64 1 re))
0.1b
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
0.4b
(*.f64 (sqrt.f64 2) im)
0.5b
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))

series60.0ms (1.5%)

Counts
4 → 0
Calls

4 calls:

45.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
6.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))
5.0ms
(sqrt.f64 (/.f64 1 re))
4.0ms
(*.f64 (sqrt.f64 2) im)

rewrite80.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
75×egg-rr
Counts
4 → 74
Calls

2 calls:

79.0ms
((*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (*.f64 (sqrt.f64 2) im) (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))) (sqrt.f64 (/.f64 1 re)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01342
125817
2245817
3550617
000
100

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune45.0ms (1.1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New67774
Fresh202
Picked101
Done022
Total70979
Error
0.0b
Counts
79 → 9
Alt Table
StatusErrorProgram
49.9b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (expm1.f64 (log1p.f64 (pow.f64 re -1/2)))))
56.0b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (*.f64 (sqrt.f64 (cbrt.f64 (pow.f64 re -2))) (sqrt.f64 (/.f64 1 (cbrt.f64 re))))))
58.3b
(*.f64 1/2 (cbrt.f64 (pow.f64 (/.f64 im (sqrt.f64 re)) 3)))
49.5b
(*.f64 1/2 (pow.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) 2))
49.5b
(*.f64 1/2 (/.f64 im (sqrt.f64 re)))
49.6b
(*.f64 1/2 (*.f64 (pow.f64 (sqrt.f64 im) 2) (sqrt.f64 (/.f64 1 re))))
49.5b
(*.f64 1/2 (*.f64 (pow.f64 im 1) (sqrt.f64 (/.f64 1 re))))
12.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re))))
11.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 1257 to 1022 computations (18.7% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(/.f64 im (sqrt.f64 re))

series22.0ms (0.6%)

Counts
1 → 12
Calls

1 calls:

22.0ms
(/.f64 im (sqrt.f64 re))

rewrite41.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
66×egg-rr
Counts
1 → 66
Calls

2 calls:

39.0ms
((/.f64 im (sqrt.f64 re)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
11036
212936
350176
000
100

simplify10.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Counts
78 → 67
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07108
110108
29108

prune30.0ms (0.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New65267
Fresh426
Picked101
Done022
Total70676
Error
0.0b
Counts
76 → 6
Alt Table
StatusErrorProgram
49.9b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (expm1.f64 (log1p.f64 (pow.f64 re -1/2)))))
49.5b
(*.f64 1/2 (*.f64 (sqrt.f64 im) (*.f64 (sqrt.f64 im) (pow.f64 re -1/2))))
49.7b
(*.f64 1/2 (pow.f64 (/.f64 (sqrt.f64 re) im) -1))
11.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
49.5b
(*.f64 1/2 (pow.f64 (sqrt.f64 (/.f64 im (sqrt.f64 re))) 2))
12.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (pow.f64 (sqrt.f64 (hypot.f64 re im)) 2) re))))
Compiler

Compiled 970 to 535 computations (44.8% saved)

regimes418.0ms (10.3%)

Accuracy

Total 6.2b remaining (97.2%)

Threshold costs 0b (0%)

Counts
36 → 2
Compiler

Compiled 3842 to 3160 computations (17.8% saved)

bsearch1.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify3.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
02345
13145
23645
33845
43945
53945

end89.0ms (2.2%)

Compiler

Compiled 142 to 106 computations (25.4% saved)

Profiling

Loading profile data...