Details

Time bar (total: 6.0s)

sample340.0ms

Algorithm
intervals
Results
10.0ms408×body80valid
6.0ms408×pre80true

simplify89.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

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

rewrite156.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))
23.0ms
(/ (* m (- 1.0 m)) v)
104.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series138.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
05001273
12527968
25001962

prune207.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite581.0ms

Algorithm
rewrite-expression-head
Rules
306×prod-diff
200×add-sqr-sqrt
180×*-un-lft-identity
166×add-cube-cbrt
157×distribute-rgt-in distribute-lft-in
156×unpow-prod-down cube-prod
56×sqr-pow
48×cube-mult unpow3
33×associate-*r*
22×add-exp-log add-cbrt-cube
18×difference-of-squares
11×associate-*l*
10×pow1
flip3-- flip--
prod-exp cbrt-unprod distribute-lft-out--
associate-*r/
cbrt-undiv expm1-log1p-u frac-times sub-neg div-exp log1p-expm1-u add-log-exp
pow-prod-down *-commutative unswap-sqr
associate-*l/ associate-/l/
difference-cubes frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 435
Calls
4 calls:
103.0ms
(/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))
7.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
112.0ms
(* m (- (pow 1.0 3) (pow m 3)))
328.0ms
(* (- (/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)) 1.0) (- 1.0 m))

series377.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v))
45.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
98.0ms
(* m (- (pow 1.0 3) (pow m 3)))
115.0ms
(* (- (/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)) 1.0) (- 1.0 m))

simplify88.0ms

Algorithm
egg-herbie
Counts
447 → 447
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011765830
150024330

prune428.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
0.1b
(* m (- (pow 1.0 3) (pow m 3)))
0.1b
(* m (- (pow 1.0 3) (pow m 3)))
0.2b
(* (- (/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)) 1.0) (- m))

rewrite606.0ms

Algorithm
rewrite-expression-head
Rules
576×prod-diff
360×add-sqr-sqrt
324×*-un-lft-identity
312×unpow-prod-down cube-prod
302×add-cube-cbrt
292×distribute-rgt-in distribute-lft-in
112×sqr-pow
96×cube-mult unpow3
63×associate-*r*
33×difference-of-squares
14×associate-*l*
12×pow1 add-exp-log add-cbrt-cube
11×distribute-lft-out--
expm1-log1p-u sub-neg associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-neg-in flip3-- distribute-rgt-neg-in flip--
difference-cubes associate-*l/
neg-mul-1 distribute-rgt-neg-out
Counts
4 → 724
Calls
4 calls:
7.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
114.0ms
(* m (- (pow 1.0 3) (pow m 3)))
111.0ms
(* m (- (pow 1.0 3) (pow m 3)))
318.0ms
(* (- (/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)) 1.0) (- m))

series359.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)
101.0ms
(* m (- (pow 1.0 3) (pow m 3)))
98.0ms
(* m (- (pow 1.0 3) (pow m 3)))
117.0ms
(* (- (/ (* m (- (pow 1.0 3) (pow m 3))) (* (fma 1.0 1.0 (fma m m (* 1.0 m))) v)) 1.0) (- m))

simplify233.0ms

Algorithm
egg-herbie
Counts
736 → 736
Iterations

Useful iterations: 2 (141.0ms)

IterNodesCost
09448902
142966247
250015657

prune528.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
0.1b
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) (- 1.0 m))
15.9b
(/ (pow m 2) v)

rewrite429.0ms

Algorithm
rewrite-expression-head
Rules
55×add-sqr-sqrt
54×*-un-lft-identity
49×add-cube-cbrt times-frac
46×prod-diff
21×unpow-prod-down
11×distribute-rgt-in distribute-lft-in
10×add-exp-log
associate-/l* unpow2
flip3-- add-cbrt-cube flip-- sqr-pow
pow1 associate-*r* associate-*l* add-log-exp
frac-times associate-*r/
expm1-log1p-u sub-neg div-exp associate-/r* log1p-expm1-u
associate-*l/ div-inv distribute-lft-out-- difference-of-squares
cbrt-undiv pow-to-exp distribute-rgt-out-- frac-2neg fma-neg diff-log pow-prod-down pow-exp prod-exp clear-num *-commutative frac-sub cbrt-unprod sub-div unswap-sqr
Counts
3 → 151
Calls
3 calls:
22.0ms
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
392.0ms
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) (- 1.0 m))
9.0ms
(/ (pow m 2) v)

series93.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- (* 1.0 (/ m v)) (/ (pow m 2) v))
37.0ms
(* (- (- (* 1.0 (/ m v)) (/ (pow m 2) v)) 1.0) (- 1.0 m))
19.0ms
(/ (pow m 2) v)

simplify111.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
09452063
140881510
250011505

prune280.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes58.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02624
13024
23124
33124

end0.0ms

sample756.0ms

Algorithm
intervals
Results
302.0ms13558×body80valid
162.0ms13558×pre80true