Details

Time bar (total: 3.4s)

sample51.0ms

Algorithm
intervals
Results
34.0ms683×body80valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
05314
117313
253212
3168112
4427812
5500112

prune9.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

localize15.0ms

Local error

Found 4 expressions with local error:

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

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) (+ 3.0 a))))
5.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
5.0ms
(* (* b b) (+ 3.0 a))

series240.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
47.0ms
(* (* a a) (- 1.0 a))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)
31.0ms
(* (* b b) (+ 3.0 a))

simplify47.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0435430
11838414
25001409

prune129.0ms

Filtered
59 candidates to 30 candidates (50.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New55459
Fresh000
Picked101
Done000
Total56460

Merged error: 0.1b

Counts
60 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

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

series240.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(* 4.0 (+ (* a (* a (- 1.0 a))) (* (* b b) (+ 3.0 a))))
48.0ms
(* a (* a (- 1.0 a)))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)
30.0ms
(* (* b b) (+ 3.0 a))

simplify47.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0463541
11792517
25003498

prune133.0ms

Filtered
71 candidates to 30 candidates (42.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68371
Fresh303
Picked011
Done000
Total71475

Merged error: 0.1b

Counts
75 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(* a (* a (- 1.0 a)))
0.4b
(* (* b b) (+ 3.0 a))
3.7b
(exp (* (log (+ (* a a) (* b b))) 2.0))
8.6b
(log (+ (* a a) (* b b)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
associate-*r/
*-commutative
sub-neg
+-commutative log-div exp-prod flip3-+ associate-*r* associate-*l* flip-+
flip3-- exp-to-pow flip--
Counts
4 → 27
Calls
4 calls:
4.0ms
(* a (* a (- 1.0 a)))
5.0ms
(* (* b b) (+ 3.0 a))
3.0ms
(exp (* (log (+ (* a a) (* b b))) 2.0))
4.0ms
(log (+ (* a a) (* b b)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* a (* a (- 1.0 a)))
31.0ms
(* (* b b) (+ 3.0 a))
98.0ms
(exp (* (log (+ (* a a) (* b b))) 2.0))
49.0ms
(log (+ (* a a) (* b b)))

simplify63.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0234157
1824143
22552143
35001143

prune85.0ms

Filtered
39 candidates to 20 candidates (51.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New38139
Fresh112
Picked011
Done011
Total39443

Merged error: 0.1b

Counts
43 → 4

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series219.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* 4.0 (+ (* a (* a (- 1.0 a))) (* (* b b) (+ 3.0 a))))
56.0ms
(* a (* a (- 1.0 a)))
32.0ms
(* (* b b) (+ 3.0 a))
73.0ms
(fma (* 2.0 (pow a 2)) (pow b 2) (pow b 4))

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0440538
11744512
25002493

prune134.0ms

Filtered
70 candidates to 26 candidates (37.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh011
Picked011
Done022
Total70474

Merged error: 0.1b

Counts
74 → 4

regimes63.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02714
12714

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.0s20539×body80valid