Details

Time bar (total: 10.0s)

sample155.0ms

Algorithm
intervals
Results
63.0ms87×body1280valid
40.0ms24×body2560valid
29.0ms77×body640valid
7.0ms28×body320valid
2.0ms30×body80valid
2.0ms10×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104
done104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.4b

localize8.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (tan (+ x eps)) (tan x))
3.7b
(tan (+ x eps))

rewrite29.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:
17.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series145.0ms

Counts
2 → 6
Calls
2 calls:
93.0ms
(- (tan (+ x eps)) (tan x))
51.0ms
(tan (+ x eps))

simplify70.0ms

Counts
47 → 47
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0192420
1538319
22593310
35001255
done5001255

prune109.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 15.1b

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

rewrite152.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:
9.0ms
(+ (tan x) (tan eps))
27.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
17.0ms
(* (tan x) (tan eps))
92.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series786.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(+ (tan x) (tan eps))
230.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
95.0ms
(* (tan x) (tan eps))
365.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify69.0ms

Counts
181 → 181
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05592915
120542366
250012345
done50012345

prune401.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 14.9b

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)))
2.4b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite100.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:
15.0ms
(* (tan x) (tan eps))
14.0ms
(* (tan x) (tan eps))
67.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

series933.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(* (tan x) (tan eps))
99.0ms
(* (tan x) (tan eps))
120.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
614.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify56.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04321098
11952917
25001864
done5001864

prune373.0ms

Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 14.9b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

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

series822.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (* (tan x) (tan x)) (* (tan eps) (tan eps)))
33.0ms
(* (tan x) (tan x))
34.0ms
(* (tan eps) (tan eps))
626.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan x)) (* (tan eps) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify63.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04851132
12210926
25001909
done5001909

prune323.0ms

Pruning

18 alts after pruning (17 fresh and 1 done)

Merged error: 14.9b

regimes188.0ms

Accuracy

86.3% (1.0b remaining)

Error of 15.4b against oracle of 14.5b and baseline of 21.4b

bsearch99.0ms

Steps
ItersRangePoint
9
4.790029874967855e-71
1.4938963809151437e-62
1.4671055856340722e-62
1
-4.770358420029441e-23
-4.590456568991035e-23
-4.72538295726984e-23

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04648
15348
25348
done5348

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.5s3360×body1280valid
1.1s646×body2560valid
756.0ms1815×body640valid
194.0ms746×body320valid
96.0ms1092×body80valid
59.0ms341×body160valid