Details

Time bar (total: 2.8s)

sample245.0ms

Algorithm
intervals
Results
15.0ms414×body80valid
9.0ms414×pre80true

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1406
21056
33546
411026
531896
650026

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

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) 1.0) (- 1.0 m))
0.1b
(/ (* m (- 1.0 m)) v)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×*-un-lft-identity
12×add-exp-log add-cbrt-cube
10×associate-*r*
add-cube-cbrt
flip3-- associate-*l* flip--
pow1
associate-*r/
distribute-rgt-in frac-times sub-neg distribute-lft-in
times-frac prod-exp associate-/r* cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative associate-/l/ unswap-sqr
frac-2neg clear-num div-inv associate-/l*
Counts
3 → 83
Calls
3 calls:
6.0ms
(* m (- 1.0 m))
14.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))
9.0ms
(/ (* m (- 1.0 m)) v)

series26.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0389602
11946551
25003545

prune136.0ms

Filtered
61 candidates to 92 candidates (-50.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New86692
Fresh000
Picked101
Done000
Total87693

Merged error: 0b

Counts
93 → 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.1b
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
118×add-sqr-sqrt
109×*-un-lft-identity
73×add-cube-cbrt
26×associate-/r*
20×difference-of-squares
18×distribute-lft-out--
12×add-exp-log add-cbrt-cube
11×flip3-- associate-/r/ flip--
associate-*l*
div-inv associate-/l*
pow1 associate-*r*
cbrt-undiv frac-times div-exp
add-log-exp
distribute-rgt-in sub-neg frac-2neg distribute-lft-in associate-*r/ associate-*l/ clear-num
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
3 → 175
Calls
3 calls:
5.0ms
(/ v (- 1.0 m))
8.0ms
(/ m (/ v (- 1.0 m)))
33.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))

series18.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06841470
134311414
250011413

prune236.0ms

Filtered
138 candidates to 184 candidates (-33.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1831184
Fresh235
Picked011
Done000
Total1855190

Merged error: 0b

Counts
190 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

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

series13.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0405588
11872542
25002542

prune91.0ms

Filtered
56 candidates to 80 candidates (-42.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New79180
Fresh123
Picked011
Done011
Total80585

Merged error: 0b

Counts
85 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
34×frac-times
29×*-un-lft-identity
24×flip3-- flip--
19×associate-*r*
17×associate-*l* associate-*l/
16×add-exp-log add-cbrt-cube
15×add-cube-cbrt
14×sqrt-prod
13×pow1
12×flip3-+ associate-*r/ flip-+
10×times-frac
difference-of-squares
prod-exp cbrt-unprod add-log-exp
distribute-rgt-in sub-neg distribute-lft-in pow-prod-down distribute-lft-out--
*-commutative unswap-sqr
distribute-lft-out
cbrt-undiv diff-log div-exp div-inv
Counts
4 → 144
Calls
4 calls:
5.0ms
(- (sqrt 1.0) (sqrt m))
24.0ms
(* (* (- (* (/ m v) (- 1.0 m)) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
9.0ms
(* (/ m v) (- 1.0 m))
15.0ms
(* (- (* (/ m v) (- 1.0 m)) 1.0) (+ (sqrt 1.0) (sqrt m)))

series40.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (sqrt 1.0) (sqrt m))
14.0ms
(* (* (- (* (/ m v) (- 1.0 m)) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
5.0ms
(* (/ m v) (- 1.0 m))
17.0ms
(* (- (* (/ m v) (- 1.0 m)) 1.0) (+ (sqrt 1.0) (sqrt m)))

simplify45.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09431876
150011676

prune278.0ms

Filtered
117 candidates to 156 candidates (-33.3%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1560156
Fresh022
Picked011
Done022
Total1565161

Merged error: 0b

Counts
161 → 5

regimes129.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0106
1106

end0.0ms

sample1.1s

Algorithm
intervals
Results
455.0ms13828×body80valid
247.0ms13828×pre80true

Profiling

Loading profile data...