Details

Time bar (total: 5.4s)

analyze4.0s

Algorithm
search
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0.219727%

sample246.0ms

Algorithm
intervals
Results
147.0ms49×body2560valid
64.0ms90×body1280valid
16.0ms58×body640valid
6.0ms35×body320valid
2.0ms16×body160valid
1.0msbody80valid

simplify388.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.1b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.9b
(- x (tan x))
1.9b
(- x (sin x))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
7.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series37.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(- x (tan x))
13.0ms
(- x (sin x))

simplify148.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148684
24781684
35001684

prune96.0ms

Filtered
63 candidates to 89 candidates (-41.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh000
Picked101
Done000
Total88290

Merged error: 0b

Counts
90 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 27/2800 (pow x 4)) 1/2)
0.1b
(* 9/40 (pow x 2))
0.3b
(* 27/2800 (pow x 4))
14.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×associate-*r*
14×add-exp-log
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod unpow2
+-commutative sub-neg flip3-- flip3-+ flip-- flip-+ associate--r+
Counts
4 → 77
Calls
4 calls:
4.0ms
(+ (* 27/2800 (pow x 4)) 1/2)
5.0ms
(* 9/40 (pow x 2))
5.0ms
(* 27/2800 (pow x 4))
7.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series22.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 27/2800 (pow x 4)) 1/2)
3.0ms
(* 9/40 (pow x 2))
4.0ms
(* 27/2800 (pow x 4))
5.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0316412
11299379
25001374

prune119.0ms

Filtered
56 candidates to 89 candidates (-58.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done000
Total89291

Merged error: 0b

Counts
91 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
0.1b
(/ (sin x) (cos x))
1.9b
(- x (/ (sin x) (cos x)))
1.9b
(- x (sin x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
55×*-un-lft-identity
46×times-frac
25×add-cube-cbrt
22×difference-of-squares
15×distribute-lft-out--
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num associate-/r/ div-inv associate-/l/
quot-tan div-sub
Counts
4 → 115
Calls
4 calls:
10.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
4.0ms
(/ (sin x) (cos x))
6.0ms
(- x (/ (sin x) (cos x)))
3.0ms
(- x (sin x))

series33.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
6.0ms
(/ (sin x) (cos x))
9.0ms
(- x (/ (sin x) (cos x)))
5.0ms
(- x (sin x))

simplify48.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04581225
115651174
250011172

prune97.0ms

Filtered
91 candidates to 127 candidates (-39.6%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1270127
Fresh000
Picked011
Done011
Total1272129

Merged error: 0b

Counts
129 → 2

regimes37.0ms

bsearch1.0ms

Profiling

Loading profile data...