Details

Time bar (total: 2.0s)

analyze6.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 10 to 8 computations (20% saved)

sample1.1s (56.2%)

Results
1.1s8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify35.0ms (1.7%)

Algorithm
egg-herbie
Rules
756×fma-def_binary64
559×hypot-def_binary64
544×distribute-rgt-out_binary64
436×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
1124
2304
3534
41214
53614
613344
725934
839604
949224
Stop Event
node limit
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 12 computations (40% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series13.0ms (0.6%)

Counts
1 → 12
Calls

1 calls:

13.0ms
(hypot.f64 x x)

rewrite27.0ms (1.3%)

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)

simplify46.0ms (2.3%)

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

prune26.0ms (1.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New38543
Fresh000
Picked011
Done000
Total38644
Error
0.0b
Counts
44 → 6
Alt Table
StatusErrorProgram
35.9b
(*.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))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
0.1b
(hypot.f64 x x)
5.5b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 469 to 223 computations (52.5% saved)

localize7.0ms (0.4%)

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
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

series26.0ms (1.3%)

Counts
2 → 0
Calls

2 calls:

18.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
8.0ms
(sqrt.f64 (hypot.f64 x x))

rewrite35.0ms (1.7%)

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
Calls

2 calls:

34.0ms
(sqrt.f64 (hypot.f64 x x))
34.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
88 → 88

prune58.0ms (2.8%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh044
Picked011
Done011
Total1307137
Error
0.0b
Counts
137 → 7
Alt Table
StatusErrorProgram
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
35.9b
(*.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))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
0.1b
(hypot.f64 x x)
5.5b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 1557 to 826 computations (46.9% saved)

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

series14.0ms (0.7%)

Counts
3 → 12
Calls

3 calls:

7.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
4.0ms
(cbrt.f64 (hypot.f64 x x))
3.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))

rewrite41.0ms (2%)

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:

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

simplify12.0ms (0.6%)

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
133 → 124

prune103.0ms (5.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2671268
Fresh044
Picked011
Done022
Total2678275
Error
0.0b
Counts
275 → 8
Alt Table
StatusErrorProgram
32.0b
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x x))) 3/2)
0.1b
(hypot.f64 x x)
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
35.9b
(*.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))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
5.5b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 4771 to 1861 computations (61% saved)

localize6.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
5.6b
(exp.f64 (log.f64 (hypot.f64 x x)))

series167.0ms (8.2%)

Counts
2 → 24
Calls

2 calls:

163.0ms
(log.f64 (hypot.f64 x x))
4.0ms
(exp.f64 (log.f64 (hypot.f64 x x)))

rewrite37.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
311×log1p-expm1-u_binary64
311×expm1-log1p-u_binary64
275×add-log-exp_binary64
274×add-exp-log_binary64
272×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
18110
288710
Stop Event
node limit
Counts
2 → 88
Calls

2 calls:

35.0ms
(log.f64 (hypot.f64 x x))
35.0ms
(exp.f64 (log.f64 (hypot.f64 x x)))

simplify24.0ms (1.2%)

Algorithm
egg-herbie
Rules
139×fma-neg_binary64
102×fma-def_binary64
37×cancel-sign-sub-inv_binary64
37×sub-neg_binary64
33×associate--r+_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
017212
134212
258212
3111212
4211212
5325212
6422212
7572212
8651212
9684212
Stop Event
saturated
Counts
112 → 94

prune46.0ms (2.2%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1370137
Fresh044
Picked011
Done033
Total1378145
Error
0.0b
Counts
145 → 8
Alt Table
StatusErrorProgram
32.0b
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x x))) 3/2)
0.1b
(hypot.f64 x x)
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
35.9b
(*.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))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
5.5b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 1563 to 663 computations (57.6% saved)

regimes66.0ms (3.2%)

Accuracy

Total 0.1b remaining (75.8%)

Threshold costs 0.1b (75.8%)

Counts
18 → 1
Compiler

Compiled 626 to 438 computations (30% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end79.0ms (3.9%)

Compiler

Compiled 70 to 45 computations (35.7% saved)

Profiling

Loading profile data...