Details

Time bar (total: 27.0s)

sample315.0ms

Algorithm
intervals
Results
170.0ms114×body1280valid
65.0ms21×body2560valid
41.0ms53×body640valid
12.0ms26×body320valid
5.0ms29×body80valid
5.0ms13×body160valid

simplify9.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
197
2107
done107

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 41.4b

localize20.0ms

Local error

Found 2 expressions with local error:

1.7b
(- (tan (+ x eps)) (tan x))
3.6b
(tan (+ x eps))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt tan-sum frac-sub add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 25
Calls
2 calls:
90.0ms
(- (tan (+ x eps)) (tan x))
14.0ms
(tan (+ x eps))

series248.0ms

Counts
2 → 6
Calls
2 calls:
166.0ms
(- (tan (+ x eps)) (tan x))
82.0ms
(tan (+ x eps))

simplify943.0ms

Counts
31 → 31
Iterations

Useful iterations: done (942.0ms)

IterNodesCost
068367
1135355
2349341
31136337
done5000335

prune116.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 19.2b

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

rewrite203.0ms

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1
distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
flip3-- flip3-+ frac-add associate-/r/ flip-- 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 div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 86
Calls
4 calls:
49.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
14.0ms
(+ (tan x) (tan eps))
18.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:
391.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
140.0ms
(+ (tan x) (tan eps))
132.0ms
(* (tan x) (tan eps))
592.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.2s

Counts
98 → 98
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01721724
14211649
216801579
done50011578

prune448.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 19.1b

localize34.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
4.0b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
17×tan-quot
16×add-sqr-sqrt
10×pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
frac-times associate-*r/ frac-sub
associate-*l/
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
flip3-+ associate--l+ flip-+
distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log flip--
Counts
4 → 82
Calls
4 calls:
31.0ms
(* (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
18.0ms
(* (tan x) (tan eps))
44.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series1.9s

Counts
4 → 12
Calls
4 calls:
156.0ms
(* (tan x) (tan eps))
145.0ms
(* (tan x) (tan eps))
112.0ms
(* (tan x) (tan eps))
1.5s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify2.0s

Counts
94 → 94
Iterations

Useful iterations: 2 (428.0ms)

IterNodesCost
01491880
14561785
228121649
done50021649

prune433.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 19.1b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite366.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
104×*-un-lft-identity
83×add-sqr-sqrt
67×add-cube-cbrt
23×associate-/r*
19×add-exp-log
16×associate-/r/ distribute-lft-out
15×tan-quot
13×add-cbrt-cube
div-exp
pow1 div-inv
associate-/l* add-log-exp
flip3-+ frac-add flip-+ difference-of-squares
cbrt-undiv
associate-*r* associate-*l*
rec-exp flip3-- frac-2neg 1-exp clear-num flip-- associate-/l/ distribute-lft-out--
frac-times sub-neg pow-flip diff-log div-sub associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative frac-sub cbrt-unprod inv-pow unswap-sqr
Counts
4 → 178
Calls
4 calls:
50.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
23.0ms
(* (tan x) (tan eps))
40.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
236.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

series1.4s

Counts
4 → 12
Calls
4 calls:
374.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
129.0ms
(* (tan x) (tan eps))
317.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
534.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

simplify3.1s

Counts
190 → 190
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
02984576
17824210
248323964
done50013964

prune557.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 19.1b

regimes296.0ms

Accuracy

81.2% (1.4b remaining)

Error of 15.9b against oracle of 14.5b and baseline of 22.0b

bsearch360.0ms

Steps
ItersRangePoint
8
5.50408705523778e-118
1.7769217153263766e-113
1.738904653256747e-113
9
-8.91844618026245e-89
-2.4994130436085512e-95
-8.784974285695472e-89

simplify7.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04299
15899
done5899

end0.0ms

sample11.6s

Algorithm
intervals
Results
5.4s3327×body1280valid
2.7s647×body2560valid
2.3s1853×body640valid
430.0ms737×body320valid
180.0ms361×body160valid
166.0ms1075×body80valid