Details

Time bar (total: 2.7s)

sample42.0ms

Algorithm
intervals
Results
17.0ms256×body80valid
9.0ms256×pre80true

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

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series86.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(+ (* x x) (* y y))
61.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

prune116.0ms

Filtered
48 candidates to 39 candidates (81.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New44448
Fresh000
Picked101
Done000
Total45449

Merged error: 0.5b

Counts
49 → 4

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

rewrite59.0ms

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

series210.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (+ x y) (sqrt (+ (* x x) (* y y))))
57.0ms
(* (/ (- x y) (sqrt (+ (* x x) (* y y)))) (/ (+ x y) (sqrt (+ (* x x) (* y y)))))
38.0ms
(sqrt (+ (* x x) (* y y)))
33.0ms
(sqrt (+ (* x x) (* y y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05792358
124292169
250012080

prune305.0ms

Filtered
187 candidates to 119 candidates (63.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1870187
Fresh033
Picked011
Done000
Total1874191

Merged error: 0.5b

Counts
191 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
40×cbrt-prod
30×add-sqr-sqrt
24×associate-/l/
22×add-cube-cbrt *-un-lft-identity
21×add-exp-log times-frac
19×add-cbrt-cube
16×flip3-+ flip-+
14×associate-/r/
13×frac-times
12×swap-sqr associate-*r* associate-*l*
11×pow1
flip3-- associate-/r* flip--
associate-*r/ associate-*l/ div-inv
cbrt-undiv pow1/3 div-exp
cbrt-div prod-exp cbrt-unprod add-log-exp unswap-sqr
frac-2neg clear-num associate-/l*
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus *-commutative
Counts
4 → 154
Calls
4 calls:
14.0ms
(* (cbrt (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))) (cbrt (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))
12.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series372.0ms

Counts
4 → 12
Calls
4 calls:
191.0ms
(* (cbrt (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))) (cbrt (/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))))
58.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))
62.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))
62.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify73.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04032127
120121919
250011757

prune391.0ms

Filtered
166 candidates to 131 candidates (78.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1660166
Fresh022
Picked011
Done011
Total1664170

Merged error: 0.5b

Counts
170 → 4

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

prune0.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 0.5b

Counts
4 → 4

regimes76.0ms

Accuracy

73.5% (5.1b remaining)

Error of 5.7b against oracle of 0.5b and baseline of 19.9b

bsearch87.0ms

Steps
ItersRangePoint
8
4.412719866072978e-167
2.5801243492598e-164
2.5489728175505276e-164
6
-1.6320016106073857e-137
-1.055386269196156e-138
-1.5325604163401249e-137
10
-1.0175704574175542e+162
-3.222127529430611e+149
-1.3045375288630825e+151

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03252
13252

end0.0ms

sample586.0ms

Algorithm
intervals
Results
301.0ms8000×body80valid
146.0ms8000×pre80true

Profiling

Loading profile data...