Details

Time bar (total: 8.4s)

sample145.0ms

Algorithm
intervals
Results
70.0ms112×body1280valid
26.0ms19×body2560valid
21.0ms61×body640valid
5.0ms22×body320valid
2.0ms34×body80valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0717
1717

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.8b

Counts
2 → 1

localize17.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (tan (+ x eps)) (tan x))
4.5b
(tan (+ x eps))

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

series66.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04924335
14924335

prune112.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New22931
Fresh000
Picked101
Done000
Total23932

Merged error: 14.0b

Counts
32 → 9

localize19.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.3b
(* (tan x) (tan eps))
2.3b
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

rewrite58.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:
14.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
8.0ms
(+ (tan x) (tan eps))
11.0ms
(* (tan x) (tan eps))
21.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series336.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
34.0ms
(+ (tan x) (tan eps))
35.0ms
(* (tan x) (tan eps))
174.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify72.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
051091563

prune306.0ms

Filtered
74 candidates to 98 candidates (-32.4%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New831598
Fresh628
Picked101
Done000
Total9017107

Merged error: 13.8b

Counts
107 → 17

localize30.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
25×tan-quot
18×pow1
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
11×add-cube-cbrt *-un-lft-identity
frac-times associate-*r/ associate-*l*
associate-*r*
associate-*l/ add-log-exp
pow-prod-down prod-exp frac-sub cbrt-unprod
swap-sqr *-commutative unswap-sqr
flip3-+ associate--l+ flip-+
pow2 distribute-rgt-in sub-neg flip3-- distribute-lft-in pow-plus diff-log pow-sqr pow-prod-up flip--
Counts
4 → 94
Calls
4 calls:
12.0ms
(* (tan x) (* (tan eps) (tan eps)))
8.0ms
(* (tan x) (tan eps))
10.0ms
(* (tan eps) (tan eps))
22.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series636.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (tan x) (* (tan eps) (tan eps)))
36.0ms
(* (tan x) (tan eps))
17.0ms
(* (tan eps) (tan eps))
538.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (* (tan eps) (tan eps)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify63.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049831623
149831623

prune308.0ms

Filtered
72 candidates to 106 candidates (-47.2%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1006106
Fresh41216
Picked101
Done000
Total10518123

Merged error: 13.8b

Counts
123 → 18

localize41.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (cos eps) 2)
0.3b
(* (tan x) (tan eps))
0.3b
(pow (sin eps) 2)
2.3b
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (/ (pow (sin eps) 2) (pow (cos eps) 2)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
tan-quot
pow1 add-exp-log
unpow-prod-down pow-unpow add-cbrt-cube add-log-exp
frac-sub
frac-times associate-*r/ associate-*r* associate-*l*
pow-to-exp pow-pow flip3-+ associate-*l/ pow-exp associate--l+ flip-+ unpow2 sqr-pow
distribute-rgt-in sub-neg flip3-- distribute-lft-in diff-log pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
Counts
4 → 76
Calls
4 calls:
4.0ms
(pow (cos eps) 2)
8.0ms
(* (tan x) (tan eps))
4.0ms
(pow (sin eps) 2)
22.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (/ (pow (sin eps) 2) (pow (cos eps) 2)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

series632.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (cos eps) 2)
39.0ms
(* (tan x) (tan eps))
6.0ms
(pow (sin eps) 2)
581.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (* (tan x) (/ (pow (sin eps) 2) (pow (cos eps) 2)))))) (+ 1 (* (tan x) (tan eps)))) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050311586

prune252.0ms

Filtered
61 candidates to 88 candidates (-44.3%)
Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh31417
Picked011
Done000
Total9016106

Merged error: 13.8b

Counts
106 → 16

regimes390.0ms

Accuracy

84.8% (1.1b remaining)

Error of 15.1b against oracle of 14.0b and baseline of 21.2b

bsearch134.0ms

Steps
ItersRangePoint
7
9.791429827998993e-113
8.123214819136605e-111
7.958520989490561e-111
9
-1.8479730676440648e-18
-5.583288742464845e-24
-8.944935459056774e-23

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08895
18895

end0.0ms

sample4.5s

Algorithm
intervals
Results
2.2s3343×body1280valid
809.0ms570×body2560valid
698.0ms1824×body640valid
191.0ms756×body320valid
84.0ms1154×body80valid
59.0ms353×body160valid

Profiling

Loading profile data...