Details

Time bar (total: 10.0s)

sample162.0ms

Algorithm
intervals
Results
84.0ms118×body1280valid
39.0ms20×body2560valid
17.0ms44×body640valid
7.0ms25×body320valid
3.0ms16×body160valid
3.0ms33×body80valid

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

localize8.0ms

Local error

Found 2 expressions with local error:

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

series138.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune123.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 15.6b

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

rewrite76.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:
3.0ms
(+ (tan x) (tan eps))
14.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
47.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series755.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05592915
120542366
250012345

prune441.0ms

Filtered
181 candidates to 110 candidates (60.8%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 15.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(/ 1 (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
2.7b
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

rewrite15.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:
3.0ms
(+ (tan x) (tan eps))
4.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
0.0ms
(fma (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))) (- (tan x)))

series609.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (tan x) (tan eps))
131.0ms
(/ 1 (- 1 (* (tan x) (tan eps))))
91.0ms
(* (tan x) (tan eps))
294.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

prune325.0ms

Filtered
98 candidates to 70 candidates (71.4%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 15.4b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
40×tan-quot
21×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
10×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r* associate-*l* pow-sqr pow-prod-up log1p-expm1-u add-log-exp
cube-div pow-unpow
pow-pow pow-plus pow-exp *-commutative rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod swap-sqr fma-udef unswap-sqr sqr-pow
Counts
4 → 111
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
24.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
4.0ms
(pow (* (tan x) (tan eps)) 3)
0.0ms
(fma (+ (tan x) (tan eps)) (* (/ 1 (- 1 (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps)))))) (- (tan x)))

series1.2s

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan x) (tan eps))
121.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
124.0ms
(pow (* (tan x) (tan eps)) 3)
899.0ms
(fma (+ (tan x) (tan eps)) (* (/ 1 (- 1 (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps)))))) (- (tan x)))

simplify109.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06781202
138161068
250021062

prune412.0ms

Filtered
123 candidates to 76 candidates (61.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

regimes315.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
059113
159113

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.4s3273×body1280valid
1.2s693×body2560valid
767.0ms1793×body640valid
204.0ms742×body320valid
96.0ms1130×body80valid
79.0ms369×body160valid