Details

Time bar (total: 8.8s)

sample176.0ms

Algorithm
intervals
Results
93.0ms119×body1280valid
28.0ms15×body2560valid
26.0ms59×body640valid
8.0ms26×body320valid
7.0ms11×body160valid
3.0ms26×body80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(- (tan (+ x eps)) (tan x))
3.4b
(tan (+ x eps))

rewrite11.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))
3.0ms
(tan (+ x eps))

series146.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (23.0ms)

IterNodesCost
0134211
1295202
2757200
32482199
45001199

prune90.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 13.4b

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

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

series759.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
93.0ms
(+ (tan x) (tan eps))
94.0ms
(* (tan x) (tan eps))
360.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03971050
114321005
25001995

prune276.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 13.3b

localize24.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (tan x) (tan eps)) (cos x))
0.3b
(* (tan x) (tan eps))
0.3b
(* (tan x) (tan eps))
6.0b
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

rewrite36.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:
13.0ms
(* (+ (tan x) (tan eps)) (cos x))
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
11.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

series519.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (+ (tan x) (tan eps)) (cos x))
93.0ms
(* (tan x) (tan eps))
91.0ms
(* (tan x) (tan eps))
213.0ms
(- (* (+ (tan x) (tan eps)) (cos x)) (* (- 1 (* (tan x) (tan eps))) (sin x)))

simplify72.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0527955
12405907
25002907

prune364.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize28.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.3b
(* (tan x) (tan eps))
0.3b
(pow (sin x) 2)

rewrite23.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:
7.0ms
(* (pow (sin x) 2) (sin eps))
6.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
5.0ms
(* (tan x) (tan eps))
2.0ms
(pow (sin x) 2)

series276.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (pow (sin x) 2) (sin eps))
104.0ms
(/ (* (pow (sin x) 2) (sin eps)) (* (cos x) (cos eps)))
95.0ms
(* (tan x) (tan eps))
20.0ms
(pow (sin x) 2)

simplify61.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0443718
12027593
25001593

prune372.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

regimes143.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03022
13022

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.6s3329×body1280valid
1.1s656×body2560valid
820.0ms1815×body640valid
234.0ms765×body320valid
136.0ms1106×body80valid
71.0ms329×body160valid