Details

Time bar (total: 2.3s)

sample21.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.2b

Counts
2 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.4b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
add-sqr-sqrt frac-times add-cube-cbrt *-un-lft-identity add-log-exp
flip3-- times-frac associate-/r* flip--
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-*l/ associate-/r/ log1p-expm1-u
+-commutative fma-def frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 47
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series90.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (* x x) (* y y))
63.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify45.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0322380
11875324
25001308

prune106.0ms

Filtered
53 candidates to 43 candidates (81.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New50353
Fresh101
Picked011
Done000
Total51455

Merged error: 0.2b

Counts
55 → 4

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune3.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044

Merged error: 0.2b

Counts
4 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(* (/ (- x y) (hypot x y)) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
0.0b
(/ (- x y) (hypot x y))
19.7b
(sqrt (+ (* x x) (* y y)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
73×add-sqr-sqrt
65×*-un-lft-identity
61×times-frac
39×add-cube-cbrt
30×associate-*r*
19×associate-*l*
18×add-exp-log add-cbrt-cube
17×sqrt-prod
pow1 distribute-lft-out-- difference-of-squares
distribute-lft-out add-log-exp unswap-sqr
cbrt-undiv div-exp associate-/l*
expm1-log1p-u sqrt-div prod-exp cbrt-unprod log1p-expm1-u
flip3-+ associate-/r* flip-+ div-inv
associate-/r/ associate-/l/
+-commutative frac-times rem-sqrt-square flip3-- fma-def frac-2neg sqrt-pow1 pow1/2 div-sub associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative flip-- hypot-def
Counts
4 → 149
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
24.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
9.0ms
(/ (- x y) (hypot x y))
4.0ms
(sqrt (+ (* x x) (* y y)))

series281.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (* x x) (* y y))
124.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
94.0ms
(/ (- x y) (hypot x y))
37.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06321336
129031130
250011110

prune296.0ms

Filtered
161 candidates to 115 candidates (71.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1592161
Fresh101
Picked101
Done202
Total1632165

Merged error: 0b

Counts
165 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot x y)
0.0b
(/ (+ x y) (hypot x y))
0.0b
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
0.0b
(/ (- x y) (hypot x y))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
66×add-sqr-sqrt
58×times-frac
40×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*l*
16×associate-*r*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv div-exp associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg clear-num
frac-times hypot-udef flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 146
Calls
4 calls:
1.0ms
(hypot x y)
5.0ms
(/ (+ x y) (hypot x y))
18.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
6.0ms
(/ (- x y) (hypot x y))

series320.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(hypot x y)
88.0ms
(/ (+ x y) (hypot x y))
92.0ms
(* (/ (- x y) (hypot x y)) (/ (+ x y) (hypot x y)))
91.0ms
(/ (- x y) (hypot x y))

simplify58.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04911105
12109999
25003997

prune242.0ms

Filtered
158 candidates to 118 candidates (74.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1580158
Fresh011
Picked011
Done000
Total1582160

Merged error: 0b

Counts
160 → 2

regimes24.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
0107
1107

end0.0ms

sample502.0ms

Algorithm
intervals
Results
250.0ms8000×body80valid
109.0ms8000×pre80true