Details

Time bar (total: 2.5s)

analyze220.0ms

Algorithm
search

sample18.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
1.0ms18×body80invalid

simplify11.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: 7.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.9b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.5b
(* 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:
7.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series28.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0409511
11963443
25001443

prune126.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh000
Picked101
Done000
Total68977

Merged error: 6.6b

Counts
77 → 9

localize7.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
3.6b
(* (* y (+ 1.0 (* z z))) x)
4.5b
(* y (+ 1.0 (* z z)))

rewrite21.0ms

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

series36.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ 1.0 (* (* y (+ 1.0 (* z z))) x))
11.0ms
(* (* y (+ 1.0 (* z z))) x)
10.0ms
(* y (+ 1.0 (* z z)))

simplify59.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0367480
12077394
25002394

prune130.0ms

Filtered
51 candidates to 76 candidates (-49.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New74276
Fresh268
Picked011
Done000
Total76985

Merged error: 6.6b

Counts
85 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1.0 (* y (+ 1.0 (* z z))))
3.8b
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
4.5b
(* y (+ 1.0 (* z z)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
42×times-frac
27×add-sqr-sqrt
25×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
12×associate-*r/ associate-/l*
10×associate-/r/
cbrt-undiv div-exp
flip3-+ flip-+ div-inv
pow1
associate-/r*
associate-*r* associate-*l* prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
3 → 101
Calls
3 calls:
9.0ms
(/ 1.0 (* y (+ 1.0 (* z z))))
13.0ms
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
9.0ms
(* y (+ 1.0 (* z z)))

series45.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(/ 1.0 (* y (+ 1.0 (* z z))))
16.0ms
(/ (/ 1.0 (* y (+ 1.0 (* z z)))) x)
14.0ms
(* y (+ 1.0 (* z z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0519841
12748759
25001758

prune141.0ms

Filtered
85 candidates to 110 candidates (-29.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1082110
Fresh347
Picked101
Done011
Total1127119

Merged error: 6.6b

Counts
119 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
3.9b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
16.1b
(sqrt (+ 1.0 (* z z)))
16.1b
(sqrt (+ 1.0 (* z z)))

rewrite34.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:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
14.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:
9.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)))

simplify69.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06101242
128861023
250021005

prune174.0ms

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

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh055
Picked011
Done011
Total1297136

Merged error: 6.6b

Counts
136 → 7

regimes455.0ms

Accuracy

0% (1.9b remaining)

Error of 6.9b against oracle of 5.0b and baseline of 6.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

analyze226.0ms

Algorithm
search

sample473.0ms

Algorithm
intervals
Results
288.0ms8000×body80valid
16.0ms459×body80invalid

Profiling

Loading profile data...