Details

Time bar (total: 4.9s)

sample278.0ms

Algorithm
intervals
Results
10.0ms422×body80valid
6.0ms422×pre80true

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.0b
(/ (* m (- 1.0 m)) v)
0.1b
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

rewrite100.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:
12.0ms
(* m (- 1.0 m))
11.0ms
(/ (* m (- 1.0 m)) v)
71.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series131.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(* m (- 1.0 m))
37.0ms
(/ (* m (- 1.0 m)) v)
48.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

simplify78.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05001273
12527968
25001962

prune213.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
22×add-exp-log add-cube-cbrt add-cbrt-cube
20×prod-diff
15×distribute-rgt-in distribute-lft-in
13×associate-*r*
11×associate-*l*
10×pow1 associate-*r/
flip3-- flip--
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u frac-times sub-neg div-exp log1p-expm1-u add-log-exp
pow-prod-down *-commutative difference-of-squares unswap-sqr
flip3-+ associate-*l/ associate-/r/ flip-+ associate-/l/ distribute-lft-out--
frac-2neg times-frac clear-num associate-/r* div-inv distribute-lft-out associate-/l*
Counts
4 → 135
Calls
4 calls:
10.0ms
(* v (+ 1.0 m))
11.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
70.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))
11.0ms
(* m (- (* 1.0 1.0) (* m m)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* v (+ 1.0 m))
74.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
64.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))
70.0ms
(* m (- (* 1.0 1.0) (* m m)))

simplify123.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
06751714
140551445
250011444

prune312.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite510.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff
12×add-exp-log distribute-rgt-in distribute-lft-in add-cbrt-cube
associate-*r*
associate-*l*
pow1
flip3-- associate-*r/ flip--
frac-times times-frac associate-/l*
expm1-log1p-u flip3-+ div-sub prod-exp cbrt-unprod flip-+ log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv cube-mult sub-neg distribute-rgt-neg-in div-exp pow-prod-down associate-*l/ associate-/r/ *-commutative associate-/l/ distribute-lft-out-- difference-of-squares unswap-sqr
neg-sub0 associate-+r- frac-2neg unsub-neg clear-num associate-/r* div-inv
Counts
3 → 111
Calls
3 calls:
10.0ms
(* v (+ 1.0 m))
49.0ms
(/ (+ (* m (* 1.0 1.0)) (- (pow m 3))) (* v (+ 1.0 m)))
445.0ms
(* (- (/ (+ (* m (* 1.0 1.0)) (- (pow m 3))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))

series163.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* v (+ 1.0 m))
71.0ms
(/ (+ (* m (* 1.0 1.0)) (- (pow m 3))) (* v (+ 1.0 m)))
60.0ms
(* (- (/ (+ (* m (* 1.0 1.0)) (- (pow m 3))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))

simplify100.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
05901697
132041469
250011463

prune278.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite225.0ms

Algorithm
rewrite-expression-head
Rules
80×sqrt-prod
74×prod-diff
71×add-sqr-sqrt
67×*-un-lft-identity
57×add-cube-cbrt
42×distribute-rgt-in distribute-lft-in
32×frac-times
25×add-exp-log add-cbrt-cube
23×flip3-- flip--
18×associate-*r*
16×associate-*r/ associate-*l/
13×pow1 flip3-+ flip-+
associate-*l* prod-exp cbrt-unprod
difference-of-squares
pow-prod-down
cbrt-undiv expm1-log1p-u sub-neg div-exp log1p-expm1-u add-log-exp
*-commutative distribute-lft-out--
associate-/r/ associate-/l/ distribute-lft-out unswap-sqr
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 218
Calls
4 calls:
13.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
11.0ms
(* m (- (* 1.0 1.0) (* m m)))
111.0ms
(* (* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
79.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (+ (sqrt 1.0) (sqrt m)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
72.0ms
(* m (- (* 1.0 1.0) (* m m)))
163.0ms
(* (* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (+ (sqrt 1.0) (sqrt m))) (- (sqrt 1.0) (sqrt m)))
175.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (+ (sqrt 1.0) (sqrt m)))

simplify80.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013265953
150025380

prune573.0ms

Pruning

4 alts after pruning (2 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
02011
12011

end0.0ms

sample737.0ms

Algorithm
intervals
Results
314.0ms13672×body80valid
185.0ms13672×pre80true