Details

Time bar (total: 3.4s)

sample54.0ms

Algorithm
intervals
Results
35.0ms683×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune3.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.2b

Counts
2 → 1

localize19.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
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:
13.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))

series251.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
53.0ms
(* (* a a) (- 1.0 a))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
32.0ms
(* (* b b) (+ 3.0 a))

simplify47.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0413438
11674433
25001433

prune134.0ms

Filtered
59 candidates to 31 candidates (52.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New55459
Fresh000
Picked101
Done000
Total56460

Merged error: 0.1b

Counts
60 → 4

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

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

series253.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* 4.0 (+ (* a (* a (- 1.0 a))) (* (* b b) (+ 3.0 a))))
54.0ms
(* a (* a (- 1.0 a)))
103.0ms
(pow (+ (* a a) (* b b)) 2.0)
33.0ms
(* (* b b) (+ 3.0 a))

simplify48.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0439549
11623532
25001532

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

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

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

series238.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* a (* a (- 1.0 a)))
38.0ms
(* (* b b) (+ 3.0 a))
104.0ms
(exp (* (log (+ (* a a) (* b b))) 2.0))
47.0ms
(log (+ (* a a) (* b b)))

simplify62.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0225158
1759145
22297145
35001145

prune88.0ms

Filtered
39 candidates to 19 candidates (48.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done011
Total39443

Merged error: 0.1b

Counts
43 → 4

localize21.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))
2.5b
(* (pow a 2) (pow b 2))

rewrite33.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 unpow2 sqr-pow
flip3-+ associate-*r* associate-*l* frac-add flip-+ unswap-sqr
flip3-- flip--
pow-to-exp
pow-prod-down prod-exp
Counts
4 → 68
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))
5.0ms
(* (pow a 2) (pow b 2))

series180.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* 4.0 (+ (* a (* a (- 1.0 a))) (* (* b b) (+ 3.0 a))))
54.0ms
(* a (* a (- 1.0 a)))
32.0ms
(* (* b b) (+ 3.0 a))
31.0ms
(* (pow a 2) (pow b 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0433554
11726537
25001537

prune157.0ms

Filtered
80 candidates to 33 candidates (41.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New80080
Fresh011
Picked011
Done022
Total80484

Merged error: 0.1b

Counts
84 → 4

regimes64.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.1s20539×body80valid