Details

Time bar (total: 4.3s)

sample57.0ms

Algorithm
intervals
Results
38.0ms699×body80valid

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

localize16.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)
0.4b
(* (* b b) (+ 3.0 a))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
unpow-prod-down pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 81
Calls
4 calls:
8.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
9.0ms
(* (* a a) (- 1.0 a))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (+ 3.0 a))

series303.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
50.0ms
(* (* a a) (- 1.0 a))
102.0ms
(pow (+ (* a a) (* b b)) 2.0)
37.0ms
(* (* b b) (+ 3.0 a))

simplify75.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
0506651
12520583
25001583

prune249.0ms

Filtered
93 candidates to 63 candidates (67.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89493
Fresh000
Picked011
Done000
Total89594

Merged error: 0.0b

Counts
94 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* b b) (+ 3.0 a))
20.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
20.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
20.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
13×*-un-lft-identity
12×add-sqr-sqrt
11×add-cube-cbrt
pow1 add-exp-log unpow-prod-down add-cbrt-cube
associate-*r* add-log-exp
pow1/3 pow-prod-down prod-exp cbrt-unprod sqr-pow
associate-*r/
distribute-rgt-in distribute-lft-in flip3-+ associate-*l* *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
4 → 69
Calls
4 calls:
8.0ms
(* (* b b) (+ 3.0 a))
5.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
5.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series473.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* b b) (+ 3.0 a))
144.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
145.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
152.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0262598
11088544
25002538

prune298.0ms

Filtered
81 candidates to 64 candidates (79.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done011
Total81586

Merged error: 0.0b

Counts
86 → 5

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (* (pow a 2) (pow b 2)))
1.8b
(* (pow a 2) (pow b 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
28×prod-exp
23×add-sqr-sqrt
16×unswap-sqr
14×unpow-prod-down
12×pow-to-exp pow-exp
11×associate-*l*
10×unpow2 sqr-pow
associate-*r* add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow1 cbrt-unprod
pow-prod-down *-commutative add-log-exp
Counts
2 → 76
Calls
2 calls:
7.0ms
(* 2 (* (pow a 2) (pow b 2)))
8.0ms
(* (pow a 2) (pow b 2))

series73.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(* 2 (* (pow a 2) (pow b 2)))
38.0ms
(* (pow a 2) (pow b 2))

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0229393
1907329
25002318

prune150.0ms

Filtered
82 candidates to 37 candidates (45.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh022
Picked011
Done022
Total82587

Merged error: 0.0b

Counts
87 → 5

localize16.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
(pow (/ 1 a) -4.0)
0.4b
(* (* b b) (+ 3.0 a))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
21×add-exp-log
20×*-un-lft-identity
18×pow1 associate-*r/
16×add-cube-cbrt add-cbrt-cube
13×unpow-prod-down
12×associate-*r*
times-frac
pow-prod-down prod-exp cbrt-unprod
associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ frac-add pow-exp flip-+ add-log-exp
pow-unpow flip3-- pow-pow *-commutative flip-- unswap-sqr
sub-neg div-exp
pow-to-exp rec-exp pow-flip 1-exp div-inv distribute-lft-out distribute-lft-out-- inv-pow difference-of-squares sqr-pow
Counts
4 → 109
Calls
4 calls:
17.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
9.0ms
(* (* a a) (- 1.0 a))
5.0ms
(pow (/ 1 a) -4.0)
8.0ms
(* (* b b) (+ 3.0 a))

series323.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
52.0ms
(* (* a a) (- 1.0 a))
175.0ms
(pow (/ 1 a) -4.0)
33.0ms
(* (* b b) (+ 3.0 a))

simplify105.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
0735758
13836681
25001665

prune289.0ms

Filtered
121 candidates to 73 candidates (60.3%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1201121
Fresh101
Picked011
Done033
Total1215126

Merged error: 0.0b

Counts
126 → 5

regimes135.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
02514
12514

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s20696×body80valid