Details

Time bar (total: 8.2s)

sample469.0ms

Algorithm
intervals
Results
131.0ms64×body2560valid
49.0ms91×body1280valid
13.0ms50×body640valid
5.0ms26×body320valid
2.0ms15×body160valid
1.0ms10×body80valid

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: 33.5b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
sub-neg associate-/r/ associate-/l/
frac-2neg div-sub clear-num div-inv
Counts
3 → 16
Calls
3 calls:
4.0ms
(/ (- x (sin x)) (- x (tan x)))
2.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series189.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0208173
1666172
22154172
35001170

prune70.0ms

Filtered
25 candidates to 19 candidates (76.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New22325
Fresh000
Picked011
Done000
Total22426

Merged error: 0.1b

Counts
26 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
16.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
*-commutative associate--r+ sqr-pow
+-commutative sub-neg flip3-- flip-- unpow2
Counts
3 → 11
Calls
3 calls:
3.0ms
(* 27/2800 (pow x 4))
3.0ms
(* 9/40 (pow x 2))
6.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series110.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 27/2800 (pow x 4))
28.0ms
(* 9/40 (pow x 2))
46.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify84.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09992
138690
2170590
3500190

prune36.0ms

Filtered
20 candidates to 10 candidates (50.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New19120
Fresh022
Picked101
Done011
Total20424

Merged error: 0.1b

Counts
24 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.1b
(* 9/40 (pow x 2))
16.1b
(- (- (* 9/40 (pow x 2)) 1/2) (* 27/2800 (pow x 4)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
sub-neg associate--l+ *-commutative sqr-pow
associate--l- flip3-- flip-- unpow2
Counts
3 → 12
Calls
3 calls:
3.0ms
(* 27/2800 (pow x 4))
3.0ms
(* 9/40 (pow x 2))
6.0ms
(- (- (* 9/40 (pow x 2)) 1/2) (* 27/2800 (pow x 4)))

series110.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* 27/2800 (pow x 4))
25.0ms
(* 9/40 (pow x 2))
47.0ms
(- (- (* 9/40 (pow x 2)) 1/2) (* 27/2800 (pow x 4)))

simplify66.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
09395
130293
2143590
3500190

prune34.0ms

Filtered
21 candidates to 11 candidates (52.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New21021
Fresh022
Picked011
Done011
Total21425

Merged error: 0.1b

Counts
25 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan x))
0.8b
(- (* x x) (* (tan x) (tan x)))
0.9b
(- x (sin x))
15.0b
(/ (- (* x x) (* (tan x) (tan x))) (+ x (tan x)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
difference-of-squares
tan-quot associate-/l*
flip3-- flip--
sub-neg associate-/r/ associate-/l/
pow2 frac-times frac-2neg flip3-+ div-sub associate-*r/ associate-*l/ clear-num flip-+ div-inv
Counts
4 → 29
Calls
4 calls:
3.0ms
(* (tan x) (tan x))
4.0ms
(- (* x x) (* (tan x) (tan x)))
2.0ms
(- x (sin x))
7.0ms
(/ (- (* x x) (* (tan x) (tan x))) (+ x (tan x)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (tan x) (tan x))
85.0ms
(- (* x x) (* (tan x) (tan x)))
34.0ms
(- x (sin x))
146.0ms
(/ (- (* x x) (* (tan x) (tan x))) (+ x (tan x)))

simplify93.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0242242
1816236
22789228
35001227

prune80.0ms

Filtered
41 candidates to 25 candidates (61.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New40141
Fresh011
Picked101
Done022
Total41445

Merged error: 0.1b

Counts
45 → 4

regimes55.0ms

Accuracy

100% (0.0b remaining)

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

bsearch61.0ms

Steps
ItersRangePoint
6
0.018000635171863108
0.09117784756913819
0.027293184248221757
10
-1421.6155834850151
-1.485944467815708e-07
-0.026678702825547893

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02811
12811

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.9s1643×body2560valid
1.5s2762×body1280valid
476.0ms1826×body640valid
156.0ms912×body320valid
57.0ms483×body160valid
27.0ms374×body80valid