Details

Time bar (total: 3.4s)

sample25.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
6.0ms245×body80nan

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0217
1416
2696
3956
41256
51406
61426
71426

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
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))

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

series177.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06271691
123791609
250021609

prune377.0ms

Filtered
151 candidates to 117 candidates (77.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

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

rewrite31.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:
0.0ms
(fma (sqrt x) 4.0 (+ x 1.0))
19.0ms
(* (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))) 6.0)
9.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))

series205.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0357827
11182752
25001738

prune241.0ms

Filtered
99 candidates to 77 candidates (77.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

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

rewrite15.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:
3.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
0.0ms
(log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))))
9.0ms
(/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0)))
0.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

series577.0ms

Counts
4 → 12
Calls
4 calls:
195.0ms
(* (log1p (expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))) 6.0)
183.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)))
122.0ms
(expm1 (/ (- x 1.0) (fma (sqrt x) 4.0 (+ x 1.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0342847
11085756
25001737

prune267.0ms

Filtered
94 candidates to 75 candidates (79.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite60.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:
12.0ms
(* 6.0 (- x 1.0))
16.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
29.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series170.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0466778
12126572
25002560

prune194.0ms

Filtered
101 candidates to 64 candidates (63.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes35.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
0148
1148

end0.0ms

sample622.0ms

Algorithm
intervals
Results
235.0ms8000×body80valid
205.0ms8037×body80nan