Details

Time bar (total: 5.2s)

analyze3.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 10 to 8 computations (20% saved)

sample1.8s (34.8%)

Results
1.4s8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify188.0ms (3.6%)

Algorithm
egg-herbie
Rules
1333×fma-def_binary64
773×distribute-rgt-out_binary64
559×hypot-def_binary64
453×associate-*l*_binary64
451×count-2_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
1124
2254
3464
4984
52454
67634
713824
826734
934504
1041444
1144824
1243954
1347664
1449934
1547424

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

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series7.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

7.0ms
(hypot.f64 x x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

1.0ms
(hypot.f64 x x)

simplify229.0ms (4.4%)

Algorithm
egg-herbie
Rules
1032×sqr-pow_binary64
715×pow-sqr_binary64
575×cube-prod_binary64
481×fabs-mul_binary64
362×unswap-sqr_binary64
Counts
22 → 15
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019159
129150
246150
352150
461150
588150
6119150
7178150
8376150
9696150
10701150
11875150
121086150
131314150
141571150
151876150
162224150
172699150
183317150
193513150
203687150
213801150
223848150
233900150
244778150
254863150
264688150

prune20.0ms (0.4%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New11415
Fresh000
Picked011
Done000
Total11516
Error
0.0b
Counts
16 → 5
Alt Table
StatusErrorProgram
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
33.1b
(*.f64 (sqrt.f64 2) x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 177 to 81 computations (54.2% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series28.0ms (0.5%)

Counts
2 → 12
Calls

2 calls:

21.0ms
(sqrt.f64 (hypot.f64 x x))
8.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

rewrite19.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

10.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0ms
(sqrt.f64 (hypot.f64 x x))

simplify154.0ms (3%)

Algorithm
egg-herbie
Rules
950×fma-def_binary64
446×unswap-sqr_binary64
308×sqr-pow_binary64
263×associate-+l+_binary64
259×associate-/l*_binary64
Counts
80 → 79
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
054643
179602
2190589
3392554
4718554
51343554
62541540
74570540
85161540

prune91.0ms (1.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1233126
Fresh123
Picked011
Done011
Total1247131
Error
0.0b
Counts
131 → 7
Alt Table
StatusErrorProgram
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
Compiler

Compiled 1734 to 442 computations (74.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(sqrt.f64 (hypot.f64 x x))
0.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.6b
(cbrt.f64 (hypot.f64 x x))

series435.0ms (8.3%)

Counts
3 → 24
Calls

3 calls:

405.0ms
(cbrt.f64 (hypot.f64 x x))
20.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
10.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))

rewrite39.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
14×cbrt-prod_binary64
14×pow1_binary64
13×sqrt-prod_binary64
12×associate-*l*_binary64
Counts
3 → 76
Calls

3 calls:

15.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
12.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify224.0ms (4.3%)

Algorithm
egg-herbie
Rules
529×fma-def_binary64
358×fma-neg_binary64
324×*-commutative_binary64
304×unswap-sqr_binary64
234×sqr-pow_binary64
Counts
100 → 107
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01031664
11831476
24721442
37221019
4998993
51919993
63922993
74995993
84845993

prune106.0ms (2%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh044
Picked011
Done022
Total1447151
Error
0.0b
Counts
151 → 7
Alt Table
StatusErrorProgram
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
Compiler

Compiled 2849 to 597 computations (79% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
0.2b
(sqrt.f64 (hypot.f64 x x))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.7b
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)

series929.0ms (17.8%)

Counts
3 → 36
Calls

3 calls:

522.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
398.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
8.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))

rewrite61.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod_binary64
69×add-sqr-sqrt_binary64
27×cube-prod_binary64
27×unpow-prod-down_binary64
24×associate-*r*_binary64
Counts
3 → 135
Calls

3 calls:

23.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
6.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
3.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify260.0ms (5%)

Algorithm
egg-herbie
Rules
569×unswap-sqr_binary64
453×exp-prod_binary64
451×sqr-pow_binary64
387×log-prod_binary64
386×*-commutative_binary64
Counts
171 → 131
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01172417
12382133
27971880
314961751
433661674
545921674
648571674

prune206.0ms (3.9%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1901191
Fresh033
Picked011
Done033
Total1908198
Error
0b
Counts
198 → 8
Alt Table
StatusErrorProgram
29.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.4b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))) 3))
33.1b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
Compiler

Compiled 3513 to 1135 computations (67.7% saved)

regimes218.0ms (4.2%)

Accuracy

Total 0.1b remaining (80.5%)

Threshold costs 0.1b (80.5%)

Counts
32 → 1
Compiler

Compiled 1770 to 906 computations (48.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end149.0ms (2.9%)

Compiler

Compiled 98 to 50 computations (49% saved)

Profiling

Loading profile data...