Details

Time bar (total: 2.4s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify18.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: 32.2b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* (* y 4.0) y))
4.0b
(- (* x x) (* (* y 4.0) y))
31.5b
(/ (- (* 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))
3.0ms
(- (* x x) (* (* y 4.0) y))
11.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series141.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0234680
11007622
25001620

prune146.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize0.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune8.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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:
5.0ms
(+ (* x x) (* (* y 4.0) y))
16.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* 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)))

series200.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02871034
11088945
25002942

prune419.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* 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))))
20.8b
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))
23.9b
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))

rewrite147.0ms

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

series260.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(log (exp (- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))))
74.0ms
(- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))
55.0ms
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))
56.0ms
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04271293
119291153
250011153

prune228.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

regimes197.0ms

Accuracy

60.1% (12.5b remaining)

Error of 12.8b against oracle of 0.3b and baseline of 31.7b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04252
14252

end0.0ms

sample348.0ms

Algorithm
intervals
Results
223.0ms8000×body80valid