Details

Time bar (total: 3.9s)

sample283.0ms

Algorithm
intervals
Results
11.0ms431×body80valid
6.0ms431×pre80true

simplify128.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 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff
12×add-exp-log add-cbrt-cube
11×distribute-rgt-in distribute-lft-in
associate-*r* associate-*l*
pow1
associate-*r/
expm1-log1p-u flip3-- times-frac prod-exp associate-/r* flip-- cbrt-unprod log1p-expm1-u add-log-exp
cbrt-undiv sub-neg div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
3 → 95
Calls
3 calls:
7.0ms
(* m (- 1.0 m))
8.0ms
(/ (* m (- 1.0 m)) v)
14.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series140.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0394683
11939511
25001505

prune167.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
116×add-sqr-sqrt
107×*-un-lft-identity
73×add-cube-cbrt
26×associate-/r*
19×difference-of-squares
17×distribute-lft-out--
12×add-exp-log add-cbrt-cube
11×associate-/r/
associate-*l*
flip3-- flip-- div-inv associate-/l*
pow1
cbrt-undiv div-exp
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp
frac-2neg associate-*l/ clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 169
Calls
3 calls:
5.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
30.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series111.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06201297
130271241
250011241

prune377.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite135.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))
9.0ms
(/ (/ v (- 1.0 m)) m)
72.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
18.0ms
(/ 1 (/ (/ v (- 1.0 m)) m))

series177.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
484 → 484
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
016064818
150023970

prune758.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
29×*-un-lft-identity
25×add-cube-cbrt
18×add-exp-log prod-diff add-cbrt-cube
17×associate-*r*
13×pow1
11×distribute-rgt-in distribute-lft-in
associate-*l*
sqrt-prod
associate-*l/ prod-exp cbrt-unprod
pow-prod-down
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u add-log-exp
times-frac associate-/r* *-commutative unswap-sqr
cbrt-undiv sub-neg div-exp associate-/l/ distribute-lft-out-- difference-of-squares
frac-2neg clear-num div-inv associate-/l*
Counts
4 → 124
Calls
4 calls:
7.0ms
(* m (- 1.0 m))
8.0ms
(/ (* m (- 1.0 m)) v)
14.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
15.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

series213.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* m (- 1.0 m))
36.0ms
(/ (* m (- 1.0 m)) v)
78.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
48.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

simplify71.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05241015
12424784
25001770

prune222.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes50.0ms

Accuracy

0% (0.2b 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

sample697.0ms

Algorithm
intervals
Results
310.0ms13651×body80valid
174.0ms13651×pre80true