Details

Time bar (total: 2.8s)

analyze213.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 60.975638%

Guaranteed chance to sample good point: 96.28125%

sample27.0ms

Algorithm
intervals
Results
19.0ms256×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
10×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
associate-*r*
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 sqr-pow
Counts
4 → 79
Calls
4 calls:
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 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)))

series62.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) (- 1.0 (* 3.0 a))))))
7.0ms
(* (* a a) (+ 1.0 a))
22.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify72.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0547721
12714641
25001637

prune151.0ms

Filtered
61 candidates to 91 candidates (-49.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New86591
Fresh000
Picked101
Done000
Total87592

Merged error: 0.0b

Counts
92 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* b b) (- 1.0 (* 3.0 a)))
0.5b
(* (* b b) (- 1.0 (* 3.0 a)))
8.7b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
8.7b
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
14×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in sqrt-div associate-*r/ add-log-exp
rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 associate-*l* *-commutative flip-- flip-+ unswap-sqr
Counts
4 → 80
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(sqrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

series75.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03331080
11424980
25002978

prune219.0ms

Filtered
60 candidates to 92 candidates (-53.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh044
Picked011
Done000
Total92597

Merged error: 0.0b

Counts
97 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series41.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0434584
11678532
25001515

prune197.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh033
Picked101
Done011
Total82587

Merged error: 0b

Counts
87 → 5

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series42.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0434584
11678532
25001515

prune201.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh033
Picked011
Done011
Total82587

Merged error: 0b

Counts
87 → 5

regimes254.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
03827
13827

end0.0ms

analyze209.0ms

Algorithm
search
sampling

Space saved by range analysis: 0.097632%

Space saved by search: 60.975638%

Guaranteed chance to sample good point: 96.28125%

sample649.0ms

Algorithm
intervals
Results
517.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...