Details

Time bar (total: 2.5s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 22.6b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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 associate-*r/ div-exp associate-*l/ associate-/r/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l*
Counts
2 → 42
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
15.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series93.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0308388
11848330
25001322

prune96.0ms

Filtered
48 candidates to 39 candidates (81.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New44448
Fresh000
Picked011
Done000
Total44549

Merged error: 0.3b

Counts
49 → 5

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune6.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055

Merged error: 0.3b

Counts
5 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
0.0b
(/ (- x y) (sqrt (+ (* x x) (* y y))))
21.4b
(sqrt (+ (* x x) (* y y)))
21.4b
(sqrt (+ (* x x) (* y y)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
115×add-sqr-sqrt
96×times-frac
95×*-un-lft-identity
57×add-cube-cbrt sqrt-prod
36×associate-*l*
30×associate-*r*
18×add-exp-log add-cbrt-cube
13×distribute-lft-out-- difference-of-squares
10×sqrt-div
unswap-sqr
pow1
associate-/r* associate-/r/ distribute-lft-out
cbrt-undiv flip3-+ div-exp flip-+ associate-/l*
prod-exp cbrt-unprod add-log-exp
div-inv
rem-sqrt-square sqrt-pow1 pow1/2 associate-/l/
frac-times flip3-- frac-2neg div-sub associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip--
Counts
4 → 183
Calls
4 calls:
31.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
8.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
3.0ms
(sqrt (+ (* x x) (* y y)))
3.0ms
(sqrt (+ (* x x) (* y y)))

series225.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
85.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
35.0ms
(sqrt (+ (* x x) (* y y)))
39.0ms
(sqrt (+ (* x x) (* y y)))

simplify75.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06282483
125982290
250022205

prune341.0ms

Filtered
195 candidates to 124 candidates (63.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1941195
Fresh112
Picked101
Done022
Total1964200

Merged error: 0.3b

Counts
200 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- x y) (sqrt (+ (* x x) (* y y))))
0.1b
(pow (/ (- x y) (sqrt (+ (* x x) (* y y)))) 3)
21.4b
(sqrt (+ (* x x) (* y y)))
21.4b
(sqrt (+ (* x x) (* y y)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
100×add-sqr-sqrt
98×*-un-lft-identity
90×times-frac
60×add-cube-cbrt
54×sqrt-prod
36×unpow-prod-down cube-prod
19×distribute-lft-out-- difference-of-squares
10×sqrt-div
add-exp-log add-cbrt-cube
pow1
associate-/r* associate-/r/
flip3-+ flip-+ associate-/l*
add-log-exp
pow-unpow div-inv
cbrt-undiv rem-sqrt-square sqrt-pow1 pow1/2 div-exp pow-exp associate-/l/ rem-cube-cbrt
cube-div cube-mult pow-to-exp flip3-- pow-pow frac-2neg unpow3 div-sub clear-num flip-- sqr-pow
Counts
4 → 180
Calls
4 calls:
8.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
15.0ms
(pow (/ (- x y) (sqrt (+ (* x x) (* y y)))) 3)
3.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
100.0ms
(pow (/ (- x y) (sqrt (+ (* x x) (* y y)))) 3)
42.0ms
(sqrt (+ (* x x) (* y y)))
35.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06122258
124702013
250011915

prune348.0ms

Filtered
192 candidates to 100 candidates (52.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1920192
Fresh011
Picked011
Done022
Total1924196

Merged error: 0.3b

Counts
196 → 4

regimes79.0ms

Accuracy

79% (4.5b remaining)

Error of 5.0b against oracle of 0.5b and baseline of 21.9b

bsearch88.0ms

Steps
ItersRangePoint
10
5.387551057542208e-172
1.5113612926185646e-158
6.207473996390243e-162
9
-8.18618950363743e-156
-1.3057345147197977e-163
-7.597216894317133e-156
8
-4.098917387716501e+157
-6.383282732087636e+153
-7.87575602010167e+153

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02814
12814

end0.0ms

sample481.0ms

Algorithm
intervals
Results
239.0ms8000×body80valid
109.0ms8000×pre80true