Details

Time bar (total: 4.4s)

analyze1.5s (34.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0%100%0%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample1.1s (24.9%)

Results
929.0ms8256×body128valid
3.0msbody8192exit
Compiler

Compiled 23 to 20 computations (13% saved)

simplify141.0ms (3.2%)

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%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 27 to 22 computations (18.5% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series6.0ms (0.1%)

Counts
2 → 12
Calls

2 calls:

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

rewrite8.0ms (0.2%)

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)))

simplify89.0ms (2%)

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

prune37.0ms (0.8%)

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
31.0b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
45.7b
(sqrt.f64 (log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 2)))))
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)))
2.5b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
31.4b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
Compiler

Compiled 815 to 595 computations (27% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series17.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

10.0ms
(sqrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
4.0ms
(hypot.f64 x x)

rewrite12.0ms (0.3%)

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)))
1.0ms
(sqrt.f64 (hypot.f64 x x))
0.0ms
(hypot.f64 x x)

simplify85.0ms (1.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

prune46.0ms (1%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh336
Picked101
Done101
Total1057112
Error
0.0b
Counts
112 → 7
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
30.4b
(*.f64 (sqrt.f64 2) x)
45.7b
(sqrt.f64 (log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 2)))))
0.1b
(hypot.f64 x x)
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
22.2b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
Compiler

Compiled 1508 to 380 computations (74.8% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune8.0ms (0.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New404
Fresh066
Picked011
Done000
Total4711
Error
0.0b
Counts
11 → 7
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
30.4b
(*.f64 (sqrt.f64 2) x)
45.7b
(sqrt.f64 (log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 2)))))
0.1b
(hypot.f64 x x)
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
22.2b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
Compiler

Compiled 185 to 94 computations (49.2% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
0.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.4b
(*.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))

series787.0ms (17.7%)

Counts
4 → 36
Calls

4 calls:

543.0ms
(cbrt.f64 (hypot.f64 x x))
228.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
11.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))

rewrite23.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
19×sqrt-prod_binary64
18×cbrt-prod_binary64
16×pow1_binary64
14×*-un-lft-identity_binary64
Counts
4 → 96
Calls

4 calls:

10.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
6.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify115.0ms (2.6%)

Algorithm
egg-herbie
Rules
415×fma-def_binary64
380×fma-neg_binary64
331×unswap-sqr_binary64
288×sqr-pow_binary64
251×*-commutative_binary64
Counts
132 → 136
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01132082
12061889
25051828
37911342
411451310
523081310
645841310
748751310

prune100.0ms (2.2%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1524156
Fresh145
Picked011
Done011
Total15310163
Error
0b
Counts
163 → 10
Alt Table
StatusErrorProgram
45.7b
(sqrt.f64 (log1p.f64 (expm1.f64 (*.f64 2 (pow.f64 x 2)))))
1.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))) (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
30.4b
(*.f64 (sqrt.f64 2) x)
42.9b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (*.f64 (hypot.f64 x x) (*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))))
0.1b
(hypot.f64 x x)
32.4b
(neg.f64 (*.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 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3/2))
1.0b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
Compiler

Compiled 3129 to 712 computations (77.2% saved)

regimes188.0ms (4.2%)

Accuracy

Total 0.1b remaining (76.9%)

Threshold costs 0.1b (76.9%)

Counts
37 → 1
Compiler

Compiled 2314 to 1130 computations (51.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end106.0ms (2.4%)

Compiler

Compiled 155 to 75 computations (51.6% saved)

Profiling

Loading profile data...