Dear Donal
Welcome to Ireland Reaching Out!
Have you looked on www.rootsireland.ie (a subscription site). There are some Lyhane baptism records there but none for a child with a Gilmore mother. You should also check www.irishgenealogy.ie as the rootsireland site does not have all of the transcriptions of the Cork records.
The best place to start would be to find Cornelius? marriage record on either of these sites. There are 8 matches for marriages between a Cornelius Lyhane and a wife first name Mary on rootsireland. As this is a subscription site, I am limited in what I can see. As there are so few I think it would be a good idea to have a look, if only to rule them out. There are also four baptisms for a John, son of a father name Cornelius ?Lehane? and mother first name Mary.
There are 19 Cornelius Lehane entries on Griffith's Valuation (1847-1864):
http://www.askaboutireland.ie/griffith-valuation/index.xml?action=doNam…;
Remember to post any new information that you find here. The more information you post, the more likely it is that one of our volunteers will be able to advise or assist you. Also include information concerning which sources you may have already used so others may further your search.
Best of luck with your search
Clare Doyle
Genealogy Support