Details

Time bar (total: 4.8s)

sample49.0ms

Algorithm
intervals
Results
32.0ms638×body80valid

simplify83.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
(+ (pow (+ (* a a) (* b b)) 2.0) (* 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)
1.1b
(* (* b b) (+ 3.0 a))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
41×associate-*l*
38×*-un-lft-identity
28×associate-+r+
22×distribute-rgt-in distribute-lft-in
18×add-cube-cbrt
15×pow1 add-exp-log associate-*r*
14×add-cbrt-cube unswap-sqr
10×swap-sqr
+-commutative
unpow-prod-down associate-+l+ distribute-lft-out
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
associate-*r/
pow-unpow
flip3-+ flip-+
pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 144
Calls
4 calls:
83.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
11.0ms
(* (* a a) (- 1.0 a))
16.0ms
(pow (+ (* a a) (* b b)) 2.0)
11.0ms
(* (* b b) (+ 3.0 a))

series306.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
57.0ms
(* (* a a) (- 1.0 a))
105.0ms
(pow (+ (* a a) (* b b)) 2.0)
34.0ms
(* (* b b) (+ 3.0 a))

simplify107.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07001025
13299953
25001953

prune316.0ms

Filtered
156 candidates to 101 candidates (64.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1506156
Fresh000
Picked101
Done000
Total1516157

Merged error: 0b

Counts
157 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
191×*-un-lft-identity
168×associate-*l*
119×distribute-lft-out
44×add-sqr-sqrt
25×associate-*r*
20×add-cube-cbrt
15×pow1 add-exp-log distribute-rgt-neg-in
14×add-cbrt-cube unswap-sqr
10×swap-sqr
add-log-exp
unpow-prod-down
flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+
+-commutative associate-*l/ frac-add
distribute-lft-neg-in pow-unpow sum-log
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/
distribute-lft-neg-out pow-to-exp neg-mul-1 pow-pow pow-exp sqr-pow
Counts
4 → 173
Calls
4 calls:
130.0ms
(+ (+ (pow (+ (* a a) (* b b)) 2.0) (* (* 1.0 (* a a)) 4.0)) (* (+ (* (- a) (* a a)) (* (* b b) (+ 3.0 a))) 4.0))
11.0ms
(* (- a) (* a a))
16.0ms
(pow (+ (* a a) (* b b)) 2.0)
11.0ms
(* (* b b) (+ 3.0 a))

series304.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(+ (+ (pow (+ (* a a) (* b b)) 2.0) (* (* 1.0 (* a a)) 4.0)) (* (+ (* (- a) (* a a)) (* (* b b) (+ 3.0 a))) 4.0))
37.0ms
(* (- a) (* a a))
107.0ms
(pow (+ (* a a) (* b b)) 2.0)
39.0ms
(* (* b b) (+ 3.0 a))

simplify159.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (137.0ms)

IterNodesCost
07891921
142331806
250021789

prune338.0ms

Filtered
185 candidates to 91 candidates (49.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1841185
Fresh145
Picked101
Done000
Total1865191

Merged error: 0b

Counts
191 → 5

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt
69×associate-*l*
46×associate-*r*
42×*-un-lft-identity
33×unswap-sqr
28×add-cube-cbrt
24×pow1 add-exp-log
23×add-cbrt-cube
15×swap-sqr
12×pow-prod-down prod-exp cbrt-unprod
11×*-commutative
unpow-prod-down
distribute-lft-out
add-log-exp
distribute-lft-neg-in pow-unpow distribute-rgt-neg-in
+-commutative distribute-rgt-in distribute-lft-in associate-*r/
distribute-lft-neg-out pow-to-exp neg-mul-1 pow-pow flip3-+ pow-exp flip-+ sqr-pow
Counts
4 → 165
Calls
4 calls:
15.0ms
(* (* 1.0 (* a a)) 4.0)
15.0ms
(* (- a) (* a a))
16.0ms
(pow (+ (* a a) (* b b)) 2.0)
11.0ms
(* (* b b) (+ 3.0 a))

series207.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* 1.0 (* a a)) 4.0)
36.0ms
(* (- a) (* a a))
112.0ms
(pow (+ (* a a) (* b b)) 2.0)
35.0ms
(* (* b b) (+ 3.0 a))

simplify127.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (109.0ms)

IterNodesCost
0710756
13648685
25001669

prune375.0ms

Filtered
177 candidates to 108 candidates (61.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh134
Picked011
Done000
Total1775182

Merged error: 0b

Counts
182 → 5

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
0.0b
(* 2 (* (pow a 2) (pow b 2)))
2.4b
(* (pow a 2) (pow b 2))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
81×add-sqr-sqrt
65×unswap-sqr
53×associate-*r*
38×add-exp-log
36×unpow-prod-down
28×prod-exp unpow2 sqr-pow
21×*-un-lft-identity
20×associate-*l*
15×add-cube-cbrt
12×pow1 pow-to-exp pow-exp
11×pow-prod-down
10×add-cbrt-cube
pow-unpow
add-log-exp
cbrt-unprod
*-commutative
pow-pow distribute-lft-out
+-commutative flip3-+ sum-log flip-+
Counts
3 → 150
Calls
3 calls:
32.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
21.0ms
(* 2 (* (pow a 2) (pow b 2)))
13.0ms
(* (pow a 2) (pow b 2))

series132.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(+ (pow b 4) (* 2 (* (pow a 2) (pow b 2))))
38.0ms
(* 2 (* (pow a 2) (pow b 2)))
37.0ms
(* (pow a 2) (pow b 2))

simplify76.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0484862
12086695
25001688

prune269.0ms

Filtered
159 candidates to 86 candidates (54.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1590159
Fresh033
Picked011
Done011
Total1595164

Merged error: 0b

Counts
164 → 5

regimes79.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03318
13718
24018
34018

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.0s20180×body80valid