Details

Time bar (total: 3.1s)

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

sample726.0ms (23.2%)

Results
697.0ms8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify8.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.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(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.1b
(hypot.f64 x x)

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(hypot.f64 x x)

rewrite28.0ms (0.9%)

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
Calls

1 calls:

27.0ms
(hypot.f64 x x)

simplify12.0ms (0.4%)

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

prune23.0ms (0.7%)

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
34.6b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
29.1b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.0b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
44.9b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 497 to 241 computations (51.5% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series361.0ms (11.5%)

Counts
3 → 36
Calls

3 calls:

181.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
177.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))

rewrite44.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
439×log1p-expm1-u_binary64
439×expm1-log1p-u_binary64
333×unpow-prod-down_binary64
224×log-prod_binary64
131×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114219
2133319
Stop Event
node limit
Counts
3 → 121
Calls

3 calls:

41.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
41.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
41.0ms
(cbrt.f64 (hypot.f64 x x))

simplify42.0ms (1.3%)

Algorithm
egg-herbie
Rules
427×associate-*l*_binary64
423×fma-neg_binary64
337×associate-*r*_binary64
281×fma-def_binary64
276×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027500
167500
2144452
3371332
41203324
54386324
Stop Event
node limit
Counts
157 → 134

prune135.0ms (4.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2812283
Fresh055
Picked101
Done011
Total2828290
Error
0b
Counts
290 → 8
Alt Table
StatusErrorProgram
34.6b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
29.1b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.0b
(*.f64 (sqrt.f64 2) x)
2.9b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2) 3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2))
0.1b
(hypot.f64 x x)
1.8b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
44.9b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 5085 to 2051 computations (59.7% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.6b
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)
0.6b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (cbrt.f64 (hypot.f64 x x)))

series646.0ms (20.6%)

Counts
3 → 36
Calls

3 calls:

258.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
217.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)
170.0ms
(cbrt.f64 (cbrt.f64 (hypot.f64 x x)))

rewrite48.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
629×log1p-expm1-u_binary64
629×expm1-log1p-u_binary64
359×log-prod_binary64
131×expm1-udef_binary64
131×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0933
117928
2193728
Stop Event
node limit
Counts
3 → 67
Calls

3 calls:

46.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))
46.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)
46.0ms
(cbrt.f64 (cbrt.f64 (hypot.f64 x x)))

simplify36.0ms (1.2%)

Algorithm
egg-herbie
Rules
747×fma-def_binary64
322×unswap-sqr_binary64
244×exp-sum_binary64
188×exp-prod_binary64
151×sqr-pow_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040660
1106528
2244516
3657468
42199444
Stop Event
node limit
Counts
103 → 79

prune165.0ms (5.3%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New3630363
Fresh066
Picked011
Done011
Total3638371
Error
0b
Counts
371 → 8
Alt Table
StatusErrorProgram
34.6b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
29.1b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.0b
(*.f64 (sqrt.f64 2) x)
2.9b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2) 3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2))
0.1b
(hypot.f64 x x)
1.8b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
44.9b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 10862 to 3693 computations (66% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)
0.6b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (cbrt.f64 (hypot.f64 x x)))
0.7b
(pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3)

series187.0ms (6%)

Counts
1 → 12
Calls

1 calls:

187.0ms
(pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3)

rewrite34.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
624×log1p-expm1-u_binary64
624×expm1-log1p-u_binary64
305×log-prod_binary64
128×expm1-udef_binary64
128×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0911
11859
218929
Stop Event
node limit
Counts
1 → 29
Calls

1 calls:

33.0ms
(pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3)

simplify42.0ms (1.3%)

Algorithm
egg-herbie
Rules
404×prod-exp_binary64
324×*-commutative_binary64
245×fma-neg_binary64
218×exp-sum_binary64
217×fma-def_binary64
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
026228
159228
2123228
3332228
41328228
53457192
Stop Event
node limit
Counts
41 → 34

prune101.0ms (3.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2180218
Fresh055
Picked011
Done022
Total2188226
Error
0b
Counts
226 → 8
Alt Table
StatusErrorProgram
34.6b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
29.1b
(*.f64 (sqrt.f64 2) (neg.f64 x))
34.0b
(*.f64 (sqrt.f64 2) x)
2.9b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2) 3) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))) 2))
0.1b
(hypot.f64 x x)
1.8b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)) (cbrt.f64 (cbrt.f64 (hypot.f64 x x)))))
44.9b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
2.2b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 4627 to 2218 computations (52.1% saved)

regimes354.0ms (11.3%)

Accuracy

Total 0.1b remaining (74.9%)

Threshold costs 0.1b (74.9%)

Counts
103 → 1
Compiler

Compiled 6394 to 3892 computations (39.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end97.0ms (3.1%)

Compiler

Compiled 102 to 57 computations (44.1% saved)

Profiling

Loading profile data...