Details

Time bar (total: 14.0s)

analyze776.0ms (5.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)

sample85.0ms (0.6%)

Algorithm
intervals
Results
20.0ms55×body1024invalid
18.0ms60×body1024valid
11.0ms153×body128valid
7.0ms32×body512valid
6.0ms28×body512invalid
2.0ms14×body256invalid
2.0ms10×body256valid
1.0ms17×body128invalid
1.0msbody2048valid
Compiler

Compiled 39 to 34 computations (12.8% saved)

simplify97.0ms (0.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
Error
0.3b
Counts
2 → 2
Compiler

Compiled 45 to 37 computations (17.8% saved)

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

rewrite149.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
40×add-sqr-sqrt_binary64_441
38×times-frac_binary64_425
32×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
22×sqrt-prod_binary64_435 associate-*r*_binary64_359
10×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
associate-/r*_binary64_363
pow1_binary64_480 add-log-exp_binary64_458
associate-/l*_binary64_364 unswap-sqr_binary64_387 associate-*l*_binary64_360
div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416 flip3-+_binary64_422 associate-/l/_binary64_366 flip-+_binary64_393 prod-exp_binary64_468 cbrt-unprod_binary64_452
frac-2neg_binary64_430 clear-num_binary64_418 pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 sum-log_binary64_510 +-commutative_binary64_349
Counts
3 → 94
Calls

3 calls:

12.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
7.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
7.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 2362 to 862 computations (63.5% saved)

series764.0ms (5.5%)

Error
0.3b
Counts
3 → 42
Calls

3 calls:

428.0ms
(*.f64 (cos.f64 th) (/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2)))
194.0ms
(/.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)) (sqrt.f64 2))
97.0ms
(+.f64 (*.f64 a1 a1) (*.f64 a2 a2))
Compiler

Compiled 1676 to 1476 computations (11.9% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
050442993

prune152.0ms (1.1%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New12610136
Fresh101
Picked101
Done000
Total12810138
Error
0b
Counts
138 → 10
Compiler

Compiled 2943 to 1208 computations (59% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
0.5b
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))
6.8b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
6.8b
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))

rewrite727.0ms (5.2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
540×times-frac_binary64_425
429×sqrt-prod_binary64_435
297×add-sqr-sqrt_binary64_441
295×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
48×associate-/r*_binary64_363
22×sqrt-div_binary64_436
17×associate-/r/_binary64_365
12×associate-/l*_binary64_364
11×add-exp-log_binary64_457 add-cbrt-cube_binary64_455 flip3-+_binary64_422 flip-+_binary64_393
div-inv_binary64_416
pow1_binary64_480
add-log-exp_binary64_458 div-exp_binary64_470 cbrt-undiv_binary64_453
sqrt-undiv_binary64_440
pow1/2_binary64_499 sqrt-pow1_binary64_437 rem-sqrt-square_binary64_432 frac-2neg_binary64_430 clear-num_binary64_418 associate-/l/_binary64_366
Counts
4 → 411
Calls

4 calls:

21.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
10.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 18617 to 4886 computations (73.8% saved)

series651.0ms (4.6%)

Error
0b
Counts
4 → 60
Calls

4 calls:

188.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
137.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))
134.0ms
(sqrt.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
130.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 3524 to 2508 computations (28.8% saved)

simplify196.0ms (1.4%)

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
0506418741

prune595.0ms (4.2%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4701471
Fresh189
Picked101
Done000
Total4729481
Error
0b
Counts
481 → 9
Compiler

Compiled 16205 to 4897 computations (69.8% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
0.2b
(/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
6.8b
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
6.9b
(sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))

rewrite333.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
190×times-frac_binary64_425
180×sqrt-prod_binary64_435
118×add-sqr-sqrt_binary64_441
114×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
21×associate-/r*_binary64_363
19×associate-/r/_binary64_365
11×flip3-+_binary64_422 flip-+_binary64_393
10×div-inv_binary64_416
associate-/l*_binary64_364
add-exp-log_binary64_457 add-cbrt-cube_binary64_455
pow1_binary64_480 sqrt-div_binary64_436
add-log-exp_binary64_458
rem-sqrt-square_binary64_432
pow1/2_binary64_499 sqrt-pow1_binary64_437 div-exp_binary64_470 cbrt-undiv_binary64_453 frac-2neg_binary64_430 clear-num_binary64_418 associate-/l/_binary64_366
sqrt-undiv_binary64_440
Counts
4 → 219
Calls

4 calls:

14.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
6.0ms
(sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))
5.0ms
(/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
4.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
Compiler

Compiled 8975 to 2399 computations (73.3% saved)

series614.0ms (4.4%)

Error
0b
Counts
4 → 54
Calls

4 calls:

196.0ms
(/.f64 (sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2))) (sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))))
141.0ms
(sqrt.f64 (/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1))))
129.0ms
(sqrt.f64 (+.f64 (*.f64 a1 a1) (*.f64 a2 a2)))
93.0ms
(/.f64 2 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)))
Compiler

