Details

Time bar (total: 4.7s)

sample295.0ms

Algorithm
intervals
Results
23.0ms435×body80valid
9.0ms435×pre80true

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

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

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
39×prod-diff
37×add-cube-cbrt
15×times-frac
13×add-exp-log add-cbrt-cube
11×distribute-rgt-in distribute-lft-in
pow1 associate-*r* associate-*l*
fma-neg
add-log-exp
div-inv
expm1-log1p-u flip3-- associate-*r/ flip-- log1p-expm1-u
sub-neg prod-exp associate-/r* cbrt-unprod distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 139
Calls
4 calls:
16.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
11.0ms
(* m (- 1.0 m))
11.0ms
(/ (* m (- 1.0 m)) v)
55.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series163.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
50.0ms
(* m (- 1.0 m))
39.0ms
(/ (* m (- 1.0 m)) v)
50.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify77.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
04921130
12310788
25002775

prune232.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
15×add-cube-cbrt times-frac
add-exp-log add-cbrt-cube
pow1 associate-/l*
distribute-lft-out-- difference-of-squares
expm1-log1p-u associate-*r* associate-*l* associate-/r* log1p-expm1-u add-log-exp
associate-/l/
cbrt-undiv flip3-- frac-2neg div-sub div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod fma-udef div-inv unswap-sqr
Counts
3 → 70
Calls
3 calls:
9.0ms
(/ (- 1.0 m) v)
0.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))
3.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) m)

series110.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (- 1.0 m) v)
29.0ms
(fma (/ m 1) (/ (- 1.0 m) v) (- 1.0))
48.0ms
(* (fma (/ m 1) (/ (- 1.0 m) v) (- 1.0)) m)

simplify156.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0270495
1918437
24973434
35001434

prune183.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
27×*-un-lft-identity
19×add-cube-cbrt
15×times-frac
13×add-exp-log add-cbrt-cube
12×associate-*r*
11×pow1
sqrt-prod
associate-/l*
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
associate-/r*
*-commutative associate-/l/ unswap-sqr
cbrt-undiv flip3-- frac-2neg div-sub div-exp clear-num flip-- fma-udef div-inv
Counts
4 → 97
Calls
4 calls:
8.0ms
(/ (- 1.0 m) v)
0.0ms
(fma (/ (- 1.0 m) v) m (- 1.0))
4.0ms
(* (fma (/ (- 1.0 m) v) m (- 1.0)) (sqrt m))
11.0ms
(* (* (fma (/ (- 1.0 m) v) m (- 1.0)) (sqrt m)) (sqrt m))

series206.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ (- 1.0 m) v)
29.0ms
(fma (/ (- 1.0 m) v) m (- 1.0))
82.0ms
(* (fma (/ (- 1.0 m) v) m (- 1.0)) (sqrt m))
58.0ms
(* (* (fma (/ (- 1.0 m) v) m (- 1.0)) (sqrt m)) (sqrt m))

simplify46.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0390769
11417664
25002650

prune235.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
0.3b
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
0.4b
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))

rewrite110.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 109
Calls
4 calls:
9.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
9.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
9.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
78.0ms
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))

series848.0ms

Counts
4 → 12
Calls
4 calls:
213.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
214.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
211.0ms
(cbrt (- (/ (* m (- 1.0 m)) v) 1.0))
208.0ms
(* (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)) (cbrt (- (/ (* m (- 1.0 m)) v) 1.0)))

simplify134.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
03181637
19861558
246751454
350011454

prune317.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes90.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
0105
1105

end0.0ms

sample1.2s

Algorithm
intervals
Results
708.0ms13732×body80valid
266.0ms13732×pre80true