Details

Time bar (total: 3.1s)

sample277.0ms

Algorithm
intervals
Results
11.0ms434×body80valid
6.0ms434×pre80true

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1345
2675
31695
43455
54665
66705
710145
815285
921175
1030375
1150015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
13×*-un-lft-identity
12×add-exp-log add-cbrt-cube
add-cube-cbrt
associate-*r* associate-*l*
pow1
associate-*r/
flip3-- times-frac prod-exp associate-/r* flip-- cbrt-unprod add-log-exp
cbrt-undiv distribute-rgt-in sub-neg distribute-lft-in 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 → 71
Calls
3 calls:
7.0ms
(* m (- 1.0 m))
8.0ms
(/ (* m (- 1.0 m)) v)
13.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series137.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0310409
11511363
25001357

prune144.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
22×associate-*r*
20×*-un-lft-identity
16×times-frac
14×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 associate-*l*
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
pow-prod-down associate-*l/ *-commutative add-log-exp
cbrt-undiv flip3-- associate-*r/ div-exp flip-- div-inv
Counts
2 → 58
Calls
2 calls:
10.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
10.0ms
(* m (/ (- 1.0 m) v))

series74.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(* (- (* m (/ (- 1.0 m) v)) 1.0) m)
36.0ms
(* m (/ (- 1.0 m) v))

simplify43.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0295374
11437341
25001335

prune115.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
(* m (- 1.0 m))
0.0b
(/ (* m (- 1.0 m)) v)
0.2b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
0.5b
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

rewrite47.0ms

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

series200.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* m (- 1.0 m))
38.0ms
(/ (* m (- 1.0 m)) v)
73.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
46.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

simplify60.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0436720
12105615
25002605

prune196.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- 1.0 m) (sqrt v))
0.3b
(/ m (sqrt v))
0.4b
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
0.5b
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
126×add-sqr-sqrt
108×times-frac
96×*-un-lft-identity
70×add-cube-cbrt
63×sqrt-prod
40×associate-*r*
25×add-exp-log add-cbrt-cube
23×associate-*l*
13×distribute-lft-out-- difference-of-squares
12×associate-/r*
11×pow1
unswap-sqr
associate-/l*
prod-exp cbrt-unprod
cbrt-undiv div-exp
associate-*l/
pow-prod-down div-inv add-log-exp
flip3-- frac-2neg clear-num *-commutative flip-- associate-/l/
frac-times div-sub associate-*r/
Counts
4 → 203
Calls
4 calls:
7.0ms
(/ (- 1.0 m) (sqrt v))
4.0ms
(/ m (sqrt v))
29.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
18.0ms
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

series183.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (- 1.0 m) (sqrt v))
45.0ms
(/ m (sqrt v))
49.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))
49.0ms
(* (* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) (sqrt m)) (sqrt m))

simplify99.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08171772
140131587
250011524

prune431.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes60.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
0176
1176

end0.0ms

sample722.0ms

Algorithm
intervals
Results
319.0ms13925×body80valid
179.0ms13925×pre80true