Details

Time bar (total: 0.0hr)

sample0.0hr

Algorithm
intervals
Results
0.0hr54×body2560valid
0.0hr55×body640valid
0.0hr32×body1280valid
0.0hr35×body320valid
0.0hr64×body80valid
0.0hr16×body160valid

simplify0.0hr

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
0134
1214
2264
3284
4284

prune0.0hr

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.8b

Counts
2 → 1

localize0.0hr

Local error

Found 2 expressions with local error:

2.0b
(- 1.0 (cos x))
15.0b
(/ (- 1.0 (cos x)) (* x x))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
add-exp-log add-cbrt-cube
times-frac associate-/l*
add-cube-cbrt add-log-exp
distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
2 → 42
Calls
2 calls:
0.0hr
(- 1.0 (cos x))
0.0hr
(/ (- 1.0 (cos x)) (* x x))

series0.0hr

Counts
2 → 6
Calls
2 calls:
0.0hr
(- 1.0 (cos x))
0.0hr
(/ (- 1.0 (cos x)) (* x x))

simplify0.0hr

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (0.0hr)

IterNodesCost
0221271
1735239
22396239
35002239

prune0.0hr

Filtered
48 candidates to 34 candidates (29.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New39948
Fresh000
Picked101
Done000
Total40949

Merged error: 0.1b

Counts
49 → 9

localize0.0hr

Local error

Found 3 expressions with local error:

0.1b
(/ (- 1.0 (cos x)) x)
0.1b
(* (/ 1 x) (/ (- 1.0 (cos x)) x))
2.0b
(- 1.0 (cos x))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
47×*-un-lft-identity
46×times-frac
29×add-cube-cbrt
27×add-exp-log
19×associate-*r*
17×add-cbrt-cube
13×associate-*l*
div-exp
prod-exp distribute-lft-out-- difference-of-squares
unswap-sqr
pow1 cbrt-undiv associate-/l* add-log-exp
cbrt-unprod
associate-/r* div-inv
rec-exp flip3-- 1-exp flip-- associate-/l/
frac-times sub-neg frac-2neg diff-log div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 114
Calls
3 calls:
0.0hr
(/ (- 1.0 (cos x)) x)
0.0hr
(* (/ 1 x) (/ (- 1.0 (cos x)) x))
0.0hr
(- 1.0 (cos x))

series0.0hr

Counts
3 → 9
Calls
3 calls:
0.0hr
(/ (- 1.0 (cos x)) x)
0.0hr
(* (/ 1 x) (/ (- 1.0 (cos x)) x))
0.0hr
(- 1.0 (cos x))

simplify0.0hr

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0521814
12334726
25003690

prune0.0hr

Filtered
123 candidates to 81 candidates (34.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1194123
Fresh358
Picked011
Done000
Total12210132

Merged error: 0.1b

Counts
132 → 10

localize0.0hr

Local error

Found 3 expressions with local error:

0.1b
(/ (cos x) x)
0.1b
(* (/ 1 x) (- (/ 1.0 x) (/ (cos x) x)))
2.1b
(- (/ 1.0 x) (/ (cos x) x))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
40×*-un-lft-identity times-frac
23×add-cube-cbrt
14×add-exp-log
13×associate-*l*
12×associate-*r*
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
div-inv
pow1 add-log-exp
frac-times associate-*r/ prod-exp
sub-neg flip3-- div-exp associate-/r* frac-sub flip-- associate-/l* sub-div unswap-sqr
cbrt-undiv distribute-rgt-in distribute-rgt-out-- distribute-lft-in cbrt-unprod
rec-exp frac-2neg diff-log 1-exp pow-prod-down associate-*l/ clear-num *-commutative
Counts
3 → 106
Calls
3 calls:
0.0hr
(/ (cos x) x)
0.0hr
(* (/ 1 x) (- (/ 1.0 x) (/ (cos x) x)))
0.0hr
(- (/ 1.0 x) (/ (cos x) x))

series0.0hr

Counts
3 → 9
Calls
3 calls:
0.0hr
(/ (cos x) x)
0.0hr
(* (/ 1 x) (- (/ 1.0 x) (/ (cos x) x)))
0.0hr
(- (/ 1.0 x) (/ (cos x) x))

simplify0.0hr

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0478762
12181681
25001665

prune0.0hr

Filtered
115 candidates to 86 candidates (25.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1123115
Fresh178
Picked101
Done011
Total11411125

Merged error: 0.1b

Counts
125 → 11

localize0.0hr

Local error

Found 4 expressions with local error:

0.2b
(/ (- (* 1.0 1.0) (* (cos x) (cos x))) (* x (+ 1.0 (cos x))))
0.3b
(* (cos x) (cos x))
0.5b
(+ 1.0 (cos x))
2.1b
(- (* 1.0 1.0) (* (cos x) (cos x)))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt
add-log-exp
times-frac associate-/l*
swap-sqr associate-*r* associate-*l* difference-of-squares
cbrt-undiv sqr-cos flip3-- flip3-+ associate-*r/ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative pow2 sub-neg frac-2neg pow-plus diff-log div-sub pow-prod-down clear-num associate-/r* sum-log pow-sqr cos-mult *-commutative pow-prod-up div-inv distribute-lft-out associate--r+ unswap-sqr
Counts
4 → 81
Calls
4 calls:
0.0hr
(/ (- (* 1.0 1.0) (* (cos x) (cos x))) (* x (+ 1.0 (cos x))))
0.0hr
(* (cos x) (cos x))
0.0hr
(+ 1.0 (cos x))
0.0hr
(- (* 1.0 1.0) (* (cos x) (cos x)))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(/ (- (* 1.0 1.0) (* (cos x) (cos x))) (* x (+ 1.0 (cos x))))
0.0hr
(* (cos x) (cos x))
0.0hr
(+ 1.0 (cos x))
0.0hr
(- (* 1.0 1.0) (* (cos x) (cos x)))

simplify0.0hr

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0425655
12057564
25001548

prune0.0hr

Filtered
93 candidates to 68 candidates (26.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New91293
Fresh369
Picked101
Done011
Total959104

Merged error: 0.1b

Counts
104 → 9

regimes0.0hr

Accuracy

99.5% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 30.8b

bsearch0.0hr

Steps
ItersRangePoint
9
0.00021166572504141735
1495.4209016812965
0.03236598160168138
10
-249197998.3190651
-3.6532051617239265e-06
-0.028342198228132068

simplify0.0hr

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
03411
13411

end0.0hr

sample0.0hr

Algorithm
intervals
Results
0.0hr1606×body2560valid
0.0hr1275×body1280valid
0.0hr1495×body640valid
0.0hr868×body320valid
0.0hr2290×body80valid
0.0hr466×body160valid

Profiling

Loading profile data...