Details

Time bar (total: 3.8s)

sample62.0ms

Algorithm
intervals
Results
43.0ms699×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05515
117914
256113
3182413
4500213

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(* (* b b) (- 1.0 (* 3.0 a)))
0.3b
(pow (+ (* a a) (* b b)) 2.0)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
22×distribute-rgt-in distribute-lft-in
18×associate-*r/
+-commutative associate-+l+ associate-+r+
sub-neg
*-commutative
flip3-+ associate-*l* frac-add flip-+
flip3-- flip--
pow-to-exp sqr-pow
Counts
4 → 47
Calls
4 calls:
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
5.0ms
(* (* a a) (+ 1.0 a))
5.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series267.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
53.0ms
(* (* a a) (+ 1.0 a))
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
101.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0468476
12121458
25001446

prune135.0ms

Filtered
59 candidates to 30 candidates (50.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57259
Fresh000
Picked011
Done000
Total57360

Merged error: 0.1b

Counts
60 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(* (* b b) (- 1.0 (* 3.0 a)))
0.7b
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
22×distribute-rgt-in distribute-lft-in
18×associate-*r/
+-commutative associate-+l+ associate-+r+
sub-neg
*-commutative
flip3-+ associate-*l* frac-add flip-+
flip3-- flip--
fma-udef
Counts
4 → 46
Calls
4 calls:
16.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
5.0ms
(* (* a a) (+ 1.0 a))
5.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
1.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

series237.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
52.0ms
(* (* a a) (+ 1.0 a))
54.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
69.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

simplify57.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0445473
12076453
25003441

prune148.0ms

Filtered
58 candidates to 26 candidates (44.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh011
Picked011
Done011
Total58361

Merged error: 0.1b

Counts
61 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(* (* b b) (- 1.0 (* 3.0 a)))
0.4b
(pow (/ 1 a) -4.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
22×distribute-rgt-in distribute-lft-in
18×associate-*r/
+-commutative associate-+l+ associate-+r+
sub-neg
*-commutative
flip3-+ associate-*l* frac-add flip-+
flip3-- flip--
pow-to-exp unpow-prod-down pow-pow div-inv inv-pow sqr-pow
Counts
4 → 49
Calls
4 calls:
13.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
5.0ms
(* (* a a) (+ 1.0 a))
5.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
2.0ms
(pow (/ 1 a) -4.0)

series343.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
52.0ms
(* (* a a) (+ 1.0 a))
48.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
178.0ms
(pow (/ 1 a) -4.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0476472
12083455
25003441

prune129.0ms

Filtered
61 candidates to 31 candidates (50.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New60161
Fresh000
Picked101
Done022
Total61364

Merged error: 0.0b

Counts
64 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 1.0 (* 3.0 a))
0.0b
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
22×distribute-rgt-in distribute-lft-in
18×associate-*r/
+-commutative associate-+l+ associate-+r+
sub-neg
*-commutative
flip3-- flip3-+ associate-*l* frac-add flip-- flip-+
Counts
4 → 49
Calls
4 calls:
2.0ms
(- 1.0 (* 3.0 a))
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
5.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- 1.0 (* 3.0 a))
65.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
51.0ms
(* (* a a) (+ 1.0 a))
47.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify56.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0429478
11977458
25001445

prune128.0ms

Filtered
61 candidates to 28 candidates (45.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New61061
Fresh000
Picked011
Done022
Total61364

Merged error: 0.0b

Counts
64 → 3

regimes100.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02715
12715

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.2s20696×body80valid