Details

Time bar (total: 3.6s)

sample24.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1144
2144

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: 4.1b

Counts
2 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

4.1b
(/ (+ x y) (- 1.0 (/ y z)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
29×times-frac
13×add-cube-cbrt
10×difference-of-squares
distribute-lft-out
associate-/r*
distribute-lft-out--
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv add-log-exp
Counts
1 → 50
Calls
1 calls:
17.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series79.0ms

Counts
1 → 3
Calls
1 calls:
79.0ms
(/ (+ x y) (- 1.0 (/ y z)))

simplify66.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0203422
1616404
21814404
35001404

prune95.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New47653
Fresh000
Picked011
Done000
Total47754

Merged error: 3.1b

Counts
54 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ 1 (- 1.0 (/ y z)))
3.7b
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
45×times-frac
41×*-un-lft-identity
24×add-cube-cbrt associate-*r*
15×add-exp-log
14×difference-of-squares
add-cbrt-cube
distribute-lft-out--
associate-/r*
pow1
div-exp associate-*l* prod-exp associate-/r/
associate-/l* unswap-sqr
cbrt-undiv frac-times rec-exp flip3-- flip3-+ 1-exp associate-*l/ flip-- cbrt-unprod flip-+ div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative distribute-lft-out inv-pow
Counts
2 → 97
Calls
2 calls:
8.0ms
(/ 1 (- 1.0 (/ y z)))
18.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

series115.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(/ 1 (- 1.0 (/ y z)))
60.0ms
(* (+ x y) (/ 1 (- 1.0 (/ y z))))

simplify55.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0343664
11615588
25001538

prune140.0ms

Filtered
103 candidates to 59 candidates (57.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh055
Picked011
Done011
Total1037110

Merged error: 3.1b

Counts
110 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
0.1b
(* (/ 1 (sqrt (- 1.0 (/ y z)))) (/ (+ x y) (sqrt (- 1.0 (/ y z)))))
2.2b
(sqrt (- 1.0 (/ y z)))
2.2b
(sqrt (- 1.0 (/ y z)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
178×add-sqr-sqrt
135×times-frac
132×*-un-lft-identity
95×sqrt-prod
60×add-cube-cbrt
42×associate-*r*
33×associate-*l*
28×add-exp-log difference-of-squares
19×distribute-lft-out
18×add-cbrt-cube
15×unswap-sqr
14×distribute-lft-out--
10×sqrt-div
div-exp associate-/r*
pow1 prod-exp
associate-/r/
cbrt-undiv flip3-- flip--
cbrt-unprod associate-/l* add-log-exp
div-inv
rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp associate-/l/
frac-times frac-2neg flip3-+ associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative flip-+
Counts
4 → 215
Calls
4 calls:
12.0ms
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
43.0ms
(* (/ 1 (sqrt (- 1.0 (/ y z)))) (/ (+ x y) (sqrt (- 1.0 (/ y z)))))
6.0ms
(sqrt (- 1.0 (/ y z)))
6.0ms
(sqrt (- 1.0 (/ y z)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
121.0ms
(* (/ 1 (sqrt (- 1.0 (/ y z)))) (/ (+ x y) (sqrt (- 1.0 (/ y z)))))
84.0ms
(sqrt (- 1.0 (/ y z)))
85.0ms
(sqrt (- 1.0 (/ y z)))

simplify83.0ms

Algorithm
egg-herbie
Counts
227 → 227
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
06852488
138932217
250012098

prune407.0ms

Filtered
227 candidates to 134 candidates (59.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2270227
Fresh044
Picked011
Done022
Total2277234

Merged error: 3.1b

Counts
234 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z)))) (- (sqrt 1.0) (sqrt (/ y z))))
0.1b
(/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z))))
8.3b
(sqrt (/ y z))
8.3b
(sqrt (/ y z))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
628×*-un-lft-identity
620×times-frac
560×add-sqr-sqrt
375×sqrt-prod
176×add-cube-cbrt
172×distribute-lft-out
162×difference-of-squares
54×distribute-lft-out--
30×associate-/l*
28×associate-/r/
16×associate-/r* div-inv
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv rem-sqrt-square div-exp add-log-exp
associate-/l/
frac-2neg sqrt-pow1 pow1/2 sqrt-div clear-num
flip3-- flip--
Counts
4 → 435
Calls
4 calls:
31.0ms
(/ (/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z)))) (- (sqrt 1.0) (sqrt (/ y z))))
16.0ms
(/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z))))
3.0ms
(sqrt (/ y z))
3.0ms
(sqrt (/ y z))

series681.0ms

Counts
4 → 12
Calls
4 calls:
422.0ms
(/ (/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z)))) (- (sqrt 1.0) (sqrt (/ y z))))
166.0ms
(/ (+ x y) (+ (sqrt 1.0) (sqrt (/ y z))))
48.0ms
(sqrt (/ y z))
45.0ms
(sqrt (/ y z))

simplify158.0ms

Algorithm
egg-herbie
Counts
447 → 447
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
09128748
139918064
250018036

prune600.0ms

Filtered
447 candidates to 178 candidates (39.8%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New4470447
Fresh033
Picked011
Done033
Total4477454

Merged error: 3.1b

Counts
454 → 7

regimes117.0ms

Accuracy

0% (1.8b remaining)

Error of 7.3b against oracle of 5.5b and baseline of 7.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample363.0ms

Algorithm
intervals
Results
195.0ms7999×body80valid
0.0msbody1280valid