Details

Time bar (total: 7.3s)

sample86.0ms

Algorithm
intervals
Results
42.0ms103×body1280valid
16.0ms68×body640valid
14.0ms17×body2560valid
2.0ms18×body320valid
2.0ms39×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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.9b
(- (tan (+ x eps)) (tan x))
2.4b
(tan (+ x eps))

rewrite12.0ms

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

series146.0ms

Counts
2 → 6
Calls
2 calls:
96.0ms
(- (tan (+ x eps)) (tan x))
50.0ms
(tan (+ x eps))

simplify76.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0144236
1299227
2753225
32459224
45001224

prune69.0ms

Filtered
33 candidates to 25 candidates (24.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New26733
Fresh000
Picked101
Done000
Total27734

Merged error: 16.1b

Counts
34 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
78×add-sqr-sqrt
37×times-frac
29×tan-quot
26×difference-of-squares
23×add-cube-cbrt
19×frac-sub
18×associate-/r*
13×distribute-lft-out-- unswap-sqr
12×distribute-lft-out
associate-*l*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 associate-/l/
flip3-+ associate-*r* frac-add flip-+
flip3-- frac-2neg clear-num associate-/r/ flip--
cbrt-undiv +-commutative frac-times sub-neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 134
Calls
4 calls:
16.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan eps) (tan x))
27.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x)))) (tan x))

series789.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x))))
96.0ms
(+ (tan x) (tan eps))
95.0ms
(* (tan eps) (tan x))
376.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x)))) (tan x))

simplify66.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05962006
123001933
250011933

prune306.0ms

Filtered
146 candidates to 96 candidates (34.2%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New13115146
Fresh606
Picked101
Done000
Total13815153

Merged error: 15.9b

Counts
153 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series527.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (+ (tan x) (tan eps)) (cos x))
95.0ms
(* (tan eps) (tan x))
94.0ms
(* (tan eps) (tan x))
217.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan eps) (tan x))) (sin x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05401221
123821169
250031169

prune340.0ms

Filtered
110 candidates to 76 candidates (30.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1064110
Fresh11314
Picked101
Done000
Total1187125

Merged error: 0.1b

Counts
125 → 7

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
254×add-sqr-sqrt
240×times-frac
178×associate-*l*
126×add-cube-cbrt *-un-lft-identity
108×associate-*r*
78×unswap-sqr
59×unpow-prod-down
36×add-exp-log *-commutative
29×unpow2 sqr-pow
20×add-cbrt-cube associate-/l*
14×prod-exp
12×associate-/r*
pow1
div-exp
cbrt-unprod
tan-quot cbrt-undiv pow-to-exp pow-exp add-log-exp
pow-unpow
pow-prod-down
frac-times pow-pow frac-2neg associate-*r/ associate-*l/ clear-num associate-/r/ cos-mult div-inv
Counts
4 → 362
Calls
4 calls:
19.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
7.0ms
(* (pow (sin x) 2) (sin eps))
5.0ms
(* (tan eps) (tan x))
2.0ms
(pow (sin x) 2)

series277.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
53.0ms
(* (pow (sin x) 2) (sin eps))
93.0ms
(* (tan eps) (tan x))
19.0ms
(pow (sin x) 2)

simplify76.0ms

Algorithm
egg-herbie
Counts
374 → 374
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
014924669
150014380

prune1.2s

Filtered
374 candidates to 220 candidates (41.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New36113374
Fresh156
Picked101
Done000
Total36318381

Merged error: 0.0b

Counts
381 → 18

regimes415.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03723
14623
25123
35123

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3312×body1280valid
525.0ms610×body2560valid
410.0ms1852×body640valid
104.0ms753×body320valid
47.0ms1098×body80valid
38.0ms375×body160valid