Details

Time bar (total: 2.4s)

analyze1.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 10 to 7 computations (30% saved)

sample517.0ms (21.7%)

Results
483.0ms8256×body128valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify10.0ms (0.4%)

Algorithm
egg-herbie
Rules
13×fma-def_binary64
associate-*r*_binary64
associate-*l*_binary64
*-commutative_binary64
*-lft-identity_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1178
2248
3478
4438
5458
6438

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
3.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
3.3b
(*.f64 x (fma.f64 y y 1))
Compiler

Compiled 31 to 19 computations (38.7% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
3.3b
(*.f64 x (fma.f64 y y 1))

series9.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(*.f64 x (fma.f64 y y 1))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
1 → 22
Calls

1 calls:

3.0ms
(*.f64 x (fma.f64 y y 1))

simplify80.0ms (3.4%)

Algorithm
egg-herbie
Rules
746×unswap-sqr_binary64
561×distribute-rgt-in_binary64
550×fma-def_binary64
534×distribute-lft-in_binary64
336×distribute-rgt-out_binary64
Counts
46 → 40
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
044447
181404
2264404
3597404
41918404
52078404
62869404
74919404
84929404

prune31.0ms (1.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441
Error
1.4b
Counts
41 → 4
Alt Table
StatusErrorProgram
3.3b
(+.f64 (*.f64 (pow.f64 y 2) x) x)
3.3b
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
32.0b
(*.f64 (sqrt.f64 x) (*.f64 (sqrt.f64 x) (fma.f64 y y 1)))
30.2b
(*.f64 (*.f64 (sqrt.f64 x) (hypot.f64 1 y)) (*.f64 (sqrt.f64 x) (hypot.f64 1 y)))
Compiler

Compiled 521 to 303 computations (41.8% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 y)
0.0b
(*.f64 x (hypot.f64 1 y))
0.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
13.0b
(sqrt.f64 (fma.f64 y y 1))

series49.0ms (2.1%)

Counts
4 → 72
Calls

4 calls:

30.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
14.0ms
(*.f64 x (hypot.f64 1 y))
3.0ms
(sqrt.f64 (fma.f64 y y 1))
3.0ms
(hypot.f64 1 y)

rewrite13.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt_binary64
12×pow1_binary64
11×add-cbrt-cube_binary64
11×add-exp-log_binary64
associate-*r*_binary64
Counts
4 → 68
Calls

4 calls:

4.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
3.0ms
(sqrt.f64 (fma.f64 y y 1))
3.0ms
(*.f64 x (hypot.f64 1 y))
0.0ms
(hypot.f64 1 y)

simplify96.0ms (4%)

Algorithm
egg-herbie
Rules
897×fma-neg_binary64
400×times-frac_binary64
387×fma-def_binary64
312×cancel-sign-sub-inv_binary64
293×associate-*l/_binary64
Counts
140 → 136
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01441769
13621393
210081363
325211354
448021354
552091354

prune103.0ms (4.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1315136
Fresh213
Picked101
Done000
Total1346140
Error
0.0b
Counts
140 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
0.3b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y))) (cbrt.f64 (hypot.f64 1 y))))
44.2b
(*.f64 (*.f64 x (hypot.f64 1 y)) (neg.f64 y))
3.3b
(+.f64 (*.f64 (pow.f64 y 2) x) x)
3.3b
(*.f64 (*.f64 (hypot.f64 1 y) x) (sqrt.f64 (fma.f64 y y 1)))
3.3b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (fma.f64 y y 1)))
Compiler

Compiled 2399 to 1619 computations (32.5% saved)

localize6.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 x (hypot.f64 1 y))
0.0b
(sqrt.f64 (hypot.f64 1 y))
0.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
0.2b
(*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))

series30.0ms (1.3%)

Counts
3 → 40
Calls

3 calls:

22.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
6.0ms
(sqrt.f64 (hypot.f64 1 y))
3.0ms
(*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))

rewrite23.0ms (1%)

Algorithm
rewrite-expression-head
Rules
31×pow1_binary64
29×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
17×add-cbrt-cube_binary64
17×add-exp-log_binary64
Counts
3 → 92
Calls

3 calls:

8.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
5.0ms
(*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))
1.0ms
(sqrt.f64 (hypot.f64 1 y))

simplify113.0ms (4.7%)

Algorithm
egg-herbie
Rules
885×fma-neg_binary64
569×fma-def_binary64
278×*-commutative_binary64
263×sub-neg_binary64
250×unswap-sqr_binary64
Counts
132 → 140
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01321451
12971257
28751194
317471162
436551130
544931130
648901130

prune413.0ms (17.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2092211
Fresh325
Picked011
Done000
Total2125217
Error
0b
Counts
217 → 5
Alt Table
StatusErrorProgram
0.2b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
0.2b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (hypot.f64 1 y))) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
0.3b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y))) (cbrt.f64 (hypot.f64 1 y))))
0.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (hypot.f64 1 y))
3.3b
(+.f64 (*.f64 (pow.f64 y 2) x) x)
Compiler

Compiled 4311 to 3215 computations (25.4% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 y)
0.0b
(*.f64 x (hypot.f64 1 y))
0.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (hypot.f64 1 y))

series39.0ms (1.6%)

Counts
1 → 24
Calls

1 calls:

39.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (hypot.f64 1 y))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
associate-*r*_binary64
cbrt-unprod_binary64
Counts
1 → 20
Calls

1 calls:

4.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (hypot.f64 1 y))

simplify130.0ms (5.5%)

Algorithm
egg-herbie
Rules
474×times-frac_binary64
452×associate-/r/_binary64
443×associate-/l/_binary64
354×associate-/l*_binary64
346×associate-*l*_binary64
Counts
44 → 35
Iterations

Useful iterations: 7 (0.0ms)

IterNodesCost
043560
1105476
2310461
3520461
4642428
5868428
61511428
73570423
84915423
94940423

prune127.0ms (5.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh213
Picked011
Done101
Total92496
Error
0b
Counts
96 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (hypot.f64 1 y))
3.3b
(+.f64 (*.f64 (pow.f64 y 2) x) x)
0.1b
(*.f64 (*.f64 (*.f64 x (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (hypot.f64 1 y))) (hypot.f64 1 y))
0.3b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y)))) (cbrt.f64 (hypot.f64 1 y)))
Compiler

Compiled 1380 to 941 computations (31.8% saved)

regimes433.0ms (18.2%)

Accuracy

Total 0.1b remaining (74.9%)

Threshold costs 0.1b (74.9%)

Counts
52 → 1
Compiler

Compiled 3934 to 2792 computations (29% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11113
21013

end128.0ms (5.4%)

Compiler

Compiled 81 to 60 computations (25.9% saved)

Profiling

Loading profile data...