Details

Time bar (total: 9.3s)

analyze806.0ms (8.6%)

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)

sample89.0ms (0.9%)

Algorithm
intervals
Results
21.0ms57×body1024invalid
18.0ms49×body1024valid
13.0ms164×body128valid
10.0ms28×body512valid
6.0ms24×body512invalid
2.0ms14×body256valid
2.0ms14×body256invalid
1.0ms15×body128invalid
1.0msbody2048valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify182.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
010620
110620

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

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
0.1b
(*.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))

rewrite36.0ms (0.4%)

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

3 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))
4.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series493.0ms (5.3%)

Counts
3 → 9
Calls

3 calls:

344.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
111.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
39.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify74.0ms (0.8%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049652380
149652380

prune476.0ms (5.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New949103
Fresh011
Picked101
Done000
Total9510105

Merged error: 0b

Counts
105 → 10
Compiler

Compiled 8995 to 5572 computations (38.1% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite104.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
195×times-frac_binary64_429
111×add-sqr-sqrt_binary64_445
94×cbrt-prod_binary64_454
91×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
67×associate-*r*_binary64_363
47×sqrt-prod_binary64_439
32×add-exp-log_binary64_461
22×div-inv_binary64_420
20×add-cbrt-cube_binary64_459
12×cbrt-undiv_binary64_457 div-exp_binary64_474
10×associate-/l*_binary64_368 associate-/r*_binary64_367
prod-exp_binary64_472 unswap-sqr_binary64_391 cbrt-unprod_binary64_456
pow1_binary64_484 add-log-exp_binary64_462
associate-*l*_binary64_364 associate-/l/_binary64_370
flip-+_binary64_397 clear-num_binary64_422 flip3-+_binary64_426 frac-2neg_binary64_434
pow-prod-down_binary64_494 +-commutative_binary64_353 associate-*r/_binary64_365 *-commutative_binary64_354 sum-log_binary64_514
Counts
4 → 225
Calls

4 calls:

34.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
16.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))
12.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series819.0ms (8.8%)

Counts
4 → 12
Calls

4 calls:

347.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
328.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
105.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))
38.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify127.0ms (1.4%)

Algorithm
egg-herbie
Counts
237 → 237
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049238061
149238061

prune443.0ms (4.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2361237
Fresh279
Picked101
Done000
Total2398247

Merged error: 0b

Counts
247 → 8
Compiler

Compiled 8337 to 4827 computations (42.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite83.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
99×times-frac_binary64_429
87×add-sqr-sqrt_binary64_445
69×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
66×unpow-prod-down_binary64_502
56×cbrt-prod_binary64_454
46×associate-*l*_binary64_364
35×add-exp-log_binary64_461
28×sqrt-prod_binary64_439
23×associate-/r*_binary64_367
17×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
pow1_binary64_484 add-log-exp_binary64_462 cbrt-undiv_binary64_457
associate-/l*_binary64_368 cbrt-unprod_binary64_456
pow-to-exp_binary64_492 pow-exp_binary64_491 associate-/l/_binary64_370 associate-*r*_binary64_363 div-inv_binary64_420
flip-+_binary64_397 associate-*l/_binary64_366 clear-num_binary64_422 flip3-+_binary64_426 frac-2neg_binary64_434
pow-prod-down_binary64_494 +-commutative_binary64_353 *-commutative_binary64_354 sum-log_binary64_514
Counts
4 → 196
Calls

4 calls:

23.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cos.f64 th))
18.0ms
(/.f64 (*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cos.f64 th)) (cbrt.f64 (sqrt.f64 2)))
11.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
5.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

series1.3s (14.2%)

Counts
4 → 12
Calls

4 calls:

520.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2))
514.0ms
(*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cos.f64 th))
243.0ms
(/.f64 (*.f64 (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (pow.f64 (cbrt.f64 (sqrt.f64 2)) 2)) (cos.f64 th)) (cbrt.f64 (sqrt.f64 2)))
45.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))

simplify96.0ms (1%)

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
050026027

prune355.0ms (3.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2071208
Fresh167
Picked011
Done000
Total2088216

Merged error: 0b

Counts
216 → 8
Compiler

Compiled 7016 to 3940 computations (43.8% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite63.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
84×sqrt-prod_binary64_439
72×times-frac_binary64_429
61×add-sqr-sqrt_binary64_445
59×*-un-lft-identity_binary64_423 add-cube-cbrt_binary64_458
40×associate-*r*_binary64_363
18×add-exp-log_binary64_461 add-cbrt-cube_binary64_459
11×pow1_binary64_484
10×sqrt-div_binary64_440
prod-exp_binary64_472 associate-*l/_binary64_366 associate-/l*_binary64_368 associate-/r*_binary64_367 cbrt-unprod_binary64_456
flip-+_binary64_397 flip3-+_binary64_426
add-log-exp_binary64_462
pow-prod-down_binary64_494 cbrt-undiv_binary64_457 div-exp_binary64_474
frac-times_binary64_433 rem-sqrt-square_binary64_436 associate-/l/_binary64_370 pow1/2_binary64_503 sqrt-pow1_binary64_441 div-inv_binary64_420
associate-*l*_binary64_364 sqrt-undiv_binary64_444 associate-*r/_binary64_365 *-commutative_binary64_354 clear-num_binary64_422 frac-2neg_binary64_434
Counts
4 → 157
Calls

4 calls:

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

series456.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

248.0ms
(*.f64 (*.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (cos.f64 th)) (/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2)))
109.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 2))
50.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
49.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))

simplify82.0ms (0.9%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
051104501

prune236.0ms (2.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1681169
Fresh156
Picked011
Done011
Total1698177

Merged error: 0b

Counts
177 → 8
Compiler

Compiled 6258 to 2217 computations (64.6% saved)

regimes109.0ms (1.2%)

Compiler

Compiled 1030 to 816 computations (20.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01734
11734

end0.0ms (0%)

sample2.8s (30.3%)

Algorithm
intervals
Results
686.0ms1793×body1024valid
566.0ms1502×body1024invalid
407.0ms4845×body128valid
231.0ms904×body512valid
206.0ms805×body512invalid
81.0ms455×body256valid
75.0ms381×body256invalid
61.0ms650×body128invalid
2.0msbody2048valid
Compiler

Compiled 210 to 161 computations (23.3% saved)

Profiling

Loading profile data...