Details

Time bar (total: 4.1s)

sample278.0ms

Algorithm
intervals
Results
11.0ms450×body80valid
7.0ms450×pre80true

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

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

series141.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(* m (- 1.0 m))
38.0ms
(/ (* m (- 1.0 m)) v)
54.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

simplify75.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05001273
12527968
25001962

prune206.0ms

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

rewrite50.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))
6.0ms
(* m (- (* 1.0 1.0) (* m m)))
11.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
22.0ms
(* (- (/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m))) 1.0) (- 1.0 m))

series238.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* v (+ 1.0 m))
70.0ms
(* m (- (* 1.0 1.0) (* m m)))
70.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))

simplify121.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
06751714
140691445
250011444

prune296.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite52.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)))
11.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
11.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))

series274.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
05171182
13150986
25003983

prune336.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

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

series189.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(* m (- (* 1.0 1.0) (* m m)))
72.0ms
(/ (* m (- (* 1.0 1.0) (* m m))) (* v (+ 1.0 m)))
21.0ms
(/ (pow m 3) v)
22.0ms
(/ (pow m 2) v)

simplify158.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (145.0ms)

IterNodesCost
06401021
14300876
25001874

prune546.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes48.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
02817
12817

end0.0ms

sample744.0ms

Algorithm
intervals
Results
333.0ms13811×body80valid
181.0ms13811×pre80true