Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
4.0ms256×pre80true

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.9b

Counts
2 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
21.0b
(/ (* (- 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)))

series93.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0322380
11875324
25001308

prune133.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.3b

Counts
55 → 4

localize1.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.3b

Counts
4 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
163×*-un-lft-identity
120×add-sqr-sqrt
81×add-cube-cbrt
22×associate-/r* distribute-lft-out
19×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
flip3-+ flip-+
div-inv associate-/l*
add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
sqrt-prod
frac-2neg sqrt-div clear-num associate-/l/
+-commutative rem-sqrt-square flip3-- fma-def sqrt-pow1 pow1/2 div-sub sum-log flip-- hypot-def
Counts
4 → 200
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
5.0ms
(/ (hypot x y) (+ x y))
12.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* x x) (* y y))
92.0ms
(/ (hypot x y) (+ x y))
89.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))
41.0ms
(sqrt (+ (* x x) (* y y)))

simplify100.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07531885
134941809
250011803

prune520.0ms

Filtered
212 candidates to 150 candidates (70.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2111212
Fresh101
Picked011
Done022
Total2124216

Merged error: 0.0b

Counts
216 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
1059×times-frac
757×*-un-lft-identity
593×add-sqr-sqrt
411×add-cube-cbrt
103×associate-/l*
91×distribute-lft-out-- difference-of-squares
82×distribute-lft-out
59×associate-/r/
33×div-inv
27×flip3-+ flip-+
25×associate-/r*
19×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg div-sub clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- flip--
Counts
3 → 571
Calls
3 calls:
25.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (hypot x y))
5.0ms
(/ (hypot x y) (+ x y))
16.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))

series276.0ms

Counts
3 → 9
Calls
3 calls:
93.0ms
(/ (/ (- x y) (/ (hypot x y) (+ x y))) (hypot x y))
92.0ms
(/ (hypot x y) (+ x y))
91.0ms
(/ (- x y) (/ (hypot x y) (+ x y)))

simplify120.0ms

Algorithm
egg-herbie
Counts
580 → 580
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
017528207
150017913

prune1.3s

Filtered
580 candidates to 373 candidates (64.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New5791580
Fresh000
Picked101
Done033
Total5804584

Merged error: 0b

Counts
584 → 4

regimes135.0ms

Accuracy

70.2% (5.9b remaining)

Error of 6.2b against oracle of 0.2b and baseline of 20.2b

bsearch148.0ms

Steps
ItersRangePoint
8
3.308964372933633e-168
4.046021815332288e-164
3.7703083762849e-166
8
1.1727994473914191e-228
1.2123816733011987e-225
1.1991678665601801e-225
8
-5.540009797186545e-149
-8.992206990105925e-152
-1.2162082839611001e-151
9
-3.7151424973443123e+161
-1.322407815397355e+153
-1.3453816967374705e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03131
13131

end0.0ms

sample502.0ms

Algorithm
intervals
Results
257.0ms8000×body80valid
107.0ms8000×pre80true