Details

Time bar (total: 5.5s)

sample280.0ms

Algorithm
intervals
Results
10.0ms417×body80valid
6.0ms417×pre80true

simplify128.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1345
2725
31885
44065
56365
69385
713125
819695
929325
1039125
1150015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
39×prod-diff
37×add-cube-cbrt
15×times-frac
13×add-exp-log add-cbrt-cube
11×distribute-rgt-in distribute-lft-in
pow1 associate-*r* associate-*l*
fma-neg
add-log-exp
div-inv
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
sub-neg prod-exp associate-/r* cbrt-unprod distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 139
Calls
4 calls:
17.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
12.0ms
(* m (- 1.0 m))
11.0ms
(/ (* m (- 1.0 m)) v)
59.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series152.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
46.0ms
(* m (- 1.0 m))
36.0ms
(/ (* m (- 1.0 m)) v)
47.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify75.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04921130
12310788
25002775

prune232.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite348.0ms

Algorithm
rewrite-expression-head
Rules
576×times-frac
462×add-sqr-sqrt
446×*-un-lft-identity
338×add-cube-cbrt
204×prod-diff
68×fma-neg
58×difference-of-squares
54×distribute-lft-out--
39×associate-/r/
26×associate-/r*
22×div-inv
19×flip3-- flip--
13×add-exp-log add-cbrt-cube
associate-*l*
pow1 associate-/l* add-log-exp
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-*r*
frac-2neg associate-*l/ clear-num
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 459
Calls
4 calls:
90.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
6.0ms
(/ v (- 1.0 m))
10.0ms
(/ m (/ v (- 1.0 m)))
208.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series133.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
33.0ms
(/ v (- 1.0 m))
41.0ms
(/ m (/ v (- 1.0 m)))
34.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

simplify148.0ms

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010905740
144644299
250014299

prune790.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0)
0.0b
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
0.2b
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) m)
14.2b
(/ (pow m 2) v)

rewrite378.0ms

Algorithm
rewrite-expression-head
Rules
77×times-frac
70×*-un-lft-identity
68×prod-diff
67×add-sqr-sqrt
61×add-cube-cbrt
30×unpow-prod-down associate--l+
15×unpow2
11×add-exp-log add-log-exp
10×sqr-pow
add-cbrt-cube associate-/l*
pow1
distribute-rgt-out-- fma-neg associate-*l*
expm1-log1p-u diff-log log1p-expm1-u
sub-neg flip3-- div-exp associate-*r* associate-/r* flip-- div-inv
associate-*r/ associate-*l/ distribute-lft-out-- difference-of-squares
cbrt-undiv associate--l- pow-to-exp frac-2neg pow-prod-down pow-exp prod-exp clear-num *-commutative frac-sub cbrt-unprod sub-div unswap-sqr
Counts
4 → 185
Calls
4 calls:
110.0ms
(- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0)
13.0ms
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
243.0ms
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) m)
5.0ms
(/ (pow m 2) v)

series111.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0)
32.0ms
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
38.0ms
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) m)
19.0ms
(/ (pow m 2) v)

simplify112.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
09052270
135851588
250021580

prune435.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m))
0.2b
(* (+ (- (* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m)) 1.0) (fma (- 1.0) 1 1.0)) m)
0.2b
(/ (sqrt m) v)
0.4b
(* (/ (sqrt m) v) (sqrt m))

rewrite512.0ms

Algorithm
rewrite-expression-head
Rules
69×add-sqr-sqrt
53×*-un-lft-identity
49×add-cube-cbrt
40×times-frac
29×sqrt-prod
27×associate-*l*
22×add-exp-log add-cbrt-cube
18×prod-diff
14×associate-*r*
13×pow1
11×distribute-rgt-in distribute-lft-in
prod-exp cbrt-unprod
associate-*l/ unswap-sqr
associate-/l*
pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv div-exp associate-/r* *-commutative
frac-times sub-neg flip3-- associate-*r/ flip-- div-inv
frac-2neg flip3-+ clear-num flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 165
Calls
4 calls:
31.0ms
(* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m))
457.0ms
(* (+ (- (* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m)) 1.0) (fma (- 1.0) 1 1.0)) m)
3.0ms
(/ (sqrt m) v)
15.0ms
(* (/ (sqrt m) v) (sqrt m))

series233.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m))
75.0ms
(* (+ (- (* (* (/ (sqrt m) v) (sqrt m)) (- 1.0 m)) 1.0) (fma (- 1.0) 1 1.0)) m)
65.0ms
(/ (sqrt m) v)
33.0ms
(* (/ (sqrt m) v) (sqrt m))

simplify90.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07191576
136711085
250011067

prune374.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes66.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
0137
1137

end0.0ms

sample709.0ms

Algorithm
intervals
Results
308.0ms13705×body80valid
180.0ms13705×pre80true