Details

Time bar (total: 4.2s)

sample92.0ms

Algorithm
intervals
Results
41.0ms102×body1280valid
15.0ms17×body2560valid
12.0ms61×body640valid
4.0ms25×body320valid
2.0ms37×body80valid
1.0ms14×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

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: 33.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.5b
(- (tan (+ x eps)) (tan x))
4.9b
(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))
3.0ms
(tan (+ x eps))

series40.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune58.0ms

Filtered
31 candidates to 25 candidates (19.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 14.5b

Counts
32 → 7

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.3b
(* (tan x) (tan eps))
1.5b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite27.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:
2.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))

series192.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- 1 (* (tan x) (tan eps)))
54.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
20.0ms
(* (tan x) (tan eps))
94.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04011066
115321014
250011003

prune168.0ms

Filtered
97 candidates to 72 candidates (25.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New89897
Fresh246
Picked101
Done000
Total9212104

Merged error: 14.4b

Counts
104 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan x) (tan eps)) (cos x))
0.3b
(* (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
7.8b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite29.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))
7.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
8.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series116.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0527955
12405907
25002907

prune143.0ms

Filtered
94 candidates to 72 candidates (23.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh6511
Picked101
Done000
Total979106

Merged error: 0.1b

Counts
106 → 9

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (sin x) 2) (sin eps))
0.3b
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
0.3b
(* (tan x) (tan eps))
0.3b
(pow (sin x) 2)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log
20×add-cbrt-cube
19×add-sqr-sqrt
14×prod-exp
11×add-cube-cbrt *-un-lft-identity associate-*l*
div-exp
pow1 unpow-prod-down
associate-*r* cbrt-unprod
unswap-sqr
tan-quot cbrt-undiv pow-to-exp pow-exp add-log-exp
pow-unpow unpow2 sqr-pow
*-commutative
frac-times pow-pow frac-2neg times-frac associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* associate-/r/ cos-mult div-inv associate-/l*
Counts
4 → 92
Calls
4 calls:
5.0ms
(* (pow (sin x) 2) (sin eps))
8.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
5.0ms
(* (tan x) (tan eps))
2.0ms
(pow (sin x) 2)

series60.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (pow (sin x) 2) (sin eps))
23.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
22.0ms
(* (tan x) (tan eps))
4.0ms
(pow (sin x) 2)

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0443718
12027593
25001593

prune119.0ms

Filtered
104 candidates to 66 candidates (36.5%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New968104
Fresh268
Picked101
Done000
Total9914113

Merged error: 0.1b

Counts
113 → 14

regimes191.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13123

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3306×body1280valid
561.0ms659×body2560valid
383.0ms1834×body640valid
100.0ms720×body320valid
46.0ms1117×body80valid
34.0ms364×body160valid

Profiling

Loading profile data...