Details

Time bar (total: 9.1s)

sample150.0ms

Algorithm
intervals
Results
79.0ms113×body1280valid
30.0ms18×body2560valid
19.0ms47×body640valid
7.0ms25×body320valid
4.0ms37×body80valid
3.0ms16×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: 35.5b

localize15.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (tan (+ x eps)) (tan x))
2.6b
(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:
7.0ms
(- (tan (+ x eps)) (tan x))
4.0ms
(tan (+ x eps))

series139.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune91.0ms

Filtered
31 candidates to 25 candidates (80.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 12.9b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
10×*-un-lft-identity add-log-exp
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
sub-neg flip3-- diff-log flip-- difference-of-squares
+-commutative frac-times flip3-+ times-frac associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 62
Calls
4 calls:
2.0ms
(- 1 (* (tan x) (tan eps)))
3.0ms
(+ (tan x) (tan eps))
8.0ms
(* (tan x) (tan eps))
39.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series640.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(- 1 (* (tan x) (tan eps)))
91.0ms
(+ (tan x) (tan eps))
89.0ms
(* (tan x) (tan eps))
353.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify122.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0343662
11170624
24756614
35001614

prune234.0ms

Filtered
74 candidates to 56 candidates (75.7%)
Pruning

18 alts after pruning (18 fresh and 0 done)

Merged error: 12.7b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (tan eps))
0.2b
(exp (- 1 (* (tan x) (tan eps))))
0.2b
(* (tan x) (tan eps))
3.8b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×*-un-lft-identity add-log-exp
tan-quot add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
exp-prod associate-*r* associate-*l*
sub-neg diff-log exp-sum rem-exp-log difference-of-squares
+-commutative frac-times flip3-- flip3-+ times-frac exp-diff associate-*r/ pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 65
Calls
4 calls:
3.0ms
(+ (tan x) (tan eps))
5.0ms
(exp (- 1 (* (tan x) (tan eps))))
5.0ms
(* (tan x) (tan eps))
71.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

series679.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(+ (tan x) (tan eps))
136.0ms
(exp (- 1 (* (tan x) (tan eps))))
94.0ms
(* (tan x) (tan eps))
357.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (* (tan x) (tan eps)))))) (tan x))

simplify101.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0345719
11088666
23871654
35001654

prune286.0ms

Filtered
77 candidates to 58 candidates (75.3%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 12.7b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (tan x) (tan eps))
0.2b
(exp (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
0.3b
(* (tan x) (sin eps))
3.8b
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (/ (* (tan x) (sin eps)) (cos eps)))))) (tan x))

rewrite209.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
14×*-un-lft-identity
11×add-log-exp
add-cube-cbrt
pow1 add-exp-log exp-prod add-cbrt-cube
tan-quot difference-of-squares
associate-*r* associate-*l*
sub-neg diff-log exp-sum rem-exp-log distribute-lft-out--
+-commutative flip3-- flip3-+ times-frac exp-diff pow-prod-down associate-*l/ frac-add prod-exp sum-log *-commutative frac-sub flip-- cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 66
Calls
4 calls:
3.0ms
(+ (tan x) (tan eps))
18.0ms
(exp (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
5.0ms
(* (tan x) (sin eps))
181.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (/ (* (tan x) (sin eps)) (cos eps)))))) (tan x))

series674.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(+ (tan x) (tan eps))
147.0ms
(exp (- 1 (/ (* (tan x) (sin eps)) (cos eps))))
68.0ms
(* (tan x) (sin eps))
365.0ms
(- (/ (+ (tan x) (tan eps)) (log (exp (- 1 (/ (* (tan x) (sin eps)) (cos eps)))))) (tan x))

simplify100.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0359808
11098744
23905729
35001729

prune278.0ms

Filtered
78 candidates to 59 candidates (75.6%)
Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 12.7b

regimes171.0ms

Accuracy

90.3% (0.7b remaining)

Error of 15.0b against oracle of 14.3b and baseline of 21.6b

bsearch121.0ms

Steps
ItersRangePoint
7
2.5619879438810137e-23
5.215877061287173e-22
2.0534977977042638e-22
6
-1.772314194330786e-26
-2.4976135847146302e-27
-5.9719887302803746e-27

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03523
13523

end0.0ms

sample4.8s

Algorithm
intervals
Results
2.5s3326×body1280valid
1.0s601×body2560valid
753.0ms1838×body640valid
203.0ms747×body320valid
103.0ms1118×body80valid
71.0ms370×body160valid