Details

Time bar (total: 3.1s)

sample229.0ms

Algorithm
intervals
Results
214.0ms256×body80valid
6.0ms256×pre80true

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1487
21047
31967
43597
56867
613557
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 22.6b

localize8.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)))

rewrite15.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:
2.0ms
(+ (* x x) (* y y))
11.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series92.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0308388
11848330
25001322

prune113.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

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

prune8.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.3b

localize11.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)))

rewrite85.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:
59.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
10.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
3.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series219.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06282483
125982290
250022205

prune368.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.3b

localize13.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:
10.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
13.0ms
(pow (/ (- x y) (sqrt (+ (* x x) (* y y)))) 3)
3.0ms
(sqrt (+ (* x x) (* y y)))
3.0ms
(sqrt (+ (* x x) (* y y)))

series253.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
96.0ms
(pow (/ (- x y) (sqrt (+ (* x x) (* y y)))) 3)
34.0ms
(sqrt (+ (* x x) (* y y)))
38.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06122262
124692013
250021915

prune374.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.3b

regimes76.0ms

Accuracy

79% (4.5b remaining)

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

bsearch106.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

sample823.0ms

Algorithm
intervals
Results
517.0ms8000×body80valid
158.0ms8000×pre80true