Details

Time bar (total: 6.1s)

sample173.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
88.0ms59×body2560valid
42.0ms88×body1280valid
15.0ms59×body640valid
5.0ms31×body320valid
2.0ms14×body160valid
0.0msbody80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1144
2164
3164

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.3b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
15×times-frac
12×add-cube-cbrt
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube add-log-exp
associate-/r*
pow1 flip3-- flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(/ (- 1.0 (cos x)) (sin x))
3.0ms
(- 1.0 (cos x))

series12.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0233396
1673373
22640373
35002373

prune136.0ms

Filtered
42 candidates to 58 candidates (-38.1%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New431558
Fresh000
Picked101
Done000
Total441559

Merged error: 0.1b

Counts
59 → 15

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
cube-prod sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult associate-+r+ flip3-+ unpow3 flip-+
Counts
3 → 69
Calls
3 calls:
7.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
5.0ms
(* 1/240 (pow x 5))
6.0ms
(* 1/24 (pow x 3))

series13.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
4.0ms
(* 1/240 (pow x 5))
4.0ms
(* 1/24 (pow x 3))

simplify45.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301375
11301346
25002346

prune158.0ms

Filtered
49 candidates to 78 candidates (-59.2%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New77178
Fresh01414
Picked011
Done000
Total771693

Merged error: 0.1b

Counts
93 → 16

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
cube-prod sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult flip3-+ unpow3 sum-log flip-+
Counts
3 → 67
Calls
3 calls:
5.0ms
(+ (* 1/24 (pow x 3)) (* 1/240 (pow x 5)))
5.0ms
(* 1/240 (pow x 5))
6.0ms
(* 1/24 (pow x 3))

series19.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (* 1/24 (pow x 3)) (* 1/240 (pow x 5)))
4.0ms
(* 1/240 (pow x 5))
4.0ms
(* 1/24 (pow x 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0268317
11130291
25001290

prune150.0ms

Filtered
48 candidates to 76 candidates (-58.3%)
Pruning

16 alts after pruning (14 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh01414
Picked011
Done011
Total761692

Merged error: 0.1b

Counts
92 → 16

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- 1.0 (cos x)) (sin x))
0.3b
(exp (/ (- 1.0 (cos x)) (sin x)))
1.8b
(log (exp (/ (- 1.0 (cos x)) (sin x))))
2.5b
(- 1.0 (cos x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt *-un-lft-identity
45×times-frac
38×exp-prod
33×add-cube-cbrt
20×log-pow
11×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-/l*
log-prod div-sub associate-/r* div-inv
flip3-- exp-diff flip-- associate-/l/
cbrt-undiv sub-neg log-div frac-2neg diff-log div-exp rem-log-exp clear-num rem-exp-log
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ (- 1.0 (cos x)) (sin x))
6.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
7.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
4.0ms
(- 1.0 (cos x))

series29.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (- 1.0 (cos x)) (sin x))
11.0ms
(exp (/ (- 1.0 (cos x)) (sin x)))
7.0ms
(log (exp (/ (- 1.0 (cos x)) (sin x))))
3.0ms
(- 1.0 (cos x))

simplify90.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0303818
1799768
22970766
35001766

prune153.0ms

Filtered
88 candidates to 124 candidates (-40.9%)
Pruning

18 alts after pruning (15 fresh and 3 done)

PrunedKeptTotal
New1204124
Fresh21113
Picked011
Done022
Total12218140

Merged error: 0.1b

Counts
140 → 18

regimes258.0ms

Accuracy

99% (0.3b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
10
0.00031157581617804726
8049369413.927381
0.020441533641405874
9
-4028446.8497976456
-0.0065084385888304844
-0.023799241057146897

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03718
13718

end0.0ms

sample4.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
2.3s1594×body2560valid
1.4s2708×body1280valid
490.0ms1912×body640valid
170.0ms973×body320valid
61.0ms491×body160valid
34.0ms320×body80valid
8.0msbody5120valid

Profiling

Loading profile data...