In mathematics, Weyl's lemma, named after Hermann Weyl, states that every weak solution of Laplace's equation is a smooth solution. This contrasts with the wave equation, for example, which has weak solutions that are not smooth solutions. Weyl's lemma is a special case of elliptic or  hypoelliptic regularity. 
  Statement of the lemma
 Let  be an open subset of
 be an open subset of  -dimensional Euclidean space
-dimensional Euclidean space  , and let
, and let  denote the usual Laplace operator. Weyl's lemma[1] states that if a locally integrable function
 denote the usual Laplace operator. Weyl's lemma[1] states that if a locally integrable function  is a weak solution of Laplace's equation, in the sense that
 is a weak solution of Laplace's equation, in the sense that 
  
for every test function (smooth function with compact support)  , then (up to redefinition on a set of measure zero)
, then (up to redefinition on a set of measure zero)  is smooth and satisfies
 is smooth and satisfies  pointwise in
 pointwise in  .
. 
This result implies the interior regularity of harmonic functions in  , but it does not say anything about their regularity on the boundary
, but it does not say anything about their regularity on the boundary  .
. 
 Idea of the proof
 To prove Weyl's lemma, one convolves the function  with an appropriate mollifier
 with an appropriate mollifier  and shows that the mollification
 and shows that the mollification  satisfies Laplace's equation, which implies that
 satisfies Laplace's equation, which implies that  has the mean value property. Taking the limit as
 has the mean value property. Taking the limit as  and using the properties of mollifiers, one finds that
 and using the properties of mollifiers, one finds that  also has the mean value property,[2] which implies that it is a smooth solution of Laplace's equation.[3][4] Alternative proofs use the smoothness of the fundamental solution of the Laplacian or suitable a priori elliptic estimates.
 also has the mean value property,[2] which implies that it is a smooth solution of Laplace's equation.[3][4] Alternative proofs use the smoothness of the fundamental solution of the Laplacian or suitable a priori elliptic estimates. 
 Proof Let  be the standard mollifier.
 be the standard mollifier. 
Fix a compact set  and put
 and put  be the distance between
 be the distance between  and the boundary of
 and the boundary of  .
. 
For each  and
 and  the function
 the function 
  
belongs to test functions  and so we may consider
 and so we may consider 
  
We assert that it is independent of  . To prove it we calculate
. To prove it we calculate  for
 for  .
. 
Recall that 
  
where the standard mollifier kernel  on
 on  was defined at Mollifier#Concrete_example. If we put
 was defined at Mollifier#Concrete_example. If we put 
  
then  .
. 
Clearly  satisfies
 satisfies  for
 for  . Now calculate
. Now calculate 
  
Put  so that
 so that 
  
In terms of  we get
 we get 
  
and if we set 
  
then  with
 with  for
 for  , and
, and  . Consequently
. Consequently 
  
and so  , where
, where  . Observe that
. Observe that  , and
, and 
  
Here  is supported in
 is supported in  , and so by assumption
, and so by assumption 
  . .
Now by considering difference quotients we see that 
  . .
Indeed, for  we have
 we have 
  
in  with respect to
 with respect to  , provided
, provided  and
 and  (since we may differentiate both sides with respect to
 (since we may differentiate both sides with respect to  . But then
. But then  , and so
, and so  for all
 for all  , where
, where  . Now let
. Now let  . Then, by the usual trick when convolving distributions with test functions,
. Then, by the usual trick when convolving distributions with test functions, 
  
and so for  we have
 we have 
  . .
Hence, as  in
 in  as
 as  , we get
, we get 
  . .
Consequently  , and since
, and since  was arbitrary, we are done.
 was arbitrary, we are done. 
   Generalization to distributions
 More generally, the same result holds for every  distributional solution of Laplace's equation: If  satisfies
 satisfies  for every
 for every  , then
, then  is a regular distribution associated with a smooth solution
 is a regular distribution associated with a smooth solution  of Laplace's equation.[5]
 of Laplace's equation.[5] 
 Connection with hypoellipticity
 Weyl's lemma follows from more general results concerning the regularity properties of elliptic or hypoelliptic operators.[6] A linear partial differential operator  with smooth coefficients is hypoelliptic if the  singular support of
 with smooth coefficients is hypoelliptic if the  singular support of  is equal to the singular support of
 is equal to the singular support of  for every distribution
 for every distribution  . The Laplace operator is hypoelliptic, so if
. The Laplace operator is hypoelliptic, so if  , then the singular support of
, then the singular support of  is empty since the singular support of
 is empty since the singular support of  is empty, meaning that
 is empty, meaning that  . In fact, since the Laplacian is elliptic, a stronger result is true, and solutions of
. In fact, since the Laplacian is elliptic, a stronger result is true, and solutions of   are  real-analytic.
 are  real-analytic. 
 Notes
   - ^ Hermann Weyl, The method of orthogonal projections in potential theory, Duke Math. J., 7, 411–444 (1940). See Lemma 2, p. 415 
- ^ The mean value property is known to characterize harmonic functions in the following sense. Let  . Then . Then is harmonic in the usual sense (so is harmonic in the usual sense (so and and if and only if for all balls if and only if for all balls we have we have 
 where is the (n − 1)-dimensional area of the hypersphere is the (n − 1)-dimensional area of the hypersphere .  Using polar coordinates about .  Using polar coordinates about we see that when we see that when is harmonic, then for is harmonic, then for , , 
 
- ^ Bernard Dacorogna, Introduction to the Calculus of Variations, 2nd ed., Imperial College Press (2009), p. 148. 
- ^ Stroock, Daniel W. "Weyl's lemma, one of many" (PDF). 
- ^ Lars Gårding, Some Points of Analysis and their History, AMS (1997), p. 66. 
- ^ Lars Hörmander, The Analysis of Linear Partial Differential Operators I, 2nd ed., Springer-Verlag (1990), p.110 
  References
 - Gilbarg, David; Neil S. Trudinger (1988). Elliptic Partial Differential Equations of Second Order. Springer. ISBN 3-540-41160-7.
- Stein, Elias (2005). Real Analysis: Measure Theory, Integration, and Hilbert Spaces. Princeton University Press. ISBN 0-691-11386-6.