Details

Time bar (total: 9.8s)

sample525.0ms

Algorithm
intervals
Results
118.0ms54×body2560valid
74.0ms83×body1280valid
18.0ms58×body640valid
7.0ms32×body320valid
3.0ms18×body160valid
1.0ms11×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.2b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.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:
26.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series184.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(/ (- x (sin x)) (- x (tan x)))
61.0ms
(- x (tan x))
44.0ms
(- x (sin x))

simplify151.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune218.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.8b
(- x (tan x))
0.8b
(- x (tan x))
0.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

rewrite121.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:
16.0ms
(/ (sin x) (- x (tan x)))
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))
89.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (sin x) (- x (tan x)))
59.0ms
(- x (tan x))
56.0ms
(- x (tan x))
180.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune267.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.8b
(- x (tan x))
0.8b
(- x (tan x))
0.8b
(- x (tan x))
0.8b
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
12×add-log-exp
10×add-sqr-sqrt *-un-lft-identity associate-*r/ associate-*l/
frac-sub
frac-times
sub-div
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- difference-of-squares
distribute-lft-out--
Counts
4 → 69
Calls
4 calls:
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))
6.0ms
(- x (tan x))
24.0ms
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

series376.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(- x (tan x))
58.0ms
(- x (tan x))
52.0ms
(- x (tan x))
208.0ms
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

simplify121.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0335863
11141768
24949748
35001740

prune232.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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))
0.8b
(- x (/ (sin x) (cos x)))
0.8b
(- x (sin x))

rewrite77.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:
39.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
10.0ms
(/ (sin x) (cos x))
16.0ms
(- x (/ (sin x) (cos x)))
7.0ms
(- x (sin x))

series191.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (- x (sin x)) (- x (/ (sin x) (cos x))))
26.0ms
(/ (sin x) (cos x))
52.0ms
(- x (/ (sin x) (cos x)))
36.0ms
(- x (sin x))

simplify50.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04581225
115651175
250011173

prune292.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes35.0ms

Accuracy

100% (0.0b remaining)

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

bsearch90.0ms

Steps
ItersRangePoint
11
1.661404138935296e-22
2.5556453819330236
0.026711642772946572
9
-0.04331797882383785
-2.2082264187638084e-10
-0.026797644779880028

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03014
13014

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.3s1576×body2560valid
1.9s2801×body1280valid
638.0ms1898×body640valid
207.0ms930×body320valid
79.0ms466×body160valid
29.0ms329×body80valid