Details

Time bar (total: 2.7s)

sample42.0ms

Algorithm
intervals
Results
13.0ms414×body80valid
9.0ms414×pre80true

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

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

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

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

series26.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* m (- 1.0 m))
6.0ms
(/ (* m (- 1.0 m)) v)
15.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0310409
11511363
25001357

prune122.0ms

Filtered
52 candidates to 80 candidates (-53.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh000
Picked101
Done000
Total75681

Merged error: 0b

Counts
81 → 6

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:
5.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
28.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series21.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ v (- 1.0 m))
5.0ms
(/ m (/ v (- 1.0 m)))
10.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

prune209.0ms

Filtered
128 candidates to 172 candidates (-34.4%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1720172
Fresh055
Picked011
Done000
Total1726178

Merged error: 0b

Counts
178 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
69×add-sqr-sqrt
61×sqrt-prod
59×*-un-lft-identity
55×add-cube-cbrt
22×add-exp-log add-cbrt-cube
12×associate-/r*
11×associate-/l*
10×associate-*l*
div-inv
pow1 associate-*r*
cbrt-undiv div-exp
associate-*r/ prod-exp cbrt-unprod add-log-exp difference-of-squares
flip3-- flip-- associate-/l/
distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative distribute-lft-out-- unswap-sqr
Counts
4 → 172
Calls
4 calls:
6.0ms
(* m (- 1.0 m))
28.0ms
(* (- (/ (/ (* m (- 1.0 m)) (sqrt v)) (sqrt v)) 1.0) m)
7.0ms
(/ (* m (- 1.0 m)) (sqrt v))
11.0ms
(/ (/ (* m (- 1.0 m)) (sqrt v)) (sqrt v))

series32.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* m (- 1.0 m))
11.0ms
(* (- (/ (/ (* m (- 1.0 m)) (sqrt v)) (sqrt v)) 1.0) m)
8.0ms
(/ (* m (- 1.0 m)) (sqrt v))
9.0ms
(/ (/ (* m (- 1.0 m)) (sqrt v)) (sqrt v))

simplify86.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06901600
132961382
250011376

prune166.0ms

Filtered
110 candidates to 184 candidates (-67.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1831184
Fresh134
Picked011
Done011
Total1846190

Merged error: 0b

Counts
190 → 6

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

rewrite45.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)
12.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
17.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

series34.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* m (- 1.0 m))
5.0ms
(/ (* m (- 1.0 m)) v)
13.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m))
11.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

simplify69.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0510737
12490643
25001633

prune105.0ms

Filtered
72 candidates to 110 candidates (-52.8%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1091110
Fresh123
Picked011
Done022
Total1106116

Merged error: 0b

Counts
116 → 6

regimes95.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
095
195

end0.0ms

sample1.0s

Algorithm
intervals
Results
413.0ms13828×body80valid
252.0ms13828×pre80true

Profiling

Loading profile data...