Details

Time bar (total: 7.5s)

sample88.0ms

Algorithm
intervals
Results
43.0ms109×body1280valid
17.0ms20×body2560valid
14.0ms68×body640valid
4.0ms27×body320valid
1.0ms11×body160valid
1.0ms21×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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.4b
(- (tan (+ x eps)) (tan x))
3.8b
(tan (+ x eps))

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

series134.0ms

Counts
2 → 6
Calls
2 calls:
84.0ms
(- (tan (+ x eps)) (tan x))
50.0ms
(tan (+ x eps))

simplify71.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune110.0ms

Filtered
47 candidates to 33 candidates (70.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New39847
Fresh000
Picked101
Done000
Total40848

Merged error: 15.1b

Counts
48 → 8

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))
3.2b
(- (/ (+ (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:
5.0ms
(+ (tan x) (tan eps))
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
14.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series727.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(+ (tan x) (tan eps))
206.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
87.0ms
(* (tan x) (tan eps))
345.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05592915
120542366
250012345

prune391.0ms

Filtered
181 candidates to 110 candidates (60.8%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New16219181
Fresh437
Picked101
Done000
Total16722189

Merged error: 14.8b

Counts
189 → 22

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
3.2b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite24.0ms

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

series856.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(* (tan x) (tan eps))
91.0ms
(* (tan x) (tan eps))
111.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
564.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04321098
11952917
25001864

prune335.0ms

Filtered
119 candidates to 74 candidates (62.2%)
Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New1172119
Fresh12021
Picked101
Done000
Total11922141

Merged error: 14.8b

Counts
141 → 22

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×tan-quot
11×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
cube-div frac-times pow-unpow associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod fma-udef sqr-pow
Counts
4 → 83
Calls
4 calls:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
6.0ms
(pow (* (tan x) (tan eps)) 3)
1.0ms
(fma (fma (fma (tan x) (tan eps) 1) (* (tan x) (tan eps)) 1) (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan x) (tan eps)) 3))) (- (tan x)))

series1.2s

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
131.0ms
(pow (* (tan x) (tan eps)) 3)
889.0ms
(fma (fma (fma (tan x) (tan eps) 1) (* (tan x) (tan eps)) 1) (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan x) (tan eps)) 3))) (- (tan x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0483922
12591827
25002826

prune360.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New93295
Fresh91221
Picked011
Done000
Total10215117

Merged error: 0.2b

Counts
117 → 15

regimes180.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
064118
164118

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3368×body1280valid
556.0ms637×body2560valid
407.0ms1816×body640valid
111.0ms769×body320valid
48.0ms1076×body80valid
37.0ms334×body160valid