Details

Time bar (total: 8.4s)

sample522.0ms

Algorithm
intervals
Results
125.0ms53×body2560valid
61.0ms87×body1280valid
15.0ms54×body640valid
8.0ms36×body320valid
2.0ms17×body160valid
1.0msbody80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0135
1175
2195
3195

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

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

series169.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04721059
11737854
25001854

prune202.0ms

Filtered
119 candidates to 79 candidates (66.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh000
Picked011
Done000
Total1173120

Merged error: 0.0b

Counts
120 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
17.1b
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

rewrite2.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:
1.0ms
(fma 27/2800 (pow x 4) 1/2)
1.0ms
(fma 9/40 (pow x 2) (- (fma 27/2800 (pow x 4) 1/2)))

series124.0ms

Counts
2 → 6
Calls
2 calls:
81.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)))

simplify146.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
051133
1162117
2626117
33552117
45001117

prune56.0ms

Filtered
26 candidates to 20 candidates (76.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh011
Picked011
Done011
Total26329

Merged error: 0.0b

Counts
29 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan x))
1.3b
(- (* x x) (* (tan x) (tan x)))
1.3b
(- x (sin x))
16.0b
(/ (- x (sin x)) (- (* x x) (* (tan x) (tan x))))

rewrite26.0ms

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

series230.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (tan x) (tan x))
80.0ms
(- (* x x) (* (tan x) (tan x)))
29.0ms
(- x (sin x))
86.0ms
(/ (- x (sin x)) (- (* x x) (* (tan x) (tan x))))

simplify66.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05091200
121451040
250031031

prune246.0ms

Filtered
135 candidates to 94 candidates (69.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1350135
Fresh000
Picked011
Done022
Total1353138

Merged error: 0.0b

Counts
138 → 3

regimes47.0ms

Accuracy

100% (0.0b remaining)

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

bsearch80.0ms

Steps
ItersRangePoint
10
0.005370866090842012
4.21737757242384e+15
0.030633531225492793
10
-3.4402871636077537
-5.738045557766166e-18
-0.028549322719814054

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02510
12510

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.8s1592×body2560valid
1.6s2767×body1280valid
491.0ms1847×body640valid
171.0ms957×body320valid
59.0ms471×body160valid
27.0ms366×body80valid