Details

Time bar (total: 2.1s)

sample28.0ms

Algorithm
intervals
Results
20.0ms256×body80valid

simplify19.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0189
1369
2689
31179
41749
51959
61979
71979

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
3.4b
(- (* x x) (* (* y 4.0) y))
28.1b
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

rewrite17.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 associate-/r* associate-/l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 55
Calls
3 calls:
3.0ms
(+ (* x x) (* (* y 4.0) y))
2.0ms
(- (* x x) (* (* y 4.0) y))
11.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series142.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0234680
11007622
25001620

prune135.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize3.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 (1.0ms)

IterNodesCost
000

prune3.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.7b

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

prune3.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.7b

localize11.0ms

Local error

Found 4 expressions with local error:

15.5b
(sqrt (- (* x x) (* (* y 4.0) y)))
15.5b
(sqrt (- (* x x) (* (* y 4.0) y)))
26.6b
(sqrt (+ (* x x) (* (* y 4.0) y)))
26.6b
(sqrt (+ (* x x) (* (* y 4.0) y)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 pow1/2 add-cbrt-cube add-log-exp
flip3-- flip3-+ flip-- flip-+
Counts
4 → 60
Calls
4 calls:
3.0ms
(sqrt (- (* x x) (* (* y 4.0) y)))
4.0ms
(sqrt (- (* x x) (* (* y 4.0) y)))
3.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
4.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))

series223.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(sqrt (- (* x x) (* (* y 4.0) y)))
60.0ms
(sqrt (- (* x x) (* (* y 4.0) y)))
50.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
54.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))

simplify121.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0124494
1338478
21148478
33574478
45001478

prune214.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.7b

regimes170.0ms

Accuracy

61.1% (12.0b remaining)

Error of 12.3b against oracle of 0.3b and baseline of 31.2b

bsearch212.0ms

Steps
ItersRangePoint
11
2.3412188848329986e+62
1.6181465099452298e+83
9.422757171766717e+77
7
8.793687207382261e-113
3.1383368649600063e-111
2.1860974984948043e-112
5
-3.1477382843325127e-137
-9.044709236857578e-138
-1.6016563862118764e-137
10
-5.36339357665534e-42
-2.662318411039637e-55
-5.7886743587257764e-49
3
-1.9255771710964144e-22
-1.5052294405168703e-22
-1.531501173678092e-22
10
-7.183095633806528e+99
-1.1923186844419234e+87
-7.09243729226095e+99

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03427
13427

end0.0ms

sample682.0ms

Algorithm
intervals
Results
550.0ms8000×body80valid