Details

Time bar (total: 4.3s)

sample320.0ms

Algorithm
intervals
Results
13.0ms48×body1280valid
7.0ms142×body80valid
7.0ms38×body640valid
2.0ms20×body320valid
1.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune5.0ms

Filtered
1 candidates to 0 candidates (100.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.2b
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
21×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
associate-/l*
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 → 105
Calls
4 calls:
27.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))
7.0ms
(* (tan x) (tan x))

series71.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
11.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(* (tan x) (tan x))
19.0ms
(* (tan x) (tan x))

simplify42.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0314909
11157838
25001824

prune388.0ms

Filtered
117 candidates to 77 candidates (34.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10710117
Fresh000
Picked101
Done000
Total10810118

Merged error: 0.0b

Counts
118 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
19×pow1 log-pow
18×exp-prod
12×times-frac
tan-quot add-exp-log add-cbrt-cube
swap-sqr associate-*r* associate-*l* add-log-exp
difference-of-squares
log-prod
pow2 frac-times pow-plus associate-*r/ pow-prod-down associate-*l/ prod-exp associate-/r/ pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg log-div flip3-- flip3-+ exp-diff diff-log div-sub rem-log-exp flip-- flip-+ div-inv
Counts
4 → 100
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))
7.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

series59.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- 1.0 (* (tan x) (tan x)))
11.0ms
(* (tan x) (tan x))
8.0ms
(* (tan x) (tan x))
31.0ms
(log (exp (/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))))

simplify138.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0289756
1888687
23990673
35001667

prune502.0ms

Filtered
112 candidates to 74 candidates (33.9%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh189
Picked011
Done000
Total11210122

Merged error: 0.0b

Counts
122 → 10

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(* (tan x) (tan x))
0.2b
(* (tan x) (tan x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
21×*-un-lft-identity associate-*r*
20×pow1 add-cube-cbrt
17×add-exp-log
13×add-cbrt-cube
11×times-frac
10×associate-*l*
tan-quot
swap-sqr prod-exp add-log-exp
unswap-sqr
frac-times associate-*l/ cbrt-unprod
flip3-- associate-*r/ pow-prod-down *-commutative flip--
pow2 pow-plus div-exp associate-/r/ pow-sqr pow-prod-up difference-of-squares
cbrt-undiv sub-neg rec-exp flip3-+ diff-log 1-exp un-div-inv flip-+ div-inv
Counts
4 → 112
Calls
4 calls:
10.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
3.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
5.0ms
(* (tan x) (tan x))

series60.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (- 1.0 (* (tan x) (tan x))) (/ 1 (+ 1.0 (* (tan x) (tan x)))))
9.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(* (tan x) (tan x))
9.0ms
(* (tan x) (tan x))

simplify54.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0382946
11727838
25001795

prune375.0ms

Filtered
124 candidates to 75 candidates (39.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1231124
Fresh088
Picked011
Done011
Total12311134

Merged error: 0.0b

Counts
134 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
48×*-un-lft-identity
37×times-frac
30×add-cube-cbrt
27×associate-*r*
16×difference-of-squares
13×pow1 add-exp-log add-cbrt-cube
sqrt-prod distribute-lft-out--
associate-*l*
associate-/l* add-log-exp
tan-quot flip3-+ associate-/r/ flip-+
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 → 135
Calls
4 calls:
8.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
4.0ms
(- (sqrt 1.0) (tan x))
16.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
5.0ms
(* (tan x) (tan x))

series86.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x))))
7.0ms
(- (sqrt 1.0) (tan x))
43.0ms
(* (+ (sqrt 1.0) (tan x)) (/ (- (sqrt 1.0) (tan x)) (+ 1.0 (* (tan x) (tan x)))))
9.0ms
(* (tan x) (tan x))

simplify78.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05611675
128001512
250021496

prune661.0ms

Filtered
147 candidates to 97 candidates (34.0%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1452147
Fresh268
Picked011
Done022
Total14711158

Merged error: 0.0b

Counts
158 → 11

regimes250.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
01011
11011

end0.0ms

sample1.0s

Algorithm
intervals
Results
390.0ms1522×body1280valid
212.0ms1247×body640valid
161.0ms4339×body80valid
72.0ms601×body320valid
26.0ms291×body160valid

Profiling

Loading profile data...