Details

Time bar (total: 9.5s)

analyze1.5s (15.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0100514
1100514
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample158.0ms (1.7%)

Algorithm
intervals
Results
99.0ms56×body2048valid
34.0ms106×body1024valid
9.0ms49×body512valid
2.0ms20×body256valid
2.0msbody4096valid
2.0ms23×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify84.0ms (0.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0100514
1100514

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.0b
Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
1.4b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 x (sin.f64 x))

rewrite24.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
25×times-frac_binary64
17×add-cube-cbrt_binary64
14×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
cancel-sign-sub-inv_binary64
associate-/r*_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64
cbrt-undiv_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
3 → 84
Calls

3 calls:

8.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
6.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))

series148.0ms (1.5%)

Counts
3 → 9
Calls

3 calls:

62.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
51.0ms
(-.f64 x (tan.f64 x))
34.0ms
(-.f64 x (sin.f64 x))

simplify81.0ms (0.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
061991847

prune82.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New90393
Fresh000
Picked101
Done000
Total91394
Error
0b
Counts
94 → 3
Compiler

Compiled 1642 to 348 computations (78.8% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.4b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 x (sin.f64 x))
1.4b
(-.f64 x (sin.f64 x))
1.4b
(-.f64 x (sin.f64 x))

rewrite26.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
12×add-log-exp_binary64 cancel-sign-sub-inv_binary64
add-cube-cbrt_binary64
sub-neg_binary64 pow1_binary64 flip3--_binary64 diff-log_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64
Counts
4 → 64
Calls

4 calls:

7.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (sin.f64 x))
4.0ms
(-.f64 x (tan.f64 x))

series105.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

44.0ms
(-.f64 x (tan.f64 x))
21.0ms
(-.f64 x (sin.f64 x))
20.0ms
(-.f64 x (sin.f64 x))
19.0ms
(-.f64 x (sin.f64 x))

simplify83.0ms (0.9%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
05121838

prune82.0ms (0.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76076
Fresh022
Picked011
Done000
Total76379
Error
0b
Counts
79 → 3
Compiler

Compiled 3052 to 368 computations (87.9% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 27/2800 (pow.f64 x 4))
0.1b
(*.f64 (*.f64 x x) 9/40)
17.3b
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))

rewrite25.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64
13×add-exp-log_binary64
10×associate-*r*_binary64 add-cbrt-cube_binary64
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
prod-exp_binary64
cbrt-unprod_binary64 associate-*l*_binary64 unswap-sqr_binary64 unpow-prod-down_binary64
pow-prod-down_binary64 cancel-sign-sub-inv_binary64
diff-log_binary64 sqr-pow_binary64 *-commutative_binary64
pow-to-exp_binary64 sub-neg_binary64 associate--r+_binary64 flip3--_binary64 flip--_binary64 pow-exp_binary64 sum-log_binary64
Counts
3 → 60
Calls

3 calls:

8.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
8.0ms
(*.f64 (*.f64 x x) 9/40)
5.0ms
(*.f64 27/2800 (pow.f64 x 4))

series73.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

29.0ms
(*.f64 27/2800 (pow.f64 x 4))
24.0ms
(-.f64 (*.f64 (*.f64 x x) 9/40) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
20.0ms
(*.f64 (*.f64 x x) 9/40)

simplify60.0ms (0.6%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05451873

prune67.0ms (0.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh011
Picked011
Done011
Total69372
Error
0b
Counts
72 → 3
Compiler

Compiled 1203 to 874 computations (27.3% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.4b
(pow.f64 (sin.f64 x) 3)
1.4b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))
35.3b
(/.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (+.f64 (*.f64 x x) (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))

rewrite70.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
163×add-sqr-sqrt_binary64
93×*-un-lft-identity_binary64
81×difference-of-squares_binary64
75×times-frac_binary64
66×unpow-prod-down_binary64 cube-prod_binary64
42×sqr-pow_binary64
41×add-cube-cbrt_binary64
26×distribute-lft-out--_binary64
25×associate-/l*_binary64
15×cancel-sign-sub-inv_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
difference-cubes_binary64 pow1_binary64
pow-unpow_binary64 associate-/r*_binary64 flip3--_binary64 flip--_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 associate-/r/_binary64 unpow3_binary64 cube-mult_binary64
pow-to-exp_binary64 flip3-+_binary64 cbrt-undiv_binary64 pow-pow_binary64 div-sub_binary64 clear-num_binary64 rem-cube-cbrt_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 flip-+_binary64 pow-exp_binary64
Counts
4 → 204
Calls

4 calls:

24.0ms
(/.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (+.f64 (*.f64 x x) (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))
13.0ms
(-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))
3.0ms
(-.f64 x (tan.f64 x))
3.0ms
(pow.f64 (sin.f64 x) 3)

series295.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

150.0ms
(/.f64 (-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3)) (+.f64 (*.f64 x x) (*.f64 (sin.f64 x) (+.f64 x (sin.f64 x)))))
75.0ms
(-.f64 (pow.f64 x 3) (pow.f64 (sin.f64 x) 3))
46.0ms
(-.f64 x (tan.f64 x))
24.0ms
(pow.f64 (sin.f64 x) 3)

simplify121.0ms (1.3%)

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050707825

prune282.0ms (3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2160216
Fresh000
Picked011
Done022
Total2163219
Error
0b
Counts
219 → 3
Compiler

Compiled 8052 to 2442 computations (69.7% saved)

regimes106.0ms (1.1%)

Accuracy

Total 0.0b remaining (35.5%)

Threshold costs 0.0b (35.5%)

Compiler

Compiled 764 to 446 computations (41.6% saved)

bsearch43.0ms (0.5%)

Steps
ItersRangePoint
8
2.2900845801433365e-05
1.341509008556866
0.024311694521294346
9
-49360.342972140534
-0.0018318253591990102
-0.02731826339141937
Compiler

Compiled 1 to 1 computations (0% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08763
18763

end0.0ms (0%)

sample6.0s (62.6%)

Algorithm
intervals
Results
3.9s2027×body2048valid
1.0s3051×body1024valid
285.0ms1482×body512valid
107.0ms106×body4096valid
90.0ms721×body256valid
46.0ms613×body128valid
Compiler

Compiled 404 to 235 computations (41.8% saved)

Profiling

Loading profile data...