Details

Time bar (total: 7.0s)

sample81.0ms

Algorithm
intervals
Results
44.0ms109×body1280valid
12.0ms14×body2560valid
11.0ms55×body640valid
4.0ms29×body320valid
1.0ms36×body80valid
1.0ms13×body160valid

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.6b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series141.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(- (tan (+ x eps)) (tan x))
50.0ms
(tan (+ x eps))

simplify78.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune90.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 14.2b

Counts
32 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
add-exp-log add-cbrt-cube add-log-exp
tan-quot
pow1
distribute-lft-out associate-/l*
flip3-- associate-*r* associate-*l* associate-/r* flip-- associate-/l/
sub-neg diff-log associate-/r/ difference-of-squares
cbrt-undiv frac-times frac-2neg flip3-+ associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod flip-+ div-inv distribute-lft-out-- unswap-sqr
Counts
4 → 85
Calls
4 calls:
8.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(- 1 (* (tan x) (tan eps)))
5.0ms
(* (tan x) (tan eps))
12.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series839.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
111.0ms
(- 1 (* (tan x) (tan eps)))
96.0ms
(* (tan x) (tan eps))
408.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04011066
115321014
250011004

prune270.0ms

Filtered
97 candidates to 72 candidates (74.2%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New851297
Fresh437
Picked101
Done000
Total9015105

Merged error: 14.1b

Counts
105 → 15

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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)
22.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (cbrt (pow (* (tan x) (tan eps)) 3)))) (tan x))
4.0ms
(cbrt (pow (* (tan x) (tan eps)) 3))

series692.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0384791
11733746
25002745

prune261.0ms

Filtered
94 candidates to 67 candidates (71.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New91394
Fresh11314
Picked101
Done000
Total9316109

Merged error: 14.1b

Counts
109 → 16

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series990.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (tan x) (tan eps))
283.0ms
(/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))
229.0ms
(/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps))))
385.0ms
(- (/ 1 (/ (- 1 (* (tan x) (tan eps))) (+ (tan x) (tan eps)))) (tan x))

simplify82.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
07032793
132942509
250012506

prune303.0ms

Filtered
190 candidates to 103 candidates (54.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1828190
Fresh51015
Picked101
Done000
Total18818206

Merged error: 14.1b

Counts
206 → 18

regimes195.0ms

Accuracy

86.3% (1.0b remaining)

Error of 15.6b against oracle of 14.6b and baseline of 22.1b

bsearch127.0ms

Steps
ItersRangePoint
10
2.4207885364210025e-42
1.5859448309362725e-28
6.983508139458444e-29
9
-2.8323207026383242e-99
-1.2649793061547783e-105
-2.7946411682947094e-99

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03923
13923

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.3s3306×body1280valid
538.0ms634×body2560valid
377.0ms1833×body640valid
100.0ms759×body320valid
44.0ms1105×body80valid
33.0ms363×body160valid