Details

Time bar (total: 2.3s)

analyze229.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
25%74.9%0.1%6
25%74.9%0.1%7
43.7%56.2%0.1%8
62.4%37.4%0.1%9
65.5%34.3%0.1%10
71.8%27.7%0.5%11
79.2%19.7%1.1%12
80.2%18.7%1.1%13
82.8%15%2.2%14

sample18.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
1.0ms17×body80invalid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
08211
18211

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.9b

Counts
2 → 2

localize7.0ms

Local error

Found 2 expressions with local error:

3.0b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
3.3b
(* y (+ 1.0 (* z z)))

rewrite15.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:
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series30.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04985885
14985885

prune119.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New70676
Fresh011
Picked101
Done000
Total71778

Merged error: 3.6b

Counts
78 → 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.0b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
14.8b
(sqrt (+ 1.0 (* z z)))
14.8b
(sqrt (+ 1.0 (* z z)))

rewrite35.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:
12.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
13.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.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)))

simplify56.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049911716
149911716

prune192.0ms

Filtered
94 candidates to 129 candidates (-37.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh156
Picked011
Done000
Total1297136

Merged error: 3.6b

Counts
136 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1.0 (* (+ 1.0 (* z z)) x))
2.6b
(* (+ 1.0 (* z z)) x)
3.1b
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
49×add-exp-log
31×add-cbrt-cube
25×add-sqr-sqrt
18×prod-exp
17×*-un-lft-identity times-frac
16×add-cube-cbrt div-exp associate-*l*
12×associate-*r*
10×cbrt-unprod
cbrt-undiv
pow1 associate-*l/
associate-/r/ unswap-sqr
rec-exp flip3-+ 1-exp flip-+ div-inv associate-/l* add-log-exp
pow-prod-down *-commutative
frac-times frac-2neg associate-*r/ clear-num associate-/r*
Counts
3 → 98
Calls
3 calls:
5.0ms
(/ 1.0 (* (+ 1.0 (* z z)) x))
5.0ms
(* (+ 1.0 (* z z)) x)
12.0ms
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))

series28.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(/ 1.0 (* (+ 1.0 (* z z)) x))
6.0ms
(* (+ 1.0 (* z z)) x)
16.0ms
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049531233
149531233

prune131.0ms

Filtered
70 candidates to 107 candidates (-52.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1034107
Fresh145
Picked101
Done011
Total1059114

Merged error: 2.0b

Counts
114 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

2.6b
(* (+ 1.0 (* z z)) x)
3.3b
(/ (/ 1.0 y) (* (+ 1.0 (* z z)) x))

rewrite15.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-*l/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
frac-2neg pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 68
Calls
2 calls:
5.0ms
(* (+ 1.0 (* z z)) x)
8.0ms
(/ (/ 1.0 y) (* (+ 1.0 (* z z)) x))

series22.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04975897
14975897

prune75.0ms

Filtered
53 candidates to 74 candidates (-39.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh077
Picked011
Done011
Total74983

Merged error: 2.0b

Counts
83 → 9

regimes577.0ms

Accuracy

93.3% (0.3b remaining)

Error of 2.4b against oracle of 2.1b and baseline of 6.4b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07077
17077

end0.0ms

sample465.0ms

Algorithm
intervals
Results
280.0ms8000×body80valid
19.0ms480×body80invalid

Profiling

Loading profile data...