Details

Time bar (total: 2.8s)

analyze241.0ms

Algorithm
search

sample22.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
5.0ms258×pre80true
0.0msbody80invalid

simplify484.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.2b
(* (- (/ (* 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)

series49.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0334532
11558477
25002465

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

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
126×add-sqr-sqrt
110×*-un-lft-identity
74×add-cube-cbrt
26×associate-/r*
22×difference-of-squares
18×distribute-lft-out--
13×add-exp-log add-cbrt-cube
11×associate-/r/
flip3-- associate-*l* flip--
pow1 div-inv associate-/l* add-log-exp
cbrt-undiv div-exp
associate-*r*
frac-2neg associate-*l/ clear-num
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 179
Calls
4 calls:
25.0ms
(- (/ m (/ v (- 1.0 m))) 1.0)
5.0ms
(/ v (- 1.0 m))
9.0ms
(/ m (/ v (- 1.0 m)))
29.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) m)

series24.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06311428
130141368
250011367

prune234.0ms

Filtered
142 candidates to 191 candidates (-34.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1910191
Fresh077
Picked011
Done000
Total1918199

Merged error: 0.0b

Counts
199 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
128×add-sqr-sqrt
108×times-frac
96×*-un-lft-identity
70×add-cube-cbrt
60×sqrt-prod
37×associate-*r*
25×associate-*l*
22×add-exp-log add-cbrt-cube
13×distribute-lft-out-- difference-of-squares
12×associate-/r*
10×unswap-sqr
pow1 associate-/l*
cbrt-undiv div-exp
prod-exp cbrt-unprod
div-inv add-log-exp
associate-*l/
flip3-- frac-2neg pow-prod-down clear-num *-commutative flip-- associate-/l/
frac-times div-sub associate-*r/
Counts
4 → 200
Calls
4 calls:
13.0ms
(* (- (* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v))) 1.0) m)
4.0ms
(/ m (sqrt v))
6.0ms
(/ (- 1.0 m) (sqrt v))
24.0ms
(* (/ m (sqrt v)) (/ (- 1.0 m) (sqrt v)))

series37.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07571686
135741572
250011508

prune213.0ms

Filtered
137 candidates to 212 candidates (-54.7%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2102212
Fresh156
Picked011
Done011
Total2119220

Merged error: 0b

Counts
220 → 9

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

rewrite42.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))
14.0ms
(* (* (- (/ (* m (- 1.0 m)) v) 1.0) (sqrt m)) (sqrt m))

series36.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0510737
12490643
25001633

prune107.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh246
Picked011
Done112
Total1127119

Merged error: 0b

Counts
119 → 7

regimes158.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0128
1128

end0.0ms

analyze45.0ms

Algorithm
search

sample513.0ms

Algorithm
intervals
Results
228.0ms8000×body80valid
154.0ms8059×pre80true
2.0ms59×body80invalid

Profiling

Loading profile data...