Details

Time bar (total: 6.3s)

sample82.0ms

Algorithm
intervals
Results
35.0ms100×body1280valid
19.0ms22×body2560valid
12.0ms58×body640valid
5.0ms32×body320valid
2.0ms38×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: 35.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (tan (+ x eps)) (tan x))
3.1b
(tan (+ x eps))

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

series150.0ms

Counts
2 → 6
Calls
2 calls:
102.0ms
(- (tan (+ x eps)) (tan x))
48.0ms
(tan (+ x eps))

simplify101.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (36.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune81.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.3b

Counts
32 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series970.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (tan x) (tan eps))
217.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
107.0ms
(* (tan x) (tan eps))
555.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03971050
114321005
25001995

prune273.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New841498
Fresh437
Picked101
Done000
Total8917106

Merged error: 14.2b

Counts
106 → 17

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (+ (tan x) (tan eps)) (cos x))
0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
6.4b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite29.0ms

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

series501.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(* (+ (tan x) (tan eps)) (cos x))
89.0ms
(* (tan x) (tan eps))
89.0ms
(* (tan x) (tan eps))
206.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify68.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0527955
12405907
25002907

prune343.0ms

Filtered
94 candidates to 72 candidates (76.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New86894
Fresh13316
Picked101
Done000
Total10011111

Merged error: 0.1b

Counts
111 → 11

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (pow (sin x) 2) (sin eps))
0.2b
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
0.2b
(* (tan x) (tan eps))
0.3b
(pow (sin x) 2)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
36×add-exp-log
20×add-cbrt-cube
19×add-sqr-sqrt
14×prod-exp
11×add-cube-cbrt *-un-lft-identity associate-*l*
div-exp
pow1 unpow-prod-down
associate-*r* cbrt-unprod
unswap-sqr
tan-quot cbrt-undiv pow-to-exp pow-exp add-log-exp
pow-unpow unpow2 sqr-pow
*-commutative
frac-times pow-pow frac-2neg times-frac associate-*r/ pow-prod-down associate-*l/ clear-num associate-/r* associate-/r/ cos-mult div-inv associate-/l*
Counts
4 → 92
Calls
4 calls:
6.0ms
(* (pow (sin x) 2) (sin eps))
11.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
5.0ms
(* (tan x) (tan eps))
3.0ms
(pow (sin x) 2)

series259.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (pow (sin x) 2) (sin eps))
99.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
90.0ms
(* (tan x) (tan eps))
18.0ms
(pow (sin x) 2)

simplify57.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0443718
12027593
25001593

prune372.0ms

Filtered
104 candidates to 66 candidates (63.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh5510
Picked101
Done000
Total10411115

Merged error: 0.0b

Counts
115 → 11

regimes131.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02821
12821

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.3s3280×body1280valid
563.0ms641×body2560valid
408.0ms1830×body640valid
121.0ms803×body320valid
51.0ms1110×body80valid
34.0ms336×body160valid