Details

Time bar (total: 9.3s)

sample87.0ms

Algorithm
intervals
Results
45.0ms108×body1280valid
14.0ms68×body640valid
13.0ms16×body2560valid
3.0ms19×body320valid
2.0ms34×body80valid
1.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (tan (+ x eps)) (tan x))
4.5b
(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))

series135.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (tan (+ x eps)) (tan x))
48.0ms
(tan (+ x eps))

simplify78.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune85.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 11.4b

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))
0.2b
(* (tan x) (tan eps))
2.5b
(- (/ (+ (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))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series642.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(- 1 (* (tan x) (tan eps)))
91.0ms
(+ (tan x) (tan eps))
92.0ms
(* (tan x) (tan eps))
354.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify122.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0343662
11170624
24756614
35001614

prune206.0ms

Filtered
74 candidates to 56 candidates (75.7%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New641074
Fresh437
Picked101
Done000
Total691382

Merged error: 11.3b

Counts
82 → 13

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(pow (* (tan x) (tan eps)) 3)
2.5b
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ (* (tan x) (tan eps)) 1)) 1))) (tan x))

rewrite74.0ms

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

series1.8s

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
125.0ms
(pow (* (tan x) (tan eps)) 3)
1.5s
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ (* (tan x) (tan eps)) 1)) 1))) (tan x))

simplify77.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05401247
127471149
250011149

prune320.0ms

Filtered
96 candidates to 70 candidates (72.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New92496
Fresh7512
Picked101
Done000
Total1009109

Merged error: 0.2b

Counts
109 → 9

localize67.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos eps) 3)
0.4b
(pow (cos eps) 3)
0.4b
(pow (cos eps) 3)
1.4b
(- (+ (+ (/ (* (pow (sin x) 2) (pow (sin eps) 3)) (* (pow (cos x) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 3)))) (* (/ (pow (sin eps) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 2))) (+ (/ (sin x) (cos x)) (/ (pow (sin x) 3) (pow (cos x) 3))))) (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x)))) (/ (sin x) (cos x)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt *-un-lft-identity frac-add
13×add-cube-cbrt add-log-exp
11×frac-sub
unpow-prod-down pow-unpow cube-prod
pow1 add-exp-log add-cbrt-cube
flip3-+ flip-+
cube-mult frac-times pow-to-exp pow-pow diff-log unpow3 associate-*r/ pow-exp sum-log rem-cube-cbrt sqr-pow
distribute-lft-out-- difference-of-squares
sub-neg flip3-- times-frac associate-*l/ associate--l+ flip-- distribute-lft-out
Counts
4 → 99
Calls
4 calls:
3.0ms
(pow (cos eps) 3)
3.0ms
(pow (cos eps) 3)
3.0ms
(pow (cos eps) 3)
42.0ms
(- (+ (+ (/ (* (pow (sin x) 2) (pow (sin eps) 3)) (* (pow (cos x) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 3)))) (* (/ (pow (sin eps) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 2))) (+ (/ (sin x) (cos x)) (/ (pow (sin x) 3) (pow (cos x) 3))))) (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x)))) (/ (sin x) (cos x)))

series1.4s

Counts
4 → 12
Calls
4 calls:
34.0ms
(pow (cos eps) 3)
28.0ms
(pow (cos eps) 3)
28.0ms
(pow (cos eps) 3)
1.3s
(- (+ (+ (/ (* (pow (sin x) 2) (pow (sin eps) 3)) (* (pow (cos x) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 3)))) (* (/ (pow (sin eps) 2) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (pow (cos eps) 2))) (+ (/ (sin x) (cos x)) (/ (pow (sin x) 3) (pow (cos x) 3))))) (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x)))) (/ (sin x) (cos x)))

simplify71.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010105756
150025532

prune850.0ms

Filtered
111 candidates to 69 candidates (62.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1074111
Fresh178
Picked101
Done000
Total10911120

Merged error: 0.1b

Counts
120 → 11

regimes436.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
061113
163113
263113

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.4s3301×body1280valid
534.0ms609×body2560valid
429.0ms1904×body640valid
108.0ms738×body320valid
53.0ms1094×body80valid
35.0ms354×body160valid

Profiling

Loading profile data...