Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
8.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

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: 29.6b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
2.8b
(- (* x x) (* (* y 4.0) y))
29.1b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite25.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))
4.0ms
(- (* x x) (* (* y 4.0) y))
15.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series161.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(+ (* x x) (* (* y 4.0) y))
53.0ms
(- (* x x) (* (* y 4.0) y))
68.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0254719
11175657
25001641

prune192.0ms

Filtered
73 candidates to 59 candidates (80.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 0.3b

Counts
74 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

2.2b
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
2.2b
(/ x (/ (fma x x (* (* y 4.0) y)) x))
15.6b
(/ (fma x x (* (* y 4.0) y)) x)
16.7b
(/ (fma x x (* (* y 4.0) y)) y)

rewrite27.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:
7.0ms
(/ (* y 4.0) (/ (fma x x (* (* y 4.0) y)) y))
6.0ms
(/ x (/ (fma x x (* (* y 4.0) y)) x))
3.0ms
(/ (fma x x (* (* y 4.0) y)) x)
4.0ms
(/ (fma x x (* (* y 4.0) y)) y)

series269.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
06131740
132201580
250011575

prune507.0ms

Filtered
190 candidates to 143 candidates (75.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1900190
Fresh033
Picked011
Done000
Total1904194

Merged error: 0.3b

Counts
194 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
0.0b
(+ (* x x) (* (* y 4.0) y))
2.8b
(- (* x x) (* (* y 4.0) y))
29.1b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
16×log-pow
15×exp-prod
add-log-exp
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u associate-/r/ log1p-expm1-u
log-prod flip3-+ associate-/r* flip-+ associate-/l*
flip3-- div-sub flip-- div-inv associate-/l/
cbrt-undiv +-commutative sub-neg log-div fma-def frac-2neg exp-diff fma-neg diff-log div-exp rem-log-exp prod-diff clear-num sum-log
Counts
4 → 94
Calls
4 calls:
9.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
4.0ms
(+ (* x x) (* (* y 4.0) y))
4.0ms
(- (* x x) (* (* y 4.0) y))
10.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
45.0ms
(+ (* x x) (* (* y 4.0) y))
44.0ms
(- (* x x) (* (* y 4.0) y))
71.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify61.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03091089
112341002
25002989

prune300.0ms

Filtered
106 candidates to 84 candidates (79.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1051106
Fresh112
Picked011
Done011
Total1064110

Merged error: 0.3b

Counts
110 → 4

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

prune0.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044

Merged error: 0.3b

Counts
4 → 4

regimes198.0ms

Accuracy

60.9% (11.8b remaining)

Error of 12.2b against oracle of 0.4b and baseline of 30.6b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02618
12618

end0.0ms

sample386.0ms

Algorithm
intervals
Results
247.0ms8000×body80valid