Details

Time bar (total: 18.2s)

analyze2.0s (11.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05366148
033
133
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)

sample87.0ms (0.5%)

Algorithm
intervals
Results
41.0ms64×body1024valid
15.0ms141×body128valid
11.0ms27×body512valid
6.0ms24×body256valid
Compiler

Compiled 49 to 48 computations (2% saved)

simplify92.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
0487137
1487137

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
17.1b
Counts
2 → 1
Compiler

Compiled 48 to 44 computations (8.3% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
0.3b
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
5.3b
(*.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.8b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite230.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
17.1b
Rules
28×add-exp-log_binary64_798
20×pow1_binary64_821
18×add-cbrt-cube_binary64_796
15×*-un-lft-identity_binary64_760
12×add-sqr-sqrt_binary64_782 prod-exp_binary64_809
11×add-cube-cbrt_binary64_795
10×associate-*r*_binary64_700
pow-prod-down_binary64_831 cbrt-unprod_binary64_793
sqrt-prod_binary64_776
unpow-prod-down_binary64_839
add-log-exp_binary64_799 sqrt-div_binary64_777 pow-exp_binary64_828
times-frac_binary64_766 pow-unpow_binary64_837 div-exp_binary64_811
flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 associate-*r/_binary64_702 associate-*l*_binary64_701 *-commutative_binary64_691
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 div-inv_binary64_757 pow-pow_binary64_832 pow-to-exp_binary64_829 unpow2_binary64_825 sqr-pow_binary64_732
Counts
4 → 86
Calls

4 calls:

15.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))))
8.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
7.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)))
Compiler

Compiled 3141 to 2524 computations (19.6% saved)

series1.8s (10%)

Error
0.1b
Counts
4 → 61
Calls

4 calls:

792.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))))
505.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
308.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
118.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))
Compiler

Compiled 4427 to 3788 computations (14.4% saved)

simplify67.0ms (0.4%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049994018
149994018

prune276.0ms (1.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1425147
Fresh000
Picked011
Done000
Total1426148
Error
0.0b
Counts
148 → 6
Compiler

Compiled 4426 to 3416 computations (22.8% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (cos.f64 (/.f64 K 2)))
0.3b
(cbrt.f64 (cos.f64 (/.f64 K 2)))
5.3b
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.8b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite283.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
30×pow1_binary64_821
29×add-exp-log_binary64_798
20×add-cbrt-cube_binary64_796
19×pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793
13×*-un-lft-identity_binary64_760
10×add-sqr-sqrt_binary64_782
add-cube-cbrt_binary64_795
sqrt-prod_binary64_776
associate-*r*_binary64_700
cbrt-prod_binary64_791
add-log-exp_binary64_799 sqrt-div_binary64_777
flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 associate-*r/_binary64_702 pow1/3_binary64_842
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 associate-*l*_binary64_701 *-commutative_binary64_691
Counts
4 → 74
Calls

4 calls:

29.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
1.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
1.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
Compiler

Compiled 3902 to 3195 computations (18.1% saved)

series1.6s (9%)

Error
0.0b
Counts
4 → 55
Calls

4 calls:

828.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
522.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
88.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
87.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
Compiler

Compiled 4835 to 4112 computations (15% saved)

simplify66.0ms (0.4%)

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
052553685

prune302.0ms (1.7%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh044
Picked101
Done011
Total1296135
Error
0.0b
Counts
135 → 6
Compiler

Compiled 4905 to 3886 computations (20.8% saved)

localize27.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.3b
(cbrt.f64 (cos.f64 (/.f64 K 2)))
0.4b
(cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))))
5.3b
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2)))))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.8b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite494.0ms (2.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
58×pow1_binary64_821
57×add-exp-log_binary64_798
42×pow-prod-down_binary64_831 prod-exp_binary64_809 cbrt-unprod_binary64_793
39×add-cbrt-cube_binary64_796
14×*-un-lft-identity_binary64_760
12×cbrt-prod_binary64_791
11×add-sqr-sqrt_binary64_782
10×add-cube-cbrt_binary64_795
sqrt-prod_binary64_776
associate-*r*_binary64_700
add-log-exp_binary64_799 sqrt-div_binary64_777
flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 associate-*r/_binary64_702 pow1/3_binary64_842
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 associate-*l*_binary64_701 *-commutative_binary64_691
Counts
4 → 92
Calls

4 calls:

30.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2)))))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
2.0ms
(cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))))
1.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
Compiler

