Details

Time bar (total: 3.0s)

analyze116.0ms (3.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
37.5%62.4%0.1%6
43.7%43.7%12.6%7
53.1%34.3%12.6%8
57.8%23.4%18.8%9
63.2%18%18.8%10
66%12.1%22%11
68.9%9.2%22%12
70.3%6.1%23.5%13
71.9%4.6%23.5%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample777.0ms (26.2%)

Results
727.0ms8256×body128valid
11.0ms145×body128invalid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify7.0ms (0.2%)

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

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 31 to 19 computations (38.7% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series13.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

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

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

simplify82.0ms (2.8%)

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

prune28.0ms (0.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New34640
Fresh000
Picked011
Done000
Total34741
Error
3.7b
Counts
41 → 7
Alt Table
StatusErrorProgram
21.5b
x
7.1b
(*.f64 x (fma.f64 y y 1))
7.1b
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
7.3b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (fma.f64 y y 1)) (cbrt.f64 (fma.f64 y y 1)))) (cbrt.f64 (fma.f64 y y 1)))
8.2b
(*.f64 (*.f64 (cbrt.f64 x) (cbrt.f64 x)) (*.f64 (cbrt.f64 x) (fma.f64 y y 1)))
30.6b
(*.f64 (*.f64 (sqrt.f64 x) (hypot.f64 1 y)) (*.f64 (sqrt.f64 x) (hypot.f64 1 y)))
8.2b
(*.f64 (*.f64 (cbrt.f64 (*.f64 x (fma.f64 y y 1))) (cbrt.f64 (*.f64 x (fma.f64 y y 1)))) (cbrt.f64 (*.f64 x (fma.f64 y y 1))))
Compiler

Compiled 615 to 362 computations (41.1% saved)

localize12.0ms (0.4%)

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)))
6.6b
(sqrt.f64 (fma.f64 y y 1))

series45.0ms (1.5%)

Counts
4 → 72
Calls

4 calls:

28.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
13.0ms
(*.f64 x (hypot.f64 1 y))
2.0ms
(sqrt.f64 (fma.f64 y y 1))
2.0ms
(hypot.f64 1 y)

rewrite14.0ms (0.5%)

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:

8.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (fma.f64 y y 1)))
2.0ms
(*.f64 x (hypot.f64 1 y))
1.0ms
(sqrt.f64 (fma.f64 y y 1))
0.0ms
(hypot.f64 1 y)

simplify98.0ms (3.3%)

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

prune115.0ms (3.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1306136
Fresh415
Picked101
Done011
Total1358143
Error
0.0b
Counts
143 → 8
Alt Table
StatusErrorProgram
7.3b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (fma.f64 y y 1)) (cbrt.f64 (fma.f64 y y 1)))) (cbrt.f64 (fma.f64 y y 1)))
53.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) (neg.f64 y))
7.2b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (sqrt.f64 (fma.f64 y y 1))))
7.3b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y)))) (cbrt.f64 (sqrt.f64 (fma.f64 y y 1))))
0.2b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
7.1b
(*.f64 x (fma.f64 y y 1))
0.4b
(*.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))))
50.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) y)
Compiler

Compiled 2471 to 1670 computations (32.4% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (hypot.f64 1 y))
0.0b
(*.f64 x (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)))

series27.0ms (0.9%)

Counts
3 → 40
Calls

3 calls:

20.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))
4.0ms
(sqrt.f64 (hypot.f64 1 y))
2.0ms
(*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))

rewrite21.0ms (0.7%)

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:

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

simplify103.0ms (3.5%)

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

prune269.0ms (9.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2074211
Fresh246
Picked101
Done011
Total2109219
Error
0b
Counts
219 → 9
Alt Table
StatusErrorProgram
7.3b
(*.f64 (*.f64 x (*.f64 (cbrt.f64 (fma.f64 y y 1)) (cbrt.f64 (fma.f64 y y 1)))) (cbrt.f64 (fma.f64 y y 1)))
53.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) (neg.f64 y))
50.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) y)
1.3b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))) (cbrt.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))))) (cbrt.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))))))
7.3b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y)))) (cbrt.f64 (sqrt.f64 (fma.f64 y y 1))))
7.1b
(*.f64 x (fma.f64 y y 1))
0.2b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (hypot.f64 1 y)))
0.4b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 1 y))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 1 y))) 3)))
0.6b
(*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 1 y))) 4) (cbrt.f64 (hypot.f64 1 y))))
Compiler

Compiled 4520 to 3371 computations (25.4% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series69.0ms (2.3%)

Counts
2 → 40
Calls

2 calls:

49.0ms
(*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y)))
21.0ms
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (hypot.f64 1 y)))

rewrite14.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
16×add-cbrt-cube_binary64
16×add-exp-log_binary64
16×pow1_binary64
12×associate-*r*_binary64
cbrt-unprod_binary64
Counts
2 → 49
Calls

2 calls:

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

simplify117.0ms (3.9%)

Algorithm
egg-herbie
Rules
771×fma-def_binary64
373×unswap-sqr_binary64
335×fma-neg_binary64
307×*-commutative_binary64
254×sqr-pow_binary64
Counts
89 → 80
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0941420
12451156
27671121
312661110
420921086
543211086
647051086
749411086
847651086

prune211.0ms (7.1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1713174
Fresh437
Picked101
Done011
Total1767183
Error
0b
Counts
183 → 7
Alt Table
StatusErrorProgram
0.3b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (cbrt.f64 (hypot.f64 1 y)) (sqrt.f64 (cbrt.f64 (hypot.f64 1 y))))) (sqrt.f64 (hypot.f64 1 y)))
50.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) y)
4.3b
(*.f64 (pow.f64 (*.f64 x (pow.f64 (sqrt.f64 (hypot.f64 1 y)) 3)) 1) (sqrt.f64 (hypot.f64 1 y)))
7.3b
(*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (*.f64 (cbrt.f64 (hypot.f64 1 y)) (cbrt.f64 (hypot.f64 1 y)))) (cbrt.f64 (sqrt.f64 (fma.f64 y y 1))))
0.3b
(*.f64 (*.f64 (*.f64 (*.f64 x (hypot.f64 1 y)) (sqrt.f64 (hypot.f64 1 y))) (sqrt.f64 (sqrt.f64 (hypot.f64 1 y)))) (sqrt.f64 (sqrt.f64 (hypot.f64 1 y))))
7.1b
(*.f64 x (fma.f64 y y 1))
53.0b
(*.f64 (*.f64 x (hypot.f64 1 y)) (neg.f64 y))
Compiler

Compiled 3709 to 2755 computations (25.7% saved)

regimes641.0ms (21.6%)

Accuracy

Total 0.2b remaining (90.8%)

Threshold costs 0.2b (90.8%)

Counts
112 → 1
Compiler

Compiled 10899 to 8272 computations (24.1% saved)

simplify5.0ms (0.2%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
11423
21323

end158.0ms (5.3%)

Compiler

Compiled 149 to 113 computations (24.2% saved)

Profiling

Loading profile data...