Details

Time bar (total: 2.8s)

analyze4.0ms (0.2%)

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

sample779.0ms (27.5%)

Results
751.0ms8256×body128valid
0.0msbody128invalid
Compiler

Compiled 23 to 17 computations (26.1% saved)

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

prune1.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 21 to 15 computations (28.6% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite9.0ms (0.3%)

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:

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

simplify74.0ms (2.6%)

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

prune27.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New41647
Fresh000
Picked011
Done000
Total41748
Error
0.1b
Counts
48 → 7
Alt Table
StatusErrorProgram
33.1b
(*.f64 (sqrt.f64 2) x)
32.7b
(sqrt.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)))
44.0b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.9b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
29.9b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 558 to 325 computations (41.8% 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)))

series53.0ms (1.9%)

Counts
3 → 24
Calls

3 calls:

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

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

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)

simplify80.0ms (2.8%)

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

prune85.0ms (3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh235
Picked011
Done101
Total1047111
Error
0.0b
Counts
111 → 7
Alt Table
StatusErrorProgram
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
33.1b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
44.0b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
29.9b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 1464 to 360 computations (75.4% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune7.0ms (0.3%)

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
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
33.1b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
44.0b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
29.9b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 141 to 74 computations (47.5% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
0.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.5b
(cbrt.f64 (hypot.f64 x x))
0.6b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)

series1.2s (40.9%)

Counts
4 → 48
Calls

4 calls:

675.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)
240.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
240.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
20×sqrt-prod_binary64
18×unpow-prod-down_binary64
16×*-un-lft-identity_binary64
Counts
4 → 103
Calls

4 calls:

8.0ms
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
2.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)
1.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify116.0ms (4.1%)

Algorithm
egg-herbie
Rules
617×fma-def_binary64
542×unswap-sqr_binary64
388×associate-*l*_binary64
354×log-prod_binary64
328×sqr-pow_binary64
Counts
151 → 148
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01342505
12642445
25862357
315961776
431501734
546091734
648561734

prune78.0ms (2.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1653168
Fresh044
Picked101
Done022
Total1669175
Error
0.0b
Counts
175 → 9
Alt Table
StatusErrorProgram
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
2.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x))))))
2.2b
(*.f64 (*.f64 (pow.f64 (*.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 5/2) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
33.1b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
1.3b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/4) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/4)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
44.0b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
29.9b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 3045 to 1112 computations (63.5% saved)

regimes195.0ms (6.9%)

Accuracy

Total 0.1b remaining (77.5%)

Threshold costs 0.1b (77.5%)

Counts
52 → 1
Compiler

Compiled 3007 to 1835 computations (39% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end104.0ms (3.7%)

Compiler

Compiled 115 to 61 computations (47% saved)

Profiling

Loading profile data...