Compiled 6501 to 5379 computations (17.3% saved)

series1.6s (9.1%)

Error
0.0b
Counts
4 → 55
Calls

4 calls:

816.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (*.f64 (cbrt.f64 (*.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))) (cbrt.f64 (cos.f64 (/.f64 K 2))))) (cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2)))))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
516.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
98.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
95.0ms
(cbrt.f64 (cbrt.f64 (cos.f64 (/.f64 K 2))))
Compiler

Compiled 5899 to 5022 computations (14.9% saved)

simplify128.0ms (0.7%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
051344344

prune445.0ms (2.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1461147
Fresh044
Picked011
Done011
Total1467153
Error
0.0b
Counts
153 → 7
Compiler

Compiled 6514 to 5245 computations (19.5% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))
0.3b
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
4.1b
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.8b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite273.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
33×add-exp-log_binary64_798
25×pow1_binary64_821
23×add-cbrt-cube_binary64_796
16×prod-exp_binary64_809
15×*-un-lft-identity_binary64_760
13×pow-prod-down_binary64_831 cbrt-unprod_binary64_793
12×add-sqr-sqrt_binary64_782
11×add-cube-cbrt_binary64_795
10×associate-*r*_binary64_700
sqrt-prod_binary64_776
unpow-prod-down_binary64_839
add-log-exp_binary64_799 sqrt-div_binary64_777 pow-exp_binary64_828
times-frac_binary64_766 pow-unpow_binary64_837 div-exp_binary64_811
flip3-+_binary64_763 flip-+_binary64_734 distribute-lft-out_binary64_711 associate-*r/_binary64_702 associate-*l*_binary64_701 *-commutative_binary64_691
pow1/2_binary64_840 sqrt-pow1_binary64_778 rem-sqrt-square_binary64_773 div-inv_binary64_757 pow-pow_binary64_832 pow-to-exp_binary64_829 unpow2_binary64_825 sqr-pow_binary64_732
Counts
4 → 89
Calls

4 calls:

20.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
7.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
6.0ms
(*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))
Compiler

Compiled 3986 to 3242 computations (18.7% saved)

series1.8s (9.9%)

Error
0.0b
Counts
4 → 60
Calls

4 calls:

779.0ms
(*.f64 (*.f64 (*.f64 (*.f64 J -2) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (cos.f64 (/.f64 K 2)))) (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
488.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
310.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
122.0ms
(*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))
Compiler

Compiled 5070 to 4343 computations (14.3% saved)

simplify69.0ms (0.4%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
052164108

prune313.0ms (1.7%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1490149
Fresh044
Picked011
Done022
Total1497156
Error
0.0b
Counts
156 → 7
Compiler

Compiled 5065 to 3956 computations (21.9% saved)

regimes1.4s (7.6%)

Accuracy

Total 9.2b remaining (99.8%)

Threshold costs 0b (0%)

Compiler

Compiled 13693 to 12016 computations (12.2% saved)

bsearch4.0ms (0%)

Compiler

Compiled 24 to 22 computations (8.3% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0110149
1110149

end0.0ms (0%)

sample4.6s (25.5%)

Algorithm
intervals
Results
1.2s2016×body1024valid
503.0ms4414×body128valid
435.0ms1045×body512valid
136.0ms525×body256valid
0.0msbody128invalid
Compiler

Compiled 2346 to 2055 computations (12.4% saved)

Profiling

Loading profile data...