Details

Time bar (total: 3.7s)

sample23.0ms

Algorithm
intervals
Results
13.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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.2b

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

series27.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ (* x x) (* (* y 4.0) y))
7.0ms
(- (* x x) (* (* y 4.0) y))
13.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 (28.0ms)

IterNodesCost
0234680
11007622
25001620

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

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
000

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

rewrite36.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:
3.0ms
(+ (* x x) (* (* y 4.0) y))
18.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
2.0ms
(- (* x x) (* (* y 4.0) y))
10.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

series41.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* x x) (* (* y 4.0) y))
13.0ms
(log (exp (/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))))
8.0ms
(- (* x x) (* (* y 4.0) y))
13.0ms
(/ (- (* x x) (* (* y 4.0) y)) (+ (* x x) (* (* y 4.0) y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02871034
11088945
25002942

prune780.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

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

rewrite140.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:
89.0ms
(log (exp (- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))))
33.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)))
6.0ms
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(log (exp (- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))))
16.0ms
(- (/ (* x x) (+ (* x x) (* (* y 4.0) y))) (/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y))))
8.0ms
(/ (* (* y 4.0) y) (+ (* x x) (* (* y 4.0) y)))
8.0ms
(/ (* x x) (+ (* x x) (* (* y 4.0) y)))

simplify55.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04271293
119291153
250011153

prune899.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

regimes485.0ms

Accuracy

60.1% (12.5b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04456
14456

end0.0ms

sample571.0ms

Algorithm
intervals
Results
436.0ms8000×body80valid