Details

Time bar (total: 9.9s)

sample472.0ms

Algorithm
intervals
Results
114.0ms50×body2560valid
58.0ms85×body1280valid
19.0ms53×body640valid
8.0ms37×body320valid
3.0ms19×body160valid
1.0ms12×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: 34.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite38.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 (tan x))
6.0ms
(- x (sin x))

series173.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune242.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

series126.0ms

Counts
2 → 6
Calls
2 calls:
83.0ms
(fma 27/2800 (pow x 4) 1/2)
44.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

prune71.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

2.0b
(- x (tan x))
2.0b
(- x (sin x))
2.0b
(- x (sin x))
2.0b
(- x (sin x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
36×prod-diff
32×add-cube-cbrt
12×fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
4 → 112
Calls
4 calls:
3.0ms
(- x (tan x))
3.0ms
(- x (sin x))
3.0ms
(- x (sin x))
4.0ms
(- x (sin x))

series145.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- x (tan x))
30.0ms
(- x (sin x))
30.0ms
(- x (sin x))
33.0ms
(- x (sin x))

simplify94.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0258969
1749605
23295569
35001401

prune250.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin x) 3)
2.0b
(- x (tan x))
2.0b
(- (pow x 3) (pow (sin x) 3))
16.8b
(/ (- (pow x 3) (pow (sin x) 3)) (* (fma x x (fma (sin x) (sin x) (* x (sin x)))) (- x (tan x))))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
165×add-sqr-sqrt
153×prod-diff
123×*-un-lft-identity
114×unpow-prod-down cube-prod
91×add-cube-cbrt
50×sqr-pow
49×difference-of-squares
26×cube-mult unpow3
25×times-frac associate-/l*
16×distribute-lft-out--
15×fma-neg
10×add-exp-log add-cbrt-cube
add-log-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
difference-cubes pow-unpow
cbrt-undiv sub-neg diff-log associate-*r/ div-exp associate-/r/ associate-/l/
pow-to-exp pow-pow frac-2neg div-sub pow-exp prod-exp clear-num associate-/r* cbrt-unprod div-inv rem-cube-cbrt
Counts
4 → 317
Calls
4 calls:
2.0ms
(pow (sin x) 3)
3.0ms
(- x (tan x))
21.0ms
(- (pow x 3) (pow (sin x) 3))
61.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (fma x x (fma (sin x) (sin x) (* x (sin x)))) (- x (tan x))))

series469.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (sin x) 3)
48.0ms
(- x (tan x))
98.0ms
(- (pow x 3) (pow (sin x) 3))
287.0ms
(/ (- (pow x 3) (pow (sin x) 3)) (* (fma x x (fma (sin x) (sin x) (* x (sin x)))) (- x (tan x))))

simplify148.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
08634164
136823059
250013050

prune495.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes57.0ms

Accuracy

100% (0.0b remaining)

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

bsearch85.0ms

Steps
ItersRangePoint
10
7.712829756242493e-08
8770343.893451896
0.028954196312268393
9
-1827977.1926269082
-0.00043085380315138777
-0.028975567409347768

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
12510

end0.0ms

sample6.6s

Algorithm
intervals
Results
3.6s1621×body2560valid
1.9s2664×body1280valid
669.0ms1932×body640valid
221.0ms938×body320valid
79.0ms472×body160valid
36.0ms373×body80valid