Details

Time bar (total: 6.3s)

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
11.0ms42×body1280valid
10.0ms150×body80valid
7.0ms38×body640valid
2.0ms18×body320valid
1.0msbody160valid

simplify347.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0139
1219
2269
3349
4379
5379

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.3b

Counts
2 → 1

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- 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))

rewrite24.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:
6.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
2.0ms
(- 1.0 (* (tan x) (tan x)))
5.0ms
(* (tan x) (tan x))
7.0ms
(* (tan x) (tan x))

series67.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (- 1.0 (* (tan x) (tan x))) (+ 1.0 (* (tan x) (tan x))))
10.0ms
(- 1.0 (* (tan x) (tan x)))
8.0ms
(* (tan x) (tan x))
18.0ms
(* (tan x) (tan x))

simplify48.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0314909
11157838
25001824

prune171.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh000
Picked101
Done000
Total10711118

Merged error: 0.1b

Counts
118 → 11

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(- 1.0 (* (tan x) (tan x)))
0.2b
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 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
102×times-frac
80×add-sqr-sqrt
63×add-cube-cbrt *-un-lft-identity
19×pow1 add-exp-log
18×associate-/r*
13×add-cbrt-cube difference-of-squares
associate-/r/
tan-quot
div-exp
swap-sqr associate-*r* associate-*l* add-log-exp
flip3-- flip-- div-inv
cbrt-undiv associate-/l*
pow2 frac-times rec-exp pow-plus 1-exp associate-*r/ pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
sub-neg pow-flip frac-2neg diff-log clear-num inv-pow
Counts
4 → 165
Calls
4 calls:
3.0ms
(- 1.0 (* (tan x) (tan x)))
9.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 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:
9.0ms
(- 1.0 (* (tan x) (tan x)))
31.0ms
(/ 1 (/ (+ 1.0 (* (tan x) (tan x))) (- 1.0 (* (tan x) (tan x)))))
8.0ms
(* (tan x) (tan x))
11.0ms
(* (tan x) (tan x))

simplify71.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05452148
125671966
250011864

prune168.0ms

Filtered
90 candidates to 177 candidates (-96.7%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1743177
Fresh2810
Picked101
Done000
Total17711188

Merged error: 0.0b

Counts
188 → 11

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
13×pow1 add-exp-log add-cbrt-cube
12×add-cube-cbrt
frac-times associate-*r*
flip3-+ flip-+ associate-/l/
associate-*l*
flip3-- flip-- add-log-exp
associate-*r/ associate-*l/
tan-quot
times-frac swap-sqr prod-exp associate-/r* cbrt-unprod
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in div-exp pow-prod-down associate-/r/ *-commutative distribute-lft-out difference-of-squares unswap-sqr
+-commutative pow2 frac-2neg pow-plus clear-num sum-log sqrt-prod pow-sqr pow-prod-up div-inv associate-/l* distribute-lft-out--
Counts
4 → 105
Calls
4 calls:
12.0ms
(/ (* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x))) (+ 1.0 (* (tan x) (tan x))))
11.0ms
(* (+ (sqrt 1.0) (tan x)) (- (sqrt 1.0) (tan x)))
4.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))

series76.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05171120
12851938
25001923

prune183.0ms

Filtered
82 candidates to 117 candidates (-42.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh2810
Picked011
Done000
Total11711128

Merged error: 0.0b

Counts
128 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
13×add-sqr-sqrt
12×pow1
11×add-cube-cbrt
add-log-exp
exp-prod
add-exp-log add-cbrt-cube
log-pow
tan-quot log-prod
swap-sqr associate-*r* associate-*l* distribute-lft-out
exp-sum sum-log rem-exp-log
+-commutative pow2 frac-times flip3-+ pow-plus associate-*r/ rem-log-exp pow-prod-down associate-*l/ prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
4.0ms
(+ (sqrt 1.0) (tan x))
5.0ms
(* (tan x) (tan x))
5.0ms
(log (exp (+ (sqrt 1.0) (tan x))))
7.0ms
(exp (+ (sqrt 1.0) (tan x)))

series36.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (sqrt 1.0) (tan x))
8.0ms
(* (tan x) (tan x))
7.0ms
(log (exp (+ (sqrt 1.0) (tan x))))
13.0ms
(exp (+ (sqrt 1.0) (tan x)))

simplify110.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0223391
1804348
23535340
35001334

prune125.0ms

Filtered
55 candidates to 83 candidates (-50.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New81283
Fresh189
Picked101
Done011
Total831194

Merged error: 0.0b

Counts
94 → 11

regimes273.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
01312
11312

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0.048828%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
392.0ms1509×body1280valid
221.0ms1307×body640valid
164.0ms4283×body80valid
72.0ms576×body320valid
29.0ms325×body160valid

Profiling

Loading profile data...