Details

Time bar (total: 7.4s)

sample83.0ms

Algorithm
intervals
Results
38.0ms103×body1280valid
14.0ms17×body2560valid
14.0ms57×body640valid
5.0ms37×body320valid
1.0ms32×body80valid
1.0ms10×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.6b

localize8.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (tan (+ x eps)) (tan x))
3.3b
(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:
90.0ms
(- (tan (+ x eps)) (tan x))
49.0ms
(tan (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune113.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.3b

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
87×*-un-lft-identity
66×add-sqr-sqrt
59×add-cube-cbrt
57×prod-diff
49×times-frac
21×fma-neg
13×distribute-lft-out
10×add-log-exp
associate-/r/
tan-quot
pow1 add-exp-log flip3-- add-cbrt-cube flip--
expm1-log1p-u log1p-expm1-u div-inv
fma-def associate-*r* associate-*l*
sub-neg diff-log difference-of-squares
+-commutative frac-times flip3-+ associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 151
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
5.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
15.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series624.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(- 1 (* (tan x) (tan eps)))
88.0ms
(+ (tan x) (tan eps))
88.0ms
(* (tan x) (tan eps))
347.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify65.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05422573
118932021
250021996

prune373.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.2b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
183×*-un-lft-identity
138×add-sqr-sqrt
100×times-frac
90×prod-diff
83×add-cube-cbrt
34×difference-of-squares
30×fma-neg
25×distribute-lft-out
17×distribute-lft-out--
11×add-exp-log add-cbrt-cube
associate-/r/ add-log-exp
pow1
tan-quot flip3-- flip-- div-inv
expm1-log1p-u log1p-expm1-u
fma-def associate-*r* associate-*l* associate-/r*
cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod
+-commutative sub-neg frac-2neg flip3-+ diff-log pow-prod-down frac-add clear-num sum-log *-commutative frac-sub flip-+ associate-/l/ associate-/l* unswap-sqr
Counts
4 → 201
Calls
4 calls:
5.0ms
(+ (tan x) (tan eps))
6.0ms
(/ (* (tan x) (sin eps)) (cos eps))
5.0ms
(* (tan x) (sin eps))
22.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series598.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (tan x) (tan eps))
92.0ms
(/ (* (tan x) (sin eps)) (cos eps))
65.0ms
(* (tan x) (sin eps))
353.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify89.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06704171
124933274
250013235

prune498.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.1b

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin eps))
0.3b
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
0.3b
(pow (/ (* (tan x) (sin eps)) (cos eps)) 3)
3.4b
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (/ (* (tan x) (sin eps)) (cos eps)) 3))) (+ (* 1 1) (+ (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))) (* 1 (/ (* (tan x) (sin eps)) (cos eps))))) (- (tan x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log add-cbrt-cube
23×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
18×times-frac
17×prod-exp cbrt-unprod
14×pow1 cbrt-undiv div-exp
10×associate-*r* associate-*l*
unpow-prod-down cube-prod swap-sqr
div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow pow-exp rem-cube-cbrt
pow-prod-down associate-*l/ *-commutative unswap-sqr
tan-quot cube-div pow2 cube-mult frac-times pow-to-exp pow-pow pow-plus unpow3 associate-*r/ pow-sqr pow-prod-up fma-udef sqr-pow
Counts
4 → 127
Calls
4 calls:
5.0ms
(* (tan x) (sin eps))
12.0ms
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
6.0ms
(pow (/ (* (tan x) (sin eps)) (cos eps)) 3)
1.0ms
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (/ (* (tan x) (sin eps)) (cos eps)) 3))) (+ (* 1 1) (+ (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))) (* 1 (/ (* (tan x) (sin eps)) (cos eps))))) (- (tan x)))

series1.2s

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (tan x) (sin eps))
120.0ms
(* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps)))
124.0ms
(pow (/ (* (tan x) (sin eps)) (cos eps)) 3)
898.0ms
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (/ (* (tan x) (sin eps)) (cos eps)) 3))) (+ (* 1 1) (+ (* (/ (* (tan x) (sin eps)) (cos eps)) (/ (* (tan x) (sin eps)) (cos eps))) (* 1 (/ (* (tan x) (sin eps)) (cos eps))))) (- (tan x)))

simplify145.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08241673
149171465
250011465

prune525.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

regimes132.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
057112
157112

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3316×body1280valid
535.0ms623×body2560valid
392.0ms1858×body640valid
107.0ms777×body320valid
49.0ms1076×body80valid
33.0ms350×body160valid