Details

Time bar (total: 3.3s)

sample246.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
17.0ms256×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*r*
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 sqr-pow
Counts
4 → 92
Calls
4 calls:
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series50.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
0694813
13813726
25002722

prune174.0ms

Filtered
69 candidates to 104 candidates (-50.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh000
Picked101
Done000
Total996105

Merged error: 0.1b

Counts
105 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
13×add-sqr-sqrt
10×add-cube-cbrt *-un-lft-identity
distribute-rgt-in distribute-lft-in associate-*r* associate-*l* pow-prod-down prod-exp cbrt-unprod
flip3-+ frac-add flip-+ add-log-exp
unpow-prod-down pow-unpow flip3-- *-commutative flip--
sub-neg unswap-sqr
pow-to-exp pow-pow pow-exp sqr-pow
Counts
4 → 92
Calls
4 calls:
13.0ms
(* 4.0 (+ (* a (* a (+ 1.0 a))) (* (* b b) (- 1.0 (* 3.0 a)))))
7.0ms
(* a (* a (+ 1.0 a)))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series47.0ms

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

simplify90.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0684814
13476725
25002721

prune161.0ms

Filtered
67 candidates to 104 candidates (-55.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1040104
Fresh055
Picked011
Done000
Total1046110

Merged error: 0.1b

Counts
110 → 6

localize22.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (* b b) (- 1.0 (* 3.0 a)))
21.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
21×cbrt-prod
12×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log unpow-prod-down add-cbrt-cube
add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod sqr-pow
distribute-rgt-in sub-neg distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 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))

series112.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
36.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
35.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
34.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify40.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0295702
11114636
25001618

prune274.0ms

Filtered
64 candidates to 82 candidates (-28.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New77582
Fresh044
Picked101
Done011
Total781088

Merged error: 0.1b

Counts
88 → 10

localize28.0ms

Local error

Found 4 expressions with local error:

8.6b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
8.6b
(cbrt (pow (sqrt (+ (* a a) (* b b))) 2.0))
21.0b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.0b
(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))
5.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series142.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0212832
1481780
21535756
35002726

prune272.0ms

Filtered
62 candidates to 78 candidates (-25.8%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New73578
Fresh178
Picked011
Done011
Total741488

Merged error: 0.1b

Counts
88 → 14

regimes318.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
02915
12915

end0.0ms

sample889.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
536.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...