Details

Time bar (total: 4.4s)

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)

sample30.0ms (0.7%)

Algorithm
intervals
Results
11.0ms256×body128valid
Compiler

Compiled 20 to 10 computations (50% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3154
4154

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 9 computations (55% saved)

localize2.0ms (0%)

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)

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:

0.0ms
(hypot.f64 x x)

simplify161.0ms (3.7%)

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

prune10.0ms (0.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New10515
Fresh000
Picked011
Done000
Total10616
Error
0.0b
Counts
16 → 6
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
40.7b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
35.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
27.5b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 191 to 91 computations (52.4% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series14.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

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

rewrite10.0ms (0.2%)

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:

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

simplify75.0ms (1.7%)

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

prune73.0ms (1.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1224126
Fresh224
Picked101
Done011
Total1257132
Error
0b
Counts
132 → 7
Alt Table
StatusErrorProgram
35.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
1.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
27.5b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 1822 to 452 computations (75.2% 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.1b
(sqrt.f64 (hypot.f64 x x))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))

series561.0ms (12.8%)

Counts
3 → 36
Calls

3 calls:

328.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
228.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))

rewrite31.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
55×sqrt-pow1_binary64
51×pow1_binary64
47×sqrt-prod_binary64
47×add-sqr-sqrt_binary64
36×pow-prod-up_binary64
Counts
3 → 121
Calls

3 calls:

13.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
1.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify102.0ms (2.3%)

Algorithm
egg-herbie
Rules
784×fma-def_binary64
340×unswap-sqr_binary64
272×exp-sum_binary64
265×distribute-rgt-in_binary64
219×fma-neg_binary64
Counts
157 → 154
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01162107
12241834
24451614
38431530
420211476
547411476
649491476

prune137.0ms (3.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2321233
Fresh145
Picked101
Done011
Total2346240
Error
0b
Counts
240 → 6
Alt Table
StatusErrorProgram
35.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
27.5b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 4726 to 1077 computations (77.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)))
0.4b
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)
0.5b
(*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2))

series1.5s (34.9%)

Counts
3 → 36
Calls

3 calls:

1.2s
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)
322.0ms
(*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2))
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)))

rewrite42.0ms (1%)

Algorithm
rewrite-expression-head
Rules
99×sqrt-prod_binary64
87×unpow-prod-down_binary64
81×add-sqr-sqrt_binary64
39×add-exp-log_binary64
28×unswap-sqr_binary64
Counts
3 → 162
Calls

3 calls:

13.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)))
10.0ms
(*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2))
3.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)

simplify146.0ms (3.3%)

Algorithm
egg-herbie
Rules
396×exp-prod_binary64
363×*-commutative_binary64
325×unswap-sqr_binary64
319×log-prod_binary64
306×exp-sum_binary64
Counts
198 → 180
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01704099
13303496
210323307
319342878
441652870
549452870

prune155.0ms (3.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2730273
Fresh044
Picked011
Done011
Total2736279
Error
0b
Counts
279 → 6
Alt Table
StatusErrorProgram
35.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.3b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3/2)))
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))))
27.5b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 7261 to 2482 computations (65.8% saved)

regimes735.0ms (16.8%)

Accuracy

Total 0.1b remaining (70.7%)

Threshold costs 0.1b (70.7%)

Counts
194 → 1
Compiler

Compiled 12802 to 6384 computations (50.1% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end0.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

sample529.0ms (12.1%)

Algorithm
intervals
Results
247.0ms8000×body128valid
Compiler

Compiled 104 to 45 computations (56.7% saved)

Profiling

Loading profile data...