Details

Time bar (total: 2.8s)

sample322.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
5.0ms256×pre80true

simplify487.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1345
2675
31695
43455
54665
66705
710145
815285
921175
1030375
1150015

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize9.0ms

Local error

Found 3 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) m)

rewrite40.0ms

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

series27.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0310409
11511363
25001357

prune118.0ms

Filtered
52 candidates to 80 candidates (-53.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New73780
Fresh000
Picked101
Done000
Total74781

Merged error: 0b

Counts
81 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series33.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* m (- (* 1.0 1.0) (* m m)))
5.0ms
(* v (+ 1.0 m))
9.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
12.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) m)

simplify80.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0485814
12982680
25002680

prune133.0ms

Filtered
70 candidates to 107 candidates (-52.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh156
Picked011
Done000
Total1077114

Merged error: 0b

Counts
114 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log
21×associate-*r*
20×add-sqr-sqrt
19×add-cbrt-cube
16×*-un-lft-identity
14×add-cube-cbrt prod-exp
12×pow1
times-frac
cbrt-unprod
associate-*r/ associate-*l*
pow-prod-down
flip3-- div-exp associate-*l/ flip--
*-commutative add-log-exp
cbrt-undiv distribute-rgt-in frac-times sub-neg rec-exp distribute-lft-in 1-exp unswap-sqr
un-div-inv div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
6.0ms
(* m (- 1.0 m))
12.0ms
(* (- (* (* m (- 1.0 m)) (/ 1 v)) 1.0) m)
10.0ms
(* (* m (- 1.0 m)) (/ 1 v))

series19.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0435556
12325478
25001460

prune102.0ms

Filtered
58 candidates to 97 candidates (-67.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh055
Picked011
Done011
Total977104

Merged error: 0b

Counts
104 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) m)
0.3b
(/ m (sqrt v))
0.3b
(/ (- 1.0 m) (sqrt v))
0.4b
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
128×add-sqr-sqrt
108×times-frac
96×*-un-lft-identity
70×add-cube-cbrt
60×sqrt-prod
37×associate-*r*
25×associate-*l*
22×add-exp-log add-cbrt-cube
13×distribute-lft-out-- difference-of-squares
12×associate-/r*
10×unswap-sqr
pow1 associate-/l*
cbrt-undiv div-exp
prod-exp cbrt-unprod
div-inv add-log-exp
associate-*l/
flip3-- frac-2neg pow-prod-down clear-num *-commutative flip-- associate-/l/
frac-times div-sub associate-*r/
Counts
4 → 200
Calls
4 calls:
13.0ms
(* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) m)
4.0ms
(/ m (sqrt v))
6.0ms
(/ (- 1.0 m) (sqrt v))
22.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) m)
7.0ms
(/ m (sqrt v))
9.0ms
(/ (- 1.0 m) (sqrt v))
9.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))

simplify85.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07571686
135741572
250011508

prune195.0ms

Filtered
137 candidates to 212 candidates (-54.7%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2120212
Fresh044
Picked011
Done022
Total2127219

Merged error: 0b

Counts
219 → 7

regimes110.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample713.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
252.0ms8000×body80valid
162.0ms8030×pre80true
1.0ms30×body80invalid

Profiling

Loading profile data...