Details

Time bar (total: 3.7s)

analyze5.0ms (0.1%)

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)

sample1.0s (27.2%)

Results
825.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 20 computations (13% saved)

simplify140.0ms (3.8%)

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
32.6b
Counts
3 → 1
Alt Table
StatusErrorProgram
32.6b
(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))
31.6b
(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)))
3.0ms
(*.f64 2 (pow.f64 x 2))

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

simplify87.0ms (2.3%)

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

prune39.0ms (1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New58866
Fresh000
Picked011
Done000
Total58967
Error
0.1b
Counts
67 → 9
Alt Table
StatusErrorProgram
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
32.6b
(sqrt.f64 (*.f64 2 (pow.f64 x 2)))
41.9b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.8b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
31.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
31.1b
(*.f64 (sqrt.f64 2) x)
33.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
52.1b
(sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 6)))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 827 to 601 computations (27.3% saved)

localize88.0ms (2.4%)

Local error

Found 3 expressions with local error:

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

series17.0ms (0.4%)

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)

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

simplify271.0ms (7.3%)

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

prune92.0ms (2.5%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New986104
Fresh347
Picked011
Done101
Total10211113
Error
0.0b
Counts
113 → 11
Alt Table
StatusErrorProgram
31.1b
(*.f64 (sqrt.f64 2) x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.2b
(hypot.f64 x x)
0.9b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
31.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.9b
(*.f64 (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 (hypot.f64 x x))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
33.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
52.1b
(sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 6)))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 1642 to 436 computations (73.4% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(hypot.f64 x x)

prune10.0ms (0.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New404
Fresh099
Picked011
Done011
Total41115
Error
0.0b
Counts
15 → 11
Alt Table
StatusErrorProgram
31.1b
(*.f64 (sqrt.f64 2) x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.2b
(hypot.f64 x x)
0.9b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
31.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.9b
(*.f64 (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 (hypot.f64 x x))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
33.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
52.1b
(sqrt.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 6)))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 319 to 150 computations (53% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
0.3b
(*.f64 (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 (hypot.f64 x x))))
0.5b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
0.6b
(cbrt.f64 (hypot.f64 x x))

series930.0ms (25.2%)

Counts
4 → 48
Calls

4 calls:

396.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
305.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
222.0ms
(cbrt.f64 (hypot.f64 x x))
6.0ms
(*.f64 (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 (hypot.f64 x x))))

rewrite35.0ms (1%)

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt_binary64
30×pow1_binary64
26×cbrt-prod_binary64
21×sqrt-pow1_binary64
21×pow1/3_binary64
Counts
4 → 127
Calls

4 calls:

14.0ms
(*.f64 (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 (hypot.f64 x x))))
6.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
4.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify185.0ms (5%)

Algorithm
egg-herbie
Rules
592×fma-neg_binary64
452×fma-def_binary64
403×exp-sum_binary64
336×exp-prod_binary64
266×*-commutative_binary64
Counts
175 → 167
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01502702
12912414
26602164
310901926
419591628
540291628
641231628
749181628

prune227.0ms (6.1%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2032205
Fresh178
Picked101
Done022
Total20511216
Error
0b
Counts
216 → 11
Alt Table
StatusErrorProgram
31.1b
(*.f64 (sqrt.f64 2) x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
1.0b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (hypot.f64 x x))))
0.2b
(hypot.f64 x x)
0.9b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.1b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))))
31.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
33.0b
(sqrt.f64 (*.f64 (*.f64 2 (*.f64 x (cbrt.f64 x))) (pow.f64 (cbrt.f64 x) 2)))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 5370 to 1029 computations (80.8% saved)

regimes405.0ms (11%)

Accuracy

Total 0.1b remaining (87.7%)

Threshold costs 0.1b (87.7%)

Counts
103 → 1
Compiler

Compiled 8231 to 4164 computations (49.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end116.0ms (3.1%)

Compiler

Compiled 195 to 84 computations (56.9% saved)

Profiling

Loading profile data...