Details

Time bar (total: 5.9s)

sample332.0ms

Algorithm
intervals
Results
10.0ms435×body80valid
6.0ms435×pre80true

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1406
21126
33936
413446
540726
650016

prune26.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite149.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:
21.0ms
(* m (- 1.0 m))
98.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
23.0ms
(/ (* m (- 1.0 m)) v)

series131.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(* m (- 1.0 m))
41.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
46.0ms
(/ (* m (- 1.0 m)) v)

simplify79.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05001273
12527968
25002962

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite193.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:
8.0ms
(+ (* 1.0 m) (* (- m) m))
159.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- 1.0 m))
23.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)

series142.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(+ (* 1.0 m) (* (- m) m))
36.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- 1.0 m))
48.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)

simplify82.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05101396
124961173
250011145

prune220.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite317.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:
11.0ms
(/ v (- 1.0 m))
279.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))
18.0ms
(/ m (/ v (- 1.0 m)))

series109.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
07741889
140241694
250021693

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

rewrite875.0ms

Algorithm
rewrite-expression-head
Rules
806×times-frac
477×*-un-lft-identity
371×add-sqr-sqrt
353×add-cube-cbrt
66×difference-of-squares
65×associate-/l*
60×distribute-lft-out
48×associate-/r/
27×div-inv
26×flip3-- associate-/r* flip--
22×add-exp-log add-cbrt-cube
18×prod-diff
11×distribute-rgt-in distribute-lft-in
10×cbrt-undiv div-exp
associate-*l*
pow1
associate-*r*
expm1-log1p-u frac-times log1p-expm1-u add-log-exp
frac-2neg clear-num
sub-neg associate-*r/ associate-*l/ distribute-lft-out--
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
Counts
4 → 504
Calls
4 calls:
12.0ms
(/ v (- (* 1.0 1.0) (* m m)))
20.0ms
(/ m (/ v (- (* 1.0 1.0) (* m m))))
760.0ms
(* (- (/ (/ m (/ v (- (* 1.0 1.0) (* m m)))) (+ 1.0 m)) 1.0) (- 1.0 m))
49.0ms
(/ (/ m (/ v (- (* 1.0 1.0) (* m m)))) (+ 1.0 m))

series247.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ v (- (* 1.0 1.0) (* m m)))
46.0ms
(/ m (/ v (- (* 1.0 1.0) (* m m))))
62.0ms
(* (- (/ (/ m (/ v (- (* 1.0 1.0) (* m m)))) (+ 1.0 m)) 1.0) (- 1.0 m))
75.0ms
(/ (/ m (/ v (- (* 1.0 1.0) (* m m)))) (+ 1.0 m))

simplify101.0ms

Algorithm
egg-herbie
Counts
516 → 516
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
019147535
150027235

prune1.2s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes40.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
01510
11510

end0.0ms

sample747.0ms

Algorithm
intervals
Results
294.0ms13652×body80valid
162.0ms13652×pre80true