Details

Time bar (total: 18.2s)

sample88.0ms

Algorithm
intervals
Results
39.0ms105×body1280valid
21.0ms25×body2560valid
13.0ms61×body640valid
4.0ms29×body320valid
1.0ms28×body80valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.5b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (tan (+ x eps)) (tan x))
3.6b
(tan (+ x eps))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
tan-quot
add-sqr-sqrt tan-sum *-un-lft-identity add-log-exp
frac-sub
pow1 add-exp-log +-commutative add-cube-cbrt add-cbrt-cube
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 27
Calls
2 calls:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series146.0ms

Counts
2 → 6
Calls
2 calls:
94.0ms
(- (tan (+ x eps)) (tan x))
51.0ms
(tan (+ x eps))

simplify84.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0146236
1307227
2769225
32494224
45001224

prune93.0ms

Filtered
33 candidates to 25 candidates (75.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New25833
Fresh000
Picked101
Done000
Total26834

Merged error: 16.3b

Counts
34 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
78×add-sqr-sqrt
37×times-frac
29×tan-quot
26×difference-of-squares
23×add-cube-cbrt
19×frac-sub
18×associate-/r*
13×distribute-lft-out-- unswap-sqr
12×distribute-lft-out
associate-*l*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 associate-/l/
flip3-+ associate-*r* frac-add flip-+
flip3-- frac-2neg clear-num associate-/r/ flip--
cbrt-undiv +-commutative frac-times sub-neg diff-log associate-*r/ div-exp pow-prod-down associate-*l/ prod-exp sum-log *-commutative cbrt-unprod div-inv
Counts
4 → 134
Calls
4 calls:
18.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x))))
5.0ms
(+ (tan x) (tan eps))
5.0ms
(* (tan eps) (tan x))
29.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x)))) (tan x))

series757.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x))))
91.0ms
(+ (tan x) (tan eps))
95.0ms
(* (tan eps) (tan x))
361.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan eps) (tan x)))) (tan x))

simplify68.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06032005
123351933
250021933

prune398.0ms

Filtered
146 candidates to 96 candidates (65.8%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New12719146
Fresh707
Picked101
Done000
Total13519154

Merged error: 16.2b

Counts
154 → 19

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite291.0ms

Algorithm
rewrite-expression-head
Rules
126×tan-quot add-sqr-sqrt
80×frac-sub
71×frac-times
69×*-un-lft-identity
48×pow1 associate-/r*
39×associate-*l/ difference-of-squares
36×associate-*l*
33×associate-*r*
31×add-cube-cbrt
30×flip3-+ flip-+
29×unswap-sqr
24×unpow-prod-down cube-prod
21×add-exp-log add-cbrt-cube
19×pow-prod-down
15×associate-*r/
14×swap-sqr
12×associate-/l*
10×prod-exp cbrt-unprod
associate-/l/
associate--l+ *-commutative
sqr-pow
add-log-exp
distribute-lft-out--
+-commutative distribute-rgt-in associate-+r+ distribute-lft-in pow-sqr pow-prod-up
cube-div pow-unpow frac-2neg frac-add clear-num distribute-lft-out
pow-pow pow-plus pow-exp rem-cube-cbrt
pow2 cube-mult pow-to-exp sub-neg flip3-- times-frac diff-log unpow3 flip--
Counts
4 → 261
Calls
4 calls:
5.0ms
(* (tan eps) (tan x))
18.0ms
(* (* (tan eps) (tan x)) (* (tan eps) (tan x)))
8.0ms
(pow (* (tan eps) (tan x)) 3)
241.0ms
(- (* (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3))) (+ (* 1 1) (+ (* (* (tan eps) (tan x)) (* (tan eps) (tan x))) (* 1 (* (tan eps) (tan x)))))) (tan x))

