Details

Time bar (total: 12.7s)

sample159.0ms

Algorithm
intervals
Results
78.0ms111×body1280valid
39.0ms24×body2560valid
21.0ms55×body640valid
8.0ms32×body320valid
2.0ms26×body80valid
1.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.7b

localize15.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (tan (+ x eps)) (tan x))
4.0b
(tan (+ x eps))

rewrite13.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:
89.0ms
(- (tan (+ x eps)) (tan x))
49.0ms
(tan (+ x eps))

simplify956.0ms

Counts
47 → 47
Iterations

Useful iterations: 3 (257.0ms)

IterNodesCost
094720
1190597
2484510
31960450
done5000450

prune119.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 15.2b

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

rewrite81.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:
4.0ms
(+ (tan x) (tan eps))
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
53.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series737.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (tan x) (tan eps))
208.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
88.0ms
(* (tan x) (tan eps))
350.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify734.0ms

Counts
181 → 181
Iterations

Useful iterations: done (729.0ms)

IterNodesCost
02404762
15373970
217023549
done50003525

prune430.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 15.1b

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

rewrite36.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))
22.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

series882.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan x) (tan eps))
93.0ms
(* (tan x) (tan eps))
114.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
583.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

simplify537.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (149.0ms)

IterNodesCost
01571832
14171746
216591476
done50001476

prune383.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize46.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (sin eps) 2)
0.3b
(pow (sin eps) 2)
0.3b
(pow (sin eps) 2)
1.5b
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 2) (pow (sin eps) 2)) (* (pow (cos x) 2) (pow (cos eps) 2)))) (cos x))) (/ (sin x) (cos x)))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
131×times-frac
117×prod-diff
110×*-un-lft-identity
108×add-sqr-sqrt
103×add-cube-cbrt
28×associate-*l/ associate-/r/
25×div-inv
15×flip3-- flip--
unpow-prod-down pow-unpow fma-neg
pow1 add-exp-log
add-log-exp
expm1-log1p-u distribute-rgt-out-- add-cbrt-cube log1p-expm1-u
pow-to-exp pow-pow pow-exp unpow2 sqr-pow
distribute-lft-out-- difference-of-squares
sub-neg diff-log frac-sub
Counts
4 → 209
Calls
4 calls:
1.0ms
(pow (sin eps) 2)
1.0ms
(pow (sin eps) 2)
1.0ms
(pow (sin eps) 2)
43.0ms
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 2) (pow (sin eps) 2)) (* (pow (cos x) 2) (pow (cos eps) 2)))) (cos x))) (/ (sin x) (cos x)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(pow (sin eps) 2)
19.0ms
(pow (sin eps) 2)
19.0ms
(pow (sin eps) 2)
243.0ms
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 2) (pow (sin eps) 2)) (* (pow (cos x) 2) (pow (cos eps) 2)))) (cos x))) (/ (sin x) (cos x)))

simplify1.1s

Counts
221 → 221
Iterations

Useful iterations: done (1.0s)

IterNodesCost
031013038
170911830
221999353
done50009326

prune912.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.3b

regimes102.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
034117
146117
done46117

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.5s3341×body1280valid
1.1s666×body2560valid
764.0ms1788×body640valid
204.0ms779×body320valid
93.0ms1078×body80valid
68.0ms348×body160valid