Details

Time bar (total: 3.0s)

sample22.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1409
2789
31349
42009
52339
62399
72399

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
1.7b
(- (* x x) (* (* y 4.0) y))
28.9b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg fma-def frac-2neg fma-neg diff-log div-sub div-exp prod-diff clear-num sum-log div-inv
Counts
3 → 64
Calls
3 calls:
3.0ms
(+ (* x x) (* (* y 4.0) y))
3.0ms
(- (* x x) (* (* y 4.0) y))
12.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series154.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (* x x) (* (* y 4.0) y))
47.0ms
(- (* x x) (* (* y 4.0) y))
69.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify48.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0254719
11175657
25001641

prune188.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify4.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune6.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

1.7b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0b
(/ x (/ (fma x x (* (* y 4.0) y)) x))
13.5b
(/ (fma x x (* (* y 4.0) y)) x)
17.4b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
124×times-frac
76×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×associate-/r*
25×add-exp-log add-cbrt-cube
11×cbrt-undiv div-exp
10×div-inv associate-/l*
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
prod-exp associate-/r/ cbrt-unprod
Counts
4 → 178
Calls
4 calls:
6.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
5.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
6.0ms
(/ (fma x x (* (* y 4.0) y)) x)
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series264.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
62.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
76.0ms
(/ (fma x x (* (* y 4.0) y)) x)
66.0ms
(/ (fma x x (* (* y 4.0) y)) y)

simplify100.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06131740
132201580
250011575

prune470.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.7b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0b
(/ x (fma 4.0 (/ (pow y 2) x) x))
3.4b
(/ (pow y 2) x)
17.4b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
73×times-frac
51×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
25×add-exp-log
22×associate-/r* add-cbrt-cube
15×associate-/l*
12×unpow-prod-down
11×div-exp
cbrt-undiv
div-inv
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u unpow2 add-log-exp sqr-pow
prod-exp cbrt-unprod
pow-to-exp pow-exp associate-/r/
Counts
4 → 157
Calls
4 calls:
6.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0ms
(/ x (fma 4.0 (/ (pow y 2) x) x))
4.0ms
(/ (pow y 2) x)
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series212.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
63.0ms
(/ x (fma 4.0 (/ (pow y 2) x) x))
21.0ms
(/ (pow y 2) x)
70.0ms
(/ (fma x x (* (* y 4.0) y)) y)

simplify88.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
05151177
126101036
250011035

prune517.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

regimes83.0ms

Accuracy

67.9% (5.4b remaining)

Error of 5.8b against oracle of 0.4b and baseline of 17.2b

bsearch182.0ms

Steps
ItersRangePoint
8
1.092171219346338e+153
2.4921230526020748e+156
6.642391100596937e+153
6
5.504741110309232e-303
2.540817430580654e-302
2.500688511197002e-302
8
-3.096018323033091e-109
-1.2230497398153423e-113
-1.2415409052957577e-113
10
-7.051225819229733e+167
-5.765687123026767e+152
-6.854104396115742e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03426
13426

end0.0ms

sample570.0ms

Algorithm
intervals
Results
419.0ms8000×body80valid