Details

Time bar (total: 3.5s)

sample299.0ms

Algorithm
intervals
Results
12.0ms450×body80valid
7.0ms450×pre80true

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1406
21056
33546
411026
531896
650026

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite28.0ms

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

series94.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
57.0ms
(/ (* m (- 1.0 m)) v)

simplify45.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0351502
11691463
25002457

prune131.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.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:
8.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
34.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))

series113.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ v (- 1.0 m))
37.0ms
(/ m (/ v (- 1.0 m)))
36.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))

simplify89.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06841470
134311414
250021413

prune400.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
32×*-un-lft-identity
28×times-frac
26×add-cube-cbrt
23×associate-*l*
22×add-exp-log add-cbrt-cube
associate-*r* associate-/r/ difference-of-squares
pow1 frac-times flip3-- flip--
cbrt-undiv associate-*r/ div-exp associate-/l*
prod-exp associate-/r* cbrt-unprod
flip3-+ associate-*l/ flip-+ add-log-exp
distribute-rgt-in distribute-lft-in div-inv unswap-sqr
sub-neg frac-2neg pow-prod-down clear-num *-commutative distribute-lft-out--
distribute-lft-out
Counts
4 → 139
Calls
4 calls:
6.0ms
(/ v (- (* 1.0 1.0) (* m m)))
12.0ms
(/ m (* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m)))
24.0ms
(* (- (/ m (* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m))) 1.0) (- 1.0 m))
12.0ms
(* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m))

series266.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ v (- (* 1.0 1.0) (* m m)))
73.0ms
(/ m (* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m)))
61.0ms
(* (- (/ m (* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m))) 1.0) (- 1.0 m))
67.0ms
(* (/ v (- (* 1.0 1.0) (* m m))) (+ 1.0 m))

simplify95.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08011540
137921397
250011397

prune359.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (- (/ (* m (- 1.0 m)) v) 1.0) 1.0) (* (- (/ (* m (- 1.0 m)) v) 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) (- m))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
16×add-exp-log add-sqr-sqrt add-cbrt-cube
14×*-un-lft-identity
12×add-cube-cbrt
10×associate-*r* associate-*l/
flip3-- flip--
pow1 times-frac associate-/r* add-log-exp
associate-*l*
cbrt-undiv associate-*r/ div-exp frac-add associate-/l/
distribute-lft-neg-in distribute-rgt-neg-in prod-exp distribute-rgt-neg-out cbrt-unprod
frac-2neg clear-num div-inv associate-/l*
+-commutative neg-mul-1 flip3-+ unsub-neg pow-prod-down sum-log *-commutative flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 94
Calls
4 calls:
14.0ms
(+ (* (- (/ (* m (- 1.0 m)) v) 1.0) 1.0) (* (- (/ (* m (- 1.0 m)) v) 1.0) (- m)))
7.0ms
(/ (* m (- 1.0 m)) v)
7.0ms
(/ (* m (- 1.0 m)) v)
17.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- m))

series156.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(+ (* (- (/ (* m (- 1.0 m)) v) 1.0) 1.0) (* (- (/ (* m (- 1.0 m)) v) 1.0) (- m)))
37.0ms
(/ (* m (- 1.0 m)) v)
40.0ms
(/ (* m (- 1.0 m)) v)
37.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- m))

simplify67.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0506961
12456840
25003827

prune227.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

regimes48.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01610
11610

end0.0ms

sample769.0ms

Algorithm
intervals
Results
358.0ms13696×body80valid
185.0ms13696×pre80true