Details

Time bar (total: 24.6s)

sample235.0ms

Algorithm
intervals
Results
133.0ms100×body1280valid
37.0ms62×body640valid
31.0ms14×body2560valid
9.0ms42×body80valid
8.0ms22×body320valid
4.0ms16×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize13.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (tan (+ x eps)) (tan x))
3.0b
(tan (+ x eps))

rewrite54.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:
38.0ms
(- (tan (+ x eps)) (tan x))
14.0ms
(tan (+ x eps))

series285.0ms

Counts
2 → 6
Calls
2 calls:
160.0ms
(- (tan (+ x eps)) (tan x))
125.0ms
(tan (+ x eps))

simplify2.5s

Counts
47 → 47
Iterations

Useful iterations: done (2.5s)

IterNodesCost
094720
1194597
2457510
31461450
done5000438

prune145.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 9.2b

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

rewrite192.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:
32.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
9.0ms
(+ (tan x) (tan eps))
16.0ms
(* (tan x) (tan eps))
127.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.2s

Counts
4 → 12
Calls
4 calls:
324.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
139.0ms
(+ (tan x) (tan eps))
170.0ms
(* (tan x) (tan eps))
562.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.7s

Counts
181 → 181
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02404762
15603970
215583555
done50003149

prune693.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 9.1b

localize39.0ms

Local error

Found 4 expressions with local error:

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

rewrite339.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:
18.0ms
(+ (tan x) (tan eps))
15.0ms
(* (tan x) (sin eps))
18.0ms
(/ (* (tan x) (sin eps)) (cos eps))
269.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

series890.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(+ (tan x) (tan eps))
94.0ms
(* (tan x) (sin eps))
131.0ms
(/ (* (tan x) (sin eps)) (cos eps))
517.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify1.6s

Counts
213 → 213
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02926707
16715460
218734825
done50004218

prune567.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 9.1b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
17×add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
associate-/r*
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u div-inv associate-/l* add-log-exp
pow-unpow pow-exp rem-cube-cbrt
tan-quot frac-2neg prod-exp clear-num cbrt-unprod associate-/l/
cube-div cube-mult pow-to-exp pow-pow unpow3 associate-*l/ fma-udef sqr-pow
Counts
4 → 102
Calls
4 calls:
16.0ms
(/ (* (tan x) (sin eps)) (cos eps))
7.0ms
(/ (tan x) (cos eps))
10.0ms
(pow (/ (* (tan x) (sin eps)) (cos eps)) 3)
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (pow (/ (* (tan x) (sin eps)) (cos eps)) 3))) (fma (fma (/ (tan x) (cos eps)) (sin eps) 1) (/ (* (tan x) (sin eps)) (cos eps)) 1) (- (tan x)))

series1.7s

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ (* (tan x) (sin eps)) (cos eps))
97.0ms
(/ (tan x) (cos eps))
169.0ms
(pow (/ (* (tan x) (sin eps)) (cos eps)) 3)
1.2s
(fma (/ (+ (tan x) (tan eps)) (- 1 (pow (/ (* (tan x) (sin eps)) (cos eps)) 3))) (fma (fma (/ (tan x) (cos eps)) (sin eps) 1) (/ (* (tan x) (sin eps)) (cos eps)) 1) (- (tan x)))

simplify1.5s

Counts
114 → 114
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02342237
16412077
226991858
done50001828

prune775.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

regimes204.0ms

Accuracy

0% (0.3b remaining)

Error of 0.6b against oracle of 0.3b and baseline of 0.6b

bsearch0.0ms

simplify9.0ms

Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
037164
142162
done42162

end0.0ms

sample9.9s

Algorithm
intervals
Results
5.0s3324×body1280valid
1.8s1842×body640valid
1.6s603×body2560valid
467.0ms796×body320valid
423.0ms355×body160valid
231.0ms1080×body80valid