Details

Time bar (total: 2.8s)

analyze248.0ms

Algorithm
search

sample23.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
5.0ms256×pre80true

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

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

rewrite37.0ms

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

series42.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (/ (* m (- 1.0 m)) v) 1.0)
15.0ms
(* m (- 1.0 m))
6.0ms
(/ (* m (- 1.0 m)) v)
15.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) m)

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0334532
11558477
25002465

prune144.0ms

Filtered
63 candidates to 97 candidates (-54.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New89897
Fresh000
Picked101
Done000
Total90898

Merged error: 0.0b

Counts
98 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
41×add-sqr-sqrt
34×add-exp-log *-un-lft-identity
28×add-cube-cbrt
22×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-*l* associate-/r/
10×associate-/r*
pow1
associate-*r*
cbrt-undiv flip3-- flip-- div-inv
prod-exp associate-/l*
cbrt-unprod add-log-exp difference-of-squares
rec-exp 1-exp distribute-lft-out--
distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-prod-down associate-*l/ clear-num *-commutative unswap-sqr
pow-flip inv-pow
Counts
4 → 138
Calls
4 calls:
6.0ms
(* m (- 1.0 m))
6.0ms
(/ v (* m (- 1.0 m)))
19.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) m)
9.0ms
(/ 1 (/ v (* m (- 1.0 m))))

series31.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* m (- 1.0 m))
6.0ms
(/ v (* m (- 1.0 m)))
10.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) m)
8.0ms
(/ 1 (/ v (* m (- 1.0 m))))

simplify66.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0522954
12623797
25001783

prune142.0ms

Filtered
84 candidates to 150 candidates (-78.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1491150
Fresh167
Picked011
Done000
Total1508158

Merged error: 0.0b

Counts
158 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
40×add-sqr-sqrt
37×add-exp-log
33×*-un-lft-identity
29×add-cube-cbrt
25×add-cbrt-cube
14×div-exp
12×pow1 associate-*r*
11×associate-/r/
10×associate-*r/ associate-/r*
associate-*l*
prod-exp
cbrt-undiv flip3-- sqrt-prod flip-- div-inv
associate-*l/ cbrt-unprod associate-/l*
pow-prod-down add-log-exp
rec-exp 1-exp difference-of-squares
frac-2neg clear-num *-commutative distribute-lft-out-- unswap-sqr
pow-flip inv-pow
Counts
4 → 139
Calls
4 calls:
6.0ms
(/ v (* m (- 1.0 m)))
21.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (sqrt m))
9.0ms
(/ 1 (/ v (* m (- 1.0 m))))
24.0ms
(* (* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (sqrt m)) (sqrt m))

series43.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ v (* m (- 1.0 m)))
17.0ms
(* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (sqrt m))
7.0ms
(/ 1 (/ v (* m (- 1.0 m))))
12.0ms
(* (* (- (/ 1 (/ v (* m (- 1.0 m)))) 1.0) (sqrt m)) (sqrt m))

simplify81.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06711215
133291010
25002999

prune151.0ms

Filtered
85 candidates to 151 candidates (-77.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1492151
Fresh246
Picked011
Done011
Total1518159

Merged error: 0b

Counts
159 → 8

localize9.0ms

Local error

Found 4 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) (sqrt m))
0.4b
(* (* (- (/ m (/ v (- 1.0 m))) 1.0) (sqrt m)) (sqrt m))

rewrite84.0ms

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

series34.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08041605
140661499
250011499

prune226.0ms

Filtered
148 candidates to 202 candidates (-36.5%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2020202
Fresh055
Picked011
Done022
Total2028210

Merged error: 0b

Counts
210 → 8

regimes113.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
0146
1146

end0.0ms

analyze50.0ms

Algorithm
search

sample536.0ms

Algorithm
intervals
Results
241.0ms8000×body80valid
162.0ms8055×pre80true
2.0ms55×body80invalid

Profiling

Loading profile data...