Details

Time bar (total: 2.9s)

sample28.0ms

Algorithm
intervals
Results
15.0ms465×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.0b
(- (+ (* x x) (* y y)) (* z z))
27.3b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-sqr-sqrt add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 52
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
17.0ms
(- (+ (* x x) (* y y)) (* z z))
33.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series142.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
39.0ms
(- (+ (* x x) (* y y)) (* z z))
77.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0337520
11492454
25001446

prune157.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 10.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
8.8b
(/ (pow z 2) y)
9.2b
(/ (pow x 2) y)

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
39×*-un-lft-identity
37×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 110
Calls
3 calls:
11.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow z 2) y)
4.0ms
(/ (pow x 2) y)

series68.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify41.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0327554
11147494
25001488

prune281.0ms

Filtered
119 candidates to 76 candidates (63.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x (/ 2 2)) (/ y x)))
0.2b
(/ (pow x (/ 2 2)) (/ y x))
8.8b
(/ (pow z 2) y)

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
106×*-un-lft-identity
104×add-sqr-sqrt add-cube-cbrt
54×unpow-prod-down
21×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×add-cbrt-cube div-inv
add-log-exp
cbrt-undiv unpow2
pow1 pow-to-exp pow-exp
frac-2neg clear-num
+-commutative flip3-+ sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 191
Calls
3 calls:
31.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
8.0ms
(/ (pow x (/ 2 2)) (/ y x))
6.0ms
(/ (pow z 2) y)

series69.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
19.0ms
(/ (pow x (/ 2 2)) (/ y x))
22.0ms
(/ (pow z 2) y)

simplify105.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07201277
133991087
250011080

prune391.0ms

Filtered
200 candidates to 105 candidates (52.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x (/ 2 2)) (/ y x)))
0.1b
(* z (/ z y))
0.2b
(/ (pow x (/ 2 2)) (/ y x))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
100×add-sqr-sqrt
97×*-un-lft-identity
95×add-cube-cbrt
42×unpow-prod-down
21×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r* add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 add-log-exp
cbrt-undiv
associate-*l*
pow-to-exp pow-exp prod-exp cbrt-unprod unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log associate-/r/ *-commutative flip-+ distribute-lft-out
Counts
3 → 174
Calls
3 calls:
33.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
7.0ms
(* z (/ z y))
8.0ms
(/ (pow x (/ 2 2)) (/ y x))

series66.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ y (/ (pow x (/ 2 2)) (/ y x)))
17.0ms
(* z (/ z y))
19.0ms
(/ (pow x (/ 2 2)) (/ y x))

simplify107.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07321169
13655992
25002986

prune325.0ms

Filtered
183 candidates to 95 candidates (51.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes92.0ms

Accuracy

0% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 0.4b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02316
12316

end0.0ms

sample747.0ms

Algorithm
intervals
Results
464.0ms13764×body80valid