Details

Time bar (total: 2.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms280×body80valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.2b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.4b
(* y (+ 1.0 (* z z)))
4.3b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 70
Calls
2 calls:
5.0ms
(* y (+ 1.0 (* z z)))
7.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

series27.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(* y (+ 1.0 (* z z)))
18.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

simplify50.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune113.0ms

Filtered
56 candidates to 76 candidates (-35.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New70676
Fresh000
Picked101
Done000
Total71677

Merged error: 4.3b

Counts
77 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.3b
(/ (/ 1.0 y) x)
4.8b
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
228×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 frac-2neg clear-num associate-/r/ associate-/l/ add-log-exp
flip3-+ flip-+
Counts
2 → 264
Calls
2 calls:
5.0ms
(/ (/ 1.0 y) x)
13.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series24.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ (/ 1.0 y) x)
21.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

simplify105.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
011322994
145722919
250012919

prune427.0ms

Filtered
233 candidates to 270 candidates (-15.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2682270
Fresh325
Picked011
Done000
Total2715276

Merged error: 4.3b

Counts
276 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.5b
(/ (/ 1.0 1) (* (+ 1.0 (* z z)) (* x y)))
4.8b
(* (+ 1.0 (* z z)) (* x y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
31×times-frac
28×add-cbrt-cube
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×div-exp
13×associate-/l*
12×prod-exp
cbrt-undiv cbrt-unprod
pow1
associate-*l/
1-exp associate-*l* pow-prod-down div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
frac-2neg associate-*r* clear-num associate-/r* *-commutative associate-/l/
Counts
2 → 75
Calls
2 calls:
9.0ms
(/ (/ 1.0 1) (* (+ 1.0 (* z z)) (* x y)))
6.0ms
(* (+ 1.0 (* z z)) (* x y))

series22.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0501637
12479515
25002491

prune74.0ms

Filtered
45 candidates to 81 candidates (-80.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done011
Total81586

Merged error: 4.3b

Counts
86 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
4.3b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
13.4b
(sqrt (+ 1.0 (* z z)))
13.4b
(sqrt (+ 1.0 (* z z)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
30×add-exp-log add-cbrt-cube
28×sqrt-div
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×flip3-+ flip-+
13×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp sqrt-prod cbrt-unprod
frac-times associate-/r/
associate-*r*
associate-*l/ add-log-exp
pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 117
Calls
4 calls:
11.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
12.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
17.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
4.0ms
(sqrt (+ 1.0 (* z z)))

simplify66.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06101242
128861023
250021005

prune170.0ms

Filtered
93 candidates to 129 candidates (-38.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1290129
Fresh022
Picked011
Done022
Total1295134

Merged error: 4.3b

Counts
134 → 5

regimes418.0ms

Accuracy

0% (1.7b remaining)

Error of 6.5b against oracle of 4.8b and baseline of 6.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample720.0ms

Algorithm
intervals
Results
393.0ms8620×body80valid

Profiling

Loading profile data...