Details

Time bar (total: 9.2s)

sample159.0ms

Algorithm
intervals
Results
75.0ms106×body1280valid
41.0ms25×body2560valid
24.0ms61×body640valid
5.0ms20×body320valid
3.0ms32×body80valid
2.0ms12×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.5b

localize8.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
3.5b
(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:
8.0ms
(- (tan (+ x eps)) (tan x))
3.0ms
(tan (+ x eps))

series144.0ms

Counts
2 → 6
Calls
2 calls:
87.0ms
(- (tan (+ x eps)) (tan x))
57.0ms
(tan (+ x eps))

simplify77.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune84.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.5b

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

rewrite61.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:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
39.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series727.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
87.0ms
(+ (tan x) (tan eps))
88.0ms
(* (tan x) (tan eps))
345.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify46.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03971050
114321005
25001995

prune288.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.3b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite96.0ms

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

series618.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(+ (tan x) (tan eps))
94.0ms
(/ (* (tan x) (sin eps)) (cos eps))
68.0ms
(* (tan x) (sin eps))
364.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ (* (tan x) (sin eps)) (cos eps)))) (tan x))

simplify45.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0385785
11424712
25001700

prune283.0ms

Filtered
82 candidates to 59 candidates (72.0%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 14.3b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin eps))
0.2b
(/ (cos eps) (* (tan x) (sin eps)))
0.5b
(/ 1 (/ (cos eps) (* (tan x) (sin eps))))
1.4b
(- (/ (+ (tan x) (tan eps)) (- 1 (/ 1 (/ (cos eps) (* (tan x) (sin eps)))))) (tan x))

rewrite263.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
32×add-exp-log add-sqr-sqrt
27×*-un-lft-identity
25×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
associate-/r*
tan-quot pow1 cbrt-undiv
associate-*l/ associate-/r/ div-inv associate-/l* add-log-exp
prod-exp
rec-exp 1-exp associate-*r* associate-*l* cbrt-unprod
frac-2neg clear-num difference-of-squares
sub-neg flip3-- pow-flip diff-log pow-prod-down *-commutative frac-sub flip-- distribute-lft-out-- inv-pow unswap-sqr
Counts
4 → 117
Calls
4 calls:
4.0ms
(* (tan x) (sin eps))
5.0ms
(/ (cos eps) (* (tan x) (sin eps)))
9.0ms
(/ 1 (/ (cos eps) (* (tan x) (sin eps))))
241.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ 1 (/ (cos eps) (* (tan x) (sin eps)))))) (tan x))

series636.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(* (tan x) (sin eps))
103.0ms
(/ (cos eps) (* (tan x) (sin eps)))
101.0ms
(/ 1 (/ (cos eps) (* (tan x) (sin eps))))
364.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (/ 1 (/ (cos eps) (* (tan x) (sin eps)))))) (tan x))

simplify58.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05201303
121731160
250021116

prune324.0ms

Filtered
129 candidates to 77 candidates (59.7%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 14.3b

regimes129.0ms

Accuracy

73.8% (1.9b remaining)

Error of 15.8b against oracle of 13.8b and baseline of 21.1b

bsearch232.0ms

Steps
ItersRangePoint
9
4.017695445394683e-173
5.816336440788529e-167
5.748527172026931e-167
10
-2.3022776580077488e-90
-1.7535355178555737e-102
-2.2637252434053613e-90

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04440
14940
24940

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.4s3292×body1280valid
1.1s636×body2560valid
723.0ms1787×body640valid
224.0ms805×body320valid
90.0ms1118×body80valid
63.0ms362×body160valid