Details

Time bar (total: 4.6s)

sample285.0ms

Algorithm
intervals
Results
11.0ms422×body80valid
6.0ms422×pre80true

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

rewrite97.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))
10.0ms
(/ (* m (- 1.0 m)) v)
69.0ms
(* (- (/ (* m (- 1.0 m)) v) 1.0) (- 1.0 m))

series133.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05001273
12527968
25001962

prune205.0ms

Filtered
134 candidates to 71 candidates (53.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
30×*-un-lft-identity
26×add-cube-cbrt
18×prod-diff
13×times-frac
11×distribute-rgt-in distribute-lft-in
add-exp-log add-cbrt-cube
flip3-- associate-*l* flip--
pow1 distribute-rgt-out associate-*r* add-log-exp
distribute-lft-neg-out frac-times associate-/l*
expm1-log1p-u associate-/r* log1p-expm1-u difference-of-squares
sub-neg flip3-+ div-sub associate-*r/ unsub-neg associate-*l/ flip-+ associate-/l/ distribute-lft-out--
cbrt-undiv +-commutative fma-def frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
3 → 109
Calls
3 calls:
3.0ms
(+ (* 1.0 m) (* (- m) m))
9.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)
85.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- 1.0 m))

series143.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
05101396
124961173
250011145

prune239.0ms

Filtered
118 candidates to 77 candidates (65.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
136×times-frac
107×add-sqr-sqrt
102×*-un-lft-identity
76×add-cube-cbrt
24×associate-/r*
14×difference-of-squares
13×add-exp-log add-cbrt-cube distribute-lft-out--
10×associate-*r*
associate-/r/
associate-/l*
pow1 associate-*l* div-inv add-log-exp
flip3-- flip--
cbrt-undiv expm1-log1p-u distribute-rgt-out div-exp log1p-expm1-u
distribute-lft-neg-in fma-def distribute-rgt-neg-in distribute-rgt-neg-out
distribute-lft-neg-out frac-2neg flip3-+ div-sub unsub-neg associate-*l/ clear-num flip-+ associate-/l/
+-commutative neg-mul-1 associate-+l+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 193
Calls
4 calls:
11.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)
16.0ms
(+ (fma (/ m (/ v (- 1.0 m))) 1.0 (- (* 1.0 1.0))) (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- m)))
9.0ms
(/ m (/ v (- 1.0 m)))
79.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- m))

series184.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ (+ (* 1.0 m) (* (- m) m)) v)
57.0ms
(+ (fma (/ m (/ v (- 1.0 m))) 1.0 (- (* 1.0 1.0))) (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- m)))
41.0ms
(/ m (/ v (- 1.0 m)))
36.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (- m))

simplify110.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08351864
140411728
250011703

prune644.0ms

Filtered
205 candidates to 162 candidates (79.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite206.0ms

Algorithm
rewrite-expression-head
Rules
124×times-frac
104×add-sqr-sqrt
97×*-un-lft-identity
71×add-cube-cbrt
22×associate-*r*
21×associate-/r*
16×add-exp-log add-cbrt-cube
14×difference-of-squares
13×distribute-lft-out--
11×pow1
10×sqrt-prod
associate-/r/
associate-*l*
distribute-lft-neg-in flip3-- distribute-rgt-neg-in associate-*l/ flip-- add-log-exp
div-inv
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
cbrt-undiv fma-def div-exp distribute-rgt-neg-out associate-/l*
*-commutative unswap-sqr
+-commutative neg-mul-1 associate-+l+ frac-2neg flip3-+ unsub-neg clear-num sum-log flip-+ fma-udef
Counts
4 → 188
Calls
4 calls:
10.0ms
(+ (fma (/ m (/ v (- 1.0 m))) 1.0 (- (* 1.0 1.0))) (* (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m)) (- (sqrt m))))
9.0ms
(/ m (/ v (- 1.0 m)))
78.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m))
100.0ms
(* (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m)) (- (sqrt m)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(+ (fma (/ m (/ v (- 1.0 m))) 1.0 (- (* 1.0 1.0))) (* (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m)) (- (sqrt m))))
41.0ms
(/ m (/ v (- 1.0 m)))
71.0ms
(* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m))
57.0ms
(* (* (- (/ (+ (* 1.0 m) (* (- m) m)) v) 1.0) (sqrt m)) (- (sqrt m)))

simplify121.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (102.0ms)

IterNodesCost
08662076
145291867
250011848

prune646.0ms

Filtered
200 candidates to 150 candidates (75.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes54.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02915
13315
23415
33415

end0.0ms

sample703.0ms

Algorithm
intervals
Results
311.0ms13708×body80valid
177.0ms13708×pre80true