Details

Time bar (total: 9.6s)

sample147.0ms

Algorithm
intervals
Results
72.0ms103×body1280valid
27.0ms16×body2560valid
24.0ms58×body640valid
8.0ms30×body320valid
3.0ms40×body80valid
2.0msbody160valid

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: 36.1b

localize14.0ms

Local error

Found 2 expressions with local error:

1.6b
(- (tan (+ x eps)) (tan x))
4.7b
(tan (+ x eps))

rewrite24.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:
17.0ms
(- (tan (+ x eps)) (tan x))
6.0ms
(tan (+ x eps))

series125.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(- (tan (+ x eps)) (tan x))
48.0ms
(tan (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune110.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 13.6b

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

rewrite149.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))
92.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series689.0ms

Counts
4 → 12
Calls
4 calls:
199.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
79.0ms
(+ (tan x) (tan eps))
84.0ms
(* (tan x) (tan eps))
327.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

simplify73.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05592915
120542366
250012345

prune395.0ms

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 13.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.3b
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
3.0b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
47×pow1
40×tan-quot
20×add-exp-log add-cbrt-cube
19×frac-times pow-prod-down
13×associate-*r/ associate-*l/
12×add-sqr-sqrt
10×prod-exp cbrt-unprod
add-cube-cbrt *-un-lft-identity
associate-*r* associate-*l*
expm1-log1p-u pow-sqr pow-prod-up log1p-expm1-u add-log-exp
*-commutative
pow-plus unswap-sqr
pow2 swap-sqr fma-udef
Counts
4 → 107
Calls
4 calls:
16.0ms
(* (tan x) (tan eps))
14.0ms
(* (tan x) (tan eps))
66.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

series803.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(* (tan x) (tan eps))
78.0ms
(* (tan x) (tan eps))
106.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
535.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04321111
11952927
25001872

prune343.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 13.4b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (* (tan x) (tan eps)) (tan x))
3.0b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (* (tan x) (tan eps)) (tan x)) (tan eps)))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
20×tan-quot
13×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity associate-*r*
frac-times associate-*l* associate-*l/
associate-*r/ pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative
unswap-sqr
fma-udef
Counts
4 → 83
Calls
4 calls:
14.0ms
(* (tan x) (tan eps))
17.0ms
(* (tan x) (tan eps))
37.0ms
(* (* (tan x) (tan eps)) (tan x))
0.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (* (tan x) (tan eps)) (tan x)) (tan eps)))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

series780.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(* (tan x) (tan eps))
77.0ms
(* (tan x) (tan eps))
91.0ms
(* (* (tan x) (tan eps)) (tan x))
525.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (* (tan x) (tan eps)) (tan x)) (tan eps)))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0369913
11634775
25001743

prune284.0ms

Pruning

16 alts after pruning (15 fresh and 1 done)

Merged error: 13.4b

regimes168.0ms

Accuracy

81.1% (1.4b remaining)

Error of 15.4b against oracle of 14.0b and baseline of 21.5b

bsearch169.0ms

Steps
ItersRangePoint
7
1.0926285726175518e-119
1.4988070402197298e-117
1.4767289533588029e-117
8
-1.868688662916188e-68
-1.4402068522716586e-72
-1.8367694074004902e-68

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04442
14442

end0.0ms

sample4.9s

Algorithm
intervals
Results
2.4s3258×body1280valid
1.1s635×body2560valid
755.0ms1847×body640valid
234.0ms787×body320valid
104.0ms1115×body80valid
71.0ms358×body160valid