Details

Time bar (total: 2.3s)

analyze169.0ms (7.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample18.0ms (0.8%)

Algorithm
intervals
Results
11.0ms256×body128valid
Compiler

Compiled 16 to 14 computations (12.5% saved)

simplify188.0ms (8.1%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
1129
2229
3419
4889
52219
66939
710989
811009
912489
1014189
1116009
1218259
1321109
1425299
1530949
1637809
1739989
1842429
1943249
2043579
2143789
2249479

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New112
Fresh011
Picked000
Done000
Total123
Error
29.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
29.7b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
Compiler

Compiled 27 to 22 computations (18.5% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (pow.f64 x 2))
28.5b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))

series6.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

3.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
2.0ms
(*.f64 2 (pow.f64 x 2))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64
associate-*r*_binary64
add-exp-log_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
2 → 41
Calls

2 calls:

4.0ms
(*.f64 2 (pow.f64 x 2))
2.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))

simplify86.0ms (3.7%)

Algorithm
egg-herbie
Rules
823×unswap-sqr_binary64
448×hypot-def_binary64
432×*-commutative_binary64
402×sqr-pow_binary64
358×times-frac_binary64
Counts
53 → 66
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
067490
1110449
2247437
3826431
41358371
53482371
64011371
74935371
84869371

prune40.0ms (1.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New59766
Fresh000
Picked011
Done000
Total59867
Error
0.1b
Counts
67 → 8
Alt Table
StatusErrorProgram
29.7b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
2.6b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
29.9b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (cbrt.f64 (pow.f64 x 2))))
32.8b
(*.f64 (sqrt.f64 2) x)
30.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 823 to 599 computations (27.2% saved)

localize4.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)
0.1b
(sqrt.f64 (hypot.f64 x x))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

series17.0ms (0.7%)

Counts
3 → 24
Calls

3 calls:

9.0ms
(sqrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
3.0ms
(hypot.f64 x x)

rewrite12.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
19×pow1_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
Counts
3 → 78
Calls

3 calls:

5.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
2.0ms
(hypot.f64 x x)
1.0ms
(sqrt.f64 (hypot.f64 x x))

simplify85.0ms (3.6%)

Algorithm
egg-herbie
Rules
951×fma-def_binary64
446×unswap-sqr_binary64
308×sqr-pow_binary64
263×associate-+l+_binary64
259×associate-/l*_binary64
Counts
102 → 83
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
061802
185752
2199739
3402701
4728701
51353701
62551685
74580685
85171685

prune51.0ms (2.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh246
Picked011
Done101
Total1039112
Error
0b
Counts
112 → 9
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
30.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.9b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (cbrt.f64 (pow.f64 x 2))))
32.8b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 1572 to 406 computations (74.2% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune8.0ms (0.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New404
Fresh077
Picked011
Done011
Total4913
Error
0b
Counts
13 → 9
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
30.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.9b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (cbrt.f64 (pow.f64 x 2))))
32.8b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 249 to 120 computations (51.8% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
0.1b
(sqrt.f64 (hypot.f64 x x))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.7b
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)

series487.0ms (20.9%)

Counts
3 → 36
Calls

3 calls:

244.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
240.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))

rewrite26.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod_binary64
69×add-sqr-sqrt_binary64
27×cube-prod_binary64
27×unpow-prod-down_binary64
24×associate-*r*_binary64
Counts
3 → 135
Calls

3 calls:

10.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
3.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
1.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify122.0ms (5.2%)

Algorithm
egg-herbie
Rules
569×unswap-sqr_binary64
453×exp-prod_binary64
451×sqr-pow_binary64
387×log-prod_binary64
386×*-commutative_binary64
Counts
171 → 131
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01172417
12382133
27971880
314961751
433661674
545921674
648571674

prune81.0ms (3.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1901191
Fresh156
Picked101
Done022
Total1928200
Error
0b
Counts
200 → 8
Alt Table
StatusErrorProgram
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.9b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (cbrt.f64 (pow.f64 x 2))))
32.8b
(*.f64 (sqrt.f64 2) x)
30.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 7/2))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 3501 to 1137 computations (67.5% saved)

regimes198.0ms (8.5%)

Accuracy

Total 0.1b remaining (81.8%)

Threshold costs 0.1b (81.8%)

Counts
38 → 1
Compiler

Compiled 2319 to 1558 computations (32.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
174
264

end0.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

sample709.0ms (30.4%)

Algorithm
intervals
Results
438.0ms8000×body128valid
Compiler

Compiled 91 to 58 computations (36.3% saved)

Profiling

Loading profile data...