Details

Time bar (total: 6.6s)

analyze373.0ms (5.6%)

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)

sample1.5s (22.7%)

Infinites
0% of outputs are infinite.
Results
721.0ms6254×body128valid
290.0ms612×body4096valid
247.0ms644×body2048valid
123.0ms407×body1024valid
47.0ms205×body512valid
22.0ms134×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify7.0ms (0.1%)

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

prune8.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 85 to 61 computations (28.2% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series71.0ms (1.1%)

Counts
3 → 56
Calls

3 calls:

45.0ms
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
14.0ms
(hypot.f64 re im)
12.0ms
(+.f64 re (hypot.f64 re im))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
3 → 42
Calls

3 calls:

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

simplify74.0ms (1.1%)

Algorithm
egg-herbie
Rules
615×fma-def_binary64
531×fma-neg_binary64
460×associate-*r*_binary64
385×associate-*l*_binary64
294×cancel-sign-sub-inv_binary64
Counts
98 → 118
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01881829
15141737
214651673
349901673
453081673

prune94.0ms (1.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1108118
Fresh101
Picked101
Done000
Total1128120
Error
6.7b
Counts
120 → 8
Alt Table
StatusErrorProgram
49.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
16.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
47.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
54.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)))))
53.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
13.2b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
45.9b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
Compiler

Compiled 2729 to 1871 computations (31.4% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
0.2b
(sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))))
1.3b
(+.f64 re (hypot.f64 re im))

series95.0ms (1.4%)

Counts
2 → 32
Calls

2 calls:

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

rewrite32.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
80×sqrt-pow1_binary64
63×pow1_binary64
31×sqrt-prod_binary64
28×sqrt-div_binary64
28×add-sqr-sqrt_binary64
Counts
2 → 104
Calls

2 calls:

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

simplify144.0ms (2.2%)

Algorithm
egg-herbie
Rules
625×times-frac_binary64
431×cancel-sign-sub-inv_binary64
329×fma-neg_binary64
263×associate-*r*_binary64
223×associate-*l*_binary64
Counts
136 → 162
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03023834
17743581
224803442
345783322
449763322
549303322

prune363.0ms (5.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New3810381
Fresh077
Picked011
Done000
Total3818389
Error
6.7b
Counts
389 → 8
Alt Table
StatusErrorProgram
49.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
16.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
47.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
54.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)))))
53.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
13.2b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
45.9b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
Compiler

Compiled 13622 to 8850 computations (35% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(cbrt.f64 re)
15.4b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series225.0ms (3.4%)

Counts
4 → 56
Calls

4 calls:

90.0ms
(cbrt.f64 re)
65.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
43.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
26.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite13.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
14×pow1_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
4 → 78
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
2.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

simplify134.0ms (2%)

Algorithm
egg-herbie
Rules
710×fma-def_binary64
702×associate-/l*_binary64
325×cancel-sign-sub-inv_binary64
294×fma-neg_binary64
220×unswap-sqr_binary64
Counts
134 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02111923
15181757
218671664
346671645
448621645
549851645
649621645

prune138.0ms (2.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1952197
Fresh066
Picked101
Done011
Total1969205
Error
6.7b
Counts
205 → 9
Alt Table
StatusErrorProgram
47.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
54.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)))))
53.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im)))))
16.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
18.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (expm1.f64 (log1p.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
49.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
13.2b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
45.9b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
Compiler

Compiled 4647 to 2458 computations (47.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))))
0.5b
(cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))
0.6b
(cbrt.f64 re)
15.4b
(fma.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im))

series786.0ms (11.9%)

Counts
3 → 48
Calls

3 calls:

396.0ms
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))))
360.0ms
(cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))
30.0ms
(fma.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im))

rewrite14.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
10×pow1_binary64
cbrt-prod_binary64
pow1/3_binary64
*-un-lft-identity_binary64
Counts
3 → 57
Calls

3 calls:

8.0ms
(*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))))
3.0ms
(cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))
1.0ms
(fma.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im))

simplify72.0ms (1.1%)

Algorithm
egg-herbie
Rules
459×unswap-sqr_binary64
453×fma-neg_binary64
340×associate-*l*_binary64
312×associate-*r*_binary64
291×times-frac_binary64
Counts
105 → 115
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01211728
12801459
27561363
333591345
449421345

prune248.0ms (3.7%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2721273
Fresh077
Picked101
Done011
Total2739282
Error
6.7b
Counts
282 → 9
Alt Table
StatusErrorProgram
16.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (sqrt.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (*.f64 (sqrt.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (sqrt.f64 (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))) (cbrt.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)))) (cbrt.f64 re) (hypot.f64 re im)))))
45.9b
(*.f64 1/2 (*.f64 2 (sqrt.f64 re)))
47.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
54.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)))))
53.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
16.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (+.f64 re (hypot.f64 re im)))))))
18.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (expm1.f64 (log1p.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
49.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
13.2b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im))))) (sqrt.f64 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))))
Compiler

Compiled 9127 to 2864 computations (68.6% saved)

regimes2.0s (30.6%)

Accuracy

Total 2.6b remaining (26.3%)

Threshold costs 0b (0%)

Counts
191 → 3
Compiler

Compiled 36226 to 20607 computations (43.1% saved)

bsearch8.0ms (0.1%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
*-rgt-identity_binary64
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03998
15198
24998

end145.0ms (2.2%)

Compiler

Compiled 302 to 183 computations (39.4% saved)

Profiling

Loading profile data...