Details

Time bar (total: 7.2s)

sample298.0ms

Algorithm
intervals
Results
18.0ms435×body80valid
11.0ms435×pre80overflowed

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

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

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

series156.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04921130
12310788
25002775

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

rewrite351.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:
95.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
10.0ms
(/ m (/ v (- 1.0 m)))
216.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series101.0ms

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

simplify147.0ms

Algorithm
egg-herbie
Counts
429 → 429
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
010315520
140764092
250014080

prune710.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite410.0ms

Algorithm
rewrite-expression-head
Rules
821×times-frac
724×add-sqr-sqrt
559×*-un-lft-identity
507×sqrt-prod
339×add-cube-cbrt
188×associate-*r*
168×difference-of-squares
84×distribute-lft-out--
66×associate-/r*
37×associate-*l*
34×add-exp-log add-cbrt-cube
26×distribute-lft-out
16×associate-/r/
13×cbrt-undiv div-exp unswap-sqr
11×div-inv
pow1 flip3-- flip-- associate-/l*
prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l/
frac-2neg pow-prod-down clear-num *-commutative associate-/l/
frac-times flip3-+ associate-*r/ flip-+
Counts
4 → 596
Calls
4 calls:
132.0ms
(* (- (* (/ (+ (sqrt 1.0) (sqrt m)) (sqrt v)) (/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m))))) 1.0) m)
18.0ms
(/ (+ (sqrt 1.0) (sqrt m)) (sqrt v))
24.0ms
(/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m))))
185.0ms
(* (/ (+ (sqrt 1.0) (sqrt m)) (sqrt v)) (/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m)))))

series770.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(* (- (* (/ (+ (sqrt 1.0) (sqrt m)) (sqrt v)) (/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m))))) 1.0) m)
115.0ms
(/ (+ (sqrt 1.0) (sqrt m)) (sqrt v))
146.0ms
(/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m))))
354.0ms
(* (/ (+ (sqrt 1.0) (sqrt m)) (sqrt v)) (/ m (/ (sqrt v) (- (sqrt 1.0) (sqrt m)))))

simplify110.0ms

Algorithm
egg-herbie
Counts
608 → 608
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
019698765
150018265

prune1.1s

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1.0 m (/ (pow m 3) v))
0.0b
(+ (/ (pow m 2) (/ v 1.0)) (- (fma 1.0 m (/ (pow m 3) v))))
8.8b
(/ (pow m 3) v)
13.7b
(/ (pow m 2) (/ v 1.0))

rewrite135.0ms

Algorithm
rewrite-expression-head
Rules
397×times-frac
207×*-un-lft-identity
203×add-sqr-sqrt add-cube-cbrt
109×fma-def
93×unpow-prod-down
31×sqr-pow
27×unpow2
22×add-exp-log
20×div-inv associate-/l*
16×associate-/r*
12×cube-prod div-exp
11×add-cbrt-cube
add-log-exp
pow1 cbrt-undiv expm1-log1p-u cube-mult unpow3 log1p-expm1-u
pow-to-exp pow-exp
frac-2neg clear-num sum-log associate-/r/ fma-udef distribute-lft-out
+-commutative neg-sub0 associate-+r- associate-+r+ distribute-neg-in distribute-rgt-neg-in flip3-+ unsub-neg neg-log flip-+
Counts
4 → 352
Calls
4 calls:
0.0ms
(fma 1.0 m (/ (pow m 3) v))
102.0ms
(+ (/ (pow m 2) (/ v 1.0)) (- (fma 1.0 m (/ (pow m 3) v))))
5.0ms
(/ (pow m 3) v)
9.0ms
(/ (pow m 2) (/ v 1.0))

series124.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(fma 1.0 m (/ (pow m 3) v))
38.0ms
(+ (/ (pow m 2) (/ v 1.0)) (- (fma 1.0 m (/ (pow m 3) v))))
21.0ms
(/ (pow m 3) v)
30.0ms
(/ (pow m 2) (/ v 1.0))

simplify128.0ms

Algorithm
egg-herbie
Counts
364 → 364
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
08501800
148931554
250011554

prune968.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

sample1.1s

Algorithm
intervals
Results
568.0ms13804×body80valid
318.0ms13804×pre80overflowed