Details

Time bar (total: 3.7s)

analyze38.0ms (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 6 computations (25% saved)

sample27.0ms (0.7%)

Algorithm
intervals
Results
14.0ms256×body128valid
Compiler

Compiled 16 to 12 computations (25% saved)

simplify12.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
29.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
29.7b
(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))
28.5b
(sqrt.f64 (*.f64 2 (*.f64 x x)))

series11.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite25.0ms (0.7%)

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:

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

simplify104.0ms (2.8%)

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

prune62.0ms (1.7%)

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
32.8b
(*.f64 (sqrt.f64 2) x)
30.1b
(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)))))
50.3b
(sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x x))) (*.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)))
29.7b
(sqrt.f64 (*.f64 2 (*.f64 x x)))
2.6b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 628 to 367 computations (41.6% saved)

localize7.0ms (0.2%)

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

series37.0ms (1%)

Counts
3 → 24
Calls

3 calls:

18.0ms
(sqrt.f64 (hypot.f64 x x))
11.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
7.0ms
(hypot.f64 x x)

rewrite25.0ms (0.7%)

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:

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

simplify143.0ms (3.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

prune104.0ms (2.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New995104
Fresh336
Picked011
Done101
Total1039112
Error
0b
Counts
112 → 9
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (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 (cbrt.f64 (hypot.f64 x x)))))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.8b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
50.3b
(sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x x))) (*.f64 2 (*.f64 x x)))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (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)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
Compiler

Compiled 1592 to 406 computations (74.5% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune16.0ms (0.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New404
Fresh077
Picked011
Done011
Total4913
Error
0b
Counts
13 → 9
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (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 (cbrt.f64 (hypot.f64 x x)))))
30.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
32.8b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
50.3b
(sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (*.f64 2 (*.f64 x x)) (*.f64 2 (*.f64 x x))) (*.f64 2 (*.f64 x x)))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (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)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
Compiler

Compiled 269 to 120 computations (55.4% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series938.0ms (25.4%)

Counts
3 → 36
Calls

3 calls:

486.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
437.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
15.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))

rewrite57.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod_binary64
69×add-sqr-sqrt_binary64
27×cube-prod_binary64
27×unpow-prod-down_binary64
24×associate-*r*_binary64
Counts
3 → 135
Calls

3 calls:

26.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
6.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
3.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify396.0ms (10.7%)

Algorithm
egg-herbie
Rules
569×unswap-sqr_binary64
453×exp-prod_binary64
451×sqr-pow_binary64
387×log-prod_binary64
386×*-commutative_binary64
Counts
171 → 131
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01172417
12382133
27971880
314961751
433661674
545921674
648571674

prune182.0ms (4.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1892191
Fresh246
Picked101
Done022
Total1928200
Error
0b
Counts
200 → 8
Alt Table
StatusErrorProgram
32.8b
(*.f64 (sqrt.f64 2) x)
0.9b
(*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 5/2) (sqrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)))
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) (cbrt.f64 (hypot.f64 x x)))
1.0b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
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.0b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 3510 to 1137 computations (67.6% saved)

regimes492.0ms (13.3%)

Accuracy

Total 0.1b remaining (82.8%)

Threshold costs 0.1b (82.8%)

Counts
61 → 1
Compiler

Compiled 3803 to 2192 computations (42.4% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end1.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

sample987.0ms (26.7%)

Algorithm
intervals
Results
464.0ms8000×body128valid
Compiler

Compiled 100 to 57 computations (43% saved)

Profiling

Loading profile data...