Details

Time bar (total: 10.0s)

sample486.0ms

Algorithm
intervals
Results
127.0ms53×body2560valid
62.0ms76×body1280valid
28.0ms68×body640valid
9.0ms31×body320valid
3.0ms16×body160valid
1.0ms12×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: 34.1b

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

rewrite27.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:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
7.0ms
(- x (sin x))

series172.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04721059
11737854
25001854

prune242.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

series125.0ms

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

simplify144.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune72.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
(expm1 (log1p (/ (- x (sin x)) (- x (tan x)))))
0.0b
(/ (- x (sin x)) (- x (tan x)))
1.7b
(- x (tan x))
1.7b
(- x (sin x))

rewrite26.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)))))
15.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
3.0ms
(- x (sin x))

series273.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(expm1 (log1p (/ (- x (sin x)) (- x (tan x)))))
73.0ms
(/ (- x (sin x)) (- x (tan x)))
50.0ms
(- x (tan x))
30.0ms
(- x (sin x))

simplify52.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04841189
11751973
25001973

prune309.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sin x) (sin x))
1.7b
(- (* x x) (* (sin x) (sin x)))
1.7b
(- x (tan x))
15.1b
(/ (- (* x x) (* (sin x) (sin x))) (* (- x (tan x)) (+ x (sin x))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity
17×add-cube-cbrt
11×pow1 add-exp-log add-cbrt-cube
10×prod-diff
associate-/r/ add-log-exp
flip3-- flip--
expm1-log1p-u frac-times times-frac fma-neg log1p-expm1-u associate-/l* difference-of-squares
flip3-+ swap-sqr associate-*r* associate-*l* flip-+
cbrt-undiv sub-neg diff-log associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod sqr-sin associate-/l/
pow2 frac-2neg pow-plus div-sub pow-prod-down clear-num associate-/r* pow-sqr *-commutative pow-prod-up div-inv sin-mult distribute-lft-out-- associate--r- unswap-sqr
Counts
4 → 111
Calls
4 calls:
4.0ms
(* (sin x) (sin x))
3.0ms
(- (* x x) (* (sin x) (sin x)))
3.0ms
(- x (tan x))
16.0ms
(/ (- (* x x) (* (sin x) (sin x))) (* (- x (tan x)) (+ x (sin x))))

series275.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (sin x) (sin x))
65.0ms
(- (* x x) (* (sin x) (sin x)))
48.0ms
(- x (tan x))
144.0ms
(/ (- (* x x) (* (sin x) (sin x))) (* (- x (tan x)) (+ x (sin x))))

simplify80.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06381099
13208889
25001883

prune290.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

regimes53.0ms

Accuracy

100% (0.0b remaining)

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

bsearch89.0ms

Steps
ItersRangePoint
10
2.1112891761060846e-05
363928.4733812492
0.02907288472896622
8
-0.10438916540540782
-0.00034188071245303247
-0.027819204802016273

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample7.1s

Algorithm
intervals
Results
3.7s1602×body2560valid
2.1s2770×body1280valid
764.0ms1859×body640valid
261.0ms919×body320valid
112.0ms495×body160valid
40.0ms355×body80valid