Details

Time bar (total: 5.5s)

sample340.0ms

Algorithm
intervals
Results
12.0ms468×body80valid
7.0ms468×pre80true

simplify127.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

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

rewrite163.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:
28.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
24.0ms
(* m (- 1.0 m))
21.0ms
(/ (* m (- 1.0 m)) v)
84.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series164.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
49.0ms
(* m (- 1.0 m))
39.0ms
(/ (* m (- 1.0 m)) v)
51.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

prune220.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite444.0ms

Algorithm
rewrite-expression-head
Rules
561×times-frac
443×add-sqr-sqrt
427×*-un-lft-identity
327×add-cube-cbrt
204×prod-diff
68×fma-neg
54×difference-of-squares
50×distribute-lft-out--
37×associate-/r/
21×associate-/r* div-inv
18×flip3-- flip--
10×add-exp-log add-cbrt-cube
associate-*l*
pow1 add-log-exp
cbrt-undiv expm1-log1p-u div-exp associate-*r* log1p-expm1-u associate-/l*
associate-*l/
sub-neg frac-2neg diff-log pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
3 → 420
Calls
3 calls:
118.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
16.0ms
(/ m (/ v (- 1.0 m)))
276.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series103.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
429 → 429
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
010315520
140764092
250014080

prune692.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite718.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
45×*-un-lft-identity
40×add-cube-cbrt
39×prod-diff
30×add-exp-log
22×distribute-rgt-in distribute-lft-in associate--l+
20×add-cbrt-cube
18×associate-*l*
14×prod-exp
13×pow1
11×times-frac associate-*r*
cbrt-unprod
associate-*l/
add-log-exp
sub-neg pow-prod-down
expm1-log1p-u div-exp log1p-expm1-u unswap-sqr
flip3-- *-commutative flip--
cbrt-undiv frac-times rec-exp 1-exp associate-*r/
flip3-+ fma-neg diff-log flip-+ div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 153
Calls
4 calls:
46.0ms
(- (* (* (/ 1 v) m) (- 1.0 m)) 1.0)
46.0ms
(* (* (/ 1 v) m) (- 1.0 m))
605.0ms
(* (+ (- (* (* (/ 1 v) m) (- 1.0 m)) 1.0) (fma (- 1.0) 1 1.0)) m)
15.0ms
(* (/ 1 v) m)

series164.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- (* (* (/ 1 v) m) (- 1.0 m)) 1.0)
46.0ms
(* (* (/ 1 v) m) (- 1.0 m))
75.0ms
(* (+ (- (* (* (/ 1 v) m) (- 1.0 m)) 1.0) (fma (- 1.0) 1 1.0)) m)
10.0ms
(* (/ 1 v) m)

simplify90.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06701285
13221888
25003872

prune351.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0)) m)
0.2b
(fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0))
0.3b
(/ (sqrt m) (/ v (- 1.0 m)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
231×times-frac
156×add-sqr-sqrt
154×*-un-lft-identity
112×add-cube-cbrt
66×sqrt-prod
21×associate-/r* distribute-lft-out-- difference-of-squares
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv
flip3-- flip--
associate-/l*
pow1
cbrt-undiv expm1-log1p-u div-exp associate-*r* associate-*l* log1p-expm1-u add-log-exp
frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 200
Calls
3 calls:
6.0ms
(* (fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0)) m)
0.0ms
(fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0))
19.0ms
(/ (sqrt m) (/ v (- 1.0 m)))

series285.0ms

Counts
3 → 9
Calls
3 calls:
142.0ms
(* (fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0)) m)
64.0ms
(fma (/ (sqrt m) 1) (/ (sqrt m) (/ v (- 1.0 m))) (- 1.0))
78.0ms
(/ (sqrt m) (/ v (- 1.0 m)))

simplify90.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07392236
134062083
250012058

prune444.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes51.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
095
195

end0.0ms

sample762.0ms

Algorithm
intervals
Results
305.0ms13650×body80valid
163.0ms13650×pre80true