Details

Time bar (total: 25.7s)

sample326.0ms

Algorithm
intervals
Results
157.0ms106×body1280valid
82.0ms58×body640valid
46.0ms16×body2560valid
15.0ms25×body320valid
7.0ms36×body80valid
5.0ms15×body160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 38.2b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite78.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:
67.0ms
(- (tan (+ x eps)) (tan x))
9.0ms
(tan (+ x eps))

series565.0ms

Counts
2 → 6
Calls
2 calls:
486.0ms
(- (tan (+ x eps)) (tan x))
79.0ms
(tan (+ x eps))

simplify2.5s

Counts
47 → 47
Iterations

Useful iterations: done (2.5s)

IterNodesCost
094720
1194597
2457510
31461450
done5000438

prune149.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 14.2b

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

rewrite241.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:
61.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
18.0ms
(+ (tan x) (tan eps))
28.0ms
(* (tan x) (tan eps))
118.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series1.3s

Counts
4 → 12
Calls
4 calls:
367.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
134.0ms
(+ (tan x) (tan eps))
150.0ms
(* (tan x) (tan eps))
611.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.6s

Counts
181 → 181
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02404762
15603970
215583555
done50003149

prune627.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 14.1b

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

rewrite146.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:
20.0ms
(* (tan x) (tan eps))
32.0ms
(* (tan x) (tan eps))
88.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)))

series1.3s

Counts
4 → 12
Calls
4 calls:
130.0ms
(* (tan x) (tan eps))
147.0ms
(* (tan x) (tan eps))
153.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
882.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify1.5s

Counts
119 → 119
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01581871
14281759
214761476
done50001399

prune519.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 14.1b

localize49.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.4b
(pow (* (tan x) (tan eps)) (* 2 3))
2.8b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (cbrt (pow (* (tan x) (tan eps)) (* 2 3))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))
10.7b
(cbrt (pow (* (tan x) (tan eps)) (* 2 3)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
cbrt-prod
tan-quot expm1-log1p-u log1p-expm1-u add-log-exp
associate-*r* associate-*l*
unpow-prod-down pow-pow pow-prod-down pow-exp prod-exp sqr-pow
frac-times pow-to-exp pow-unpow pow1/3 associate-*r/ associate-*l/ *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 65
Calls
4 calls:
17.0ms
(* (tan x) (tan eps))
13.0ms
(pow (* (tan x) (tan eps)) (* 2 3))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (cbrt (pow (* (tan x) (tan eps)) (* 2 3))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))
9.0ms
(cbrt (pow (* (tan x) (tan eps)) (* 2 3)))

series1.4s

Counts
4 → 12
Calls
4 calls:
159.0ms
(* (tan x) (tan eps))
199.0ms
(pow (* (tan x) (tan eps)) (* 2 3))
885.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (cbrt (pow (* (tan x) (tan eps)) (* 2 3))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))
166.0ms
(cbrt (pow (* (tan x) (tan eps)) (* 2 3)))

simplify1.1s

Counts
77 → 77
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01681481
14201305
212971138
done50011078

prune544.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.1b

regimes181.0ms

Accuracy

87.7% (0.9b remaining)

Error of 15.2b against oracle of 14.3b and baseline of 21.8b

bsearch306.0ms

Steps
ItersRangePoint
9
1.7638441963605991e-34
9.114405519066242e-29
5.858392615759789e-32
6
-1.0258849894178107e-80
-9.969104774869095e-82
-8.360406307762017e-81

simplify10.0ms

Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
04383
15879
done5879

end0.0ms

sample11.2s

Algorithm
intervals
Results
4.8s3225×body1280valid
3.1s633×body2560valid
1.8s1918×body640valid
827.0ms737×body320valid
179.0ms1136×body80valid
152.0ms351×body160valid