Details

Time bar (total: 2.9s)

sample302.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 87.530532%

Space saved by search: 92.701663%

Guaranteed chance to sample good point: 98.446217%

Results
8.0ms256×body80valid
6.0ms256×pre80true

simplify444.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1406
21056
33546
411026
531896
650026

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* m (- 1.0 m))
0.0b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
0.1b
(/ (* m (- 1.0 m)) v)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×*-un-lft-identity
12×add-exp-log add-cbrt-cube
10×associate-*r*
add-cube-cbrt
flip3-- associate-*l* flip--
pow1
associate-*r/
distribute-rgt-in frac-times sub-neg distribute-lft-in
times-frac prod-exp associate-/r* cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
3 → 83
Calls
3 calls:
6.0ms
(* m (- 1.0 m))
15.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
21.0ms
(/ (* m (- 1.0 m)) v)

series27.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* m (- 1.0 m))
8.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
14.0ms
(/ (* m (- 1.0 m)) v)

simplify57.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0389602
11946551
25003545

prune120.0ms

Filtered
61 candidates to 92 candidates (-50.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New88492
Fresh000
Picked011
Done000
Total88593

Merged error: 0b

Counts
93 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ v (- 1.0 m))
0.0b
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))
0.0b
(/ m (/ v (- 1.0 m)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
118×add-sqr-sqrt
109×*-un-lft-identity
73×add-cube-cbrt
26×associate-/r*
20×difference-of-squares
18×distribute-lft-out--
12×add-exp-log add-cbrt-cube
11×flip3-- associate-/r/ flip--
associate-*l*
div-inv associate-/l*
pow1 associate-*r*
cbrt-undiv frac-times div-exp
add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in associate-*r/ associate-*l/ clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 175
Calls
3 calls:
5.0ms
(/ v (- 1.0 m))
31.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))

series23.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(/ v (- 1.0 m))
7.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))
6.0ms
(/ m (/ v (- 1.0 m)))

simplify87.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06841470
134311414
250021413

prune228.0ms

Filtered
138 candidates to 184 candidates (-33.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1840184
Fresh033
Picked011
Done011
Total1845189

Merged error: 0b

Counts
189 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* m (- 1.0 m))
0.1b
(/ (* m (- 1.0 m)) v)
0.1b
(/ (* m (- 1.0 m)) v)
0.2b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (neg m))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
18×add-exp-log *-un-lft-identity add-cbrt-cube
15×associate-*r*
14×add-cube-cbrt
pow1 associate-*l*
times-frac associate-*r/ associate-/r*
cbrt-undiv flip3-- div-exp prod-exp flip-- cbrt-unprod associate-/l/ add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in
distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative div-inv associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 102
Calls
4 calls:
6.0ms
(* m (- 1.0 m))
9.0ms
(/ (* m (- 1.0 m)) v)
7.0ms
(/ (* m (- 1.0 m)) v)
13.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (neg m))

series24.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* m (- 1.0 m))
6.0ms
(/ (* m (- 1.0 m)) v)
6.0ms
(/ (* m (- 1.0 m)) v)
8.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (neg m))

simplify50.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0359602
11744542
25001530

prune127.0ms

Filtered
76 candidates to 114 candidates (-50.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1140114
Fresh022
Picked011
Done022
Total1145119

Merged error: 0b

Counts
119 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* m (- 1.0 m))
0.1b
(/ (* m (- 1.0 m)) v)
0.1b
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
0.1b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
32×frac-times
27×add-sqr-sqrt
23×flip3-- *-un-lft-identity flip--
19×associate-*r*
18×add-exp-log add-cbrt-cube
16×associate-*l/
14×associate-*r/
13×pow1
12×flip3-+ flip-+
11×add-cube-cbrt
associate-*l*
sqrt-prod
prod-exp cbrt-unprod difference-of-squares
distribute-rgt-in distribute-lft-in pow-prod-down
sub-neg distribute-lft-out-- add-log-exp
times-frac associate-/r* *-commutative
cbrt-undiv div-exp associate-/l/ distribute-lft-out unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 135
Calls
4 calls:
6.0ms
(* m (- 1.0 m))
7.0ms
(/ (* m (- 1.0 m)) v)
23.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
16.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* m (- 1.0 m))
6.0ms
(/ (* m (- 1.0 m)) v)
15.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
21.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (+ (sqrt 1.0) (sqrt m)))

simplify41.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08861761
150021541

prune258.0ms

Filtered
105 candidates to 147 candidates (-40.0%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1470147
Fresh011
Picked011
Done033
Total1475152

Merged error: 0b

Counts
152 → 5

regimes123.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
096
196

end0.0ms

sample707.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 87.530532%

Space saved by search: 92.701663%

Guaranteed chance to sample good point: 98.446217%

Results
259.0ms8000×body80valid
158.0ms8026×pre80true
1.0ms26×body80invalid

Profiling

Loading profile data...