Details

Time bar (total: 2.3s)

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 10 to 5 computations (50% saved)

sample648.0ms (28.3%)

Results
636.0ms8256×body128valid
Compiler

Compiled 20 to 10 computations (50% saved)

preprocess18.0ms (0.8%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3174
011
Stop Event
saturated
saturated
Compiler

Compiled 9 to 4 computations (55.6% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3174
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.2b
(hypot.f64 x x)
Compiler

Compiled 20 to 9 computations (55% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(hypot.f64 x x)

series4.0ms (0.2%)

Counts
1 → 12
Calls

3 calls:

1.0ms
(hypot.f64 x x)
x
-inf
1.0ms
(hypot.f64 x x)
x
inf
1.0ms
(hypot.f64 x x)
x
0

rewrite27.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
249×log1p-expm1-u_binary64
249×expm1-log1p-u_binary64
230×add-cbrt-cube_binary64
227×add-cube-cbrt_binary64
222×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
1604
27004
Stop Event
node limit
Counts
1 → 40

simplify12.0ms (0.5%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22580
32980
43380
55180
67380
78480
89680
912180
Stop Event
saturated
Counts
52 → 43

prune21.0ms (0.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New37643
Fresh000
Picked011
Done000
Total37744
Error
0.0b
Counts
44 → 7
Alt Table
StatusErrorProgram
1.3b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
0.2b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
32.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
31.4b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 481 to 233 computations (51.6% saved)

localize18.0ms (0.8%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.2b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

series18.0ms (0.8%)

Counts
2 → 0
Calls

6 calls:

4.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
x
0
4.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
x
-inf
4.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
x
inf
2.0ms
(sqrt.f64 (hypot.f64 x x))
x
0
2.0ms
(sqrt.f64 (hypot.f64 x x))
x
-inf

rewrite37.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
386×log1p-expm1-u_binary64
386×expm1-log1p-u_binary64
339×pow1_binary64
263×unpow-prod-down_binary64
191×log-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
112410
2114210
Stop Event
node limit
Counts
2 → 88

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
88 → 88

prune54.0ms (2.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh145
Picked011
Done011
Total1317138
Error
0.0b
Counts
138 → 7
Alt Table
StatusErrorProgram
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.2b
(hypot.f64 x x)
32.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
31.4b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.4b
(*.f64 (sqrt.f64 2) x)
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
Compiler

Compiled 1561 to 826 computations (47.1% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (hypot.f64 x x) 1/4)
0.2b
(hypot.f64 x x)
0.2b
(pow.f64 (hypot.f64 x x) 3/4)
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

series399.0ms (17.4%)

Counts
3 → 36
Calls

9 calls:

101.0ms
(pow.f64 (hypot.f64 x x) 1/4)
x
0
61.0ms
(pow.f64 (hypot.f64 x x) 3/4)
x
0
60.0ms
(pow.f64 (hypot.f64 x x) 1/4)
x
-inf
58.0ms
(pow.f64 (hypot.f64 x x) 3/4)
x
inf
58.0ms
(pow.f64 (hypot.f64 x x) 3/4)
x
-inf

rewrite40.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
305×log-prod_binary64
121×expm1-udef_binary64
121×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
116218
2175318
Stop Event
node limit
Counts
3 → 64

simplify31.0ms (1.4%)

Algorithm
egg-herbie
Rules
401×associate-*l*_binary64
374×associate-*r*_binary64
322×fma-def_binary64
240×unswap-sqr_binary64
177×distribute-rgt-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
031464
174464
2156416
3331320
4821312
51983312
Stop Event
node limit
Counts
100 → 77

prune91.0ms (4%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1603163
Fresh044
Picked011
Done022
Total16010170
Error
0.0b
Counts
170 → 10
Alt Table
StatusErrorProgram
1.9b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x))) 3/4))
0.2b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
1.0b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/4)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (hypot.f64 x x) 3/4))
32.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
31.4b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.4b
(*.f64 (sqrt.f64 2) x)
0.5b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8)))
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
Compiler

Compiled 2716 to 1414 computations (47.9% saved)

localize9.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (hypot.f64 x x) 3/8)
0.2b
(hypot.f64 x x)
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8)))
0.4b
(*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8))

series464.0ms (20.2%)

Counts
3 → 36
Calls

9 calls:

101.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8))
x
0
90.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8))
x
-inf
88.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 3/8) (pow.f64 (hypot.f64 x x) 3/8))
x
inf
64.0ms
(pow.f64 (hypot.f64 x x) 3/8)
x
inf
59.0ms
(pow.f64 (hypot.f64 x x) 3/8)
x
0

rewrite40.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
700×log1p-expm1-u_binary64
700×expm1-log1p-u_binary64
138×log1p-udef_binary64
87×add-log-exp_binary64
86×add-cbrt-cube_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0930
120018
2219618
Stop Event
node limit
Counts
3 → 54

simplify34.0ms (1.5%)

Algorithm
egg-herbie
Rules
827×fma-def_binary64
282×distribute-rgt-in_binary64
281×exp-sum_binary64
221×distribute-lft-in_binary64
159×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040520
1106500
2240440
3615356
41991312
Stop Event
node limit
Counts
90 → 68

prune126.0ms (5.5%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2201221
Fresh156
Picked101
Done033
Total2229231
Error
0.0b
Counts
231 → 9
Alt Table
StatusErrorProgram
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.2b
(hypot.f64 x x)
1.0b
(*.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 1/4)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (hypot.f64 x x) 3/4))
32.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
31.4b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.4b
(*.f64 (sqrt.f64 2) x)
6.8b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (hypot.f64 x x) 3/8) (cbrt.f64 (pow.f64 (hypot.f64 x x) 9/8))))
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
Compiler

Compiled 4537 to 2340 computations (48.4% saved)

regimes73.0ms (3.2%)

Accuracy

Total 0.1b remaining (89.2%)

Threshold costs 0.1b (89.2%)

Counts
20 → 1
Compiler

Compiled 914 to 568 computations (37.9% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end95.0ms (4.2%)

Stop Event
fuel
Compiler

Compiled 101 to 61 computations (39.6% saved)

Profiling

Loading profile data...