Details

Time bar (total: 10.7s)

sample86.0ms

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

simplify3.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

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

series42.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(- (tan (+ x eps)) (tan x))
16.0ms
(tan (+ x eps))

simplify1.9s

Counts
31 → 31
Iterations

Useful iterations: 4 (261.0ms)

IterNodesCost
068367
1136355
2289341
3542337
41299335
53504335
done5001335

prune67.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

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

rewrite27.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))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series184.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(- 1 (* (tan x) (tan eps)))
23.0ms
(+ (tan x) (tan eps))
23.0ms
(* (tan x) (tan eps))
112.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify1.9s

Counts
74 → 74
Iterations

Useful iterations: 3 (743.0ms)

IterNodesCost
01461093
13381049
2893989
32551974
done5000974

prune178.0ms

Filtered
57 candidates to 74 candidates (-29.8%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New561874
Fresh527
Picked101
Done000
Total622082

Merged error: 14.4b

Counts
82 → 20

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

series198.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(log (exp (- 1 (* (tan x) (tan eps)))))
35.0ms
(exp (- 1 (* (tan x) (tan eps))))
23.0ms
(* (tan x) (tan eps))
112.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify1.2s

Counts
82 → 82
Iterations

Useful iterations: 3 (490.0ms)

IterNodesCost
01451249
13101138
28221045
322821030
done50011030

prune170.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
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))

rewrite75.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)
55.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) 1))) (tan x))

series714.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan x) (tan eps))
23.0ms
(* (tan x) (tan eps))
37.0ms
(pow (* (tan x) (tan eps)) 3)
632.0ms
(- (/ (+ (tan x) (tan eps)) (/ (- 1 (pow (* (tan x) (tan eps)) 3)) (+ (* (* (tan x) (tan eps)) (+ 1 (* (tan x) (tan eps)))) 1))) (tan x))

simplify759.0ms

Counts
96 → 96
Iterations

Useful iterations: 2 (199.0ms)

IterNodesCost
01962105
15481967
225841877
done50011877

prune171.0ms

Filtered
70 candidates to 96 candidates (-37.1%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New92496
Fresh21517
Picked101
Done000
Total9519114

Merged error: 14.4b

Counts
114 → 19

regimes289.0ms

Accuracy

83.5% (1.2b remaining)

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

bsearch60.0ms

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

simplify4.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02991
14255
done4255

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.2s3322×body1280valid
487.0ms668×body2560valid
393.0ms1802×body640valid
108.0ms745×body320valid
53.0ms1108×body80valid
34.0ms355×body160valid

Profiling

Loading profile data...