Details

Time bar (total: 4.8s)

sample271.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
48.0ms114×body1280valid
18.0ms21×body2560valid
13.0ms63×body640valid
3.0ms19×body320valid
2.0ms37×body80valid
0.0msbody160valid

simplify4.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: 35.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (tan (+ x eps)) (tan x))
3.8b
(tan (+ x eps))

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

series39.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (21.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune64.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: 15.0b

Counts
32 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1 (* (tan x) (tan eps)))
0.1b
(+ (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
0.9b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite25.0ms

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

series165.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(- 1 (* (tan x) (tan eps)))
20.0ms
(+ (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
97.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify121.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0343662
11170624
24756614
35001614

prune128.0ms

Filtered
56 candidates to 74 candidates (-32.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New65974
Fresh347
Picked101
Done000
Total691382

Merged error: 14.9b

Counts
82 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

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

series156.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(+ (tan x) (tan eps))
22.0ms
(/ (* (tan x) (sin eps)) (cos eps))
15.0ms
(* (tan x) (sin eps))
99.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0385785
11424711
25001699

prune116.0ms

Filtered
61 candidates to 82 candidates (-34.4%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh01212
Picked011
Done000
Total821395

Merged error: 14.9b

Counts
95 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (pow (- 1 (* (tan x) (tan eps))) 3))
0.2b
(pow (- 1 (* (tan x) (tan eps))) 3)
0.3b
(* (tan x) (tan eps))
0.9b
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
16×cbrt-prod
14×*-un-lft-identity
12×add-cube-cbrt
pow1 add-exp-log unpow-prod-down cube-prod add-cbrt-cube
add-log-exp difference-of-squares
tan-quot times-frac
cube-div
pow-unpow flip3-- associate-*r* associate-*l* flip-- sqr-pow
cube-mult cbrt-div unpow3
frac-times pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ pow-prod-down associate-*l/ pow-exp prod-exp *-commutative frac-sub rem-cbrt-cube cbrt-unprod distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 89
Calls
4 calls:
3.0ms
(cbrt (pow (- 1 (* (tan x) (tan eps))) 3))
4.0ms
(pow (- 1 (* (tan x) (tan eps))) 3)
5.0ms
(* (tan x) (tan eps))
27.0ms
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

series183.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(cbrt (pow (- 1 (* (tan x) (tan eps))) 3))
37.0ms
(pow (- 1 (* (tan x) (tan eps))) 3)
23.0ms
(* (tan x) (tan eps))
98.0ms
(- (/ (+ (tan x) (tan eps)) (cbrt (pow (- 1 (* (tan x) (tan eps))) 3))) (tan x))

simplify57.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04111066
116441001
25001989

prune113.0ms

Filtered
63 candidates to 101 candidates (-60.3%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New992101
Fresh11011
Picked011
Done011
Total10014114

Merged error: 14.9b

Counts
114 → 14

regimes200.0ms

Accuracy

88.8% (0.8b remaining)

Error of 15.6b against oracle of 14.8b and baseline of 22.0b

bsearch76.0ms

Steps
ItersRangePoint
8
2.204477728256459e-48
4.345194051043022e-45
1.6277682026229048e-45
9
-1.7456715723823598e-53
-4.089749456738131e-62
-3.0916808970742654e-54

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03416
13416

end0.0ms

sample2.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 0%

Results
1.3s3284×body1280valid
573.0ms660×body2560valid
380.0ms1778×body640valid
114.0ms766×body320valid
56.0ms1139×body80valid
36.0ms373×body160valid

Profiling

Loading profile data...