Details

Time bar (total: 13.0s)

analyze1.8s (13.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)

sample101.0ms (0.8%)

Algorithm
intervals
Results
45.0ms52×body1280valid
21.0ms40×body640valid
16.0ms141×body80valid
6.0ms15×body320valid
2.0msbody160valid
Compiler

Compiled 49 to 48 computations (2% saved)

simplify189.0ms (1.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (172.0ms)

IterNodesCost
0487237
1487237

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 20.1b

Counts
2 → 1
Compiler

Compiled 48 to 44 computations (8.3% 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.2b
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
7.8b
(*.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))))
11.0b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite51.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-exp-log_binary64
20×pow1_binary64
18×add-cbrt-cube_binary64
15×*-un-lft-identity_binary64
12×prod-exp_binary64 add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
10×associate-*r*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64
sqrt-prod_binary64
unpow-prod-down_binary64
add-log-exp_binary64 insert-posit16 pow-exp_binary64 sqrt-div_binary64
pow-unpow_binary64 times-frac_binary64 div-exp_binary64
flip3-+_binary64 distribute-lft-out_binary64 associate-*r/_binary64 associate-*l*_binary64 flip-+_binary64 *-commutative_binary64
pow-to-exp_binary64 pow1/2_binary64 unpow2_binary64 pow-pow_binary64 sqr-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 div-inv_binary64
Counts
4 → 90
Calls

4 calls:

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

series842.0ms (6.5%)

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

simplify100.0ms (0.8%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
052072483

prune202.0ms (1.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New966102
Fresh000
Picked011
Done000
Total967103

Merged error: 13.2b

Counts
103 → 7
Compiler

Compiled 3233 to 2599 computations (19.6% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite44.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
32×sqrt-prod_binary64
18×*-un-lft-identity_binary64
16×add-sqr-sqrt_binary64
12×sqrt-div_binary64
10×pow1_binary64 add-cube-cbrt_binary64 sqrt-pow1_binary64
pow1/2_binary64 rem-sqrt-square_binary64
flip3-+_binary64 add-log-exp_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 insert-posit16 flip-+_binary64
Counts
4 → 80
Calls

4 calls:

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

series1.6s (12.3%)

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

simplify106.0ms (0.8%)

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
049562472
149562472

prune263.0ms (2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh055
Picked101
Done011
Total92799

Merged error: 13.2b

Counts
99 → 7
Compiler

Compiled 4744 to 3882 computations (18.2% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.2b
(sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
2.3b
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J -2)))
17.0b
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
17.0b
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

rewrite42.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64
14×pow1_binary64
13×add-exp-log_binary64 add-cbrt-cube_binary64 cbrt-prod_binary64
11×add-sqr-sqrt_binary64
add-cube-cbrt_binary64
sqrt-prod_binary64
cbrt-div_binary64 pow-prod-down_binary64 cbrt-unprod_binary64 prod-exp_binary64
add-log-exp_binary64 insert-posit16
flip3-+_binary64 distribute-lft-out_binary64 pow1/3_binary64 associate-*l*_binary64 flip-+_binary64
sqrt-pow1_binary64 rem-sqrt-square_binary64 sqrt-div_binary64
pow1/2_binary64 associate-*r*_binary64 *-commutative_binary64
Counts
4 → 74
Calls

4 calls:

11.0ms
(sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
10.0ms
(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
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J -2)))

series1.8s (14.2%)

Counts
4 → 12
Calls

4 calls:

512.0ms
(sqrt.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
512.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
502.0ms
(cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
317.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))) (*.f64 (cos.f64 (/.f64 K 2)) (*.f64 J -2)))

simplify194.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (156.0ms)

IterNodesCost
048882839
148882839

prune262.0ms (2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh055
Picked011
Done011
Total86793

Merged error: 13.2b

Counts
93 → 7
Compiler

Compiled 4480 to 3644 computations (18.7% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite44.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity_binary64
16×sqrt-prod_binary64
12×add-sqr-sqrt_binary64
add-cube-cbrt_binary64
sqrt-div_binary64
pow1_binary64 cbrt-prod_binary64
flip3-+_binary64 add-log-exp_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 insert-posit16 flip-+_binary64
pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
cbrt-div_binary64
pow1/3_binary64
Counts
4 → 69
Calls

4 calls:

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

series1.4s (10.4%)

Counts
4 → 12
Calls

4 calls:

509.0ms
(cbrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
323.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
264.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
264.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

simplify102.0ms (0.8%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
050292301

prune313.0ms (2.4%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New81081
Fresh044
Picked011
Done022
Total81788

Merged error: 13.2b

Counts
88 → 7
Compiler

Compiled 5534 to 4552 computations (17.7% saved)

regimes177.0ms (1.4%)

Compiler

Compiled 1664 to 1488 computations (10.6% saved)

bsearch1.0ms (0%)

Compiler

Compiled 24 to 22 computations (8.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
047152
147152

end0.0ms (0%)

sample3.3s (25.3%)

Algorithm
intervals
Results
1.1s1415×body1280valid
736.0ms1322×body640valid
491.0ms4342×body80valid
231.0ms589×body320valid
91.0ms332×body160valid
0.0msbody80invalid
Compiler

Compiled 389 to 341 computations (12.3% saved)

Profiling

Loading profile data...