Details

Time bar (total: 13.0s)

analyze1.9s (14.8%)

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
0%99.9%0.1%6
0%99.9%0.1%7
15.6%84.3%0.1%8
15.6%84.3%0.1%9
15.6%84.3%0.1%10
30.4%69.4%0.1%11
30.4%69.4%0.1%12
30.4%69.4%0.1%13
39.6%60.3%0.1%14
Compiler

Compiled 25 to 23 computations (8% saved)

sample91.0ms (0.7%)

Algorithm
intervals
Results
46.0ms67×body1024valid
17.0ms145×body128valid
13.0ms31×body512valid
4.0ms13×body256valid
Compiler

Compiled 49 to 48 computations (2% saved)

simplify244.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
0487137
1487137

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 15.9b

Counts
2 → 1
Compiler

Compiled 48 to 44 computations (8.3% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
0.2b
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
4.6b
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite49.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-exp-log_binary64_1460
20×pow1_binary64_1483
18×add-cbrt-cube_binary64_1458
15×*-un-lft-identity_binary64_1425
12×prod-exp_binary64_1471 add-sqr-sqrt_binary64_1446
11×add-cube-cbrt_binary64_1457
10×associate-*r*_binary64_1367
cbrt-unprod_binary64_1455 pow-prod-down_binary64_1493
sqrt-prod_binary64_1440
unpow-prod-down_binary64_1501
sqrt-div_binary64_1441 pow-exp_binary64_1490 add-log-exp_binary64_1461
times-frac_binary64_1431 pow-unpow_binary64_1499 div-exp_binary64_1473
associate-*l*_binary64_1368 flip3-+_binary64_1428 associate-*r/_binary64_1369 distribute-lft-out_binary64_1378 flip-+_binary64_1399 *-commutative_binary64_1358
pow-pow_binary64_1494 pow-to-exp_binary64_1491 pow1/2_binary64_1502 unpow2_binary64_1487 sqrt-pow1_binary64_1442 div-inv_binary64_1422 rem-sqrt-square_binary64_1438 sqr-pow_binary64_1397
Counts
4 → 86
Calls

4 calls:

17.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
8.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
5.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))

series864.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

306.0ms
(*.f64 (*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
272.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
218.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
67.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))

simplify60.0ms (0.5%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
052012385

prune207.0ms (1.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New89998
Fresh000
Picked011
Done000
Total891099

Merged error: 11.0b

Counts
99 → 10
Compiler

Compiled 3268 to 2636 computations (19.3% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

4.5b
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
4.5b
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite53.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
32×sqrt-prod_binary64_1440
18×*-un-lft-identity_binary64_1425
16×add-sqr-sqrt_binary64_1446
12×sqrt-div_binary64_1441
10×add-cube-cbrt_binary64_1457 sqrt-pow1_binary64_1442 pow1_binary64_1483
pow1/2_binary64_1502 rem-sqrt-square_binary64_1438
flip3-+_binary64_1428 distribute-lft-out_binary64_1378 add-cbrt-cube_binary64_1458 flip-+_binary64_1399 add-exp-log_binary64_1460 add-log-exp_binary64_1461
Counts
4 → 76
Calls

4 calls:

10.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

series1.5s (11.8%)

Counts
4 → 12
Calls

4 calls:

502.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
494.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
272.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
266.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

simplify66.0ms (0.5%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049522368
149522368

prune275.0ms (2.1%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New86288
Fresh088
Picked011
Done011
Total861298

Merged error: 10.9b

Counts
98 → 12
Compiler

Compiled 4785 to 3926 computations (18% saved)

localize28.0ms (0.2%)

Local error

Found 4 expressions with local error:

4.5b
(sqrt.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
14.4b
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
14.4b
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite52.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64_1425
cbrt-prod_binary64_1453 add-sqr-sqrt_binary64_1446 pow1_binary64_1483
add-cube-cbrt_binary64_1457
cbrt-div_binary64_1454 sqrt-div_binary64_1441
sqrt-prod_binary64_1440
flip3-+_binary64_1428 add-cbrt-cube_binary64_1458 flip-+_binary64_1399 add-exp-log_binary64_1460 add-log-exp_binary64_1461
distribute-lft-out_binary64_1378 sqrt-pow1_binary64_1442
pow1/2_binary64_1502 associate-*r/_binary64_1369 pow1/3_binary64_1504
rem-sqrt-square_binary64_1438 pow-prod-down_binary64_1493
Counts
4 → 57
Calls

4 calls:

14.0ms
(sqrt.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))))
9.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

series2.1s (16.1%)

Counts
4 → 12
Calls

4 calls:

829.0ms
(sqrt.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))))
509.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
499.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
262.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

simplify83.0ms (0.6%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049102421
149102421

prune297.0ms (2.3%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh099
Picked011
Done022
Total691281

Merged error: 10.9b

Counts
81 → 12
Compiler

Compiled 5150 to 4216 computations (18.1% saved)

localize25.0ms (0.2%)

Local error

Found 4 expressions with local error:

10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
10.3b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite52.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
16×sqrt-prod_binary64_1440 *-un-lft-identity_binary64_1425
12×add-sqr-sqrt_binary64_1446
add-cube-cbrt_binary64_1457 sqrt-div_binary64_1441 pow1_binary64_1483
flip3-+_binary64_1428 pow1/2_binary64_1502 distribute-lft-out_binary64_1378 add-cbrt-cube_binary64_1458 sqrt-pow1_binary64_1442 flip-+_binary64_1399 rem-sqrt-square_binary64_1438 add-exp-log_binary64_1460 add-log-exp_binary64_1461
Counts
4 → 64
Calls

4 calls:

9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
9.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

series1.0s (8%)

Counts
4 → 12
Calls

4 calls:

276.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
259.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
255.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
250.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050441980

prune412.0ms (3.2%)

Pruning

12 alts after pruning (8 fresh and 4 done)

PrunedKeptTotal
New76076
Fresh088
Picked011
Done033
Total761288

Merged error: 10.9b

Counts
88 → 12
Compiler

Compiled 6516 to 5371 computations (17.6% saved)

regimes268.0ms (2.1%)

Compiler

Compiled 3218 to 2838 computations (11.8% saved)

bsearch2.0ms (0%)

Compiler

Compiled 24 to 22 computations (8.3% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
046152
146152

end0.0ms (0%)

sample3.2s (24.4%)

Algorithm
intervals
Results
1.3s2012×body1024valid
517.0ms4487×body128valid
412.0ms987×body512valid
134.0ms510×body256valid
5.0msbody2048valid
0.0msbody128invalid
Compiler

Compiled 648 to 566 computations (12.7% saved)

Profiling

Loading profile data...