Details

Time bar (total: 9.5s)

analyze948.0ms (10%)

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)

sample80.0ms (0.8%)

Algorithm
intervals
Results
18.0ms45×body1024valid
14.0ms41×body1024invalid
11.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)

simplify183.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

prune7.0ms (0.1%)

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 77 to 63 computations (18.2% saved)

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

rewrite30.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64_445
38×times-frac_binary64_429
31×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
22×sqrt-prod_binary64_439 associate-*r*_binary64_363
add-exp-log_binary64_461 add-cbrt-cube_binary64_459
associate-/r*_binary64_367
pow1_binary64_484
associate-*l*_binary64_364 unswap-sqr_binary64_391 associate-/l*_binary64_368
prod-exp_binary64_472 associate-/l/_binary64_370 add-log-exp_binary64_462 div-inv_binary64_420 cbrt-undiv_binary64_457 div-exp_binary64_474 cbrt-unprod_binary64_456
pow-prod-down_binary64_494 flip-+_binary64_397 associate-*r/_binary64_365 *-commutative_binary64_354 clear-num_binary64_422 flip3-+_binary64_426 frac-2neg_binary64_434
Counts
2 → 83
Calls

2 calls:

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

series449.0ms (4.7%)

Counts
2 → 6
Calls

2 calls:

345.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
104.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))

simplify55.0ms (0.6%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
056782187

prune435.0ms (4.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh011
Picked101
Done000
Total811091

Merged error: 0.0b

Counts
91 → 10
Compiler

Compiled 8002 to 4831 computations (39.6% saved)

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

rewrite89.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_429
102×sqrt-prod_binary64_439
86×add-sqr-sqrt_binary64_445
84×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
78×cbrt-prod_binary64_454
58×associate-*r*_binary64_363
38×add-exp-log_binary64_461
29×add-cbrt-cube_binary64_459
16×prod-exp_binary64_472 cbrt-unprod_binary64_456
11×pow1_binary64_484
associate-/r*_binary64_367 cbrt-undiv_binary64_457 div-exp_binary64_474
sqrt-div_binary64_440 associate-/l*_binary64_368
add-log-exp_binary64_462
pow-prod-down_binary64_494 flip-+_binary64_397 associate-*l/_binary64_366 flip3-+_binary64_426
rem-sqrt-square_binary64_436 associate-/l/_binary64_370 pow1/2_binary64_503 sqrt-pow1_binary64_441 div-inv_binary64_420
frac-times_binary64_433 associate-*l*_binary64_364 associate-*r/_binary64_365 *-commutative_binary64_354 clear-num_binary64_422 frac-2neg_binary64_434
Counts
4 → 201
Calls

4 calls:

33.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))))
13.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
5.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

series593.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

264.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))))
227.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cbrt.f64 (sqrt.f64 2)))
51.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
50.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify141.0ms (1.5%)

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 0 (77.0ms)

IterNodesCost
049496988
149496988

prune451.0ms (4.8%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2103213
Fresh459
Picked011
Done000
Total2149223

Merged error: 0b

Counts
223 → 9
Compiler

Compiled 9887 to 4716 computations (52.3% saved)

localize16.0ms (0.2%)

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

rewrite80.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
99×times-frac_binary64_429
86×add-sqr-sqrt_binary64_445
68×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
66×unpow-prod-down_binary64_502
56×cbrt-prod_binary64_454
46×associate-*r*_binary64_363
34×add-exp-log_binary64_461
28×sqrt-prod_binary64_439
23×associate-/r*_binary64_367
16×add-cbrt-cube_binary64_459
14×div-exp_binary64_474
prod-exp_binary64_472 unpow2_binary64_488 sqr-pow_binary64_395
unswap-sqr_binary64_391
cbrt-undiv_binary64_457
pow1_binary64_484
associate-/l*_binary64_368 cbrt-unprod_binary64_456
pow-to-exp_binary64_492 associate-*l*_binary64_364 pow-exp_binary64_491 associate-/l/_binary64_370 add-log-exp_binary64_462 div-inv_binary64_420
associate-*r/_binary64_365 clear-num_binary64_422 frac-2neg_binary64_434
pow-prod-down_binary64_494 flip-+_binary64_397 *-commutative_binary64_354 flip3-+_binary64_426
Counts
3 → 185
Calls

3 calls:

25.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)))
12.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))

series1.4s (14.4%)

Counts
3 → 9
Calls

3 calls:

673.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)))
349.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
343.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)))

simplify96.0ms (1%)

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049505765
149505765

prune431.0ms (4.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1922194
Fresh437
Picked101
Done011
Total1976203

Merged error: 0b

Counts
203 → 6
Compiler

Compiled 8013 to 4720 computations (41.1% 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_461
17×add-sqr-sqrt_binary64_445
16×cbrt-prod_binary64_454
13×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458 add-cbrt-cube_binary64_459
10×pow1_binary64_484
times-frac_binary64_429 associate-/r*_binary64_367
prod-exp_binary64_472 associate-*r*_binary64_363 cbrt-unprod_binary64_456
associate-*l*_binary64_364 sqrt-prod_binary64_439 associate-*l/_binary64_366
pow-prod-down_binary64_494 associate-*r/_binary64_365
flip-+_binary64_397 flip3-+_binary64_426 add-log-exp_binary64_462 cbrt-undiv_binary64_457 div-exp_binary64_474
associate-/l/_binary64_370 *-commutative_binary64_354 unswap-sqr_binary64_391
clear-num_binary64_422 frac-2neg_binary64_434 div-inv_binary64_420 associate-/l*_binary64_368
Counts
3 → 81
Calls

3 calls:

13.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 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2)))
9.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))

series989.0ms (10.4%)

Counts
3 → 9
Calls

3 calls:

644.0ms
(/.f64 (*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))) (cbrt.f64 (sqrt.f64 2)))
267.0ms
(*.f64 (cos.f64 th) (*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2)))
77.0ms
(*.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (cbrt.f64 1/2))

simplify76.0ms (0.8%)

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049632177
149632177

prune147.0ms (1.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh044
Picked011
Done011
Total90696

Merged error: 0b

Counts
96 → 6
Compiler

Compiled 2686 to 1585 computations (41% saved)

regimes103.0ms (1.1%)

Compiler

Compiled 862 to 714 computations (17.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01927
11927

end0.0ms (0%)

sample2.6s (27.8%)

Algorithm
intervals
Results
617.0ms1798×body1024valid
548.0ms1565×body1024invalid
374.0ms4884×body128valid
202.0ms869×body512valid
191.0ms819×body512invalid
68.0ms443×body256valid
59.0ms369×body256invalid
52.0ms629×body128invalid
4.0msbody2048valid
Compiler

Compiled 177 to 146 computations (17.5% saved)

Profiling

Loading profile data...