Details

Time bar (total: 3.8s)

sample277.0ms

Algorithm
intervals
Results
11.0ms431×body80valid
6.0ms431×pre80true

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

rewrite30.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:
6.0ms
(* m (- 1.0 m))
7.0ms
(/ (* m (- 1.0 m)) v)
14.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

series142.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0310409
11511363
25001357

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

rewrite50.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
associate-*r* add-log-exp
frac-2neg associate-*l/ clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 163
Calls
3 calls:
6.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
27.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series113.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06041275
129671224
250011223

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

rewrite141.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
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 → 464
Calls
4 calls:
5.0ms
(/ v (- 1.0 m))
9.0ms
(/ (/ v (- 1.0 m)) m)
73.0ms
(* (- (/ 1 (/ (/ v (- 1.0 m)) m)) 1.0) m)
19.0ms
(/ 1 (/ (/ v (- 1.0 m)) m))

series176.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
476 → 476
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015854803
150013950

prune744.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

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

rewrite44.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:
6.0ms
(* m (- 1.0 m))
7.0ms
(/ (* m (- 1.0 m)) v)
13.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
14.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

series206.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0436720
12105615
25002605

prune183.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample744.0ms

Algorithm
intervals
Results
348.0ms13651×body80valid
176.0ms13651×pre80true