Details

Time bar (total: 9.2s)

sample147.0ms

Algorithm
intervals
Results
74.0ms103×body1280valid
27.0ms17×body2560valid
23.0ms57×body640valid
9.0ms37×body320valid
3.0ms32×body80valid
2.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))

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))

series142.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (tan (+ x eps)) (tan x))
54.0ms
(tan (+ x eps))

simplify71.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune109.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.3b

localize11.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))

rewrite70.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:
2.0ms
(- 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))

series649.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05422573
118932021
250021996

prune381.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.2b

localize16.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))

rewrite127.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:
4.0ms
(+ (tan x) (tan eps))
5.0ms
(/ (* (tan x) (sin eps)) (cos eps))
5.0ms
(* (tan x) (sin eps))
103.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series637.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06704171
124933274
250013235

prune522.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.1b

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

rewrite15.0ms

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

series568.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ (tan x) (tan eps))
98.0ms
(/ (* (tan x) (sin eps)) (cos eps))
71.0ms
(* (tan x) (sin eps))
302.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (- (tan x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0350661
11333582
25001581

prune294.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 14.1b

regimes182.0ms

Accuracy

87.8% (0.9b remaining)

Error of 15.1b against oracle of 14.2b and baseline of 21.4b

bsearch136.0ms

Steps
ItersRangePoint
7
7.475162141923425e-25
1.4540068674601437e-22
1.0217107006174054e-22
7
-2.130734117157608e-37
-3.254557815371694e-39
-6.303458796209113e-39

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03841
13841

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.5s3319×body1280valid
1.1s623×body2560valid
788.0ms1857×body640valid
213.0ms775×body320valid
88.0ms1072×body80valid
64.0ms354×body160valid