Details

Time bar (total: 5.3s)

sample287.0ms

Algorithm
intervals
Results
11.0ms453×body80valid
6.0ms453×pre80true

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite86.0ms

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

series107.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0375800
11620607
25002589

prune175.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
576×times-frac
462×add-sqr-sqrt
446×*-un-lft-identity
338×add-cube-cbrt
204×prod-diff
68×fma-neg
58×difference-of-squares
54×distribute-lft-out--
39×associate-/r/
26×associate-/r*
22×div-inv
19×flip3-- flip--
13×add-exp-log add-cbrt-cube
associate-*l*
pow1 associate-/l* add-log-exp
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
associate-*r*
frac-2neg associate-*l/ clear-num
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 459
Calls
4 calls:
85.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
5.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
196.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series138.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
34.0ms
(/ v (- 1.0 m))
36.0ms
(/ m (/ v (- 1.0 m)))
42.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

simplify151.0ms

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010905740
144644299
250014299

prune799.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (/ 1 v) (* m (- 1.0 m))) 1.0)
0.2b
(* (- (* (/ 1 v) (* m (- 1.0 m))) 1.0) m)
0.3b
(* (/ 1 v) (* m (- 1.0 m)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
88×distribute-rgt-in distribute-lft-in
75×prod-diff
63×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
44×associate--l+
27×add-exp-log
17×add-cbrt-cube
16×associate-*l*
13×prod-exp
10×pow1
sub-neg times-frac
cbrt-unprod
associate-*r/
add-log-exp
flip3-- div-exp associate-*r* pow-prod-down flip--
expm1-log1p-u associate-*l/ log1p-expm1-u
cbrt-undiv frac-times rec-exp 1-exp *-commutative
fma-neg diff-log div-inv unswap-sqr
Counts
3 → 171
Calls
3 calls:
26.0ms
(- (* (/ 1 v) (* m (- 1.0 m))) 1.0)
60.0ms
(* (- (* (/ 1 v) (* m (- 1.0 m))) 1.0) m)
24.0ms
(* (/ 1 v) (* m (- 1.0 m)))

series126.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(- (* (/ 1 v) (* m (- 1.0 m))) 1.0)
51.0ms
(* (- (* (/ 1 v) (* m (- 1.0 m))) 1.0) m)
48.0ms
(* (/ 1 v) (* m (- 1.0 m)))

simplify95.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08231647
132591014
25001996

prune340.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ v (- 1.0 m))
0.0b
(/ (/ v (- 1.0 m)) m)
0.2b
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
0.3b
(/ 1 (/ (/ v (- 1.0 m)) m))

rewrite584.0ms

Algorithm
rewrite-expression-head
Rules
783×times-frac
467×add-sqr-sqrt
448×*-un-lft-identity
338×add-cube-cbrt
75×associate-/r*
59×difference-of-squares
54×distribute-lft-out--
35×associate-/r/
34×add-exp-log
27×associate-/l*
24×div-inv
22×add-cbrt-cube
19×div-exp
18×flip3-- flip--
12×associate-*l*
10×cbrt-undiv
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp associate-*r* clear-num
associate-*l/
pow-flip pow-prod-down prod-exp *-commutative cbrt-unprod associate-/l/ inv-pow unswap-sqr
Counts
4 → 472
Calls
4 calls:
5.0ms
(/ v (- 1.0 m))
12.0ms
(/ (/ v (- 1.0 m)) m)
511.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
21.0ms
(/ 1 (/ (/ v (- 1.0 m)) m))

series171.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ v (- 1.0 m))
39.0ms
(/ (/ v (- 1.0 m)) m)
52.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
43.0ms
(/ 1 (/ (/ v (- 1.0 m)) m))

simplify74.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
016124818
150023970

prune747.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes56.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample686.0ms

Algorithm
intervals
Results
307.0ms13753×body80valid
172.0ms13753×pre80true