Details

Time bar (total: 10.8s)

sample3.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 0%

Guaranteed chance to sample good point: 24.993896%

Results
42.0ms107×body1280valid
18.0ms20×body2560valid
14.0ms62×body640valid
3.0ms24×body320valid
2.0ms34×body80valid
1.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: 37.1b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

2.6b
(tan (+ x eps))
2.7b
(- (tan (+ x eps)) (tan x))

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:
3.0ms
(tan (+ x eps))
6.0ms
(- (tan (+ x eps)) (tan x))

series42.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32481199
45001199

prune63.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New25631
Fresh000
Picked101
Done000
Total26632

Merged error: 13.2b

Counts
32 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

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

series198.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
21.0ms
(+ (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
98.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03971050
114321005
25001994

prune161.0ms

Filtered
74 candidates to 98 candidates (-32.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New861298
Fresh325
Picked101
Done000
Total9014104

Merged error: 13.1b

Counts
104 → 14

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
3.4b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
45×tan-quot
21×frac-times
20×add-exp-log add-cbrt-cube
19×pow-prod-down
15×associate-*r/
14×associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
add-log-exp
frac-sub
pow-sqr pow-prod-up
*-commutative
flip3-+ pow-plus associate--l+ flip-+ unswap-sqr
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log swap-sqr flip--
Counts
4 → 110
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
10.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
13.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series395.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (tan x) (tan eps))
21.0ms
(* (tan x) (tan eps))
31.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
321.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05991358
130211222
250011222

prune169.0ms

Filtered
76 candidates to 122 candidates (-60.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1184122
Fresh21113
Picked101
Done000
Total12115136

Merged error: 13.0b

Counts
136 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
17×associate-*l/
16×add-sqr-sqrt
14×tan-quot
12×*-un-lft-identity
10×pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
frac-sub add-log-exp
flip3-- flip--
flip3-+ pow-prod-down frac-add prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
frac-times associate-*r/
sub-neg diff-log distribute-lft-out
Counts
4 → 82
Calls
4 calls:
7.0ms
(* (+ (tan x) (tan eps)) (cos x))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
9.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series123.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ (tan x) (tan eps)) (cos x))
21.0ms
(* (tan x) (tan eps))
25.0ms
(* (tan x) (tan eps))
50.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify69.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0527955
12405907
25002907

prune115.0ms

Filtered
72 candidates to 94 candidates (-30.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New91394
Fresh7714
Picked101
Done000
Total9910109

Merged error: 0.1b

Counts
109 → 10

regimes154.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02921
12921

end0.0ms

sample5.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.3s3296×body1280valid
562.0ms649×body2560valid
419.0ms1891×body640valid
104.0ms713×body320valid
49.0ms1104×body80valid
34.0ms347×body160valid

Profiling

Loading profile data...