Details

Time bar (total: 10.0s)

analyze750.0ms (7.5%)

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
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
25%74.9%0.1%8
25%74.9%0.1%9
25%64%11.1%10
31.2%54.6%14.2%11
39%44.1%16.9%12
39%41.5%19.5%13
42.9%37%20.1%14
Compiler

Compiled 20 to 16 computations (20% saved)

sample82.0ms (0.8%)

Algorithm
intervals
Results
18.0ms41×body1024invalid
16.0ms45×body1024valid
12.0ms153×body128valid
9.0ms38×body512valid
8.0ms33×body512invalid
3.0ms20×body256valid
3.0ms34×body128invalid
1.0msbody256invalid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify168.0ms (1.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

localize13.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.2b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
0.4b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

rewrite29.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64_435
38×times-frac_binary64_420
31×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
22×sqrt-prod_binary64_429 associate-*r*_binary64_356
add-exp-log_binary64_449 add-cbrt-cube_binary64_447
associate-/r*_binary64_360
pow1_binary64_472
associate-*l*_binary64_357 unswap-sqr_binary64_382 associate-/l*_binary64_361
div-inv_binary64_411 cbrt-undiv_binary64_445 prod-exp_binary64_460 add-log-exp_binary64_450 cbrt-unprod_binary64_444 associate-/l/_binary64_363 div-exp_binary64_462
clear-num_binary64_413 flip3-+_binary64_417 *-commutative_binary64_347 pow-prod-down_binary64_482 flip-+_binary64_388 frac-2neg_binary64_425 associate-*r/_binary64_358
Counts
2 → 83
Calls

2 calls:

13.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
8.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

series447.0ms (4.5%)

Counts
2 → 6
Calls

2 calls:

340.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
107.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify50.0ms (0.5%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
056062187

prune113.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81889
Fresh011
Picked101
Done000
Total82991

Merged error: 0.0b

Counts
91 → 9
Compiler

Compiled 2224 to 886 computations (60.2% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
0.3b
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
5.7b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

rewrite85.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_420
102×sqrt-prod_binary64_429
86×add-sqr-sqrt_binary64_435
84×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
78×cbrt-prod_binary64_442
58×associate-*r*_binary64_356
38×add-exp-log_binary64_449
29×add-cbrt-cube_binary64_447
16×prod-exp_binary64_460 cbrt-unprod_binary64_444
11×pow1_binary64_472
cbrt-undiv_binary64_445 div-exp_binary64_462 associate-/r*_binary64_360
sqrt-div_binary64_430 associate-/l*_binary64_361
add-log-exp_binary64_450
associate-*l/_binary64_359 flip3-+_binary64_417 pow-prod-down_binary64_482 flip-+_binary64_388
div-inv_binary64_411 sqrt-pow1_binary64_431 pow1/2_binary64_491 associate-/l/_binary64_363 rem-sqrt-square_binary64_427
clear-num_binary64_413 *-commutative_binary64_347 associate-*l*_binary64_357 frac-2neg_binary64_425 frac-times_binary64_424 associate-*r/_binary64_358
Counts
4 → 201
Calls

4 calls:

35.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
9.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series593.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

257.0ms
(*.f64 (*.f64 (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2))))
243.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
46.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
46.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify138.0ms (1.4%)

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
049366988
149366988

prune364.0ms (3.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2103213
Fresh358
Picked101
Done000
Total2148222

Merged error: 0b

Counts
222 → 8
Compiler

Compiled 8483 to 3766 computations (55.6% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)))
0.2b
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
0.2b
(/.f64 (*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))) (cbrt.f64 (sqrt.f64 2)))

rewrite78.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
99×times-frac_binary64_420
86×add-sqr-sqrt_binary64_435
68×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
66×unpow-prod-down_binary64_490
56×cbrt-prod_binary64_442
46×associate-*r*_binary64_356
34×add-exp-log_binary64_449
28×sqrt-prod_binary64_429
23×associate-/r*_binary64_360
16×add-cbrt-cube_binary64_447
14×div-exp_binary64_462
sqr-pow_binary64_386 prod-exp_binary64_460 unpow2_binary64_476
unswap-sqr_binary64_382
cbrt-undiv_binary64_445
pow1_binary64_472
associate-/l*_binary64_361 cbrt-unprod_binary64_444
div-inv_binary64_411 pow-exp_binary64_479 pow-to-exp_binary64_480 associate-*l*_binary64_357 add-log-exp_binary64_450 associate-/l/_binary64_363
clear-num_binary64_413 frac-2neg_binary64_425 associate-*r/_binary64_358
flip3-+_binary64_417 *-commutative_binary64_347 pow-prod-down_binary64_482 flip-+_binary64_388
Counts
3 → 185
Calls

3 calls:

21.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)))
17.0ms
(/.f64 (*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))) (cbrt.f64 (sqrt.f64 2)))
15.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))

series1.3s (13.3%)

Counts
3 → 9
Calls

3 calls:

683.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)))
336.0ms
(/.f64 (*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))) (cbrt.f64 (sqrt.f64 2)))
318.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))

simplify94.0ms (0.9%)

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049965765
149965765

prune274.0ms (2.7%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1931194
Fresh167
Picked011
Done000
Total1948202

Merged error: 0b

Counts
202 → 8
Compiler

Compiled 5860 to 3064 computations (47.7% saved)

localize14.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2)))
0.2b
(/.f64 (*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))) (cbrt.f64 (sqrt.f64 2)))
0.5b
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))

rewrite40.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
19×add-exp-log_binary64_449
17×add-sqr-sqrt_binary64_435
16×cbrt-prod_binary64_442
13×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414 add-cbrt-cube_binary64_447
10×pow1_binary64_472
times-frac_binary64_420 associate-/r*_binary64_360
prod-exp_binary64_460 associate-*r*_binary64_356 cbrt-unprod_binary64_444
associate-*l/_binary64_359 sqrt-prod_binary64_429 associate-*l*_binary64_357
pow-prod-down_binary64_482 associate-*r/_binary64_358
flip3-+_binary64_417 cbrt-undiv_binary64_445 add-log-exp_binary64_450 flip-+_binary64_388 div-exp_binary64_462
*-commutative_binary64_347 unswap-sqr_binary64_382 associate-/l/_binary64_363
clear-num_binary64_413 div-inv_binary64_411 frac-2neg_binary64_425 associate-/l*_binary64_361
Counts
3 → 81
Calls

3 calls:

12.0ms
(/.f64 (*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))) (cbrt.f64 (sqrt.f64 2)))
10.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))
9.0ms
(*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2)))

series963.0ms (9.6%)

Counts
3 → 9
Calls

3 calls:

637.0ms
(/.f64 (*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))) (cbrt.f64 (sqrt.f64 2)))
252.0ms
(*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2)))
73.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))

simplify59.0ms (0.6%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049772177
149772177

prune102.0ms (1%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New89190
Fresh156
Picked101
Done011
Total91798

Merged error: 0b

Counts
98 → 7
Compiler

Compiled 2056 to 1075 computations (47.7% saved)

regimes728.0ms (7.3%)

Compiler

Compiled 9137 to 6752 computations (26.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01927
11927

end0.0ms (0%)

sample3.5s (34.7%)

Algorithm
intervals
Results
630.0ms1798×body1024valid
555.0ms1565×body1024invalid
379.0ms4884×body128valid
207.0ms869×body512valid
195.0ms819×body512invalid
74.0ms443×body256valid
57.0ms369×body256invalid
55.0ms629×body128invalid
4.0msbody2048valid
Compiler

Compiled 1165 to 862 computations (26% saved)

Profiling

Loading profile data...