Details

Time bar (total: 6.3s)

sample87.0ms

Algorithm
intervals
Results
36.0ms101×body1280valid
24.0ms29×body2560valid
11.0ms52×body640valid
3.0ms23×body320valid
2.0ms36×body80valid
1.0ms15×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: 38.5b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (tan (+ x eps)) (tan x))
2.9b
(tan (+ x eps))

rewrite12.0ms

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

series138.0ms

Counts
2 → 6
Calls
2 calls:
89.0ms
(- (tan (+ x eps)) (tan x))
49.0ms
(tan (+ x eps))

simplify74.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune123.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New351247
Fresh000
Picked101
Done000
Total361248

Merged error: 17.4b

Counts
48 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
flip3-+ frac-add 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 distribute-lft-out-- unswap-sqr
Counts
4 → 169
Calls
4 calls:
5.0ms
(+ (tan x) (tan eps))
12.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
15.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series754.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05592915
120542366
250012345

prune397.0ms

Filtered
181 candidates to 110 candidates (60.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New16912181
Fresh9211
Picked101
Done000
Total17914193

Merged error: 17.3b

Counts
193 → 14

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
10×add-exp-log
times-frac
add-cbrt-cube
pow1
tan-quot add-log-exp
expm1-log1p-u log1p-expm1-u
fma-def associate-*r* associate-*l* associate-/r* associate-/l*
div-exp associate-/r/
cbrt-undiv +-commutative frac-times rec-exp flip3-- pow-flip frac-2neg flip3-+ 1-exp associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod flip-+ fma-udef div-inv distribute-lft-out inv-pow unswap-sqr
Counts
4 → 86
Calls
4 calls:
5.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
5.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
1.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

series613.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
95.0ms
(+ (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
296.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0367754
11426679
25001679

prune254.0ms

Filtered
98 candidates to 70 candidates (71.4%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh11213
Picked101
Done000
Total9913112

Merged error: 17.3b

Counts
112 → 13

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))
10.4b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite30.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
expm1-log1p-u flip3-- flip-- log1p-expm1-u
flip3-+ pow-prod-down frac-add prod-exp *-commutative cbrt-unprod flip-+ unswap-sqr
frac-times associate-*r/
sub-neg fma-neg diff-log prod-diff distribute-lft-out
Counts
4 → 92
Calls
4 calls:
7.0ms
(* (+ (tan x) (tan eps)) (cos x))
6.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)))

series512.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (+ (tan x) (tan eps)) (cos x))
93.0ms
(* (tan x) (tan eps))
92.0ms
(* (tan x) (tan eps))
213.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify80.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05611030
12620960
25001955

prune343.0ms

Filtered
104 candidates to 82 candidates (78.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1013104
Fresh8412
Picked101
Done000
Total1107117

Merged error: 0.1b

Counts
117 → 7

regimes81.0ms

Accuracy

0% (0.2b 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
02520
12520

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.2s3239×body1280valid
566.0ms654×body2560valid
404.0ms1857×body640valid
110.0ms787×body320valid
48.0ms1114×body80valid
35.0ms349×body160valid