Details

Time bar (total: 5.5s)

sample297.0ms

Algorithm
intervals
Results
30.0ms453×body80valid
11.0ms453×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize9.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)

series108.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

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

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

series135.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
36.0ms
(/ v (- 1.0 m))
36.0ms
(/ m (/ v (- 1.0 m)))
41.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

simplify161.0ms

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010905740
144644299
250014299

prune778.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(* (fma (* m (- 1.0 m)) (/ 1 v) (- 1.0)) m)
0.2b
(fma (* m (- 1.0 m)) (/ 1 v) (- 1.0))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 30
Calls
2 calls:
3.0ms
(* (fma (* m (- 1.0 m)) (/ 1 v) (- 1.0)) m)
0.0ms
(fma (* m (- 1.0 m)) (/ 1 v) (- 1.0))

series85.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(* (fma (* m (- 1.0 m)) (/ 1 v) (- 1.0)) m)
39.0ms
(fma (* m (- 1.0 m)) (/ 1 v) (- 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0121288
1393250
22555244
35001238

prune84.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))

rewrite577.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)
503.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:
36.0ms
(/ v (- 1.0 m))
39.0ms
(/ (/ v (- 1.0 m)) m)
52.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
44.0ms
(/ 1 (/ (/ v (- 1.0 m)) m))

simplify75.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
016064818
150023970

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

sample1.4s

Algorithm
intervals
Results
874.0ms13753×body80valid
307.0ms13753×pre80true