Details

Time bar (total: 4.1s)

sample25.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms269×body80nan

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.0b
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
0.0b
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
128×times-frac
95×add-sqr-sqrt *-un-lft-identity
67×add-cube-cbrt
16×associate-/r*
14×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
div-inv associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/l/
flip3-- div-sub associate-/r/ flip-- fma-udef
Counts
3 → 142
Calls
3 calls:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
5.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
25.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

series148.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
42.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
74.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06271691
123791609
250021609

prune339.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.0b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
0.1b
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
652×times-frac
371×add-sqr-sqrt *-un-lft-identity
279×add-cube-cbrt
46×distribute-lft-out-- difference-of-squares
36×div-inv
27×add-exp-log
24×associate-/l*
17×div-exp add-cbrt-cube
16×associate-/r*
cbrt-undiv
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l/ add-log-exp
rec-exp frac-2neg 1-exp clear-num
flip3-- associate-/r/ flip-- fma-udef
Counts
3 → 356
Calls
3 calls:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
19.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
28.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

series179.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
69.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
77.0ms
(/ (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) (/ 1 6.0))

simplify87.0ms

Algorithm
egg-herbie
Counts
365 → 365
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
016245786
150015326

prune674.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ x 1.0) (* 4.0 (sqrt x)))
0.1b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log *-un-lft-identity add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt
fma-def
times-frac associate-/r* sum-log
pow1 cbrt-undiv expm1-log1p-u flip3-+ associate-*r/ div-exp associate-/r/ flip-+ log1p-expm1-u associate-/l/
+-commutative associate-+l+ flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod div-inv distribute-lft-out associate-/l*
Counts
2 → 46
Calls
2 calls:
30.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
48.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series104.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
73.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify40.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0322422
11351354
25002340

prune121.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (sqrt x) 4.0 (+ x 1.0))
0.1b
(/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0)))
0.1b
(* 6.0 (- (sqrt x) (sqrt 1.0)))
0.1b
(* (/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0))) (* 6.0 (- (sqrt x) (sqrt 1.0))))

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
236×sqrt-prod
216×prod-diff
201×*-un-lft-identity
190×distribute-rgt-in distribute-lft-in
179×add-sqr-sqrt
169×add-cube-cbrt
30×times-frac
22×associate-*l*
20×add-exp-log add-cbrt-cube
14×distribute-lft-out
11×pow1
10×associate-*r*
associate-*r/
prod-exp cbrt-unprod
sub-neg
associate-/l*
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp difference-of-squares
cbrt-undiv flip3-- div-exp associate-/r* flip--
frac-times *-commutative div-inv associate-/l/ distribute-lft-out--
frac-2neg flip3-+ associate-*l/ clear-num flip-+ fma-udef unswap-sqr
Counts
4 → 350
Calls
4 calls:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
30.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0)))
42.0ms
(* 6.0 (- (sqrt x) (sqrt 1.0)))
101.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0))) (* 6.0 (- (sqrt x) (sqrt 1.0))))

series626.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
122.0ms
(/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0)))
64.0ms
(* 6.0 (- (sqrt x) (sqrt 1.0)))
399.0ms
(* (/ (+ (sqrt x) (sqrt 1.0)) (fma (sqrt x) 4.0 (+ x 1.0))) (* 6.0 (- (sqrt x) (sqrt 1.0))))

simplify94.0ms

Algorithm
egg-herbie
Counts
362 → 362
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014528654
150026992

prune460.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

0% (0.0b 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
0157
1157

end0.0ms

sample648.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid
195.0ms7894×body80nan