Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify19.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: 31.6b

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

series338.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0254719
11175657
25001641

prune165.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

prune5.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize10.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))))
2.6b
(- (* x x) (* (* y 4.0) y))
31.0b
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

rewrite23.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:
0.0ms
(fma x x (* (* y 4.0) y))
9.0ms
(/ 1 (/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y))))
3.0ms
(- (* x x) (* (* y 4.0) y))
5.0ms
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(fma x x (* (* y 4.0) y))
68.0ms
(/ 1 (/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y))))
45.0ms
(- (* x x) (* (* y 4.0) y))
70.0ms
(/ (fma x x (* (* y 4.0) y)) (- (* x x) (* (* y 4.0) y)))

simplify69.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04492045
121791867
250011725

prune265.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (- (* x x) (* (* y 4.0) y)))
0.6b
(/ 1 (fma x x (* (* y 4.0) y)))
2.6b
(- (* x x) (* (* y 4.0) y))
30.0b
(/ (/ 1 (fma x x (* (* y 4.0) y))) (/ 1 (- (* x x) (* (* y 4.0) y))))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
483×times-frac
230×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
52×add-exp-log
36×div-exp
33×div-inv
31×associate-/r/
21×associate-/r*
20×add-cbrt-cube
19×associate-/l*
16×flip3-- flip--
10×cbrt-undiv rec-exp 1-exp
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
pow-flip inv-pow
sub-neg fma-neg diff-log prod-diff associate-/l/
Counts
4 → 341
Calls
4 calls:
6.0ms
(/ 1 (- (* x x) (* (* y 4.0) y)))
2.0ms
(/ 1 (fma x x (* (* y 4.0) y)))
3.0ms
(- (* x x) (* (* y 4.0) y))
18.0ms
(/ (/ 1 (fma x x (* (* y 4.0) y))) (/ 1 (- (* x x) (* (* y 4.0) y))))

series210.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ 1 (- (* x x) (* (* y 4.0) y)))
50.0ms
(/ 1 (fma x x (* (* y 4.0) y)))
42.0ms
(- (* x x) (* (* y 4.0) y))
71.0ms
(/ (/ 1 (fma x x (* (* y 4.0) y))) (/ 1 (- (* x x) (* (* y 4.0) y))))

simplify99.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
013806275
150015673

prune542.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.1b

regimes100.0ms

Accuracy

56.6% (13.8b remaining)

Error of 14.1b against oracle of 0.3b and baseline of 32.1b

bsearch155.0ms

Steps
ItersRangePoint
9
5.41477266608165e+51
6.11744604512166e+58
2.9778125912394635e+57
8
2.914569284707164e-27
7.475162141923425e-25
4.5464237877594004e-26
9
3.6316131954925725e-112
1.441284598851764e-106
1.4128408726374627e-110
6
-1.2969398998702968e-73
-2.2317513318290833e-74
-3.839673263781281e-74
9
-2.4724731267575454e+156
-3.374237180858152e+150
-3.436284107232327e+150

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03220
13220

end0.0ms

sample361.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid