Details

Time bar (total: 3.4s)

analyze2.0ms (0.1%)

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

Compiled 8 to 6 computations (25% saved)

sample995.0ms (28.8%)

Results
960.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify9.0ms (0.3%)

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

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series14.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

9.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))
4.0ms
(*.f64 2 (*.f64 x x))

rewrite15.0ms (0.4%)

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:

7.0ms
(*.f64 2 (*.f64 x x))
5.0ms
(sqrt.f64 (*.f64 2 (*.f64 x x)))

simplify143.0ms (4.1%)

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

prune51.0ms (1.5%)

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
3.0b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.9b
(*.f64 (sqrt.f64 2) x)
26.8b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
27.3b
(sqrt.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 2 (*.f64 x x))) (cbrt.f64 (*.f64 2 (*.f64 x x)))) (cbrt.f64 (*.f64 2 (*.f64 x x)))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
36.9b
(cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (*.f64 2 (*.f64 x x))) (sqrt.f64 (*.f64 2 (*.f64 x x)))) (sqrt.f64 (*.f64 2 (*.f64 x x)))))
Compiler

Compiled 632 to 371 computations (41.3% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.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)))

series30.0ms (0.9%)

Counts
3 → 24
Calls

3 calls:

12.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
12.0ms
(sqrt.f64 (hypot.f64 x x))
6.0ms
(hypot.f64 x x)

rewrite17.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:

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

simplify159.0ms (4.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

prune135.0ms (3.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New959104
Fresh426
Picked101
Done101
Total10111112
Error
0.0b
Counts
112 → 11
Alt Table
StatusErrorProgram
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(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)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
36.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 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
30.9b
(*.f64 (sqrt.f64 2) x)
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
1.3b
(*.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))))
1.9b
(*.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)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 1726 to 426 computations (75.3% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune20.0ms (0.6%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New314
Fresh1910
Picked011
Done000
Total41115
Error
0.0b
Counts
15 → 11
Alt Table
StatusErrorProgram
36.9b
(cbrt.f64 (*.f64 (*.f64 (hypot.f64 x x) (hypot.f64 x x)) (hypot.f64 x x)))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(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)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
30.9b
(*.f64 (sqrt.f64 2) x)
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
1.3b
(*.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))))
1.9b
(*.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)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 367 to 136 computations (62.9% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series864.0ms (25.1%)

Counts
3 → 36
Calls

3 calls:

554.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
299.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))

rewrite47.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
55×sqrt-pow1_binary64
51×pow1_binary64
47×sqrt-prod_binary64
47×add-sqr-sqrt_binary64
36×pow-prod-up_binary64
Counts
3 → 121
Calls

3 calls:

14.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
10.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
2.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify143.0ms (4.1%)

Algorithm
egg-herbie
Rules
784×fma-def_binary64
340×unswap-sqr_binary64
272×exp-sum_binary64
265×distribute-rgt-in_binary64
219×fma-neg_binary64
Counts
157 → 153
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01161915
12241702
24451614
38431530
420211476
547411476
649491476

prune115.0ms (3.3%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1930193
Fresh099
Picked011
Done011
Total19311204
Error
0.0b
Counts
204 → 11
Alt Table
StatusErrorProgram
36.9b
(cbrt.f64 (*.f64 (*.f64 (hypot.f64 x x) (hypot.f64 x x)) (hypot.f64 x x)))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(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)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
30.9b
(*.f64 (sqrt.f64 2) x)
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
1.3b
(*.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))))
1.9b
(*.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)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 3939 to 941 computations (76.1% saved)

regimes461.0ms (13.4%)

Accuracy

Total 0.1b remaining (82.8%)

Threshold costs 0.1b (82.8%)

Counts
74 → 1
Compiler

Compiled 4387 to 2368 computations (46% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end195.0ms (5.7%)

Compiler

Compiled 173 to 66 computations (61.8% saved)

Profiling

Loading profile data...