Details

Time bar (total: 6.9s)

sample93.0ms

Algorithm
intervals
Results
52.0ms119×body1280valid
16.0ms19×body2560valid
12.0ms59×body640valid
3.0ms21×body320valid
1.0ms32×body80valid
1.0msbody160valid

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

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(- (tan (+ x eps)) (tan x))
3.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))

series137.0ms

Counts
2 → 6
Calls
2 calls:
85.0ms
(- (tan (+ x eps)) (tan x))
52.0ms
(tan (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune131.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New38947
Fresh000
Picked101
Done000
Total39948

Merged error: 14.0b

Counts
48 → 9

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

rewrite41.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:
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
4.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
16.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series750.0ms

Counts
4 → 12
Calls
4 calls:
219.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
89.0ms
(+ (tan x) (tan eps))
90.0ms
(* (tan x) (tan eps))
352.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05592923
120542373
250012349

prune377.0ms

Filtered
181 candidates to 110 candidates (60.8%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New17011181
Fresh538
Picked101
Done000
Total17614190

Merged error: 13.8b

Counts
190 → 14

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.7b
(fma (/ 1 (* (cbrt (- 1 (* (tan x) (tan eps)))) (cbrt (- 1 (* (tan x) (tan eps)))))) (/ (+ (tan x) (tan eps)) (cbrt (- 1 (* (tan x) (tan eps))))) (- (tan x)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×tan-quot
10×pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
fma-udef
Counts
4 → 79
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
1.0ms
(fma (/ 1 (* (cbrt (- 1 (* (tan x) (tan eps)))) (cbrt (- 1 (* (tan x) (tan eps)))))) (/ (+ (tan x) (tan eps)) (cbrt (- 1 (* (tan x) (tan eps))))) (- (tan x)))

series743.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(* (tan x) (tan eps))
90.0ms
(* (tan x) (tan eps))
88.0ms
(* (tan x) (tan eps))
477.0ms
(fma (/ 1 (* (cbrt (- 1 (* (tan x) (tan eps)))) (cbrt (- 1 (* (tan x) (tan eps)))))) (/ (+ (tan x) (tan eps)) (cbrt (- 1 (* (tan x) (tan eps))))) (- (tan x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
0199781
1625688
22402687
35001683

prune317.0ms

Filtered
91 candidates to 72 candidates (79.1%)
Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New87491
Fresh01313
Picked011
Done000
Total8718105

Merged error: 13.8b

Counts
105 → 18

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
153×*-un-lft-identity
103×times-frac
86×add-sqr-sqrt
79×add-cube-cbrt
63×prod-diff
24×distribute-lft-out
21×fma-neg
10×add-exp-log add-cbrt-cube
associate-/r/
pow1 associate-/r* div-inv associate-/l* add-log-exp
tan-quot flip3-- flip--
expm1-log1p-u log1p-expm1-u
associate-*r* associate-*l*
cbrt-undiv quot-tan frac-2neg div-exp clear-num difference-of-squares
frac-times sub-neg diff-log associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 185
Calls
4 calls:
4.0ms
(/ (sin x) (cos x))
4.0ms
(/ (sin eps) (cos eps))
5.0ms
(* (tan x) (tan eps))
28.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

series493.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(/ (sin x) (cos x))
17.0ms
(/ (sin eps) (cos eps))
87.0ms
(* (tan x) (tan eps))
366.0ms
(- (/ (+ (/ (sin eps) (cos eps)) (/ (sin x) (cos x))) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify73.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06563455
122552808
250012771

prune501.0ms

Filtered
197 candidates to 118 candidates (59.9%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New1943197
Fresh31316
Picked101
Done011
Total19817215

Merged error: 12.4b

Counts
215 → 17

regimes191.0ms

Accuracy

93.8% (0.6b remaining)

Error of 13.8b against oracle of 13.2b and baseline of 22.2b

bsearch120.0ms

Steps
ItersRangePoint
9
5.825543930254655e-57
3.2910297204248635e-51
3.2412061887490125e-51
9
-6.669138218872808e-16
-2.3250751478766463e-21
-1.3356538430022876e-17

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03746
13746

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.3s3281×body1280valid
550.0ms631×body2560valid
391.0ms1888×body640valid
106.0ms785×body320valid
45.0ms1088×body80valid
30.0ms327×body160valid