Details

Time bar (total: 10.3s)

sample163.0ms

Algorithm
intervals
Results
74.0ms106×body1280valid
41.0ms25×body2560valid
28.0ms61×body640valid
5.0ms20×body320valid
3.0ms32×body80valid
2.0ms12×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.5b

localize9.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
3.5b
(tan (+ x eps))

rewrite13.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:
8.0ms
(- (tan (+ x eps)) (tan x))
3.0ms
(tan (+ x eps))

series145.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune120.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 14.5b

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

rewrite80.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:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
52.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series767.0ms

Counts
4 → 12
Calls
4 calls:
214.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
96.0ms
(+ (tan x) (tan eps))
95.0ms
(* (tan x) (tan eps))
362.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
05592915
120542366
250012345

prune425.0ms

Filtered
181 candidates to 110 candidates (60.8%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.3b

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

rewrite129.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:
3.0ms
(+ (tan x) (tan eps))
5.0ms
(/ (* (tan x) (sin eps)) (cos eps))
5.0ms
(* (tan x) (sin eps))
102.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series628.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ (tan x) (tan eps))
98.0ms
(/ (* (tan x) (sin eps)) (cos eps))
64.0ms
(* (tan x) (sin eps))
372.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify94.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06704171
124933274
250013235

prune506.0ms

Filtered
213 candidates to 105 candidates (49.3%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 14.3b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite344.0ms

Algorithm
rewrite-expression-head
Rules
357×*-un-lft-identity
322×add-sqr-sqrt
280×times-frac
150×prod-diff
139×add-cube-cbrt
98×difference-of-squares
50×fma-neg
44×distribute-lft-out
33×distribute-lft-out--
32×add-exp-log
26×div-inv
20×add-cbrt-cube
14×div-exp associate-/r/
associate-/r*
tan-quot pow1 cbrt-undiv
associate-*l/ associate-/l* add-log-exp
flip3-- prod-exp flip--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp associate-*r* associate-*l* cbrt-unprod
frac-2neg clear-num
sub-neg pow-flip diff-log pow-prod-down *-commutative frac-sub inv-pow unswap-sqr
Counts
4 → 325
Calls
4 calls:
5.0ms
(* (tan x) (sin eps))
5.0ms
(/ (cos eps) (* (tan x) (sin eps)))
9.0ms
(/ 1 (/ (cos eps) (* (tan x) (sin eps))))
300.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ 1 (/ (cos eps) (* (tan x) (sin eps)))))) (tan x))

series656.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* (tan x) (sin eps))
107.0ms
(/ (cos eps) (* (tan x) (sin eps)))
105.0ms
(/ 1 (/ (cos eps) (* (tan x) (sin eps))))
372.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ 1 (/ (cos eps) (* (tan x) (sin eps)))))) (tan x))

simplify119.0ms

Algorithm
egg-herbie
Counts
337 → 337
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
09317284
136435686
250025614

prune619.0ms

Filtered
337 candidates to 135 candidates (40.1%)
Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 14.3b

regimes172.0ms

Accuracy

72.2% (2.0b remaining)

Error of 15.8b against oracle of 13.8b and baseline of 21.1b

bsearch247.0ms

Steps
ItersRangePoint
9
4.017695445394683e-173
5.816336440788529e-167
5.748527172026931e-167
10
-2.3022776580077488e-90
-1.7535355178555737e-102
-1.4968426811240258e-90

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04650
15150
25150

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.4s3292×body1280valid
1.1s636×body2560valid
743.0ms1787×body640valid
225.0ms805×body320valid
90.0ms1118×body80valid
64.0ms362×body160valid