Details

Time bar (total: 2.7s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0189
1369
2689
31179
41749
51959
61979
71979

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

localize8.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)))

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

series140.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0234680
11007622
25001620

prune138.0ms

Filtered
64 candidates to 49 candidates (76.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New59564
Fresh000
Picked101
Done000
Total60565

Merged error: 0.3b

Counts
65 → 5

localize11.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)))

rewrite27.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
associate-/r/
log-prod flip3-+ associate-/r* flip-+ associate-/l*
flip3-- div-sub flip-- div-inv associate-/l/
cbrt-undiv +-commutative sub-neg log-div frac-2neg exp-diff diff-log div-exp rem-log-exp clear-num sum-log
Counts
4 → 83
Calls
4 calls:
8.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
4.0ms
(+ (* x x) (* (* y 4.0) y))
3.0ms
(- (* x x) (* (* y 4.0) y))
9.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series203.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
36.0ms
(+ (* x x) (* (* y 4.0) y))
39.0ms
(- (* x x) (* (* y 4.0) y))
70.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02871034
11088945
25002942

prune215.0ms

Filtered
95 candidates to 73 candidates (76.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New93295
Fresh224
Picked101
Done000
Total964100

Merged error: 0.3b

Counts
100 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
0.0b
(- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))
19.9b
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))
21.6b
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt associate-/r/ add-log-exp
times-frac
associate-/r*
cbrt-undiv flip3-+ div-exp flip-+
pow1 prod-exp cbrt-unprod div-inv
distribute-rgt-out--
frac-2neg clear-num associate-/l* difference-of-squares
+-commutative sub-neg flip3-- diff-log sum-log frac-sub flip-- distribute-lft-out-- sub-div
Counts
4 → 79
Calls
4 calls:
4.0ms
(+ (* x x) (* (* y 4.0) y))
14.0ms
(- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))
6.0ms
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))
8.0ms
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))

series210.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (* x x) (* (* y 4.0) y))
72.0ms
(- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))
48.0ms
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))
55.0ms
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))

simplify58.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0396987
11942882
25001881

prune178.0ms

Filtered
91 candidates to 68 candidates (74.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New91091
Fresh033
Picked011
Done000
Total91495

Merged error: 0.3b

Counts
95 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

2.8b
(- (* x x) (* (* y 4.0) y))
27.3b
(sqrt (+ (* x x) (* (* y 4.0) y)))
27.3b
(sqrt (+ (* x x) (* (* y 4.0) y)))
27.6b
(/ (- (* x x) (* (* y 4.0) y)) (sqrt (+ (* x x) (* (* y 4.0) y))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×add-cube-cbrt *-un-lft-identity
18×times-frac sqrt-prod
pow1 add-exp-log sqrt-div associate-/r* add-cbrt-cube add-log-exp
flip3-+ flip-+ associate-/l*
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv
Counts
4 → 86
Calls
4 calls:
4.0ms
(- (* x x) (* (* y 4.0) y))
4.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
4.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
10.0ms
(/ (- (* x x) (* (* y 4.0) y)) (sqrt (+ (* x x) (* (* y 4.0) y))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(- (* x x) (* (* y 4.0) y))
53.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
50.0ms
(sqrt (+ (* x x) (* (* y 4.0) y)))
101.0ms
(/ (- (* x x) (* (* y 4.0) y)) (sqrt (+ (* x x) (* (* y 4.0) y))))

simplify173.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
02741117
110201045
248541032
350021032

prune268.0ms

Filtered
98 candidates to 74 candidates (75.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New98098
Fresh022
Picked011
Done011
Total984102

Merged error: 0.3b

Counts
102 → 4

regimes124.0ms

Accuracy

60.4% (12.2b remaining)

Error of 12.6b against oracle of 0.4b and baseline of 31.2b

bsearch102.0ms

Steps
ItersRangePoint
4
1.5549168953101855e+143
2.483185623213712e+143
1.617000239523037e+143
6
1.6552168713535222e-160
7.56737574009597e-160
3.017383604922435e-160
9
-1.7961890248789646e-153
-4.991866581371744e-162
-1.8002238488316346e-154
7
-8.221844882759494e+75
-6.577909208550379e+73
-8.024730975973789e+75

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03230
13230

end0.0ms

sample365.0ms

Algorithm
intervals
Results
229.0ms8000×body80valid