Details

Time bar (total: 3.6s)

sample29.0ms

Algorithm
intervals
Results
10.0ms245×body80nan
8.0ms256×body80valid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

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

rewrite22.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:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
3.0ms
(/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0)
11.0ms
(/ (- x 1.0) (/ (fma (sqrt x) 4.0 (+ x 1.0)) 6.0))

series188.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
06271691
123791609
250021609

prune416.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))) 6.0)
0.1b
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
37×*-un-lft-identity
31×times-frac
23×add-cube-cbrt
19×associate-*l*
10×add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 associate-/l*
expm1-log1p-u associate-*r* associate-/r* log1p-expm1-u add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
flip3-- frac-2neg div-sub pow-prod-down associate-*l/ clear-num *-commutative flip-- fma-udef
Counts
3 → 90
Calls
3 calls:
1.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
10.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
8.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series215.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
90.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
84.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

simplify56.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0357827
11182752
25001738

prune277.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
24×*-un-lft-identity
16×add-cube-cbrt
15×times-frac
add-exp-log add-cbrt-cube
pow1
log1p-expm1-u associate-/l*
expm1-log1p-u distribute-lft-out-- add-log-exp difference-of-squares
associate-*r* associate-*l* associate-/r*
associate-/l/
cbrt-undiv log1p-udef expm1-log1p flip3-- frac-2neg div-sub log1p-expm1 div-exp pow-prod-down prod-exp clear-num *-commutative flip-- cbrt-unprod div-inv expm1-udef unswap-sqr
Counts
4 → 82
Calls
4 calls:
4.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
1.0ms
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
8.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
1.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

series643.0ms

Counts
4 → 12
Calls
4 calls:
218.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
211.0ms
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
77.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
137.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0342847
11085756
25001737

prune303.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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:
8.0ms
(* 6.0 (- x 1.0))
7.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
14.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series181.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(* 6.0 (- x 1.0))
46.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
90.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0466778
12126572
25002560

prune216.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes37.0ms

Accuracy

0% (0.0b 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 (1.0ms)

IterNodesCost
0148
1148

end0.0ms

sample655.0ms

Algorithm
intervals
Results
243.0ms8000×body80valid
216.0ms8037×body80nan