Details

Time bar (total: 10.5s)

sample434.0ms

Algorithm
intervals
Results
83.0ms41×body2560valid
63.0ms99×body1280valid
17.0ms52×body640valid
7.0ms30×body320valid
3.0ms17×body160valid
1.0ms17×body80valid

simplify11.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: 29.5b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.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:
22.0ms
(/ (- x (sin x)) (- x (tan x)))
4.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series176.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(/ (- x (sin x)) (- x (tan x)))
58.0ms
(- x (tan x))
41.0ms
(- x (sin x))

simplify55.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune254.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
1.0b
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
2.2b
(- x (sin x))
26.9b
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
15×times-frac
prod-diff
add-exp-log add-cbrt-cube add-log-exp
associate-/l* distribute-lft-out-- difference-of-squares
pow1 expm1-log1p-u log1p-expm1-u
cbrt-prod fma-neg associate-/r*
flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg pow1/3 diff-log div-sub div-exp clear-num fma-udef div-inv
Counts
4 → 91
Calls
4 calls:
1.0ms
(cbrt x)
7.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
4.0ms
(- x (sin x))
1.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

series1.0s

Counts
4 → 12
Calls
4 calls:
174.0ms
(cbrt x)
501.0ms
(/ (- x (sin x)) (fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x))))
33.0ms
(- x (sin x))
325.0ms
(fma (* (cbrt x) (cbrt x)) (cbrt x) (- (tan x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03421106
11187942
25001897

prune274.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
0.0b
(pow (/ (- x (sin x)) (- x (tan x))) 3)
2.2b
(- x (tan x))
2.2b
(- x (sin x))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
148×add-sqr-sqrt *-un-lft-identity
100×times-frac
68×cbrt-prod
64×add-cube-cbrt
62×unpow-prod-down cube-prod
42×distribute-lft-out-- difference-of-squares
18×prod-diff
associate-/r/ add-log-exp
add-exp-log add-cbrt-cube
flip3-- fma-neg flip--
pow1
expm1-log1p-u log1p-expm1-u div-inv
pow-unpow
cube-div cube-mult sub-neg diff-log unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp cbrt-div pow-pow pow1/3 div-exp rem-cbrt-cube
Counts
4 → 220
Calls
4 calls:
13.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
11.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
4.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series265.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(cbrt (pow (/ (- x (sin x)) (- x (tan x))) 3))
100.0ms
(pow (/ (- x (sin x)) (- x (tan x))) 3)
49.0ms
(- x (tan x))
35.0ms
(- x (sin x))

simplify101.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
08532551
136242259
250012239

prune373.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize12.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)))))
2.2b
(- x (tan x))
2.2b
(- x (sin x))

rewrite36.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:
9.0ms
(/ (- x (sin x)) (- x (tan x)))
11.0ms
(log (exp (/ (- x (sin x)) (- x (tan x)))))
4.0ms
(- x (tan x))
4.0ms
(- x (sin x))

series240.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
05411431
118361207
250011207

prune383.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes79.0ms

Accuracy

100% (0.0b remaining)

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

bsearch69.0ms

Steps
ItersRangePoint
10
9.558161037350472e-13
0.8818080259852756
0.027208711435501284
5
-0.041603525395973645
-0.015510049556855336
-0.026896790136361697

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02719

end0.0ms

sample6.4s

Algorithm
intervals
Results
3.5s1588×body2560valid
1.9s2762×body1280valid
611.0ms1826×body640valid
210.0ms945×body320valid
77.0ms509×body160valid
40.0ms370×body80valid