Details

Time bar (total: 5.1s)

sample20.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
4.0ms256×pre80true

simplify71.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: 21.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
285×*-un-lft-identity
120×times-frac
113×associate-*l*
94×distribute-lft-out
81×add-sqr-sqrt
45×add-cube-cbrt
36×associate-*r*
34×swap-sqr
15×associate-/l*
*-commutative distribute-lft-out-- difference-of-squares unswap-sqr
associate-/r* associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
frac-times add-log-exp
flip3-- 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
Counts
2 → 183
Calls
2 calls:
18.0ms
(+ (* x x) (* y y))
28.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)))

simplify86.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05521904
128821846
250011844

prune183.0ms

Filtered
189 candidates to 80 candidates (42.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1836189
Fresh000
Picked101
Done000
Total1846190

Merged error: 0.2b

Counts
190 → 6

localize11.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)))))
20.2b
(sqrt (+ (* x x) (* y y)))
20.2b
(sqrt (+ (* x x) (* y y)))

rewrite214.0ms

Algorithm
rewrite-expression-head
Rules
1064×*-un-lft-identity
484×associate-/r*
478×sqrt-prod
420×frac-times
340×distribute-lft-out
295×add-sqr-sqrt
286×associate-*l*
199×add-cube-cbrt associate-/l*
155×times-frac
118×swap-sqr
88×associate-/l/
61×associate-*r*
45×clear-num
44×frac-2neg
33×distribute-lft-out--
32×difference-of-squares
28×flip3-+ flip-+
21×flip3-- associate-*r/ flip--
20×associate-*l/
18×add-exp-log add-cbrt-cube
10×sqrt-div
unswap-sqr
pow1
associate-/r/
cbrt-undiv div-exp
prod-exp cbrt-unprod add-log-exp
un-div-inv div-inv
rem-sqrt-square sqrt-pow1 pow1/2
pow-prod-down *-commutative
Counts
4 → 716
Calls
4 calls:
25.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
99.0ms
(* (/ (+ x y) (sqrt (+ (* x x) (* y y)))) (/ (- x y) (sqrt (+ (* x x) (* y y)))))
17.0ms
(sqrt (+ (* x x) (* y y)))
15.0ms
(sqrt (+ (* x x) (* y y)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
61.0ms
(* (/ (+ x y) (sqrt (+ (* x x) (* y y)))) (/ (- x y) (sqrt (+ (* x x) (* y y)))))
39.0ms
(sqrt (+ (* x x) (* y y)))
36.0ms
(sqrt (+ (* x x) (* y y)))

simplify141.0ms

Algorithm
egg-herbie
Counts
728 → 728
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
017699517
150019240

prune559.0ms

Filtered
728 candidates to 232 candidates (31.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New7280728
Fresh055
Picked011
Done000
Total7286734

Merged error: 0.2b

Counts
734 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
0.0b
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
20.9b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
792×*-un-lft-identity
360×times-frac
313×associate-*l*
260×distribute-lft-out
252×exp-prod
228×add-sqr-sqrt
128×add-cube-cbrt
127×log-pow
100×associate-*r*
94×swap-sqr
25×*-commutative distribute-lft-out-- difference-of-squares unswap-sqr
15×associate-/l*
10×add-exp-log
add-cbrt-cube
associate-/r* associate-/l/
flip3-+ flip-+ add-log-exp
associate-/r/
pow1
frac-times
log-prod flip3-- flip-- div-inv
cbrt-undiv associate-*r/ div-exp rem-log-exp associate-*l/
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod rem-exp-log
Counts
4 → 456
Calls
4 calls:
15.0ms
(+ (* x x) (* y y))
44.0ms
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
42.0ms
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
28.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series241.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x x) (* y y))
80.0ms
(exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y))))
65.0ms
(log (exp (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
69.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify114.0ms

Algorithm
egg-herbie
Counts
468 → 468
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06893532
131233391
250013379

prune636.0ms

Filtered
468 candidates to 172 candidates (36.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New4653468
Fresh314
Picked011
Done011
Total4686474

Merged error: 0.2b

Counts
474 → 6

localize17.0ms

Local error

Found 4 expressions with local error:

12.9b
(/ (+ (* x x) (* y y)) (cbrt (* (- x y) (+ x y))))
20.8b
(cbrt (* (- x y) (+ x y)))
20.8b
(cbrt (* (- x y) (+ x y)))
20.8b
(cbrt (* (- x y) (+ x y)))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
344×*-un-lft-identity
180×cbrt-prod
144×times-frac
136×associate-*l*
116×add-sqr-sqrt
107×distribute-lft-out
68×add-cube-cbrt
48×associate-*r*
38×swap-sqr
32×cbrt-div
18×associate-/r*
16×frac-times
13×flip3-+ flip-+
12×flip3-- *-commutative flip-- distribute-lft-out-- difference-of-squares unswap-sqr
associate-*r/ associate-*l/ associate-/r/ associate-/l*
add-cbrt-cube
add-exp-log
pow1 add-log-exp
pow1/3
cbrt-undiv associate-/l/
frac-2neg div-exp clear-num div-inv
Counts
4 → 286
Calls
4 calls:
30.0ms
(/ (+ (* x x) (* y y)) (cbrt (* (- x y) (+ x y))))
10.0ms
(cbrt (* (- x y) (+ x y)))
12.0ms
(cbrt (* (- x y) (+ x y)))
9.0ms
(cbrt (* (- x y) (+ x y)))

series712.0ms

Counts
4 → 12
Calls
4 calls:
249.0ms
(/ (+ (* x x) (* y y)) (cbrt (* (- x y) (+ x y))))
155.0ms
(cbrt (* (- x y) (+ x y)))
151.0ms
(cbrt (* (- x y) (+ x y)))
156.0ms
(cbrt (* (- x y) (+ x y)))

simplify105.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06233573
124163503
250033432

prune614.0ms

Filtered
298 candidates to 163 candidates (54.7%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2971298
Fresh033
Picked101
Done022
Total2986304

Merged error: 0.2b

Counts
304 → 6

regimes113.0ms

Accuracy

76.5% (4.6b remaining)

Error of 5.1b against oracle of 0.5b and baseline of 20.0b

bsearch96.0ms

Steps
ItersRangePoint
8
2.5243384552883467e-180
3.1207004374649646e-177
3.081095278491971e-177
10
-9.555436698065281e-158
-1.442907561800155e-167
-2.4149536997492782e-160
9
-1.5548261699289447e+154
-9.01623960660628e+145
-3.7202401672427106e+146

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03220
13220

end0.0ms

sample511.0ms

Algorithm
intervals
Results
236.0ms8000×body80valid
126.0ms8000×pre80true