Details

Time bar (total: 3.9s)

sample278.0ms

Algorithm
intervals
Results
10.0ms428×body80valid
6.0ms428×pre80true

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0166
1406
21126
33936
413446
540726
650016

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
39×*-un-lft-identity
36×prod-diff
33×add-cube-cbrt
22×distribute-rgt-in distribute-lft-in
12×add-exp-log add-cbrt-cube
10×associate-*r*
flip3-- associate-*l* flip--
pow1
associate-*r/
frac-times sub-neg
expm1-log1p-u times-frac prod-exp associate-/r* cbrt-unprod log1p-expm1-u 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 → 125
Calls
3 calls:
22.0ms
(* m (- 1.0 m))
21.0ms
(/ (* m (- 1.0 m)) v)
108.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series122.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(* m (- 1.0 m))
33.0ms
(/ (* m (- 1.0 m)) v)
45.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

simplify74.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05001273
12527968
25001962

prune202.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite309.0ms

Algorithm
rewrite-expression-head
Rules
126×times-frac
111×add-sqr-sqrt
102×*-un-lft-identity
74×add-cube-cbrt
21×associate-/r*
18×prod-diff
16×difference-of-squares
14×distribute-lft-out--
11×distribute-rgt-in distribute-lft-in
10×flip3-- flip--
add-exp-log associate-/r/ add-cbrt-cube
associate-*l*
associate-*r* div-inv
pow1 frac-times
cbrt-undiv div-exp associate-/l*
expm1-log1p-u sub-neg associate-*r/ associate-*l/ log1p-expm1-u add-log-exp
frac-2neg pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
Counts
2 → 160
Calls
2 calls:
17.0ms
(/ m (/ v (- 1.0 m)))
284.0ms
(* (- (/ m (/ v (- 1.0 m))) 1.0) (- 1.0 m))

series68.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
07141669
137071487
250011486

prune332.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
40×*-un-lft-identity
36×add-cube-cbrt prod-diff
22×distribute-rgt-in distribute-lft-in
16×associate-*l*
10×times-frac associate-*r*
add-exp-log add-cbrt-cube
flip3-- flip--
pow1 frac-times
sub-neg associate-*r/
associate-*l/ prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u pow-prod-down *-commutative log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
cbrt-undiv div-exp div-inv
Counts
2 → 114
Calls
2 calls:
31.0ms
(* (/ m v) (- 1.0 m))
75.0ms
(* (- (* (/ m v) (- 1.0 m)) 1.0) (- 1.0 m))

series63.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05641284
126101000
25002988

prune187.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite264.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
35×*-un-lft-identity
27×add-cube-cbrt
20×prod-diff
19×add-exp-log add-cbrt-cube
18×associate-*l*
14×distribute-rgt-in distribute-lft-in times-frac
10×flip3-- flip--
associate-*r*
frac-times
pow1
associate-*r/
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/
sub-neg associate-*l/ associate-/r*
expm1-log1p-u log1p-expm1-u add-log-exp difference-of-squares unswap-sqr
pow-prod-down associate-/r/ *-commutative div-inv distribute-lft-out distribute-lft-out--
frac-2neg flip3-+ clear-num flip-+ associate-/l*
Counts
3 → 133
Calls
3 calls:
37.0ms
(* (/ m v) (- (* 1.0 1.0) (* m m)))
187.0ms
(* (- (/ (* (/ m v) (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) 1.0) (- 1.0 m))
34.0ms
(/ (* (/ m v) (- (* 1.0 1.0) (* m m))) (+ 1.0 m))

series163.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(* (/ m v) (- (* 1.0 1.0) (* m m)))
52.0ms
(* (- (/ (* (/ m v) (- (* 1.0 1.0) (* m m))) (+ 1.0 m)) 1.0) (- 1.0 m))
65.0ms
(/ (* (/ m v) (- (* 1.0 1.0) (* m m))) (+ 1.0 m))

simplify112.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
07271839
139391578
250011574

prune282.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes45.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01610
11610

end0.0ms

sample785.0ms

Algorithm
intervals
Results
314.0ms13733×body80valid
174.0ms13733×pre80true