Details

Time bar (total: 5.6s)

sample141.0ms

Algorithm
intervals
Results
72.0ms52×body2560valid
41.0ms89×body1280valid
14.0ms62×body640valid
4.0ms25×body320valid
2.0ms17×body160valid
1.0ms11×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1144
2164
3164

prune2.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: 31.4b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (- 1.0 (cos x)) (sin x))
2.2b
(- 1.0 (cos x))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip-- associate-/l/
sub-neg frac-2neg div-sub clear-num div-inv
Counts
2 → 10
Calls
2 calls:
4.0ms
(/ (- 1.0 (cos x)) (sin x))
2.0ms
(- 1.0 (cos x))

series62.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ (- 1.0 (cos x)) (sin x))
19.0ms
(- 1.0 (cos x))

simplify144.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
011876
130376
283476
3353575
4500175

prune50.0ms

Filtered
16 candidates to 11 candidates (68.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New9716
Fresh000
Picked011
Done000
Total9817

Merged error: 0.2b

Counts
17 → 8

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 1/240 (pow x 5))
0.1b
(* 1/24 (pow x 3))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
*-commutative sqr-pow
unpow3
Counts
2 → 5
Calls
2 calls:
2.0ms
(* 1/240 (pow x 5))
3.0ms
(* 1/24 (pow x 3))

series92.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(* 1/240 (pow x 5))
38.0ms
(* 1/24 (pow x 3))

simplify133.0ms

Algorithm
egg-herbie
Counts
11 → 11
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03418
17718
222618
382918
4434918
5500118

prune27.0ms

Filtered
11 candidates to 5 candidates (45.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New11011
Fresh066
Picked011
Done011
Total11819

Merged error: 0.2b

Counts
19 → 8

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1 (/ (sin x) (- 1.0 (cos x))))
0.2b
(/ (sin x) (- 1.0 (cos x)))
2.2b
(- 1.0 (cos x))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
clear-num
flip3-- frac-2neg associate-/r* flip-- div-inv
sub-neg remove-double-div inv-pow
Counts
3 → 20
Calls
3 calls:
4.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
4.0ms
(/ (sin x) (- 1.0 (cos x)))
2.0ms
(- 1.0 (cos x))

series100.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
36.0ms
(/ (sin x) (- 1.0 (cos x)))
24.0ms
(- 1.0 (cos x))

simplify62.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0137125
1435123
21758121
35001121

prune64.0ms

Filtered
29 candidates to 18 candidates (62.1%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New26329
Fresh055
Picked101
Done022
Total271037

Merged error: 0.2b

Counts
37 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (- 1.0 (cos x)))
0.1b
(/ 1 (sin x))
0.2b
(/ (/ 1 (sin x)) (/ 1 (- 1.0 (cos x))))
2.2b
(- 1.0 (cos x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/ div-inv
frac-2neg clear-num
flip3-- flip--
times-frac associate-/r* associate-/l/
inv-pow
sub-neg associate-/l*
Counts
4 → 30
Calls
4 calls:
3.0ms
(/ 1 (- 1.0 (cos x)))
2.0ms
(/ 1 (sin x))
5.0ms
(/ (/ 1 (sin x)) (/ 1 (- 1.0 (cos x))))
2.0ms
(- 1.0 (cos x))

series101.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1 (- 1.0 (cos x)))
19.0ms
(/ 1 (sin x))
36.0ms
(/ (/ 1 (sin x)) (/ 1 (- 1.0 (cos x))))
19.0ms
(- 1.0 (cos x))

simplify133.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0189188
1742176
23819175
35001175

prune64.0ms

Filtered
42 candidates to 24 candidates (57.1%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New38442
Fresh347
Picked011
Done022
Total411152

Merged error: 0.2b

Counts
52 → 11

regimes107.0ms

Accuracy

99.3% (0.2b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 31.7b

bsearch67.0ms

Steps
ItersRangePoint
9
2.5653698016906928e-06
357.20278190505735
0.0230298891429469
7
-0.6319501064166059
-0.005814372128176944
-0.02054167097202016

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03211
13211

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.1s1564×body2560valid
1.3s2838×body1280valid
441.0ms1870×body640valid
145.0ms931×body320valid
51.0ms464×body160valid
28.0ms332×body80valid
3.0msbody5120valid