Details

Time bar (total: 3.5s)

sample282.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 87.530532%

Space saved by search: 87.530532%

Guaranteed chance to sample good point: 99.609375%

Results
212.0ms256×body80valid
9.0ms443×pre80true
6.0ms187×body80invalid

simplify490.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.0b
(/ (* m (- 1.0 m)) v)
0.2b
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

rewrite28.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)
13.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series25.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0310409
11511363
25001357

prune117.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh000
Picked101
Done000
Total75681

Merged error: 0b

Counts
81 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite27.0ms

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

series16.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0370577
11676528
25002522

prune118.0ms

Filtered
71 candidates to 105 candidates (-47.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1050105
Fresh055
Picked011
Done000
Total1056111

Merged error: 0b

Counts
111 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))
0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
20.0ms
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))
8.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
8.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
8.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))

series116.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))
26.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
26.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
31.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))

simplify145.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03191607
19991528
248931424
350011424

prune295.0ms

Filtered
81 candidates to 113 candidates (-39.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh044
Picked011
Done011
Total1136119

Merged error: 0b

Counts
119 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)) (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)))
0.6b
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
0.6b
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
0.6b
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*l/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-- pow1/3 flip--
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
associate-*r/ pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
8.0ms
(* (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)) (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)))
11.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
9.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
10.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))

series155.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)) (cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m)))
35.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
37.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))
35.0ms
(cbrt (* (- (/ (* m (- 1.0 m)) v) 1.0) m))

simplify42.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
03471300
111211207
250011138

prune233.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New84084
Fresh033
Picked011
Done022
Total84690

Merged error: 0b

Counts
90 → 6

regimes153.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.1s

Algorithm
intervals
sampling

Space saved by range analysis: 87.530532%

Space saved by search: 87.530532%

Guaranteed chance to sample good point: 99.609375%

Results
261.0ms13766×pre80true
253.0ms8000×body80valid
183.0ms5766×body80invalid

Profiling

Loading profile data...