Details

Time bar (total: 9.6s)

sample450.0ms

Algorithm
intervals
Results
99.0ms47×body2560valid
63.0ms89×body1280valid
24.0ms66×body640valid
8.0ms31×body320valid
3.0ms15×body160valid
1.0msbody80valid

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: 30.6b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
13.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
19.0ms
(- x (tan x))

series179.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune240.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
90×add-sqr-sqrt *-un-lft-identity
50×times-frac
42×add-cube-cbrt
32×log-pow
31×exp-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
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 → 156
Calls
4 calls:
24.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (sin x))
3.0ms
(- x (tan x))

series239.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
77.0ms
(/ (- x (sin x)) (- x (tan x)))
35.0ms
(- x (sin x))
51.0ms
(- x (tan x))

simplify59.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05411431
118361207
250011207

prune380.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(pow (sin x) 2)
0.2b
(pow (cos x) 2)
14.5b
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
14.6b
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
91×add-exp-log
42×div-exp
37×pow-to-exp pow-exp
36×prod-exp
18×unpow-prod-down
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/l*
14×add-cbrt-cube
pow1 pow-unpow unpow2 sqr-pow
cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
pow-pow frac-2neg clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 144
Calls
4 calls:
1.0ms
(pow (sin x) 2)
1.0ms
(pow (cos x) 2)
7.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
7.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(pow (sin x) 2)
17.0ms
(pow (cos x) 2)
75.0ms
(/ (pow (sin x) 2) (* (pow x 2) (pow (cos x) 2)))
61.0ms
(/ (pow (sin x) 2) (* (pow x 2) (cos x)))

simplify57.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04341060
11839950
25002950

prune381.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma 27/2800 (pow x 4) 1/2)
15.8b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma 27/2800 (pow x 4) 1/2)
0.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series136.0ms

Counts
2 → 6
Calls
2 calls:
86.0ms
(fma 27/2800 (pow x 4) 1/2)
50.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify147.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune67.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes53.0ms

Accuracy

100% (0.0b remaining)

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

bsearch110.0ms

Steps
ItersRangePoint
10
4.8244160186105205e-08
257763.20554958374
0.029859806300954833
10
-772.3369502403921
-4.163765984402517e-10
-0.026495654945468235

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.6s1592×body2560valid
1.9s2794×body1280valid
690.0ms1883×body640valid
227.0ms956×body320valid
78.0ms440×body160valid
47.0ms335×body80valid