Details

Time bar (total: 4.0s)

sample286.0ms

Algorithm
intervals
Results
11.0ms45×body1280valid
8.0ms48×body640valid
6.0ms137×body80valid
2.0ms13×body320valid
1.0ms13×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1229
2299
3379
4439
5459
6459

prune4.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))) (+ 1.0 (* (tan x) (tan x))))
0.1b
(- 1.0 (* (tan x) (tan x)))
0.3b
(* (tan x) (tan x))
0.3b
(* (tan x) (tan x))

rewrite27.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:
7.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
34.0ms
(- 1.0 (* (tan x) (tan x)))
34.0ms
(* (tan x) (tan x))
60.0ms
(* (tan x) (tan x))

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03381007
11243918
25001882

prune271.0ms

Filtered
131 candidates to 91 candidates (69.5%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11912131
Fresh000
Picked101
Done000
Total12012132

Merged error: 0.0b

Counts
132 → 12

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.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))
6.0ms
(- (sqrt 1.0) (tan x))
13.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
5.0ms
(* (tan x) (tan x))

series211.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (sqrt 1.0) (tan x))
37.0ms
(- (sqrt 1.0) (tan x))
105.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
33.0ms
(* (tan x) (tan x))

simplify72.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05502052
124001381
250011360

prune269.0ms

Filtered
175 candidates to 92 candidates (52.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1741175
Fresh01111
Picked101
Done000
Total17512187

Merged error: 0.0b

Counts
187 → 12

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series195.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- 1.0 (/ (* (tan x) (sin x)) (cos x)))
61.0ms
(/ (* (tan x) (sin x)) (cos x))
43.0ms
(* (tan x) (sin x))
36.0ms
(* (tan x) (tan x))

simplify71.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04321314
11872967
25001929

prune247.0ms

Filtered
127 candidates to 76 candidates (59.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1261127
Fresh01111
Picked011
Done000
Total12613139

Merged error: 0.0b

Counts
139 → 13

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
83×add-sqr-sqrt
62×*-un-lft-identity
44×add-cube-cbrt
37×times-frac
27×associate-*r*
20×sqrt-prod
18×prod-diff
16×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube
distribute-lft-out--
associate-*l*
fma-neg associate-/l* add-log-exp
tan-quot expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
frac-times swap-sqr associate-*l/ prod-exp associate-/r* cbrt-unprod unswap-sqr
cbrt-undiv flip3-- associate-*r/ div-exp pow-prod-down *-commutative flip-- div-inv associate-/l/
pow2 sub-neg frac-2neg pow-plus diff-log div-sub clear-num pow-sqr pow-prod-up distribute-lft-out
Counts
4 → 167
Calls
4 calls:
10.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
20.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
6.0ms
(- (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series368.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
198.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
42.0ms
(- (sqrt 1.0) (tan x))
33.0ms
(* (tan x) (tan x))

simplify92.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06442081
130401700
250011673

prune302.0ms

Filtered
179 candidates to 116 candidates (64.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1790179
Fresh01111
Picked011
Done011
Total17913192

Merged error: 0.0b

Counts
192 → 13

regimes247.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
01311
11311

end0.0ms

sample928.0ms

Algorithm
intervals
Results
363.0ms1494×body1280valid
202.0ms1287×body640valid
155.0ms4314×body80valid
71.0ms620×body320valid
25.0ms285×body160valid