Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
8.0ms284×body80valid
0.0msbody1280valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
030311
130311

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x (- y 1.0)) (* y 0.5))
0.0b
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
associate--l+
sub-neg associate-+l+
distribute-rgt-in *-un-lft-identity distribute-lft-in
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt diff-log sum-log add-cbrt-cube
+-commutative associate-+l- flip3-- flip3-+ flip-- flip-+ distribute-lft-out
Counts
2 → 36
Calls
2 calls:
6.0ms
(- (* x (- y 1.0)) (* y 0.5))
8.0ms
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)

series10.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(- (* x (- y 1.0)) (* y 0.5))
5.0ms
(+ (- (* x (- y 1.0)) (* y 0.5)) 0.918938533204673)

simplify49.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05241508

prune55.0ms

Filtered
29 candidates to 42 candidates (-44.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543

Merged error: 0b

Counts
43 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))
0.0b
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
0.0b
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
0.5b
(* (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))) (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-div
74×associate-*r/
68×flip3-- frac-add flip--
36×frac-times
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
17×flip3-+ flip-+
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
add-log-exp
swap-sqr
add-exp-log associate-*r* associate-*l* associate-*l/ add-cbrt-cube
pow-prod-up
associate-+l+ unswap-sqr
sub-neg pow-prod-down pow-sqr
distribute-rgt-in rem-sqrt-square associate-+r+ distribute-lft-in sum-log
+-commutative pow2 associate-+r- pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 158
Calls
4 calls:
8.0ms
(+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))
7.0ms
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
7.0ms
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
19.0ms
(* (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))) (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))
10.0ms
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
14.0ms
(sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5))))
6.0ms
(* (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))) (sqrt (+ (* x (- y 1.0)) (- 0.918938533204673 (* y 0.5)))))

simplify53.0ms

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
050605999

prune336.0ms

Filtered
107 candidates to 170 candidates (-58.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1700170
Fresh033
Picked011
Done011
Total1705175

Merged error: 0b

Counts
175 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x (- y 1.0)) (* y 0.5))
0.0b
(- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673))
0.0b
(* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5)))
28.2b
(/ (- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673)) (- (* x (- y 1.0)) (+ (* y 0.5) 0.918938533204673)))

rewrite269.0ms

Algorithm
rewrite-expression-head
Rules
32×associate--l+
22×distribute-rgt-in distribute-lft-in
19×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
16×sub-neg
12×flip3-- times-frac flip--
11×pow1
add-exp-log add-cbrt-cube add-log-exp
associate-*r/ associate-/r/
difference-of-squares
frac-times frac-sub associate-/l*
swap-sqr associate-*r* associate-*l* associate-/r*
flip3-+ diff-log associate-*l/ flip-+ associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus div-sub div-exp pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 126
Calls
4 calls:
210.0ms
(- (* x (- y 1.0)) (* y 0.5))
15.0ms
(- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673))
14.0ms
(* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5)))
26.0ms
(/ (- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673)) (- (* x (- y 1.0)) (+ (* y 0.5) 0.918938533204673)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (* x (- y 1.0)) (* y 0.5))
17.0ms
(- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673))
7.0ms
(* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5)))
31.0ms
(/ (- (* (- (* x (- y 1.0)) (* y 0.5)) (- (* x (- y 1.0)) (* y 0.5))) (* 0.918938533204673 0.918938533204673)) (- (* x (- y 1.0)) (+ (* y 0.5) 0.918938533204673)))

simplify62.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049543227
149543227

prune237.0ms

Filtered
92 candidates to 138 candidates (-50.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1380138
Fresh022
Picked011
Done022
Total1385143

Merged error: 0b

Counts
143 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5)))) 0.918938533204673)
0.0b
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
0.0b
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
0.3b
(* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-- swap-sqr flip--
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 flip3-+ pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod flip-+
Counts
4 → 98
Calls
4 calls:
14.0ms
(+ (* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5)))) 0.918938533204673)
5.0ms
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
5.0ms
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
15.0ms
(* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5))))

series48.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5)))) 0.918938533204673)
19.0ms
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
19.0ms
(sqrt (- (* x (- y 1.0)) (* y 0.5)))
5.0ms
(* (sqrt (- (* x (- y 1.0)) (* y 0.5))) (sqrt (- (* x (- y 1.0)) (* y 0.5))))

simplify63.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049571655
149571655

prune153.0ms

Filtered
65 candidates to 110 candidates (-69.2%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1100110
Fresh011
Picked011
Done033
Total1105115

Merged error: 0b

Counts
115 → 5

regimes181.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample475.0ms

Algorithm
intervals
Results
256.0ms9059×body80valid
0.0msbody1280valid
0.0msbody160valid

Profiling

Loading profile data...