Details

Time bar (total: 3.1s)

sample231.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 60.975638%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
16.0ms256×body80valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

prune3.0ms

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

rewrite35.0ms

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

series58.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0535760
12586685
25003681

prune164.0ms

Filtered
63 candidates to 96 candidates (-52.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New89796
Fresh000
Picked011
Done000
Total89897

Merged error: 0.0b

Counts
97 → 8

localize27.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.7b
(* (* b b) (+ 3.0 a))
0.7b
(* (* b b) (+ 3.0 a))
0.7b
(* (* b b) (+ 3.0 a))

rewrite32.0ms

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(pow (+ (* a a) (* b b)) 2.0)
5.0ms
(* (* b b) (+ 3.0 a))
6.0ms
(* (* b b) (+ 3.0 a))
6.0ms
(* (* b b) (+ 3.0 a))

simplify45.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0288511
11309443
25002439

prune317.0ms

Filtered
63 candidates to 101 candidates (-60.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1001101
Fresh066
Picked011
Done011
Total1009109

Merged error: 0.0b

Counts
109 → 9

localize36.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (+ 3.0 a))
8.6b
(cbrt (+ (* a a) (* b b)))
8.6b
(cbrt (+ (* a a) (* b b)))
8.6b
(cbrt (+ (* a a) (* b b)))

rewrite23.0ms

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

series70.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* b b) (+ 3.0 a))
21.0ms
(cbrt (+ (* a a) (* b b)))
22.0ms
(cbrt (+ (* a a) (* b b)))
22.0ms
(cbrt (+ (* a a) (* b b)))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0297538
11333496
25002475

prune303.0ms

Filtered
58 candidates to 75 candidates (-29.3%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New75075
Fresh066
Picked011
Done022
Total75984

Merged error: 0.0b

Counts
84 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* b b) (+ 3.0 a))
8.6b
(cbrt (+ (* a a) (* b b)))
8.6b
(cbrt (+ (* a a) (* b b)))
8.6b
(cbrt (+ (* a a) (* b b)))

rewrite20.0ms

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

series72.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(* (* b b) (+ 3.0 a))
24.0ms
(cbrt (+ (* a a) (* b b)))
22.0ms
(cbrt (+ (* a a) (* b b)))
21.0ms
(cbrt (+ (* a a) (* b b)))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0297538
11333496
25002475

prune132.0ms

Filtered
58 candidates to 75 candidates (-29.3%)
Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New75075
Fresh055
Picked011
Done033
Total75984

Merged error: 0.0b

Counts
84 → 9

regimes349.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02514
12514

end0.0ms

sample865.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 60.975638%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
520.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...