Details

Time bar (total: 4.5s)

sample301.0ms

Algorithm
intervals
Results
29.0ms432×body80valid
11.0ms432×pre80true

simplify125.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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

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

rewrite98.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:
15.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
11.0ms
(* m (- 1.0 m))
10.0ms
(/ (* m (- 1.0 m)) v)
55.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series155.0ms

Counts
4 → 12
Calls
4 calls:
23.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)

simplify74.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04921130
12310788
25002775

prune229.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
22×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
14×*-un-lft-identity
11×associate-*r* associate-*l*
10×pow1 add-cube-cbrt
associate-*r/
prod-exp cbrt-unprod
cbrt-undiv distribute-rgt-in expm1-log1p-u distribute-lft-in div-exp log1p-expm1-u add-log-exp
flip3-- pow-prod-down *-commutative flip-- unswap-sqr
sub-neg flip3-+ prod-diff associate-*l/ associate-/r/ flip-+ associate-/l/ difference-of-squares
frac-2neg times-frac clear-num associate-/r* div-inv distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 105
Calls
4 calls:
9.0ms
(* v (+ 1.0 m))
10.0ms
(* m (- (* 1.0 1.0) (* m m)))
10.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
58.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) m)

series237.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* v (+ 1.0 m))
71.0ms
(* m (- (* 1.0 1.0) (* m m)))
71.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
63.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) m)

simplify86.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
0513877
13135743
25002742

prune249.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

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

rewrite13.0ms

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

series106.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ (- 1.0 m) v)
28.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))
46.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) m)

simplify161.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0270495
1918437
24973434
35001434

prune183.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
17×associate-*l*
15×distribute-rgt-in distribute-lft-in
14×prod-exp cbrt-unprod
13×pow1 *-un-lft-identity
12×associate-*r/
11×add-cube-cbrt
associate-*r*
sqrt-prod
cbrt-undiv sub-neg div-exp prod-diff
pow-prod-down
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
*-commutative unswap-sqr
associate-*l/ associate-/r/ associate-/l/ difference-of-squares
frac-2neg flip3-+ times-frac clear-num associate-/r* flip-+ div-inv associate-/l* distribute-lft-out--
Counts
4 → 125
Calls
4 calls:
12.0ms
(* (sqrt m) (- (* 1.0 1.0) (* m m)))
24.0ms
(/ (* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m)))) (* v (+ 1.0 m)))
98.0ms
(* (- (/ (* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m)))) (* v (+ 1.0 m))) 1.0) m)
20.0ms
(* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m))))

series272.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (sqrt m) (- (* 1.0 1.0) (* m m)))
77.0ms
(/ (* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m)))) (* v (+ 1.0 m)))
75.0ms
(* (- (/ (* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m)))) (* v (+ 1.0 m))) 1.0) m)
63.0ms
(* (sqrt m) (* (sqrt m) (- (* 1.0 1.0) (* m m))))

simplify105.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06891396
140681117
250011105

prune283.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes58.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
02510
12910
22910

end0.0ms

sample1.4s

Algorithm
intervals
Results
894.0ms13750×body80valid
311.0ms13750×pre80true