let p be natural number ; :: thesis: for n0, m0 being non zero natural number st p is prime holds
p |-count (n0 gcd m0) = min (p |-count n0),(p |-count m0)

let n0, m0 be non zero natural number ; :: thesis: ( p is prime implies p |-count (n0 gcd m0) = min (p |-count n0),(p |-count m0) )
assume A1: p is prime ; :: thesis: p |-count (n0 gcd m0) = min (p |-count n0),(p |-count m0)
then reconsider p' = p as Prime ;
reconsider h' = n0 gcd m0 as non empty natural number by INT_2:5;
h' divides n0 by INT_2:def 3;
then A2: p' |-count h' <= p' |-count n0 by NAT_3:30;
h' divides m0 by INT_2:def 3;
then A3: p' |-count h' <= p' |-count m0 by NAT_3:30;
per cases ( p |-count n0 <= p |-count m0 or not p |-count n0 <= p |-count m0 ) ;
end;