Details

Time bar (total: 3.7s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample1.3s (35.7%)

Results
1.1s8256×body128valid
Compiler

Compiled 23 to 20 computations (13% saved)

simplify206.0ms (5.5%)

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

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 22 computations (18.5% saved)

localize8.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series10.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

6.0ms
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
5.0ms
(*.f64 2 (pow.f64 x 2))

rewrite14.0ms (0.4%)

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:

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

simplify208.0ms (5.6%)

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

prune426.0ms (11.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New58866
Fresh000
Picked011
Done000
Total58967
Error
0.0b
Counts
67 → 9
Alt Table
StatusErrorProgram
29.3b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
28.9b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
48.1b
(sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 6)))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
27.1b
(log1p.f64 (expm1.f64 (hypot.f64 x x)))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.1b
(*.f64 (sqrt.f64 2) x)
29.3b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 (cbrt.f64 (pow.f64 x 2)) (cbrt.f64 (pow.f64 x 2)))) (cbrt.f64 (pow.f64 x 2))))
Compiler

Compiled 849 to 621 computations (26.9% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series24.0ms (0.6%)

Counts
3 → 24
Calls

3 calls:

13.0ms
(sqrt.f64 (hypot.f64 x x))
7.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
4.0ms
(hypot.f64 x x)

rewrite15.0ms (0.4%)

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:

8.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0ms
(sqrt.f64 (hypot.f64 x x))
0.0ms
(hypot.f64 x x)

simplify182.0ms (4.9%)

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

prune94.0ms (2.5%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh527
Picked011
Done101
Total1067113
Error
0.0b
Counts
113 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 1486 to 368 computations (75.2% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune13.0ms (0.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New404
Fresh055
Picked011
Done011
Total4711
Error
0.0b
Counts
11 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 163 to 82 computations (49.7% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sqrt.f64 (hypot.f64 x x))
0.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.6b
(cbrt.f64 (hypot.f64 x x))

series395.0ms (10.6%)

Counts
3 → 24
Calls

3 calls:

365.0ms
(cbrt.f64 (hypot.f64 x x))
19.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
10.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))

rewrite39.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
14×cbrt-prod_binary64
14×pow1_binary64
13×sqrt-prod_binary64
12×associate-*l*_binary64
Counts
3 → 76
Calls

3 calls:

15.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
12.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify222.0ms (6%)

Algorithm
egg-herbie
Rules
529×fma-def_binary64
358×fma-neg_binary64
324×*-commutative_binary64
304×unswap-sqr_binary64
234×sqr-pow_binary64
Counts
100 → 107
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01031664
11831476
24721442
37221019
4998993
51919993
63922993
74995993
84845993

prune103.0ms (2.8%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh044
Picked011
Done022
Total1447151
Error
0.0b
Counts
151 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 2811 to 573 computations (79.6% saved)

regimes253.0ms (6.8%)

Accuracy

Total 0.1b remaining (78.8%)

Threshold costs 0.1b (78.8%)

Counts
33 → 1
Compiler

Compiled 1727 to 1063 computations (38.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end141.0ms (3.8%)

Compiler

Compiled 76 to 41 computations (46.1% saved)

Profiling

Loading profile data...