Details

Time bar (total: 3.2s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 18.3b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.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:
3.0ms
(+ (* x x) (* y y))
15.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series89.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0308388
11848330
25001322

prune286.0ms

Filtered
48 candidates to 39 candidates (81.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh000
Picked101
Done000
Total44549

Merged error: 0.1b

Counts
49 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite59.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:
9.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
34.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
4.0ms
(sqrt (+ (* x x) (* y y)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (- x y) (sqrt (+ (* x x) (* y y))))
63.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
35.0ms
(sqrt (+ (* x x) (* y y)))
42.0ms
(sqrt (+ (* x x) (* y y)))

simplify77.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06282483
125982290
250022205

prune317.0ms

Filtered
195 candidates to 124 candidates (63.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1950195
Fresh044
Picked011
Done000
Total1955200

Merged error: 0.1b

Counts
200 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(cbrt (pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3))
0.0b
(pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3)
18.1b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×cbrt-prod
18×unpow-prod-down cube-prod
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×add-exp-log times-frac add-cbrt-cube
10×associate-/r/
flip3-+ flip-+
associate-/l/
add-log-exp
pow1 div-inv
cbrt-undiv frac-times div-exp
pow-unpow flip3-- pow-exp associate-/r* flip-- rem-cube-cbrt
cube-div cube-mult unpow3 associate-*r/ associate-*l/ prod-exp cbrt-unprod sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube associate-/l*
Counts
4 → 116
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
6.0ms
(cbrt (pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3))
14.0ms
(pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3)
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* x x) (* y y))
74.0ms
(cbrt (pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3))
75.0ms
(pow (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))) 3)
58.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify73.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04941238
128721167
250011161

prune191.0ms

Filtered
128 candidates to 78 candidates (60.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh033
Picked011
Done011
Total1285133

Merged error: 0.1b

Counts
133 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

18.1b
(cbrt (+ (* x x) (* y y)))
18.1b
(cbrt (+ (* x x) (* y y)))
18.1b
(cbrt (+ (* x x) (* y y)))
18.2b
(/ (* (- x y) (+ x y)) (* (cbrt (+ (* x x) (* y y))) (cbrt (+ (* x x) (* y y)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
16×add-exp-log
12×flip3-+ add-cbrt-cube flip-+
cbrt-prod
frac-times associate-/r/ associate-/l/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 cbrt-undiv associate-*r/ div-exp associate-*l/ prod-exp cbrt-unprod add-log-exp
flip3-- pow1/3 flip--
frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 76
Calls
4 calls:
3.0ms
(cbrt (+ (* x x) (* y y)))
3.0ms
(cbrt (+ (* x x) (* y y)))
3.0ms
(cbrt (+ (* x x) (* y y)))
17.0ms
(/ (* (- x y) (+ x y)) (* (cbrt (+ (* x x) (* y y))) (cbrt (+ (* x x) (* y y)))))

series448.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(cbrt (+ (* x x) (* y y)))
91.0ms
(cbrt (+ (* x x) (* y y)))
87.0ms
(cbrt (+ (* x x) (* y y)))
179.0ms
(/ (* (- x y) (+ x y)) (* (cbrt (+ (* x x) (* y y))) (cbrt (+ (* x x) (* y y)))))

simplify57.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04611021
12241901
25001891

prune209.0ms

Filtered
88 candidates to 74 candidates (84.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New88088
Fresh022
Picked011
Done022
Total88593

Merged error: 0.1b

Counts
93 → 5

regimes82.0ms

Accuracy

78% (4.2b remaining)

Error of 4.6b against oracle of 0.4b and baseline of 19.6b

bsearch105.0ms

Steps
ItersRangePoint
9
5.979285330824152e-167
9.2325914621024e-162
8.686820838206432e-162
8
-2.756316178715079e-152
-1.7585719377007754e-156
-3.152838097076862e-156
10
-4.706237202987014e+161
-4.262486889663285e+150
-1.2571453085126962e+152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03118
13118

end0.0ms

sample506.0ms

Algorithm
intervals
Results
245.0ms8000×body80valid
117.0ms8000×pre80true