Details

Time bar (total: 9.7s)

sample450.0ms

Algorithm
intervals
Results
101.0ms41×body2560valid
60.0ms90×body1280valid
14.0ms53×body640valid
5.0ms31×body320valid
3.0ms24×body160valid
1.0ms17×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 27.4b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
2.4b
(- x (tan x))
2.5b
(- x (sin x))

rewrite39.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:
8.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series179.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(/ (- x (sin x)) (- x (tan x)))
59.0ms
(- x (tan x))
42.0ms
(- x (sin x))

simplify154.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune200.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New86389
Fresh000
Picked101
Done000
Total87390

Merged error: 0b

Counts
90 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
2.1b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.4b
(- x (tan x))
2.4b
(- x (tan x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
6.0ms
(/ (sin x) (- x (tan x)))
28.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
6.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series344.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (sin x) (- x (tan x)))
182.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
51.0ms
(- x (tan x))
54.0ms
(- x (tan x))

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0376909
11205872
25001872

prune231.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done000
Total1063109

Merged error: 0b

Counts
109 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* 27/2800 (pow x 4))
0.3b
(* 9/40 (pow x 2))
16.3b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite24.0ms

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

series113.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* 27/2800 (pow x 4))
25.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify43.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0273349
11123318
25001315

prune137.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh011
Picked011
Done011
Total75378

Merged error: 0b

Counts
78 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (tan x) 3)
2.4b
(- (pow x 3) (pow (tan x) 3))
2.5b
(- x (sin x))
33.7b
(/ (- (pow x 3) (pow (tan x) 3)) (+ (* (tan x) (+ (tan x) x)) (pow x 2)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
159×add-sqr-sqrt
89×*-un-lft-identity
81×difference-of-squares
75×times-frac
63×unpow-prod-down cube-prod
41×sqr-pow
37×add-cube-cbrt
26×distribute-lft-out--
25×associate-/l*
add-log-exp
add-exp-log add-cbrt-cube
pow1 difference-cubes
pow-unpow flip3-- associate-/r* flip--
sub-neg diff-log associate-/r/ associate-/l/
tan-quot cbrt-undiv cube-div cube-mult pow-to-exp pow-pow frac-2neg flip3-+ unpow3 div-sub div-exp pow-exp clear-num flip-+ div-inv rem-cube-cbrt
Counts
4 → 192
Calls
4 calls:
3.0ms
(pow (tan x) 3)
12.0ms
(- (pow x 3) (pow (tan x) 3))
4.0ms
(- x (sin x))
25.0ms
(/ (- (pow x 3) (pow (tan x) 3)) (+ (* (tan x) (+ (tan x) x)) (pow x 2)))

series471.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(pow (tan x) 3)
127.0ms
(- (pow x 3) (pow (tan x) 3))
32.0ms
(- x (sin x))
260.0ms
(/ (- (pow x 3) (pow (tan x) 3)) (+ (* (tan x) (+ (tan x) x)) (pow x 2)))

simplify99.0ms

Algorithm
egg-herbie
Counts
204 → 204
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06252980
126042912
250022833

prune466.0ms

Filtered
204 candidates to 106 candidates (52.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh000
Picked011
Done022
Total2043207

Merged error: 0b

Counts
207 → 3

regimes31.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 31.4b

bsearch84.0ms

Steps
ItersRangePoint
10
0.00022027325057658872
62623256.830634765
0.027715773861404648
9
-17.831791951177678
-3.7534567552478157e-06
-0.027340075628349603

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.9s1626×body2560valid
1.6s2738×body1280valid
503.0ms1868×body640valid
179.0ms980×body320valid
58.0ms471×body160valid
29.0ms317×body80valid

Profiling

Loading profile data...