Details

Time bar (total: 9.9s)

sample448.0ms

Algorithm
intervals
Results
97.0ms48×body2560valid
71.0ms101×body1280valid
18.0ms51×body640valid
7.0ms30×body320valid
3.0ms16×body160valid
1.0ms10×body80valid

simplify10.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

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize29.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.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:
11.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
6.0ms
(- x (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
77.0ms
(/ (- x (sin x)) (- x (tan x)))
60.0ms
(- x (tan x))
39.0ms
(- x (sin x))

simplify147.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0363718
11148685
24795685
35001685

prune206.0ms

Filtered
89 candidates to 63 candidates (70.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
0.0b
(log (exp (/ (- x (sin x)) (- x (tan x)))))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt *-un-lft-identity
50×times-frac
32×log-pow
31×exp-prod
28×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
log-prod
sub-neg diff-log div-sub div-inv associate-/l/
cbrt-undiv log-div frac-2neg exp-diff div-exp rem-log-exp clear-num
Counts
4 → 124
Calls
4 calls:
11.0ms
(/ (- x (sin x)) (- x (tan x)))
21.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
2.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series235.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
77.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
48.0ms
(- x (tan x))
34.0ms
(- x (sin x))

simplify41.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
04301079
112471027
250011027

prune312.0ms

Filtered
136 candidates to 95 candidates (69.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.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:
8.0ms
(/ (sin x) (- x (tan x)))
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))
49.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

series340.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ (sin x) (- x (tan x)))
48.0ms
(- x (tan x))
54.0ms
(- x (tan x))
177.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0376909
11205872
25001872

prune238.0ms

Filtered
106 candidates to 80 candidates (75.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))
11.0ms
(- (* (/ x (- x (tan x))) (/ x (- x (tan x)))) (* (/ (sin x) (- x (tan x))) (/ (sin x) (- x (tan x)))))

series349.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0335863
11141768
24949748
35001748

prune200.0ms

Filtered
81 candidates to 58 candidates (71.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

100% (0.0b remaining)

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

bsearch75.0ms

Steps
ItersRangePoint
9
0.0004320794088804456
4086.0217424804537
0.027107762548292866
7
-0.37949367736095085
-0.007251023403816859
-0.025053611726062623

simplify9.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04761
15161
25461
35461

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.5s1598×body2560valid
2.0s2865×body1280valid
636.0ms1818×body640valid
217.0ms925×body320valid
75.0ms452×body160valid
33.0ms342×body80valid