Details

Time bar (total: 13.5s)

sample151.0ms

Algorithm
intervals
Results
69.0ms95×body1280valid
37.0ms22×body2560valid
23.0ms58×body640valid
6.0ms25×body320valid
3.0ms38×body80valid
3.0ms18×body160valid

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: 34.0b

localize9.0ms

Local error

Found 2 expressions with local error:

2.6b
(- (tan (+ x eps)) (tan x))
3.9b
(tan (+ x eps))

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

series142.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (tan (+ x eps)) (tan x))
55.0ms
(tan (+ x eps))

simplify1.3s

Counts
47 → 47
Iterations

Useful iterations: 3 (271.0ms)

IterNodesCost
094720
1199597
2544510
32330450
done5000450

prune118.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 13.3b

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

rewrite77.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:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
50.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series730.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
89.0ms
(+ (tan x) (tan eps))
89.0ms
(* (tan x) (tan eps))
346.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.1s

Counts
181 → 181
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02404762
15763970
219363549
done50003525

prune452.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 13.2b

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

rewrite40.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:
6.0ms
(* (tan x) (tan eps))
6.0ms
(* (tan x) (tan eps))
24.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
1.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

series966.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (tan x) (tan eps))
91.0ms
(* (tan x) (tan eps))
125.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
655.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (fma (tan eps) (tan x) 1) (- (tan x)))

simplify637.0ms

Counts
119 → 119
Iterations

Useful iterations: 2 (160.0ms)

IterNodesCost
01571832
14241746
217751476
done50001476

prune420.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 13.2b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (* (sin x) (tan eps)) (* (tan x) (tan eps)))
4.0b
(fma (/ (+ (tan x) (tan eps)) (- 1 (/ (* (* (sin x) (tan eps)) (* (tan x) (tan eps))) (cos x)))) (fma (tan eps) (tan x) 1) (- (tan x)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1 add-exp-log add-cbrt-cube
17×tan-quot
12×add-sqr-sqrt
11×associate-*r/
10×pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
frac-times
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
*-commutative
unswap-sqr
fma-udef
Counts
4 → 85
Calls
4 calls:
4.0ms
(* (sin x) (tan eps))
5.0ms
(* (tan x) (tan eps))
23.0ms
(* (* (sin x) (tan eps)) (* (tan x) (tan eps)))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (/ (* (* (sin x) (tan eps)) (* (tan x) (tan eps))) (cos x)))) (fma (tan eps) (tan x) 1) (- (tan x)))

series965.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(* (sin x) (tan eps))
94.0ms
(* (tan x) (tan eps))
135.0ms
(* (* (sin x) (tan eps)) (* (tan x) (tan eps)))
655.0ms
(fma (/ (+ (tan x) (tan eps)) (- 1 (/ (* (* (sin x) (tan eps)) (* (tan x) (tan eps))) (cos x)))) (fma (tan eps) (tan x) 1) (- (tan x)))

simplify736.0ms

Counts
97 → 97
Iterations

Useful iterations: 2 (193.0ms)

IterNodesCost
01701673
14581642
220231373
done50011373

prune387.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

regimes99.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.5s3289×body1280valid
1.2s686×body2560valid
787.0ms1815×body640valid
220.0ms736×body320valid
109.0ms1115×body80valid
66.0ms359×body160valid