Compiled 3134 to 2279 computations (27.3% saved)

simplify171.0ms (1.2%)

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 0 (88.0ms)

IterNodesCost
0494710143
1494710143

prune332.0ms (2.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2730273
Fresh088
Picked011
Done000
Total2739282
Error
0b
Counts
282 → 9
Compiler

Compiled 9400 to 2878 computations (69.4% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite517.0ms (3.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
195×times-frac_binary64_425
111×add-sqr-sqrt_binary64_441
94×cbrt-prod_binary64_450
91×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
67×associate-*r*_binary64_359
47×sqrt-prod_binary64_435
32×add-exp-log_binary64_457
22×div-inv_binary64_416
20×add-cbrt-cube_binary64_455
12×div-exp_binary64_470 cbrt-undiv_binary64_453
10×associate-/l*_binary64_364 associate-/r*_binary64_363
prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387
pow1_binary64_480 add-log-exp_binary64_458
associate-/l/_binary64_366 associate-*l*_binary64_360
frac-2neg_binary64_430 clear-num_binary64_418 flip3-+_binary64_422 flip-+_binary64_393
pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 sum-log_binary64_510 +-commutative_binary64_349
Counts
4 → 225
Calls

4 calls:

30.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
14.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))
10.0ms
(/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
4.0ms
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
Compiler

Compiled 8603 to 5119 computations (40.5% saved)

series1.4s (10.1%)

Error
0b
Counts
4 → 54
Calls

4 calls:

639.0ms
(/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))))
425.0ms
(*.f64 (cos.f64 th) (/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2))))
193.0ms
(/.f64 (/.f64 (+.f64 (*.f64 a2 a2) (*.f64 a1 a1)) (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2)))) (cbrt.f64 (sqrt.f64 2)))
101.0ms
(+.f64 (*.f64 a2 a2) (*.f64 a1 a1))
Compiler

Compiled 2750 to 2514 computations (8.6% saved)

simplify123.0ms (0.9%)

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049648773
149648773

prune444.0ms (3.2%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2790279
Fresh077
Picked011
Done011
Total2799288
Error
0b
Counts
288 → 9
Compiler

Compiled 8199 to 4567 computations (44.3% saved)

regimes1.4s (10%)

Accuracy

Total 0.7b remaining (96.3%)

Threshold costs 0.7b (96.3%)

Compiler

Compiled 16871 to 12399 computations (26.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01634
11634

end0.0ms (0%)

sample4.3s (31%)

Algorithm
intervals
Results
588.0ms1838×body1024valid
470.0ms1520×body1024invalid
370.0ms4800×body128valid
218.0ms914×body512valid
184.0ms829×body512invalid
70.0ms442×body256valid
61.0ms398×body256invalid
53.0ms627×body128invalid
3.0msbody2048valid
Compiler

Compiled 2136 to 1565 computations (26.7% saved)

Profiling

Loading profile data...