Details

Time bar (total: 4.6s)

analyze1.5s (33.5%)

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 6 computations (25% saved)

sample1.1s (22.9%)

Results
1.0s8256×body128valid
1.0msbody8192exit
Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify8.0ms (0.2%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
069
199
2119
3119

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
29.2b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(*.f64 2 (*.f64 x x))
28.1b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series6.0ms (0.1%)

Counts
2 → 24
Calls

2 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×pow1_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
pow-prod-down_binary64
add-sqr-sqrt_binary64
Counts
2 → 35
Calls

2 calls:

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

simplify76.0ms (1.7%)

Algorithm
egg-herbie
Rules
597×distribute-rgt-out_binary64
429×fma-def_binary64
339×*-commutative_binary64
318×times-frac_binary64
249×fma-neg_binary64
Counts
59 → 47
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
053514
197472
2229461
3599461
4904401
51456401
63025401
74826401
84904401

prune29.0ms (0.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New40747
Fresh000
Picked011
Done000
Total40848
Error
0.1b
Counts
48 → 8
Alt Table
StatusErrorProgram
0.6b
(*.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)))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
3.1b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
28.4b
(*.f64 (sqrt.f64 2) x)
29.2b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
51.3b
(sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 2) 2) (*.f64 (*.f64 (*.f64 x x) x) (*.f64 (*.f64 x x) x)))))
Compiler

Compiled 598 to 349 computations (41.6% 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.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

series19.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

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

rewrite11.0ms (0.2%)

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)

simplify87.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

prune109.0ms (2.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1004104
Fresh336
Picked011
Done101
Total1048112
Error
0.0b
Counts
112 → 8
Alt Table
StatusErrorProgram
2.0b
(*.f64 (*.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))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
0.1b
(hypot.f64 x x)
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
28.4b
(*.f64 (sqrt.f64 2) x)
0.8b
(*.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))))
Compiler

Compiled 1558 to 380 computations (75.6% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune8.0ms (0.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New404
Fresh066
Picked011
Done011
Total4812
Error
0.0b
Counts
12 → 8
Alt Table
StatusErrorProgram
2.0b
(*.f64 (*.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))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
0.1b
(hypot.f64 x x)
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
28.4b
(*.f64 (sqrt.f64 2) x)
0.8b
(*.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))))
Compiler

Compiled 235 to 94 computations (60% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series959.0ms (20.9%)

Counts
4 → 48
Calls

4 calls:

350.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))
327.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
278.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.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))))

rewrite41.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
34×pow1_binary64
27×pow1/3_binary64
26×sqrt-pow1_binary64
23×cbrt-prod_binary64
Counts
4 → 127
Calls

4 calls:

16.0ms
(*.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))))
9.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))
5.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify165.0ms (3.6%)

Algorithm
egg-herbie
Rules
752×fma-def_binary64
375×fma-neg_binary64
370×exp-prod_binary64
363×exp-sum_binary64
333×sqr-pow_binary64
Counts
175 → 186
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01712868
13582506
28242279
314081915
427511553
545441553
641091553
749711553
849001553

prune104.0ms (2.3%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2242226
Fresh145
Picked011
Done022
Total2259234
Error
0.0b
Counts
234 → 9
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.5b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
28.4b
(*.f64 (sqrt.f64 2) x)
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
1.1b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.8b
(*.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))))
Compiler

Compiled 5644 to 1247 computations (77.9% saved)

regimes249.0ms (5.4%)

Accuracy

Total 0.1b remaining (81.2%)

Threshold costs 0.1b (81.2%)

Counts
62 → 1
Compiler

Compiled 5407 to 2452 computations (54.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end100.0ms (2.2%)

Compiler

Compiled 129 to 64 computations (50.4% saved)

Profiling

Loading profile data...