Details

Time bar (total: 3.4s)

analyze436.0ms (12.8%)

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)

sample53.0ms (1.6%)

Algorithm
intervals
Results
13.0ms203×body128valid
5.0ms15×body4096valid
5.0ms16×body2048valid
3.0ms11×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 37 to 27 computations (27% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12515
22915
33115
43115

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 51 to 37 computations (27.5% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series54.0ms (1.6%)

Counts
2 → 32
Calls

2 calls:

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

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
fma-def_binary64
Counts
2 → 32
Calls

2 calls:

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

simplify64.0ms (1.9%)

Algorithm
egg-herbie
Rules
862×fma-neg_binary64
517×fma-def_binary64
437×associate-*r*_binary64
361×associate-*l*_binary64
244×cancel-sign-sub-inv_binary64
Counts
64 → 79
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01611270
14351196
212551148
346831148
454131148

prune58.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New73679
Fresh000
Picked011
Done000
Total73780
Error
7.2b
Counts
80 → 7
Alt Table
StatusErrorProgram
56.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
47.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (/.f64 (-.f64 (*.f64 re re) (*.f64 (hypot.f64 re im) (hypot.f64 re im))) (-.f64 re (hypot.f64 re im))))))
44.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
15.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
Compiler

Compiled 1886 to 1294 computations (31.4% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))
0.7b
(+.f64 re (hypot.f64 re im))
4.6b
(exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))

series54.0ms (1.6%)

Counts
2 → 32
Calls

2 calls:

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

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
pow1_binary64
exp-sum_binary64
log-prod_binary64
exp-diff_binary64
Counts
2 → 35
Calls

2 calls:

6.0ms
(sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))
3.0ms
(exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))

simplify64.0ms (1.9%)

Algorithm
egg-herbie
Rules
862×fma-neg_binary64
488×fma-def_binary64
418×associate-*r*_binary64
337×associate-*l*_binary64
244×cancel-sign-sub-inv_binary64
Counts
67 → 98
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01861360
14371278
212491230
346881230
454171230

prune81.0ms (2.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1424146
Fresh145
Picked101
Done011
Total1449153
Error
7.2b
Counts
153 → 9
Alt Table
StatusErrorProgram
56.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
45.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 im)))))
12.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))
48.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 re re) (*.f64 (hypot.f64 re im) (hypot.f64 re im))) (-.f64 re (hypot.f64 re im))))))))
16.0b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))
44.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
Compiler

Compiled 3335 to 2143 computations (35.7% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
0.7b
(+.f64 re (hypot.f64 re im))
3.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))
4.6b
(exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))

series206.0ms (6%)

Counts
2 → 16
Calls

2 calls:

162.0ms
(log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
43.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
0.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))

simplify51.0ms (1.5%)

Algorithm
egg-herbie
Rules
812×fma-def_binary64
741×associate-/r*_binary64
440×cancel-sign-sub-inv_binary64
146×distribute-rgt-in_binary64
136×associate-/r/_binary64
Counts
38 → 69
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02001783
15611493
221321422
354741422

prune118.0ms (3.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1742176
Fresh167
Picked101
Done011
Total1769185
Error
7.2b
Counts
185 → 9
Alt Table
StatusErrorProgram
56.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
49.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))
48.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 re re) (*.f64 (hypot.f64 re im) (hypot.f64 re im))) (-.f64 re (hypot.f64 re im))))))))
44.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
45.5b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 im)))))))
17.2b
(*.f64 1/2 (expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
Compiler

Compiled 5050 to 3532 computations (30.1% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.7b
(+.f64 re (hypot.f64 re im))
1.4b
(exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))
3.0b
(expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))))
4.6b
(exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))

series202.0ms (5.9%)

Counts
2 → 16
Calls

2 calls:

157.0ms
(exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))
45.0ms
(expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
exp-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
exp-sum_binary64
Counts
2 → 28
Calls

2 calls:

1.0ms
(exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))
0.0ms
(expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))))

simplify55.0ms (1.6%)

Algorithm
egg-herbie
Rules
813×fma-def_binary64
741×associate-/r*_binary64
440×cancel-sign-sub-inv_binary64
142×distribute-rgt-in_binary64
137×*-commutative_binary64
Counts
44 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02191977
15801617
221591546
354921546

prune136.0ms (4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1804184
Fresh167
Picked101
Done011
Total18211193
Error
7.2b
Counts
193 → 11
Alt Table
StatusErrorProgram
56.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
29.6b
(*.f64 1/2 (expm1.f64 (pow.f64 (exp.f64 (sqrt.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))))) (sqrt.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im))))))))))))
45.5b
(*.f64 1/2 (expm1.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 im)))))))
49.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))
50.0b
(*.f64 1/2 (expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (neg.f64 im))))))))))
48.4b
(*.f64 1/2 (expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (/.f64 (-.f64 (*.f64 re re) (*.f64 (hypot.f64 re im) (hypot.f64 re im))) (-.f64 re (hypot.f64 re im))))))))))))
44.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
46.0b
(*.f64 1/2 (expm1.f64 (exp.f64 (log.f64 (log1p.f64 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 im)))))))))
48.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
57.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 1/8 (/.f64 (pow.f64 im 4) (pow.f64 re 3)) (*.f64 (/.f64 (*.f64 im im) re) -1/2)))))
Compiler

Compiled 5508 to 3897 computations (29.2% saved)

regimes360.0ms (10.6%)

Accuracy

Total 2.7b remaining (27.3%)

Threshold costs 0b (0%)

Counts
37 → 2
Compiler

Compiled 4858 to 3684 computations (24.2% saved)

bsearch1.0ms (0%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02858
13758
23758

end1.0ms (0%)

Compiler

Compiled 40 to 30 computations (25% saved)

sample1.3s (39.3%)

Algorithm
intervals
Results
386.0ms6035×body128valid
197.0ms517×body4096valid
193.0ms640×body2048valid
107.0ms432×body1024valid
47.0ms256×body512valid
17.0ms120×body256valid
Compiler

Compiled 241 to 189 computations (21.6% saved)

Profiling

Loading profile data...