Details

Time bar (total: 3.9s)

sample300.0ms

Algorithm
intervals
Results
21.0ms425×body80valid
9.0ms425×pre80true

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0166
1406
21126
33936
413446
540726
650016

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

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

series162.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* m (- 1.0 m))
27.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
37.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
52.0ms
(/ (* m (- 1.0 m)) v)

simplify95.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
05831692
128381209
250011196

prune273.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt
37×*-un-lft-identity
27×add-cube-cbrt
18×prod-diff
15×times-frac
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
pow1 associate-*r* associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u add-log-exp
sub-neg flip3-- associate-*r/ flip-- associate-/l/
cbrt-undiv frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 96
Calls
3 calls:
9.0ms
(/ (- 1.0 m) v)
13.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) (- 1.0 m))
0.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))

series109.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (- 1.0 m) v)
44.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) (- 1.0 m))
31.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
03781039
11530824
25003822

prune211.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity fma-udef
pow1 add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-out distribute-lft-neg-in distribute-rgt-in distribute-rgt-neg-in distribute-lft-in associate-*r*
associate-+l+ associate-+r+
+-commutative neg-mul-1 distribute-rgt-out fma-def flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 71
Calls
4 calls:
3.0ms
(+ (* 1.0 (fma m (/ (- 1.0 m) v) (- 1.0))) (* (- m) (fma m (/ (- 1.0 m) v) (- 1.0))))
6.0ms
(* (- m) (fma m (/ (- 1.0 m) v) (- 1.0)))
0.0ms
(fma m (/ (- 1.0 m) v) (- 1.0))
0.0ms
(fma m (/ (- 1.0 m) v) (- 1.0))

series166.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(+ (* 1.0 (fma m (/ (- 1.0 m) v) (- 1.0))) (* (- m) (fma m (/ (- 1.0 m) v) (- 1.0))))
46.0ms
(* (- m) (fma m (/ (- 1.0 m) v) (- 1.0)))
29.0ms
(fma m (/ (- 1.0 m) v) (- 1.0))
30.0ms
(fma m (/ (- 1.0 m) v) (- 1.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0284708
11176611
25001600

prune212.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
60×*-un-lft-identity
52×add-cube-cbrt
44×times-frac
36×prod-diff
34×add-exp-log
22×distribute-rgt-in distribute-lft-in add-cbrt-cube
14×associate-*r/ div-exp
12×flip3-- flip--
11×associate-*l* associate-/r/
10×associate-*r* associate-/r*
pow1
cbrt-undiv div-inv
prod-exp associate-/l*
difference-of-squares
expm1-log1p-u frac-times sub-neg cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp
rec-exp 1-exp
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative unswap-sqr
pow-flip inv-pow
Counts
4 → 194
Calls
4 calls:
12.0ms
(* m (- 1.0 m))
132.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (- 1.0 m))
5.0ms
(/ v (* m (- 1.0 m)))
12.0ms
(/ 1 (/ v (* m (- 1.0 m))))

series185.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* m (- 1.0 m))
48.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (- 1.0 m))
42.0ms
(/ v (* m (- 1.0 m)))
51.0ms
(/ 1 (/ v (* m (- 1.0 m))))

simplify101.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07161895
137011471
250011464

prune296.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes39.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01612
12012
22112
32112

end0.0ms

sample1.2s

Algorithm
intervals
Results
669.0ms13837×body80valid
272.0ms13837×pre80true