Details

Time bar (total: 4.8s)

sample283.0ms

Algorithm
intervals
Results
11.0ms431×body80valid
6.0ms431×pre80true

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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 3 expressions with local error:

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

rewrite42.0ms

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

series140.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05001273
12527968
25001962

prune203.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
130×add-sqr-sqrt
121×*-un-lft-identity
85×add-cube-cbrt
26×associate-/r*
20×difference-of-squares
18×prod-diff distribute-lft-out--
12×add-exp-log add-cbrt-cube
11×distribute-rgt-in flip3-- distribute-lft-in associate-/r/ flip--
associate-*l*
div-inv associate-/l*
pow1 associate-*r*
cbrt-undiv frac-times div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
sub-neg frac-2neg associate-*r/ associate-*l/ clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 199
Calls
3 calls:
6.0ms
(/ v (- 1.0 m))
36.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))

series110.0ms

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

simplify114.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07741889
140241694
250021693

prune424.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
249×times-frac
183×add-sqr-sqrt
174×*-un-lft-identity
124×add-cube-cbrt
42×associate-/r*
27×difference-of-squares
25×distribute-lft-out--
18×associate-/r/
16×add-exp-log add-cbrt-cube
13×flip3-- flip--
10×associate-*r* associate-*l/ div-inv
associate-*l*
pow1 cbrt-undiv div-exp associate-/l* add-log-exp
expm1-log1p-u frac-add log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in distribute-rgt-neg-out
frac-2neg clear-num
+-commutative neg-mul-1 fma-def flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
Counts
4 → 263
Calls
4 calls:
39.0ms
(+ (* (- (/ m (/ v (- 1.0 m))) 1.0) 1.0) (* (- (/ m (/ v (- 1.0 m))) 1.0) (- m)))
9.0ms
(/ m (/ v (- 1.0 m)))
9.0ms
(/ m (/ v (- 1.0 m)))
34.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- m))

series150.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* (- (/ m (/ v (- 1.0 m))) 1.0) 1.0) (* (- (/ m (/ v (- 1.0 m))) 1.0) (- m)))
39.0ms
(/ m (/ v (- 1.0 m)))
36.0ms
(/ m (/ v (- 1.0 m)))
36.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- m))

simplify120.0ms

Algorithm
egg-herbie
Counts
275 → 275
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08212494
141242351
250012344

prune731.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (pow m 3) v) (* 1.0 (/ (pow m 2) v)))
0.1b
(/ m (/ v (- 1.0 m)))
7.2b
(/ (pow m 3) v)
10.4b
(/ (pow m 2) v)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
255×times-frac
172×add-sqr-sqrt *-un-lft-identity
148×add-cube-cbrt
42×unpow-prod-down
40×fma-neg prod-diff
30×cube-prod
27×associate-/r*
23×associate-/l*
19×add-exp-log
14×sqr-pow
13×add-cbrt-cube
12×distribute-lft-out-- difference-of-squares
10×cube-mult unpow3
div-exp associate-/r/ div-inv
add-log-exp
cbrt-undiv flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u unpow2
frac-2neg clear-num
pow-to-exp associate-*r/ pow-exp
sub-neg diff-log frac-sub sub-div
Counts
4 → 318
Calls
4 calls:
17.0ms
(- (/ (pow m 3) v) (* 1.0 (/ (pow m 2) v)))
12.0ms
(/ m (/ v (- 1.0 m)))
6.0ms
(/ (pow m 3) v)
5.0ms
(/ (pow m 2) v)

series126.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (/ (pow m 3) v) (* 1.0 (/ (pow m 2) v)))
41.0ms
(/ m (/ v (- 1.0 m)))
21.0ms
(/ (pow m 3) v)
19.0ms
(/ (pow m 2) v)

simplify161.0ms

Algorithm
egg-herbie
Counts
330 → 330
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09042424
149762188
250012188

prune950.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes55.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01612
12012
22112
32112

end0.0ms

sample710.0ms

Algorithm
intervals
Results
317.0ms13651×body80valid
173.0ms13651×pre80true