Details

Time bar (total: 9.9s)

sample179.0ms

Algorithm
intervals
Results
90.0ms119×body1280valid
49.0ms29×body2560valid
21.0ms55×body640valid
5.0ms18×body320valid
3.0ms30×body80valid
1.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: 40.9b

localize9.0ms

Local error

Found 2 expressions with local error:

0.6b
(- (tan (+ x eps)) (tan x))
2.9b
(tan (+ x eps))

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

series140.0ms

Counts
2 → 6
Calls
2 calls:
86.0ms
(- (tan (+ x eps)) (tan x))
54.0ms
(tan (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192420
1538319
22593310
35001255

prune123.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 19.0b

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

rewrite77.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:
11.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
3.0ms
(+ (tan x) (tan eps))
7.0ms
(* (tan x) (tan eps))
48.0ms
(- (/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps)))) (tan x))

series732.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(/ (+ (tan x) (tan eps)) (- 1 (* (tan x) (tan eps))))
89.0ms
(+ (tan x) (tan eps))
89.0ms
(* (tan x) (tan eps))
347.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
05592923
120542373
250012349

prune442.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 18.8b

localize17.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)))
2.1b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite35.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:
5.0ms
(* (tan x) (tan eps))
5.0ms
(* (tan x) (tan eps))
22.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)))

series852.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (tan x) (tan eps))
90.0ms
(* (tan x) (tan eps))
109.0ms
(* (* (tan x) (tan eps)) (* (tan x) (tan eps)))
560.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (* (* (tan x) (tan eps)) (* (tan x) (tan eps))))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04321098
11952917
25001864

prune381.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 18.8b

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan x) (sin eps))
0.2b
(* (tan x) (tan eps))
0.2b
(* (tan x) (tan eps))
2.1b
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (/ (* (* (tan x) (tan eps)) (* (tan x) (sin eps))) (cos eps)))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

rewrite17.0ms

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

series888.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (tan x) (sin eps))
103.0ms
(* (tan x) (tan eps))
88.0ms
(* (tan x) (tan eps))
609.0ms
(fma (/ (+ (tan x) (tan eps)) (- (* 1 1) (/ (* (* (tan x) (tan eps)) (* (tan x) (sin eps))) (cos eps)))) (+ 1 (* (tan x) (tan eps))) (- (tan x)))

simplify40.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0323837
11306718
25001686

prune351.0ms

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 18.8b

regimes232.0ms

Accuracy

83.8% (1.2b remaining)

Error of 15.9b against oracle of 14.7b and baseline of 22.0b

bsearch158.0ms

Steps
ItersRangePoint
7
2.723980583389076e-66
6.7695755698382385e-65
5.600552306151778e-65
8
-5.3548116028992445e-65
-1.1477498591415104e-67
-5.289064774366373e-65

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04532
14532

end0.0ms

sample5.0s

Algorithm
intervals
Results
2.5s3323×body1280valid
1.1s663×body2560valid
787.0ms1849×body640valid
213.0ms749×body320valid
88.0ms1069×body80valid
61.0ms347×body160valid