Details

Time bar (total: 1.6s)

analyze4.0ms (0.3%)

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)

sample29.0ms (1.9%)

Algorithm
intervals
Results
9.0ms256×body128valid
Compiler

Compiled 16 to 12 computations (25% saved)

simplify6.0ms (0.4%)

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

localize37.0ms (2.3%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

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

rewrite10.0ms (0.6%)

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:

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

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

prune28.0ms (1.8%)

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
29.7b
(*.f64 (sqrt.f64 2) x)
29.7b
(sqrt.f64 (*.f64 2 (*.f64 x 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)))))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.5b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
42.6b
(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)))))
2.7b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
33.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 632 to 371 computations (41.3% saved)

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

series18.0ms (1.1%)

Counts
3 → 24
Calls

3 calls:

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

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

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)

simplify84.0ms (5.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

prune63.0ms (4%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New959104
Fresh516
Picked101
Done101
Total10210112
Error
0.0b
Counts
112 → 10
Alt Table
StatusErrorProgram
21.3b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 3)))
42.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (hypot.f64 x x) (hypot.f64 x x)) (hypot.f64 x x)))))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
29.7b
(*.f64 (sqrt.f64 2) x)
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/2))
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))))
0.1b
(hypot.f64 x x)
1.5b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
1.5b
(*.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)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
Compiler

Compiled 1704 to 428 computations (74.9% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

prune11.0ms (0.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New404
Fresh099
Picked011
Done000
Total41014
Error
0.0b
Counts
14 → 10
Alt Table
StatusErrorProgram
21.3b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 3)))
42.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (*.f64 (*.f64 (hypot.f64 x x) (hypot.f64 x x)) (hypot.f64 x x)))))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
29.7b
(*.f64 (sqrt.f64 2) x)
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/2))
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))))
0.1b
(hypot.f64 x x)
1.5b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
1.5b
(*.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)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
Compiler

Compiled 381 to 142 computations (62.7% saved)

localize7.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (hypot.f64 x x) 1/2)
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/2))

series221.0ms (14.1%)

Counts
2 → 24
Calls

2 calls:

217.0ms
(pow.f64 (hypot.f64 x x) 1/2)
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/2))

rewrite10.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64
unpow-prod-down_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
2 → 60
Calls

2 calls:

5.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (hypot.f64 x x) 1/2))
1.0ms
(pow.f64 (hypot.f64 x x) 1/2)

simplify90.0ms (5.8%)

Algorithm
egg-herbie
Rules
737×fma-def_binary64
354×*-commutative_binary64
327×exp-prod_binary64
306×associate-/l*_binary64
295×associate-*l*_binary64
Counts
84 → 93
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
090849
1145769
2379735
31171679
42175675
54349675
64979675
74808675

prune71.0ms (4.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1153118
Fresh358
Picked101
Done011
Total1199128
Error
0.0b
Counts
128 → 9
Alt Table
StatusErrorProgram
21.3b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 3)))
29.7b
(*.f64 (sqrt.f64 2) x)
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 1/4)))
0.1b
(hypot.f64 x x)
1.5b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
1.5b
(*.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)))))
0.9b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (fabs.f64 (cbrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 1/2))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 1 (sqrt.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 1846 to 666 computations (63.9% saved)

regimes260.0ms (16.5%)

Accuracy

Total 0.1b remaining (77.2%)

Threshold costs 0.1b (77.2%)

Counts
75 → 1
Compiler

Compiled 4847 to 2435 computations (49.8% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
unpow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
174
264

end0.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

sample524.0ms (33.3%)

Algorithm
intervals
Results
259.0ms8000×body128valid
Compiler

Compiled 163 to 69 computations (57.7% saved)

Profiling

Loading profile data...