Details

Time bar (total: 19.6s)

sample306.0ms

Algorithm
intervals
Results
114.0ms96×body1280valid
105.0ms24×body2560valid
42.0ms56×body640valid
22.0ms39×body320valid
5.0ms31×body80valid
3.0ms10×body160valid

simplify8.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.1b

localize20.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
6.3b
(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))

series254.0ms

Counts
2 → 6
Calls
2 calls:
149.0ms
(- (tan (+ x eps)) (tan x))
106.0ms
(tan (+ x eps))

simplify2.5s

Counts
47 → 47
Iterations

Useful iterations: done (2.5s)

IterNodesCost
094720
1194597
2457510
31461450
done5000438

prune168.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 13.0b

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

rewrite352.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:
60.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
17.0ms
(+ (tan x) (tan eps))
34.0ms
(* (tan x) (tan eps))
226.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.3s

Counts
4 → 12
Calls
4 calls:
348.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
206.0ms
(+ (tan x) (tan eps))
152.0ms
(* (tan x) (tan eps))
558.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.8s

Counts
181 → 181
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02404762
15603970
215583555
done50003149

prune730.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 12.9b

localize66.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.4b
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps))))) (- (tan x)))

rewrite184.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:
22.0ms
(* (tan x) (tan eps))
128.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
26.0ms
(pow (* (tan x) (tan eps)) 3)
1.0ms
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps))))) (- (tan x)))

series2.0s

Counts
4 → 12
Calls
4 calls:
142.0ms
(* (tan x) (tan eps))
179.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
196.0ms
(pow (* (tan x) (tan eps)) 3)
1.5s
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps))))) (- (tan x)))

simplify2.0s

Counts
123 → 123
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02342288
16581831
229631614
done50021583

prune729.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 11.1b

localize163.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (/ (sin x) (cos x)) 3)
0.4b
(pow (cos eps) 3)
0.4b
(pow (sin eps) 3)
2.5b
(- (fma (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow (cos eps) 3))) (/ (pow (sin eps) 3) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (+ (fma (/ (/ (pow (sin eps) 2) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (pow (cos eps) 2)) (+ (pow (/ (sin x) (cos x)) 3) (/ (sin x) (cos x))) (/ (sin x) (* (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3)) (cos x)))) (/ (/ (sin eps) (cos eps)) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))))) (/ (sin x) (cos x)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
62×*-un-lft-identity
60×add-cube-cbrt
46×times-frac
39×prod-diff
19×unpow-prod-down cube-prod
add-exp-log pow-unpow add-cbrt-cube
pow1
add-log-exp
div-inv
expm1-log1p-u pow-exp log1p-expm1-u rem-cube-cbrt
cube-mult pow-to-exp pow-pow fma-neg unpow3 sqr-pow
difference-of-squares
cbrt-undiv cube-div sub-neg flip3-- diff-log div-exp associate--l+ flip-- fma-udef distribute-lft-out--
Counts
4 → 158
Calls
4 calls:
15.0ms
(pow (/ (sin x) (cos x)) 3)
4.0ms
(pow (cos eps) 3)
4.0ms
(pow (sin eps) 3)
20.0ms
(- (fma (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow (cos eps) 3))) (/ (pow (sin eps) 3) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (+ (fma (/ (/ (pow (sin eps) 2) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (pow (cos eps) 2)) (+ (pow (/ (sin x) (cos x)) 3) (/ (sin x) (cos x))) (/ (sin x) (* (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3)) (cos x)))) (/ (/ (sin eps) (cos eps)) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))))) (/ (sin x) (cos x)))

series2.1s

Counts
4 → 12
Calls
4 calls:
87.0ms
(pow (/ (sin x) (cos x)) 3)
30.0ms
(pow (cos eps) 3)
46.0ms
(pow (sin eps) 3)
2.0s
(- (fma (/ (pow (sin x) 2) (* (pow (cos x) 2) (pow (cos eps) 3))) (/ (pow (sin eps) 3) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (+ (fma (/ (/ (pow (sin eps) 2) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))) (pow (cos eps) 2)) (+ (pow (/ (sin x) (cos x)) 3) (/ (sin x) (cos x))) (/ (sin x) (* (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3)) (cos x)))) (/ (/ (sin eps) (cos eps)) (- 1 (pow (/ (* (sin x) (sin eps)) (* (cos eps) (cos x))) 3))))) (/ (sin x) (cos x)))

simplify3.2s

Counts
170 → 170
Iterations

Useful iterations: done (3.1s)

IterNodesCost
034315704
193815104
2376012238
done500112234

prune1.4s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.5b

regimes324.0ms

bsearch4.0ms