Details

Time bar (total: 2.6s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0369
1369

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.9b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

12.4b
(/ (+ x y) (* (* x 2.0) y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
*-un-lft-identity
times-frac associate-/l*
cbrt-undiv add-sqr-sqrt add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/l/ distribute-lft-out
pow1 frac-2neg flip3-+ clear-num associate-/r* flip-+ div-inv add-log-exp
Counts
1 → 27
Calls
1 calls:
11.0ms
(/ (+ x y) (* (* x 2.0) y))

series7.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(/ (+ x y) (* (* x 2.0) y))

simplify26.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
05267314

prune36.0ms

Filtered
19 candidates to 30 candidates (-57.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New27330
Fresh000
Picked011
Done000
Total27431

Merged error: 0.0b

Counts
31 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
0.0b
(/ x (/ (+ x y) 2.0))
7.3b
(* y (/ x (/ (+ x y) 2.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
186×times-frac
138×*-un-lft-identity
105×add-sqr-sqrt
96×add-cube-cbrt
53×associate-*r*
51×add-exp-log
31×add-cbrt-cube
23×div-exp
21×distribute-lft-out
17×associate-/r*
13×cbrt-undiv
12×prod-exp
10×div-inv
pow1
cbrt-unprod associate-/l*
rec-exp 1-exp
associate-*l* associate-/r/ add-log-exp unswap-sqr
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num
*-commutative inv-pow
Counts
3 → 194
Calls
3 calls:
18.0ms
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
12.0ms
(/ x (/ (+ x y) 2.0))
21.0ms
(* y (/ x (/ (+ x y) 2.0)))

series35.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(/ 1 (* y (/ x (/ (+ x y) 2.0))))
10.0ms
(/ x (/ (+ x y) 2.0))
13.0ms
(* y (/ x (/ (+ x y) 2.0)))

simplify95.0ms

Algorithm
egg-herbie
Counts
203 → 203
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
050682291

prune198.0ms

Filtered
135 candidates to 203 candidates (-50.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2012203
Fresh022
Picked011
Done101
Total2025207

Merged error: 0b

Counts
207 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ x (/ (+ x y) 2.0))
7.4b
(/ (/ 1 y) (/ x (/ (+ x y) 2.0)))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
2447×times-frac
1279×*-un-lft-identity
1003×add-sqr-sqrt add-cube-cbrt
138×distribute-lft-out
116×div-inv
69×associate-/r*
46×add-exp-log
33×div-exp
28×add-cbrt-cube
18×cbrt-undiv
16×associate-/r/ associate-/l*
rec-exp 1-exp
pow1 frac-2neg clear-num add-log-exp
associate-/l/
Counts
2 → 867
Calls
2 calls:
7.0ms
(/ x (/ (+ x y) 2.0))
28.0ms
(/ (/ 1 y) (/ x (/ (+ x y) 2.0)))

series23.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(/ x (/ (+ x y) 2.0))
12.0ms
(/ (/ 1 y) (/ x (/ (+ x y) 2.0)))

simplify212.0ms

Algorithm
egg-herbie
Counts
873 → 873
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0519020966

prune1.0s

Filtered
443 candidates to 873 candidates (-97.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New8730873
Fresh033
Picked011
Done011
Total8735878

Merged error: 0b

Counts
878 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) (* x 2.0))
7.6b
(/ (/ (+ x y) (* x 2.0)) y)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
33×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
16×add-exp-log add-cbrt-cube
12×associate-/l*
cbrt-undiv div-exp
div-inv distribute-lft-out
associate-/r*
associate-/l/
pow1 frac-2neg prod-exp clear-num cbrt-unprod add-log-exp
flip3-+ flip-+
Counts
2 → 77
Calls
2 calls:
6.0ms
(/ (+ x y) (* x 2.0))
8.0ms
(/ (/ (+ x y) (* x 2.0)) y)

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(/ (+ x y) (* x 2.0))
6.0ms
(/ (/ (+ x y) (* x 2.0)) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05463970

prune68.0ms

Filtered
59 candidates to 83 candidates (-40.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New82183
Fresh112
Picked101
Done022
Total84488

Merged error: 0b

Counts
88 → 4

regimes91.0ms

Accuracy

96.6% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 7.5b

bsearch33.0ms

Steps
ItersRangePoint
6
6.355430981966419e-86
2.8099953394807335e-85
2.7674407540267516e-85
9
-3.381119763722929e-17
-1.9314587331004254e-25
-1.213732396360404e-17

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02731
12731

end0.0ms

sample416.0ms

Algorithm
intervals
Results
217.0ms8000×body80valid

Profiling

Loading profile data...