Details

Time bar (total: 11.5s)

analyze1.9s (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
0%93.6%6.4%8
9.4%84.3%6.4%9
14.8%75.7%9.5%10
16%71.4%12.6%11
20.9%65.7%13.4%12
24.2%60.5%15.3%13
24.8%58.6%16.6%14
Compiler

Compiled 28 to 24 computations (14.3% saved)

sample119.0ms (1%)

Algorithm
intervals
Results
60.0ms71×body1024valid
20.0ms135×body128valid
12.0ms26×body512valid
7.0ms24×body256valid
4.0ms24×body128invalid
0.0msbody128nan
Compiler

Compiled 55 to 50 computations (9.1% saved)

simplify310.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (128.0ms)

IterNodesCost
0578732

prune9.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 13.8b

Counts
2 → 2
Compiler

Compiled 69 to 57 computations (17.4% saved)

localize21.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 F (sin.f64 B))
0.1b
(/.f64 x (tan.f64 B))
8.1b
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2))
16.6b
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2)

rewrite46.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64
31×*-un-lft-identity_binary64 add-cube-cbrt_binary64
30×times-frac_binary64
22×add-exp-log_binary64
13×add-cbrt-cube_binary64 associate-*l*_binary64
unpow-prod-down_binary64
associate-*r*_binary64
associate-/r*_binary64 unswap-sqr_binary64 prod-exp_binary64 associate-/l*_binary64
pow1_binary64 div-exp_binary64
add-log-exp_binary64 sqr-pow_binary64
pow-to-exp_binary64 pow-unpow_binary64 cbrt-undiv_binary64 div-inv_binary64 pow-exp_binary64
cbrt-unprod_binary64 clear-num_binary64 frac-2neg_binary64
pow-pow_binary64 associate-/r/_binary64 tan-quot_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 115
Calls

4 calls:

16.0ms
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2))
10.0ms
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2)
4.0ms
(/.f64 x (tan.f64 B))
4.0ms
(/.f64 F (sin.f64 B))

series749.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

291.0ms
(*.f64 (/.f64 F (sin.f64 B)) (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2))
219.0ms
(/.f64 x (tan.f64 B))
138.0ms
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 x 2)) -1/2)
101.0ms
(/.f64 F (sin.f64 B))

simplify96.0ms (0.8%)

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049302525
149302525

prune210.0ms (1.8%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11413127
Fresh101
Picked101
Done000
Total11613129

Merged error: 0.0b

Counts
129 → 13
Compiler

Compiled 3876 to 1880 computations (51.5% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 x (tan.f64 B))
0.2b
(/.f64 (*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)) (sin.f64 B))
0.3b
(*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2))
16.6b
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)

rewrite46.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
22×add-exp-log_binary64
19×*-un-lft-identity_binary64 add-cube-cbrt_binary64
13×add-cbrt-cube_binary64
12×times-frac_binary64
associate-*r*_binary64 unpow-prod-down_binary64
associate-/r*_binary64 prod-exp_binary64
pow1_binary64 div-exp_binary64
add-log-exp_binary64 associate-/l*_binary64
pow-to-exp_binary64 pow-unpow_binary64 cbrt-undiv_binary64 sqr-pow_binary64 associate-*l*_binary64 unswap-sqr_binary64 pow-exp_binary64
cbrt-unprod_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64
pow-pow_binary64 associate-/r/_binary64 tan-quot_binary64 *-commutative_binary64
Counts
4 → 93
Calls

4 calls:

12.0ms
(*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2))
12.0ms
(/.f64 (*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)) (sin.f64 B))
9.0ms
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)
4.0ms
(/.f64 x (tan.f64 B))

series695.0ms (6%)

Counts
4 → 12
Calls

4 calls:

262.0ms
(/.f64 (*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)) (sin.f64 B))
207.0ms
(/.f64 x (tan.f64 B))
115.0ms
(*.f64 F (pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2))
111.0ms
(pow.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)) -1/2)

simplify62.0ms (0.5%)

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051812141

prune146.0ms (1.3%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1023105
Fresh21012
Picked011
Done000
Total10414118

Merged error: 0.0b

Counts
118 → 14
Compiler

Compiled 3189 to 1729 computations (45.8% saved)

localize23.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(*.f64 F (*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2)))
0.7b
(*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2))
16.6b
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))
16.6b
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))

rewrite80.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64
44×unpow-prod-down_binary64
39×add-exp-log_binary64
28×prod-exp_binary64 sqrt-prod_binary64
19×*-un-lft-identity_binary64 add-cube-cbrt_binary64
17×unswap-sqr_binary64
13×associate-*l*_binary64
12×pow-to-exp_binary64 swap-sqr_binary64 sqr-pow_binary64 pow-exp_binary64
11×associate-*r*_binary64 add-cbrt-cube_binary64
pow1_binary64
add-log-exp_binary64 cbrt-unprod_binary64 sqrt-div_binary64
pow-prod-down_binary64 flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64 *-commutative_binary64
pow-prod-up_binary64 pow-sqr_binary64 pow2_binary64
Counts
4 → 126
Calls

4 calls:

26.0ms
(*.f64 F (*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2)))
22.0ms
(*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2))
7.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))
7.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))

series299.0ms (2.6%)

Counts
4 → 12
Calls

4 calls:

103.0ms
(*.f64 F (*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2)))
90.0ms
(*.f64 (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2) (pow.f64 (sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x))) -1/2))
59.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))
47.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))

simplify87.0ms (0.8%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049603805
149603805

prune259.0ms (2.3%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1371138
Fresh21012
Picked011
Done011
Total13913152

Merged error: 0.0b

Counts
152 → 13
Compiler

Compiled 5341 to 3180 computations (40.5% saved)

localize20.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 F)
0.6b
(cbrt.f64 F)
0.6b
(cbrt.f64 F)
16.6b
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))

rewrite15.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64 cbrt-prod_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
pow1_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1/3_binary64 sqrt-prod_binary64
sqrt-div_binary64
flip3-+_binary64 pow1/2_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip-+_binary64
Counts
4 → 48
Calls

4 calls:

7.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))
1.0ms
(cbrt.f64 F)
1.0ms
(cbrt.f64 F)
1.0ms
(cbrt.f64 F)

series507.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

160.0ms
(cbrt.f64 F)
149.0ms
(cbrt.f64 F)
146.0ms
(cbrt.f64 F)
52.0ms
(sqrt.f64 (+.f64 (+.f64 (*.f64 F F) 2) (*.f64 2 x)))

simplify66.0ms (0.6%)

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04924626
14924626

prune73.0ms (0.6%)

Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New60060
Fresh01010
Picked011
Done022
Total601373

Merged error: 0.0b

Counts
73 → 13
Compiler

Compiled 1882 to 798 computations (57.6% saved)

regimes637.0ms (5.5%)

Compiler

Compiled 6632 to 5000 computations (24.6% saved)

bsearch186.0ms (1.6%)

Steps
ItersRangePoint
10
8.370040452892694e-12
6390017.534609873
3893804.8260155115
9
-12556370876301.305
-10440157.942140756
-14573622.064940056
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09895
19895

end0.0ms (0%)

sample4.8s (41.7%)

Algorithm
intervals
Results
1.6s2207×body1024valid
602.0ms4125×body128valid
515.0ms1109×body512valid
167.0ms553×body256valid
102.0ms658×body128invalid
13.0ms130×body128nan
8.0msbody2048valid
1.0msbody1024invalid
Compiler

Compiled 1733 to 1297 computations (25.2% saved)

Profiling

Loading profile data...