Details

Time bar (total: 4.1s)

sample284.0ms

Algorithm
intervals
Results
12.0ms450×body80valid
7.0ms450×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

Filtered
1 candidates to 0 candidates (0.0%)
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))

rewrite54.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:
7.0ms
(* m (- 1.0 m))
8.0ms
(/ (* m (- 1.0 m)) v)
18.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series131.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05001273
12527968
25001962

prune208.0ms

Filtered
134 candidates to 71 candidates (53.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
6.0ms
(* v (+ 1.0 m))
7.0ms
(* m (- (* 1.0 1.0) (* m m)))
11.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
20.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))

series228.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* v (+ 1.0 m))
65.0ms
(* m (- (* 1.0 1.0) (* m m)))
69.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
62.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))

simplify127.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (111.0ms)

IterNodesCost
06751714
140691445
250011444

prune307.0ms

Filtered
147 candidates to 92 candidates (62.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
14×associate-*r*
12×*-un-lft-identity
10×add-cube-cbrt associate-*r/ prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp associate-*l*
expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
distribute-lft-neg-in distribute-rgt-in distribute-rgt-neg-in distribute-lft-in
sub-neg frac-2neg flip3-+ times-frac prod-diff pow-prod-down associate-*l/ clear-num associate-/r* *-commutative flip-+ div-inv associate-/l* difference-of-squares unswap-sqr
neg-mul-1 distribute-rgt-neg-out distribute-lft-out--
Counts
4 → 115
Calls
4 calls:
7.0ms
(* m (- (* 1.0 1.0) (* m m)))
15.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
12.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
16.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- m))

series270.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* m (- (* 1.0 1.0) (* m m)))
71.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
71.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
57.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- m))

simplify88.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
05171182
13150986
25003983

prune348.0ms

Filtered
127 candidates to 91 candidates (71.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* m (- (* 1.0 1.0) (* m m)))
0.1b
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
8.6b
(/ (pow m 3) v)
14.1b
(/ (pow m 2) v)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
50×add-sqr-sqrt
48×add-cube-cbrt *-un-lft-identity
28×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
21×associate-/l*
12×cube-prod
10×div-exp
sqr-pow
associate-/r*
pow1 cbrt-undiv associate-*r/
prod-exp cbrt-unprod
expm1-log1p-u cube-mult unpow3 associate-*r* log1p-expm1-u unpow2 add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*l* clear-num div-inv
pow-to-exp sub-neg flip3-- prod-diff pow-exp associate-/r/ flip-- associate-/l/
flip3-+ pow-prod-down *-commutative flip-+ difference-of-squares unswap-sqr
Counts
4 → 174
Calls
4 calls:
7.0ms
(* m (- (* 1.0 1.0) (* m m)))
11.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
6.0ms
(/ (pow m 3) v)
5.0ms
(/ (pow m 2) v)

series183.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(* m (- (* 1.0 1.0) (* m m)))
71.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
20.0ms
(/ (pow m 3) v)
22.0ms
(/ (pow m 2) v)

simplify161.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (148.0ms)

IterNodesCost
06401021
14300876
25001874

prune521.0ms

Filtered
186 candidates to 117 candidates (62.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes47.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
02917
12917

end0.0ms

sample765.0ms

Algorithm
intervals
Results
339.0ms13811×body80valid
185.0ms13811×pre80true