Details

Time bar (total: 8.0s)

sample492.0ms

Algorithm
intervals
Results
146.0ms52×body2560valid
62.0ms89×body1280valid
16.0ms62×body640valid
4.0ms25×body320valid
2.0ms17×body160valid
1.0ms11×body80valid

simplify10.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: 32.8b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.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))
4.0ms
(- x (sin x))

series187.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(/ (- x (sin x)) (- x (tan x)))
52.0ms
(- x (tan x))
55.0ms
(- x (sin x))

simplify61.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0208173
1666172
22154172
35001170

prune79.0ms

Filtered
25 candidates to 19 candidates (76.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New21425
Fresh000
Picked101
Done000
Total22426

Merged error: 0.0b

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))
15.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

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

series109.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 27/2800 (pow x 4))
29.0ms
(* 9/40 (pow x 2))
44.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify83.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09992
138690
2170590
3500190

prune42.0ms

Filtered
20 candidates to 10 candidates (50.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New19120
Fresh033
Picked101
Done000
Total20424

Merged error: 0.0b

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))
15.8b
(- (- (* 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)))

series105.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 27/2800 (pow x 4))
23.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 (11.0ms)

IterNodesCost
09395
130293
2143590
3500190

prune43.0ms

Filtered
21 candidates to 11 candidates (52.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New21021
Fresh033
Picked011
Done000
Total21425

Merged error: 0.0b

Counts
25 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.9b
(- x (tan x))
1.9b
(- x (tan x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
frac-2neg frac-sub
clear-num
flip3-- associate-/r/ flip--
sub-neg distribute-rgt-out-- div-inv
sub-div
Counts
4 → 31
Calls
4 calls:
3.0ms
(/ (sin x) (- x (tan x)))
7.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
2.0ms
(- x (tan x))
2.0ms
(- x (tan x))

series346.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(/ (sin x) (- x (tan x)))
178.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
55.0ms
(- x (tan x))
52.0ms
(- x (tan x))

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0332441
11211414
25001411

prune98.0ms

Filtered
43 candidates to 34 candidates (79.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New41243
Fresh202
Picked011
Done011
Total43447

Merged error: 0.0b

Counts
47 → 4

regimes34.0ms

Accuracy

100% (0.0b remaining)

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

bsearch67.0ms

Steps
ItersRangePoint
9
2.5653698016906928e-06
357.20278190505735
0.02550642089016014
7
-0.6319501064166059
-0.005814372128176944
-0.030466604001346206

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02914
12914

end0.0ms

sample6.1s

Algorithm
intervals
Results
3.6s1573×body2560valid
1.6s2832×body1280valid
454.0ms1870×body640valid
144.0ms926×body320valid
53.0ms471×body160valid
22.0ms328×body80valid