Details

Time bar (total: 5.1s)

sample25.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
7.0ms296×body80nan

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.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)) 6.0))
0.0b
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

rewrite21.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))
12.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
2.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

series186.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
88.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))
56.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)

simplify94.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06271691
123791609
250021609

prune409.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
18×prod-diff
11×distribute-rgt-in distribute-lft-in
10×add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-*r*
fma-def associate-*r/
expm1-log1p-u times-frac associate-*l* associate-/r* sum-log log1p-expm1-u
cbrt-undiv sub-neg flip3-- flip3-+ div-exp prod-exp associate-/r/ flip-- cbrt-unprod flip-+ associate-/l/
+-commutative associate-+l+ frac-2neg pow-prod-down clear-num *-commutative div-inv distribute-lft-out associate-/l* distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 92
Calls
3 calls:
15.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
15.0ms
(* 6.0 (- x 1.0))
25.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series413.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
42.0ms
(* 6.0 (- x 1.0))
323.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify82.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0466778
12126572
25002560

prune215.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
120×times-frac
75×add-sqr-sqrt
72×*-un-lft-identity
70×add-cube-cbrt
69×sqrt-prod
20×add-exp-log sqrt-div add-cbrt-cube
18×prod-diff associate-/r/
13×associate-/l*
12×associate-/r*
11×distribute-rgt-in distribute-lft-in
10×flip3-+ flip-+
div-inv
pow1 cbrt-undiv div-exp
associate-*r*
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
associate-*l* prod-exp cbrt-unprod associate-/l/
sub-neg flip3-- frac-2neg clear-num flip--
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down *-commutative distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 207
Calls
4 calls:
17.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
14.0ms
(* 6.0 (- x 1.0))
26.0ms
(/ (* 6.0 (- x 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
53.0ms
(/ (/ (* 6.0 (- x 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series390.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
42.0ms
(* 6.0 (- x 1.0))
177.0ms
(/ (* 6.0 (- x 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
90.0ms
(/ (/ (* 6.0 (- x 1.0)) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify145.0ms

Algorithm
egg-herbie
Counts
219 → 219
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
08223616
137613103
250033099

prune509.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
5.7b
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
8.8b
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
15.7b
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

rewrite434.0ms

Algorithm
rewrite-expression-head
Rules
48×frac-add
45×pow1
42×frac-times
41×flip3-+ flip-+
32×associate-*r/
30×add-exp-log add-cbrt-cube
25×flip3-- flip--
18×pow-prod-down
15×*-un-lft-identity
13×associate-*l/ prod-exp cbrt-unprod
12×associate-*l*
11×add-sqr-sqrt
10×times-frac
add-cube-cbrt add-log-exp
associate-/r*
cbrt-undiv expm1-log1p-u div-exp associate-*r* associate-/r/ pow-sqr pow-prod-up log1p-expm1-u
associate-+r+ sum-cubes distribute-lft-out
distribute-rgt-in associate-+l+ distribute-lft-in pow-plus sum-log *-commutative div-inv associate-/l/
+-commutative pow2 associate-+r- sub-neg fma-def frac-2neg diff-log swap-sqr prod-diff clear-num associate-/l* unswap-sqr
Counts
4 → 175
Calls
4 calls:
15.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
57.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
48.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
304.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

series412.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
98.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
84.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
194.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

simplify100.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
015855359
150024799

prune791.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes22.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0116
1116

end0.0ms

sample611.0ms

Algorithm
intervals
Results
224.0ms8000×body80valid
210.0ms7974×body80nan