Details

Time bar (total: 2.2s)

sample21.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
5.0ms229×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.4b

Counts
2 → 1

localize8.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.4b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
+-commutative distribute-rgt-in sub-neg associate-+l+ flip3-- distribute-lft-in flip3-+ associate-/r/ *-commutative flip-- flip-+ associate-/l/ associate-/l*
frac-2neg clear-num div-inv
Counts
3 → 21
Calls
3 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
3.0ms
(* 6.0 (- x 1.0))
7.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series152.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0210167
1654159
22812150
35001149

prune69.0ms

Filtered
30 candidates to 23 candidates (76.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New26430
Fresh000
Picked101
Done000
Total27431

Merged error: 0b

Counts
31 → 4

localize8.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) (* 4.0 (sqrt x))) (- x 1.0)))
0.0b
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
associate-/l/
frac-2neg flip3-+ clear-num associate-/r* flip-+ div-inv
+-commutative associate-+l+ flip3-- flip--
Counts
3 → 23
Calls
3 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))
6.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))

series184.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
77.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))
72.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0203219
1660208
22965195
35001193

prune77.0ms

Filtered
32 candidates to 28 candidates (87.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New30232
Fresh213
Picked011
Done000
Total32436

Merged error: 0b

Counts
36 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
22×associate-/r/
12×associate-/r*
clear-num
frac-2neg div-inv associate-/l/
flip3-+ flip-+
flip3-- flip--
+-commutative associate-+l+
div-sub remove-double-div inv-pow
Counts
4 → 41
Calls
4 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
6.0ms
(/ 1 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
7.0ms
(/ 6.0 (/ 1 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))))
6.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
72.0ms
(/ 1 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
78.0ms
(/ 6.0 (/ 1 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))))
71.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify35.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0247298
1923280
25002265

prune119.0ms

Filtered
53 candidates to 43 candidates (81.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New53053
Fresh022
Picked011
Done011
Total53457

Merged error: 0b

Counts
57 → 4

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-- frac-2neg clear-num associate-/r/ flip--
flip3-+ associate-*l* associate-*l/ flip-+
+-commutative distribute-rgt-in sub-neg associate-+l+ distribute-lft-in associate-*r/ div-inv
*-commutative
Counts
3 → 29
Calls
3 calls:
4.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
4.0ms
(/ 6.0 (+ (+ x 1.0) (* 4.0 (sqrt x))))
7.0ms
(* (/ 6.0 (+ (+ x 1.0) (* 4.0 (sqrt x)))) (- x 1.0))

series175.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0294309
11130299
25002290

prune89.0ms

Filtered
38 candidates to 32 candidates (84.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New38038
Fresh011
Picked011
Done022
Total38442

Merged error: 0b

Counts
42 → 4

regimes15.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
0147
1147

end0.0ms

sample660.0ms

Algorithm
intervals
Results
251.0ms8000×body80valid
216.0ms7833×body80nan