Details

Time bar (total: 3.6s)

sample289.0ms

Algorithm
intervals
Results
11.0ms447×body80valid
7.0ms447×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 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))

rewrite94.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:
12.0ms
(* m (- 1.0 m))
10.0ms
(/ (* m (- 1.0 m)) v)
65.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series135.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05001273
12527968
25001962

prune209.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
18×prod-diff
13×times-frac
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
flip3-- associate-*l* flip--
pow1 distribute-rgt-out associate-*r* add-log-exp
distribute-lft-neg-out frac-times associate-/l*
expm1-log1p-u associate-/r* log1p-expm1-u difference-of-squares
sub-neg flip3-+ div-sub associate-*r/ unsub-neg associate-*l/ flip-+ associate-/l/ distribute-lft-out--
cbrt-undiv +-commutative fma-def frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 109
Calls
3 calls:
3.0ms
(+ (* 1.0 m) (* (- m) m))
9.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)
86.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- 1.0 m))

series148.0ms

Counts
3 → 9
Calls
3 calls:
61.0ms
(+ (* 1.0 m) (* (- m) m))
47.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)
40.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- 1.0 m))

simplify87.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05101396
124961173
250011145

prune241.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
26×*-un-lft-identity
25×prod-diff
21×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
10×add-exp-log add-cbrt-cube
flip3-- times-frac flip--
pow1 associate-*r* associate-*l* add-log-exp
frac-times associate-*r/
expm1-log1p-u sub-neg associate-/r* log1p-expm1-u
cbrt-undiv div-exp associate-*l/ prod-exp cbrt-unprod div-inv distribute-lft-out-- difference-of-squares
distribute-rgt-out-- frac-2neg fma-neg diff-log pow-prod-down clear-num *-commutative frac-sub associate-/l* sub-div unswap-sqr
Counts
3 → 102
Calls
3 calls:
6.0ms
(- (* 1.0 (/ m v)) (/ (* m m) v))
126.0ms
(* (- (- (* 1.0 (/ m v)) (/ (* m m) v)) 1.0) (- 1.0 m))
4.0ms
(/ (* m m) v)

series95.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
05811319
130331023
250021007

prune220.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite266.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
56×add-sqr-sqrt
54×*-un-lft-identity
50×add-cube-cbrt
44×prod-diff
32×add-exp-log
20×add-cbrt-cube
14×div-exp
11×distribute-rgt-in distribute-lft-in
10×div-inv
associate-/r*
pow1 cbrt-undiv flip3-- flip--
associate-/l* add-log-exp
associate-*r* associate-*l* prod-exp
expm1-log1p-u frac-times log1p-expm1-u
sub-neg rec-exp 1-exp associate-*r/ cbrt-unprod
frac-2neg associate-*l/ clear-num associate-/r/ distribute-lft-out-- difference-of-squares
pow-flip fma-neg diff-log pow-prod-down *-commutative frac-sub inv-pow unswap-sqr
Counts
4 → 177
Calls
4 calls:
12.0ms
(- (* 1.0 (/ m v)) (/ 1 (/ v (* m m))))
234.0ms
(* (- (- (* 1.0 (/ m v)) (/ 1 (/ v (* m m)))) 1.0) (- 1.0 m))
7.0ms
(/ 1 (/ v (* m m)))
6.0ms
(/ v (* m m))

series125.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* 1.0 (/ m v)) (/ 1 (/ v (* m m))))
36.0ms
(* (- (- (* 1.0 (/ m v)) (/ 1 (/ v (* m m)))) 1.0) (- 1.0 m))
28.0ms
(/ 1 (/ v (* m m)))
23.0ms
(/ v (* m m))

simplify46.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010052397
150011734

prune305.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1179

end0.0ms

sample712.0ms

Algorithm
intervals
Results
318.0ms13788×body80valid
178.0ms13788×pre80true