Details

Time bar (total: 10.8s)

sample151.0ms

Algorithm
intervals
Results
77.0ms111×body1280valid
31.0ms19×body2560valid
22.0ms56×body640valid
5.0ms19×body320valid
3.0ms39×body80valid
2.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.3b

localize8.0ms

Local error

Found 2 expressions with local error:

0.4b
(- (tan (+ x eps)) (tan x))
3.7b
(tan (+ x eps))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
tan-quot add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u tan-sum frac-sub add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
23.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series148.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune114.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 11.3b

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

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
102×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
61×times-frac
54×prod-diff
18×fma-neg
17×distribute-lft-out
10×associate-/r/
tan-quot
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-- flip--
div-inv
expm1-log1p-u log1p-expm1-u associate-/l*
fma-def associate-*r* associate-*l* associate-/r* associate-/l/
flip3-+ frac-add 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 distribute-lft-out-- unswap-sqr
Counts
4 → 169
Calls
4 calls:
28.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
8.0ms
(+ (tan x) (tan eps))
14.0ms
(* (tan x) (tan eps))
93.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series801.0ms

Counts
4 → 12
Calls
4 calls:
224.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
97.0ms
(+ (tan x) (tan eps))
98.0ms
(* (tan x) (tan eps))
380.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05592915
120542366
250012345

prune420.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 11.1b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
48×pow1
40×tan-quot
21×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
10×prod-exp cbrt-unprod
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r* associate-*l* pow-sqr pow-prod-up log1p-expm1-u add-log-exp
cube-div pow-unpow
pow-pow pow-plus pow-exp *-commutative rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod swap-sqr fma-udef unswap-sqr sqr-pow
Counts
4 → 111
Calls
4 calls:
14.0ms
(* (tan x) (tan eps))
65.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
15.0ms
(pow (* (tan x) (tan eps)) 3)
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps))))) (- (tan x)))

series1.3s

Counts
4 → 12
Calls
4 calls:
95.0ms
(* (tan x) (tan eps))
122.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
129.0ms
(pow (* (tan x) (tan eps)) 3)
935.0ms
(fma (/ (+ (tan x) (tan eps)) (- (pow 1 3) (pow (* (tan x) (tan eps)) 3))) (+ (* 1 1) (+ (* (* (tan x) (tan eps)) (* (tan x) (tan eps))) (* 1 (* (tan x) (tan eps))))) (- (tan x)))

simplify101.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06791189
138411058
250011053

prune459.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize63.0ms

Local error

Found 4 expressions with local error:

0.4b
(pow (cos eps) 3)
0.4b
(pow (cos eps) 3)
0.4b
(pow (cos eps) 3)
1.3b
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x))) (/ (sin x) (cos x)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
131×times-frac
117×prod-diff
113×*-un-lft-identity
111×add-sqr-sqrt
106×add-cube-cbrt
28×associate-*l/ associate-/r/
25×div-inv
15×flip3-- flip--
unpow-prod-down pow-unpow fma-neg cube-prod
pow1 add-exp-log add-cbrt-cube
add-log-exp
expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
distribute-lft-out-- difference-of-squares
sub-neg diff-log frac-sub
Counts
4 → 224
Calls
4 calls:
3.0ms
(pow (cos eps) 3)
3.0ms
(pow (cos eps) 3)
3.0ms
(pow (cos eps) 3)
104.0ms
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x))) (/ (sin x) (cos x)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(pow (cos eps) 3)
27.0ms
(pow (cos eps) 3)
28.0ms
(pow (cos eps) 3)
259.0ms
(- (/ (sin x) (* (- 1 (/ (* (pow (sin x) 3) (pow (sin eps) 3)) (* (pow (cos x) 3) (pow (cos eps) 3)))) (cos x))) (/ (sin x) (cos x)))

simplify126.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07388188
128776189
250025715

prune1.1s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

regimes134.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
065115
165115

end0.0ms

sample5.1s

Algorithm
intervals
Results
2.6s3293×body1280valid
1.0s615×body2560valid
784.0ms1875×body640valid
197.0ms770×body320valid
86.0ms1089×body80valid
68.0ms358×body160valid