Details

Time bar (total: 8.4s)

sample94.0ms

Algorithm
intervals
Results
45.0ms122×body1280valid
14.0ms19×body2560valid
12.0ms54×body640valid
4.0ms28×body320valid
1.0ms27×body80valid
1.0msbody160valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series45.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(- (tan (+ x eps)) (tan x))
18.0ms
(tan (+ x eps))

simplify1.0s

Counts
31 → 31
Iterations

Useful iterations: 4 (163.0ms)

IterNodesCost
068367
1136355
2302341
3555337
41262335
53074335
done5000335

prune72.0ms

Filtered
25 candidates to 31 candidates (-24.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 14.6b

Counts
32 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 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))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
sub-neg flip3-- diff-log flip-- difference-of-squares
+-commutative frac-times flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 62
Calls
4 calls:
3.0ms
(- 1 (* (tan x) (tan eps)))
5.0ms
(+ (tan x) (tan eps))
6.0ms
(* (tan x) (tan eps))
16.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series193.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- 1 (* (tan x) (tan eps)))
24.0ms
(+ (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
115.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify801.0ms

Counts
74 → 74
Iterations

Useful iterations: 3 (301.0ms)

IterNodesCost
01461093
13641066
21038990
32786974
done5000974

prune172.0ms

Filtered
58 candidates to 74 candidates (-27.6%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New561874
Fresh527
Picked101
Done000
Total622082

Merged error: 14.4b

Counts
82 → 20

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(log (exp (- 1 (* (tan x) (tan eps)))))
0.2b
(exp (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
2.8b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
11×*-un-lft-identity
add-cube-cbrt add-log-exp
pow1
add-exp-log exp-prod add-cbrt-cube
tan-quot log-prod
exp-sum log-pow
sub-neg associate-*r* associate-*l*
exp-diff diff-log rem-exp-log difference-of-squares
frac-times log-div flip3-- times-frac associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp *-commutative frac-sub flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
4.0ms
(log (exp (- 1 (* (tan x) (tan eps)))))
4.0ms
(exp (- 1 (* (tan x) (tan eps))))
6.0ms
(* (tan x) (tan eps))
17.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series206.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(log (exp (- 1 (* (tan x) (tan eps)))))
39.0ms
(exp (- 1 (* (tan x) (tan eps))))
24.0ms
(* (tan x) (tan eps))
114.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify674.0ms

Counts
82 → 82
Iterations

Useful iterations: 3 (253.0ms)

IterNodesCost
01451249
13201143
29061048
325201030
done50001030

prune175.0ms

Filtered
58 candidates to 82 candidates (-41.4%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh31619
Picked101
Done000
Total8418102

Merged error: 14.4b

Counts
102 → 18

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
13×tan-quot
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
add-cube-cbrt
associate-*r* associate-*l* add-log-exp
cube-div frac-times pow-unpow times-frac associate-*r/ pow-prod-down associate-*l/ prod-exp cbrt-unprod difference-of-squares
pow-pow pow-exp *-commutative rem-cube-cbrt unswap-sqr
cube-mult pow-to-exp sub-neg unpow-prod-down flip3-- diff-log unpow3 cube-prod frac-sub flip-- distribute-lft-out-- sqr-pow
Counts
4 → 84
Calls
4 calls:
6.0ms
(* (tan x) (tan eps))
6.0ms
(* (tan x) (tan eps))
6.0ms
(pow (* (tan x) (tan eps)) 3)
58.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) 1))) (tan x))

series752.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (tan x) (tan eps))
24.0ms
(* (tan x) (tan eps))
43.0ms
(pow (* (tan x) (tan eps)) 3)
661.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) 1))) (tan x))

simplify867.0ms

Counts
96 → 96
Iterations

Useful iterations: done (864.0ms)

IterNodesCost
01962105
15702038
225871880
done50001877

prune164.0ms

Filtered
72 candidates to 96 candidates (-33.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New91596
Fresh31417
Picked101
Done000
Total9519114

Merged error: 14.4b

Counts
114 → 19

regimes270.0ms

Accuracy

83.6% (1.2b remaining)

Error of 16.0b against oracle of 14.8b and baseline of 21.8b

bsearch62.0ms

Steps
ItersRangePoint
7
1.4651069296553002e-100
9.132868286318998e-99
8.962372584124604e-99
6
-3.999592858071278e-34
-2.5507132976570226e-35
-3.879859333564107e-34

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03195
14559
done4559

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3322×body1280valid
498.0ms668×body2560valid
400.0ms1802×body640valid
117.0ms745×body320valid
52.0ms1108×body80valid
40.0ms355×body160valid

Profiling

Loading profile data...