Details

Time bar (total: 1.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0209
1409
2789
31349
42009
52339
62399
72399

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.9b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
4.7b
(- (* x x) (* (* y 4.0) y))
33.3b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

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

series166.0ms

Counts
3 → 9
Calls
3 calls:
47.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)))

simplify54.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0254719
11175657
25001641

prune202.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

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

prune6.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify5.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
000

prune5.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma x x (* (* y 4.0) y))
0.0b
(/ 1 (/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y))))
4.7b
(- (* x x) (* (* y 4.0) y))
33.2b
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
56×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×associate-/r*
17×add-exp-log
11×associate-/r/ add-cbrt-cube
div-exp
flip3-- flip-- div-inv associate-/l* add-log-exp
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num
sub-neg pow-flip fma-neg diff-log prod-diff fma-udef inv-pow
Counts
4 → 143
Calls
4 calls:
1.0ms
(fma x x (* (* y 4.0) y))
9.0ms
(/ 1 (/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y))))
8.0ms
(- (* x x) (* (* y 4.0) y))
6.0ms
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

series255.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(fma x x (* (* y 4.0) y))
81.0ms
(/ 1 (/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y))))
54.0ms
(- (* x x) (* (* y 4.0) y))
72.0ms
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

simplify79.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04492045
121791867
250011725

prune319.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

regimes99.0ms

Accuracy

53.6% (14.5b remaining)

Error of 14.8b against oracle of 0.3b and baseline of 31.6b

bsearch99.0ms

Steps
ItersRangePoint
5
1.3859668012923316e+39
5.407361050114019e+39
5.323647200381255e+39
9
7.953395333837183e-83
4.581480901029116e-75
5.27978852452631e-80
9
-5.7055170912754296e+32
-7.216010958628946e+23
-6.067178389385925e+31

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0259
1259

end0.0ms

sample382.0ms

Algorithm
intervals
Results
243.0ms8000×body80valid