Details

Time bar (total: 9.8s)

sample437.0ms

Algorithm
intervals
Results
89.0ms42×body2560valid
63.0ms88×body1280valid
21.0ms58×body640valid
10.0ms38×body320valid
3.0ms19×body160valid
1.0ms11×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.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:
26.0ms
(/ (- x (sin x)) (- x (tan x)))
18.0ms
(- x (tan x))
10.0ms
(- x (sin x))

series164.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune377.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (log1p (/ (- x (sin x)) (- x (tan x)))))
0.0b
(/ (- x (sin x)) (- x (tan x)))
1.6b
(- x (tan x))
1.6b
(- x (sin x))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt *-un-lft-identity
30×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log fma-neg add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv expm1-log1p frac-2neg div-sub div-exp clear-num div-inv expm1-udef
Counts
4 → 121
Calls
4 calls:
0.0ms
(expm1 (log1p (/ (- x (sin x)) (- x (tan x)))))
26.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series273.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(expm1 (log1p (/ (- x (sin x)) (- x (tan x)))))
74.0ms
(/ (- x (sin x)) (- x (tan x)))
46.0ms
(- x (tan x))
32.0ms
(- x (sin x))

simplify53.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04841189
11751973
25001973

prune461.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(log1p (fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2))))
0.0b
(expm1 (log1p (fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))))
0.3b
(fma 27/2800 (pow x 4) 1/2)
15.1b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite2.0ms

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

series336.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(log1p (fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2))))
130.0ms
(expm1 (log1p (fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))))
78.0ms
(fma 27/2800 (pow x 4) 1/2)
40.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

simplify73.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0204388
1642343
22489321
35002320

prune205.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.3b
(fma 27/2800 (pow x 4) 1/2)
15.1b
(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)))

series121.0ms

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

simplify141.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune98.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch100.0ms

Steps
ItersRangePoint
9
0.007285382865895221
15234496.061427226
0.02670032604590421
10
-569.2304264003914
-7.772245281701499e-10
-0.027558206962883136

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.5s1568×body2560valid
2.0s2848×body1280valid
681.0ms1862×body640valid
226.0ms928×body320valid
82.0ms459×body160valid
32.0ms335×body80valid