Details

Time bar (total: 3.0s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify24.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: 32.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
2.6b
(- (* x x) (* (* y 4.0) y))
32.0b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite20.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:
4.0ms
(+ (* x x) (* (* y 4.0) y))
3.0ms
(- (* x x) (* (* y 4.0) y))
11.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series165.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ (* x x) (* (* y 4.0) y))
46.0ms
(- (* x x) (* (* y 4.0) y))
73.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify50.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0254719
11175657
25001641

prune209.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

prune8.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

1.4b
(/ x (/ (fma x x (* (* y 4.0) y)) x))
2.6b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
18.4b
(/ (fma x x (* (* y 4.0) y)) y)
19.7b
(/ (fma x x (* (* y 4.0) y)) x)

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:
5.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
6.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)
2.0ms
(/ (fma x x (* (* y 4.0) y)) x)

series270.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
64.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
73.0ms
(/ (fma x x (* (* y 4.0) y)) y)
73.0ms
(/ (fma x x (* (* y 4.0) y)) x)

simplify108.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
06131740
132201580
250011580

prune504.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

1.4b
(/ x (fma 4.0 (/ (pow y 2) x) x))
2.6b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
7.4b
(/ (pow y 2) x)
18.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:
2.0ms
(/ x (fma 4.0 (/ (pow y 2) x) x))
6.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
4.0ms
(/ (pow y 2) x)
2.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series215.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05151177
126101036
250011035

prune770.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes117.0ms

Accuracy

80.1% (3.8b remaining)

Error of 4.2b against oracle of 0.4b and baseline of 19.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample349.0ms

Algorithm
intervals
Results
225.0ms8000×body80valid