Details

Time bar (total: 5.8s)

sample67.0ms

Algorithm
intervals
Results
38.0ms621×body80valid

simplify71.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune4.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:
14.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)
7.0ms
(* (* b b) (+ 3.0 a))

series44.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0677739
13666668
25002664

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

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

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

series37.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0441547
11723509
25002498

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

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

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

series118.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (* b b) (+ 3.0 a))
32.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
47.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0292649
11183595
25002577

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

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

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

series129.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (42.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

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

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

sample1.8s

Algorithm
intervals
Results
1.3s20674×body80valid

Profiling

Loading profile data...