Details

Time bar (total: 13.7s)

sample157.0ms

Algorithm
intervals
Results
69.0ms96×body1280valid
37.0ms19×body2560valid
28.0ms67×body640valid
9.0ms32×body320valid
3.0ms33×body80valid
2.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: 35.8b

localize9.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (tan (+ x eps)) (tan x))
3.7b
(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))

series151.0ms

Counts
2 → 6
Calls
2 calls:
94.0ms
(- (tan (+ x eps)) (tan x))
57.0ms
(tan (+ x eps))

simplify1.3s

Counts
47 → 47
Iterations

Useful iterations: 3 (330.0ms)

IterNodesCost
094720
1194597
2478510
31669450
done5000450

prune130.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 13.2b

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

rewrite83.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:
14.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
52.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series788.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
97.0ms
(+ (tan x) (tan eps))
97.0ms
(* (tan x) (tan eps))
378.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify874.0ms

Counts
181 → 181
Iterations

Useful iterations: done (869.0ms)

IterNodesCost
02404762
15523970
215673555
done50003549

prune430.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 13.1b

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

rewrite17.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))
4.0ms
(pow (* (tan x) (tan eps)) 3)
0.0ms
(fma (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan x) (tan eps)) 3))) (fma (* (tan x) (tan eps)) (fma (tan eps) (tan x) 1) 1) (- (tan x)))

series1.2s

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (tan x) (tan eps))
92.0ms
(* (tan x) (tan eps))
125.0ms
(pow (* (tan x) (tan eps)) 3)
917.0ms
(fma (/ (+ (tan eps) (tan x)) (- 1 (pow (* (tan x) (tan eps)) 3))) (fma (* (tan x) (tan eps)) (fma (tan eps) (tan x) 1) 1) (- (tan x)))

simplify783.0ms

Counts
95 → 95
Iterations

Useful iterations: 2 (217.0ms)

IterNodesCost
01731612
14721474
223501328
done50001328

prune424.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 12.1b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (* (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)))

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

series1.0s

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

simplify736.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (174.0ms)

IterNodesCost
01571832
14171746
216331476
done50011476

prune334.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.2b

regimes86.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
033115
143115
done43115

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.5s3276×body1280valid
1.1s646×body2560valid
789.0ms1863×body640valid
215.0ms766×body320valid
90.0ms1085×body80valid
68.0ms364×body160valid