Details

Time bar (total: 6.8s)

sample88.0ms

Algorithm
intervals
Results
45.0ms116×body1280valid
16.0ms72×body640valid
13.0ms15×body2560valid
2.0ms16×body320valid
1.0ms30×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.2b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

0.6b
(- (tan (+ x eps)) (tan x))
2.9b
(tan (+ x eps))

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

series146.0ms

Counts
2 → 6
Calls
2 calls:
92.0ms
(- (tan (+ x eps)) (tan x))
54.0ms
(tan (+ x eps))

simplify81.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune83.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New24731
Fresh000
Picked101
Done000
Total25732

Merged error: 14.8b

Counts
32 → 7

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

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

series764.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
95.0ms
(+ (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
359.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify47.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03971050
114321005
25001995

prune252.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New841498
Fresh336
Picked101
Done000
Total8817105

Merged error: 14.8b

Counts
105 → 17

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (tan x) (tan eps))
0.1b
(* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))))
0.2b
(* (tan x) (tan eps))
1.7b
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
22×tan-quot
19×*-un-lft-identity
18×associate-*r*
15×add-exp-log
14×add-cube-cbrt
11×times-frac add-cbrt-cube
pow1 frac-sub add-log-exp
frac-times associate-*l* associate-*l/
flip3-+ frac-add prod-exp flip-+
unswap-sqr
associate-*r/ cbrt-unprod
flip3-- div-exp pow-prod-down associate-/r/ un-div-inv *-commutative flip-- distribute-lft-out
cbrt-undiv +-commutative sub-neg rec-exp diff-log 1-exp sum-log div-inv
Counts
4 → 99
Calls
4 calls:
4.0ms
(+ (tan x) (tan eps))
13.0ms
(* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

series763.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(+ (tan x) (tan eps))
216.0ms
(* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps)))))
93.0ms
(* (tan x) (tan eps))
361.0ms
(- (* (+ (tan x) (tan eps)) (/ 1 (- 1 (* (tan x) (tan eps))))) (tan x))

simplify66.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05611286
125471185
250011184

prune284.0ms

Filtered
111 candidates to 82 candidates (73.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1074111
Fresh21416
Picked101
Done000
Total11018128

Merged error: 14.7b

Counts
128 → 18

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.3b
(pow (* (tan x) (tan eps)) 3)
1.7b
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
23.9b
(cbrt (pow (* (tan x) (tan eps)) 3))

rewrite43.0ms

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

series691.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(* (tan x) (tan eps))
128.0ms
(pow (* (tan x) (tan eps)) 3)
371.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
96.0ms
(cbrt (pow (* (tan x) (tan eps)) 3))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0384787
11733744
25002743

prune221.0ms

Filtered
94 candidates to 66 candidates (70.2%)
Pruning

19 alts after pruning (18 fresh and 1 done)

PrunedKeptTotal
New93194
Fresh01717
Picked011
Done000
Total9319112

Merged error: 14.7b

Counts
112 → 19

regimes186.0ms

Accuracy

83.7% (1.2b remaining)

Error of 15.3b against oracle of 14.2b and baseline of 21.2b

bsearch143.0ms

Steps
ItersRangePoint
10
1.601655691670321e-121
8.465412832341177e-111
8.349705234817486e-111
7
-8.55212409334588e-51
-3.3886585713584866e-52
-5.1774237133732126e-51

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04943
14943

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.4s3327×body1280valid
513.0ms575×body2560valid
436.0ms1859×body640valid
116.0ms765×body320valid
55.0ms1114×body80valid
38.0ms360×body160valid

Profiling

Loading profile data...