Details

Time bar (total: 9.6s)

sample522.0ms

Algorithm
intervals
Results
117.0ms54×body2560valid
73.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

localize11.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))

rewrite48.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:
23.0ms
(/ (- x (sin x)) (- x (tan x)))
5.0ms
(- x (tan x))
9.0ms
(- x (sin x))

series161.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(/ (- x (sin x)) (- x (tan x)))
53.0ms
(- x (tan x))
38.0ms
(- x (sin x))

simplify150.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune210.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))))

rewrite113.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:
15.0ms
(/ (sin x) (- x (tan x)))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))
84.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series321.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (sin x) (- x (tan x)))
46.0ms
(- x (tan x))
50.0ms
(- x (tan x))
166.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify40.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune255.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)))))

rewrite40.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))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))
22.0ms
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

series342.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(- x (tan x))
54.0ms
(- x (tan x))
47.0ms
(- x (tan x))
194.0ms
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

simplify123.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 3 (114.0ms)

IterNodesCost
0335863
11141768
24949748
35001740

prune225.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize8.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))

rewrite41.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)))
5.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series147.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(/ (- x (sin x)) (- x (tan x)))
50.0ms
(- x (tan x))
28.0ms
(- x (sin x))

simplify152.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune180.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

100% (0.0b remaining)

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

bsearch86.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.4s

Algorithm
intervals
Results
3.3s1576×body2560valid
1.8s2801×body1280valid
643.0ms1898×body640valid
218.0ms930×body320valid
69.0ms466×body160valid
29.0ms329×body80valid