Details

Time bar (total: 4.0s)

sample70.0ms

Algorithm
intervals
Results
46.0ms621×body80valid

simplify86.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

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.0b
(* (* a a) (- 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.0b
(* (* b b) (+ 3.0 a))

rewrite36.0ms

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

series48.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a))))
5.0ms
(* (* a a) (- 1.0 a))
24.0ms
(pow (+ (* a a) (* b b)) 2.0)
6.0ms
(* (* b b) (+ 3.0 a))

simplify96.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0677739
13666668
25002664

prune160.0ms

Filtered
106 candidates to 71 candidates (33.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1024106
Fresh000
Picked101
Done000
Total1034107

Merged error: 0.1b

Counts
107 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series41.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cbrt (- 1.0 a))
6.0ms
(cbrt (- 1.0 a))
21.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (+ 3.0 a))

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0441547
11723509
25002498

prune197.0ms

Filtered
83 candidates to 63 candidates (24.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New83083
Fresh033
Picked011
Done000
Total83487

Merged error: 0.1b

Counts
87 → 4

localize19.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (* b b) (+ 3.0 a))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.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:
7.0ms
(* (* b b) (+ 3.0 a))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series107.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* b b) (+ 3.0 a))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
33.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
35.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0292649
11183595
25002577

prune251.0ms

Filtered
81 candidates to 64 candidates (21.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New75681
Fresh022
Picked101
Done011
Total76985

Merged error: 0.1b

Counts
85 → 9

localize28.0ms

Local error

Found 4 expressions with local error:

9.8b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
9.8b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.2b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
34×cbrt-prod
18×unpow-prod-down
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
sqrt-prod
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp sqr-pow
Counts
4 → 66
Calls
4 calls:
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
5.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series138.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
35.0ms
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

prune249.0ms

Filtered
78 candidates to 62 candidates (20.5%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New74478
Fresh167
Picked101
Done011
Total761187

Merged error: 0.0b

Counts
87 → 11

regimes269.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
02921
12921

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.4s20674×body80valid

Profiling

Loading profile data...