Details

Time bar (total: 25.0s)

sample10.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.993896%

Results
42.0ms106×body1280valid
16.0ms19×body2560valid
12.0ms55×body640valid
3.0ms22×body320valid
2.0ms46×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (tan (+ x eps)) (tan x))
2.9b
(tan (+ x eps))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt tan-sum frac-sub add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 25
Calls
2 calls:
6.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series42.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(- (tan (+ x eps)) (tan x))
15.0ms
(tan (+ x eps))

simplify78.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune60.0ms

Filtered
25 candidates to 31 candidates (-24.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 11.8b

Counts
32 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan eps)))
0.1b
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
2.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
add-exp-log add-cbrt-cube add-log-exp
tan-quot
pow1
distribute-lft-out associate-/l*
flip3-- associate-*r* associate-*l* associate-/r* flip-- associate-/l/
sub-neg diff-log associate-/r/ difference-of-squares
cbrt-undiv frac-times frac-2neg flip3-+ associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod flip-+ div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 85
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
7.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series200.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- 1 (* (tan x) (tan eps)))
53.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
23.0ms
(* (tan x) (tan eps))
98.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04011066
115321014
250011003

prune176.0ms

Filtered
72 candidates to 97 candidates (-34.7%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New821597
Fresh527
Picked101
Done000
Total8817105

Merged error: 11.7b

Counts
105 → 17

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
0.2b
(/ (* (sin x) (tan eps)) (cos x))
0.3b
(* (sin x) (tan eps))
2.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
42×add-sqr-sqrt
28×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
12×difference-of-squares
associate-/r*
distribute-lft-out
pow1 distribute-lft-out-- add-log-exp
tan-quot associate-/l*
associate-/l/
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg associate-*r/ prod-exp clear-num associate-/r/ flip-- cbrt-unprod div-inv
sub-neg flip3-+ diff-log pow-prod-down frac-add *-commutative frac-sub flip-+ unswap-sqr
Counts
4 → 108
Calls
4 calls:
10.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
7.0ms
(/ (* (sin x) (tan eps)) (cos x))
5.0ms
(* (sin x) (tan eps))
16.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

series195.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x))))
22.0ms
(/ (* (sin x) (tan eps)) (cos x))
16.0ms
(* (sin x) (tan eps))
100.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (sin x) (tan eps)) (cos x)))) (tan x))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05001557
119451465
250011463

prune159.0ms

Filtered
82 candidates to 120 candidates (-46.3%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh11516
Picked101
Done000
Total12017137

Merged error: 11.7b

Counts
137 → 17

localize24.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (sin eps))
0.2b
(/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps))))
0.2b
(* (tan x) (tan eps))
5.1b
(- (/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps)))) (tan x))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt
pow1
associate-*r* associate-*l* add-log-exp
tan-quot prod-exp associate-/r/ cbrt-unprod
cbrt-undiv frac-times flip3-- times-frac div-exp associate-*l/ cos-mult flip-- associate-/l*
associate-*r/ pow-prod-down *-commutative associate-/l/ unswap-sqr
sub-neg frac-2neg flip3-+ diff-log clear-num associate-/r* frac-sub flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 84
Calls
4 calls:
4.0ms
(* (cos x) (sin eps))
14.0ms
(/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps))))
5.0ms
(* (tan x) (tan eps))
14.0ms
(- (/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps)))) (tan x))

series197.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (cos x) (sin eps))
68.0ms
(/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps))))
21.0ms
(* (tan x) (tan eps))
99.0ms
(- (/ (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (* (- 1 (* (tan x) (tan eps))) (* (cos x) (cos eps)))) (tan x))

simplify70.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05861415
125351261
250011261

prune98.0ms

Filtered
70 candidates to 96 candidates (-37.1%)
Pruning

21 alts after pruning (21 fresh and 0 done)

PrunedKeptTotal
New851196
Fresh61016
Picked101
Done000
Total9221113

Merged error: 11.6b

Counts
113 → 21

regimes285.0ms

Accuracy

87.3% (1.0b remaining)

Error of 16.0b against oracle of 15.1b and baseline of 22.7b

bsearch98.0ms

Steps
ItersRangePoint
10
3.051267008860385e-20
1.97186230971332e-10
8.9070814780451e-18
7
-2.16426469178295e-60
-6.725490013111577e-62
-2.1399087419179173e-60

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05242
15242

end0.0ms

sample12.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.993896%

Results
1.3s3353×body1280valid
557.0ms681×body2560valid
363.0ms1762×body640valid
108.0ms800×body320valid
44.0ms1064×body80valid
31.0ms340×body160valid

Profiling

Loading profile data...