Details

Time bar (total: 3.9s)

sample301.0ms

Algorithm
intervals
Results
12.0ms45×body1280valid
8.0ms148×body80valid
7.0ms43×body640valid
2.0ms15×body320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(- 1.0 (* (tan x) (tan x)))
0.1b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
23×add-cube-cbrt *-un-lft-identity
18×pow1
12×times-frac
10×add-exp-log add-cbrt-cube
tan-quot
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
expm1-log1p-u log1p-expm1-u associate-/l*
fma-neg prod-diff associate-/r*
pow2 frac-times flip3-- pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub div-exp clear-num flip-+ div-inv
Counts
4 → 119
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series217.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- 1.0 (* (tan x) (tan x)))
95.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
31.0ms
(* (tan x) (tan x))
59.0ms
(* (tan x) (tan x))

simplify52.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
03381007
11243917
25001882

prune278.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New11813131
Fresh000
Picked101
Done000
Total11913132

Merged error: 0.0b

Counts
132 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (sqrt 1.0) (tan x))
0.2b
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
0.2b
(+ (sqrt 1.0) (tan x))
0.3b
(* (tan x) (tan x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
58×*-un-lft-identity
54×prod-diff
50×add-cube-cbrt
35×sqrt-prod
20×distribute-rgt-in distribute-lft-in
13×pow1
associate-*r*
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
fma-def fma-neg
frac-times
tan-quot expm1-log1p-u flip3-- flip3-+ flip-- flip-+ log1p-expm1-u difference-of-squares
sub-neg associate-*r/ swap-sqr associate-*l/
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out distribute-lft-out-- unswap-sqr
+-commutative pow2 pow-plus diff-log sum-log pow-sqr pow-prod-up
Counts
4 → 163
Calls
4 calls:
5.0ms
(- (sqrt 1.0) (tan x))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series210.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (sqrt 1.0) (tan x))
104.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
38.0ms
(+ (sqrt 1.0) (tan x))
32.0ms
(* (tan x) (tan x))

simplify75.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05502052
124001381
250011360

prune270.0ms

Filtered
175 candidates to 91 candidates (52.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1696175
Fresh5712
Picked101
Done000
Total17513188

Merged error: 0.0b

Counts
188 → 13

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (fma (tan x) (sqrt 1.0) 1.0) (* (- (tan x)) (+ (sqrt 1.0) (tan x))))
0.2b
(fma (tan x) (sqrt 1.0) 1.0)
0.2b
(+ (sqrt 1.0) (tan x))
0.3b
(* (tan x) (tan x))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×pow1 add-cube-cbrt
fma-def
add-log-exp
add-exp-log add-cbrt-cube
tan-quot expm1-log1p-u log1p-expm1-u
swap-sqr associate-*r* associate-*l* sqrt-prod
+-commutative distribute-lft-neg-out associate-+r+ flip3-+ sum-log flip-+ fma-udef
pow2 distribute-rgt-in frac-times associate-+l+ distribute-lft-in pow-plus associate-*r/ unsub-neg pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 81
Calls
4 calls:
4.0ms
(+ (fma (tan x) (sqrt 1.0) 1.0) (* (- (tan x)) (+ (sqrt 1.0) (tan x))))
1.0ms
(fma (tan x) (sqrt 1.0) 1.0)
5.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series251.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(+ (fma (tan x) (sqrt 1.0) 1.0) (* (- (tan x)) (+ (sqrt 1.0) (tan x))))
45.0ms
(fma (tan x) (sqrt 1.0) 1.0)
37.0ms
(+ (sqrt 1.0) (tan x))
31.0ms
(* (tan x) (tan x))

simplify44.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0312521
11345466
25001438

prune226.0ms

Filtered
93 candidates to 70 candidates (75.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh01212
Picked011
Done000
Total9313106

Merged error: 0.0b

Counts
106 → 13

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (tan x) (sin x))
0.1b
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(/ (* (tan x) (sin x)) (cos x))
0.3b
(* (tan x) (tan x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
30×*-un-lft-identity
22×add-cube-cbrt
18×times-frac
15×add-exp-log add-cbrt-cube
13×pow1
tan-quot associate-*r* associate-*l* associate-/r* associate-/l*
expm1-log1p-u log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv swap-sqr div-exp associate-*l/ prod-exp cbrt-unprod associate-/l/
frac-2neg pow-prod-down clear-num associate-/r/ *-commutative div-inv unswap-sqr
pow2 frac-times flip3-- flip3-+ pow-plus div-sub associate-*r/ pow-sqr pow-prod-up flip-- flip-+
Counts
4 → 117
Calls
4 calls:
8.0ms
(* (tan x) (sin x))
10.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
6.0ms
(/ (* (tan x) (sin x)) (cos x))
5.0ms
(* (tan x) (tan x))

series243.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (tan x) (sin x))
109.0ms
(/ (- 1.0 (/ (* (tan x) (sin x)) (cos x))) (+ 1.0 (* (tan x) (tan x))))
62.0ms
(/ (* (tan x) (sin x)) (cos x))
31.0ms
(* (tan x) (tan x))

simplify64.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04551207
119041099
250011091

prune262.0ms

Filtered
129 candidates to 91 candidates (70.5%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh11011
Picked011
Done011
Total12913142

Merged error: 0.0b

Counts
142 → 13

regimes249.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01213
11213

end0.0ms

sample1.0s

Algorithm
intervals
Results
407.0ms1547×body1280valid
216.0ms1268×body640valid
166.0ms4260×body80valid
74.0ms612×body320valid
31.0ms313×body160valid

Profiling

Loading profile data...