Details

Time bar (total: 12.2s)

analyze2.0s (16.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
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)

sample88.0ms (0.7%)

Algorithm
intervals
Results
45.0ms69×body1024valid
17.0ms146×body128valid
10.0ms25×body512valid
4.0ms16×body256valid
Compiler

Compiled 49 to 48 computations (2% saved)

simplify97.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
0487037
1487037

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 17.4b

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

rewrite50.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 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 → 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)
6.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))

series808.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

297.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)))
189.0ms
(pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)
65.0ms
(*.f64 (*.f64 -2 J) (cos.f64 (/.f64 K 2)))

simplify78.0ms (0.6%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
051472394

prune363.0ms (3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91798
Fresh000
Picked011
Done000
Total91899

Merged error: 13.4b

Counts
99 → 8
Compiler

Compiled 6590 to 5572 computations (15.4% saved)

localize19.0ms (0.2%)

Local error

Found 4 expressions with local error:

8.1b
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.1b
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.2b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
8.2b
(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
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 flip-+_binary64
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 (12.1%)

Counts
4 → 12
Calls

4 calls:

486.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
483.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
254.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
252.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))

simplify64.0ms (0.5%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051792368

prune290.0ms (2.4%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh066
Picked011
Done011
Total87996

Merged error: 13.4b

Counts
96 → 9
Compiler

Compiled 5243 to 4340 computations (17.2% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

8.2b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
8.2b
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
8.3b
(cbrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
8.3b
(cbrt.f64 (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
18×*-un-lft-identity_binary64
16×sqrt-prod_binary64
14×cbrt-prod_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
sqrt-div_binary64
pow1_binary64
cbrt-div_binary64 flip3-+_binary64 add-log-exp_binary64 distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip-+_binary64
pow1/2_binary64 pow1/3_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
Counts
4 → 66
Calls

4 calls:

10.0ms
(cbrt.f64 (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))))
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 (12.4%)

Counts
4 → 12
Calls

4 calls:

506.0ms
(cbrt.f64 (sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2))))
498.0ms
(cbrt.f64 (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)))
247.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
78 → 78
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051282302

prune335.0ms (2.8%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New78078
Fresh066
Picked011
Done022
Total78987

Merged error: 13.4b

Counts
87 → 9
Compiler

Compiled 5873 to 4868 computations (17.1% saved)

localize23.0ms (0.2%)

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

rewrite54.0ms (0.4%)

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

4 calls:

27.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))))
13.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)))

series851.0ms (7%)

Counts
4 → 12
Calls

4 calls:

332.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))))
269.0ms
(sqrt.f64 (+.f64 1 (pow.f64 (/.f64 U (*.f64 (*.f64 2 J) (cos.f64 (/.f64 K 2)))) 2)))
133.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))
117.0ms
(cbrt.f64 (cos.f64 (/.f64 K 2)))

simplify95.0ms (0.8%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049372191
149372191

prune288.0ms (2.4%)

Pruning

12 alts after pruning (9 fresh and 3 done)

PrunedKeptTotal
New82486
Fresh055
Picked101
Done033
Total831295

Merged error: 13.4b

Counts
95 → 12
Compiler

Compiled 5208 to 4398 computations (15.6% saved)

regimes240.0ms (2%)

Compiler

Compiled 2648 to 2394 computations (9.6% 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
042179
142179

end0.0ms (0%)

sample3.2s (26.4%)

Algorithm
intervals
Results
1.3s2056×body1024valid
533.0ms4472×body128valid
419.0ms987×body512valid
128.0ms480×body256valid
6.0msbody2048valid
1.0msbody1024invalid
0.0msbody512invalid
Compiler

Compiled 571 to 505 computations (11.6% saved)

Profiling

Loading profile data...