series1.9s

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan eps) (tan x))
112.0ms
(* (* (tan eps) (tan x)) (* (tan eps) (tan x)))
128.0ms
(pow (* (tan eps) (tan x)) 3)
1.6s
(- (* (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3))) (+ (* 1 1) (+ (* (* (tan eps) (tan x)) (* (tan eps) (tan x))) (* 1 (* (tan eps) (tan x)))))) (tan x))

simplify115.0ms

Algorithm
egg-herbie
Counts
273 → 273
Iterations

Useful iterations: 1 (50.0ms)

IterNodesCost
023738301
150028084

prune866.0ms

Filtered
273 candidates to 157 candidates (57.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2676273
Fresh13518
Picked101
Done000
Total28111292

Merged error: 14.0b

Counts
292 → 11

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (* (tan eps) (tan x)) 3)
0.3b
(pow (* (tan eps) (tan x)) 3)
0.3b
(* (+ (* (* (tan eps) (tan x)) (* (tan eps) (tan x))) (* 1 (* (tan eps) (tan x)))) (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3))))
2.4b
(- (* 1 (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3)))) (tan x))

rewrite789.0ms

Algorithm
rewrite-expression-head
Rules
4347×tan-quot
3006×frac-times
2565×associate-*r/
1345×associate-*l/
1264×frac-add
1235×add-sqr-sqrt
784×associate-/r*
762×*-un-lft-identity
641×difference-of-squares
236×unpow-prod-down cube-prod
224×unswap-sqr
200×associate-/l*
147×associate-/l/
144×add-cube-cbrt
136×associate-*r*
108×sqr-pow
94×associate-*l*
86×distribute-lft-out
76×flip3-+ flip-+
67×times-frac
56×distribute-lft-out--
51×clear-num
49×frac-2neg
29×frac-sub
24×distribute-rgt-out
15×add-exp-log add-cbrt-cube
13×*-commutative
12×pow1
swap-sqr
cube-div pow-unpow un-div-inv add-log-exp
pow-pow pow-exp prod-exp cbrt-unprod rem-cube-cbrt
pow-prod-down
cube-mult pow-to-exp flip3-- unpow3 associate-/r/ flip--
cbrt-undiv sub-neg diff-log div-exp div-inv
Counts
4 → 1572
Calls
4 calls:
8.0ms
(pow (* (tan eps) (tan x)) 3)
8.0ms
(pow (* (tan eps) (tan x)) 3)
175.0ms
(* (+ (* (* (tan eps) (tan x)) (* (tan eps) (tan x))) (* 1 (* (tan eps) (tan x)))) (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3))))
67.0ms
(- (* 1 (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3)))) (tan x))

series1.2s

Counts
4 → 12
Calls
4 calls:
124.0ms
(pow (* (tan eps) (tan x)) 3)
121.0ms
(pow (* (tan eps) (tan x)) 3)
483.0ms
(* (+ (* (* (tan eps) (tan x)) (* (tan eps) (tan x))) (* 1 (* (tan eps) (tan x)))) (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3))))
514.0ms
(- (* 1 (/ (+ (tan x) (tan eps)) (- 1 (pow (* (tan eps) (tan x)) 3)))) (tan x))

simplify443.0ms

Algorithm
egg-herbie
Counts
1584 → 1584
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0500158723

prune7.8s

Filtered
1584 candidates to 1066 candidates (67.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New157771584
Fresh7310
Picked101
Done000
Total1585101595

Merged error: 0.1b

Counts
1595 → 10

regimes169.0ms

Accuracy

99.2% (0.2b remaining)

Error of 0.3b against oracle of 0.2b and baseline of 20.2b

bsearch208.0ms

Steps
ItersRangePoint
8
2.4853599159652707e-08
7.157538394725048e-05
1.0062887731628292e-05
10
-158403.45398835975
-1.2252616440760547e-11
-4.231189509677948e-06

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0109130
1143130
2148130
3148130

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.3s3264×body1280valid
606.0ms685×body2560valid
393.0ms1819×body640valid
109.0ms777×body320valid
48.0ms1139×body80valid
29.0ms316×body160valid