Details

Time bar (total: 7.7s)

sample281.0ms

Algorithm
intervals
Results
10.0ms421×body80valid
6.0ms421×pre80true

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
277×add-sqr-sqrt
227×*-un-lft-identity
214×times-frac
189×add-cube-cbrt
156×prod-diff
88×associate-*r*
58×associate-*l*
46×fma-neg
23×difference-of-squares
20×unswap-sqr
19×distribute-lft-out--
18×*-commutative
14×associate-/l*
13×add-exp-log add-cbrt-cube
11×distribute-rgt-in distribute-lft-in
pow1
add-log-exp
div-inv
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
sub-neg prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-*l/ associate-/l/
frac-2neg diff-log clear-num
Counts
4 → 351
Calls
4 calls:
30.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
8.0ms
(* m (- 1.0 m))
26.0ms
(/ (* m (- 1.0 m)) v)
30.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

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

simplify128.0ms

Algorithm
egg-herbie
Counts
363 → 363
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08933765
136812658
250012656

prune524.0ms

Filtered
363 candidates to 185 candidates (51.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3549363
Fresh000
Picked101
Done000
Total3559364

Merged error: 0b

Counts
364 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite447.0ms

Algorithm
rewrite-expression-head
Rules
1489×add-sqr-sqrt
854×associate-*r*
751×*-un-lft-identity
550×times-frac
481×add-cube-cbrt
450×prod-diff
426×associate-*l*
380×difference-of-squares
360×swap-sqr
274×unswap-sqr
270×*-commutative
229×distribute-rgt-in distribute-lft-in
76×distribute-lft-out--
44×distribute-lft-out
42×associate-/l*
22×add-exp-log add-cbrt-cube
13×associate-/r*
10×pow1
associate-*r/
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
flip3-- pow-prod-down flip--
+-commutative sub-neg flip3-+ associate-*l/ associate-/r/ flip-+ associate-/l/
frac-2neg clear-num div-inv
Counts
4 → 1186
Calls
4 calls:
10.0ms
(* v (+ 1.0 m))
41.0ms
(* m (- (* 1.0 1.0) (* m m)))
76.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
213.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) m)

series240.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* v (+ 1.0 m))
70.0ms
(* m (- (* 1.0 1.0) (* m m)))
71.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
68.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) m)

simplify194.0ms

Algorithm
egg-herbie
Counts
1198 → 1198
Iterations

Useful iterations: 1 (42.0ms)

IterNodesCost
0285614692
1500213643

prune909.0ms

Filtered
1198 candidates to 277 candidates (23.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New119441198
Fresh448
Picked011
Done000
Total119891207

Merged error: 0b

Counts
1207 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ m (/ v (+ 1.0 (sqrt (* m m)))))
0.1b
(* (- (* (/ m (/ v (+ 1.0 (sqrt (* m m))))) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
22.3b
(sqrt (* m m))
22.3b
(sqrt (* m m))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
114×add-sqr-sqrt
111×times-frac
99×*-un-lft-identity
69×add-cube-cbrt
30×sqrt-prod
22×pow1 associate-/r*
19×associate-*l*
18×associate-/r/
13×distribute-lft-out
12×sqrt-pow1
11×add-exp-log add-cbrt-cube unswap-sqr
10×rem-sqrt-square
associate-*r*
swap-sqr
difference-of-squares
associate-/l*
*-commutative div-inv
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u add-log-exp
cbrt-undiv div-exp pow-prod-down
pow2 frac-2neg pow-plus pow1/2 associate-*l/ clear-num pow-sqr pow-prod-up distribute-lft-out--
flip3-- prod-exp flip-- cbrt-unprod
Counts
4 → 204
Calls
4 calls:
14.0ms
(/ m (/ v (+ 1.0 (sqrt (* m m)))))
149.0ms
(* (- (* (/ m (/ v (+ 1.0 (sqrt (* m m))))) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
5.0ms
(sqrt (* m m))
5.0ms
(sqrt (* m m))

series85.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ m (/ v (+ 1.0 (sqrt (* m m)))))
35.0ms
(* (- (* (/ m (/ v (+ 1.0 (sqrt (* m m))))) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
8.0ms
(sqrt (* m m))
8.0ms
(sqrt (* m m))

simplify93.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06671778
132761619
250011608

prune569.0ms

Filtered
216 candidates to 152 candidates (70.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2133216
Fresh347
Picked101
Done011
Total2178225

Merged error: 0b

Counts
225 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m)))
0.1b
(* (- (* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
0.3b
(* (/ 1 v) (* (+ (fabs m) 1.0) m))
22.3b
(sqrt (* m m))

rewrite331.0ms

Algorithm
rewrite-expression-head
Rules
929×frac-times
818×add-sqr-sqrt
640×associate-*l/
491×associate-/l*
407×*-un-lft-identity
309×associate-/r*
233×add-cube-cbrt
219×difference-of-squares
211×flip3-+ flip-+
185×sqrt-prod
121×unswap-sqr
101×add-exp-log associate-*l*
96×times-frac
94×clear-num
93×frac-2neg
84×associate-*r*
61×associate-*r/
60×associate-/l/
59×add-cbrt-cube
55×prod-exp
42×*-commutative distribute-lft-out
39×distribute-lft-out--
38×swap-sqr
31×flip3-- flip--
29×cbrt-unprod
28×pow1
21×div-exp
11×cbrt-undiv pow-prod-down
rec-exp sqrt-pow1 1-exp
rem-sqrt-square
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
un-div-inv
associate-/r/
pow2 pow-plus pow1/2 pow-sqr pow-prod-up
Counts
4 → 902
Calls
4 calls:
74.0ms
(* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m)))
143.0ms
(* (- (* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
16.0ms
(* (/ 1 v) (* (+ (fabs m) 1.0) m))
5.0ms
(sqrt (* m m))

series245.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m)))
149.0ms
(* (- (* (* (/ 1 v) (* (+ (fabs m) 1.0) m)) (/ (- 1.0 (sqrt (* m m))) (+ 1.0 m))) 1.0) m)
27.0ms
(* (/ 1 v) (* (+ (fabs m) 1.0) m))
8.0ms
(sqrt (* m m))

simplify198.0ms

Algorithm
egg-herbie
Counts
914 → 914
Iterations

Useful iterations: 1 (65.0ms)

IterNodesCost
0425015267
1500114987

prune2.0s

Filtered
914 candidates to 424 candidates (46.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New9140914
Fresh066
Picked011
Done011
Total9148922

Merged error: 0b

Counts
922 → 8

regimes91.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
0169
1169

end0.0ms

sample713.0ms

Algorithm
intervals
Results
315.0ms13470×body80valid
174.0ms13470×pre80true