Get your taxes done using TurboTax

If the child visits him 4 days of the week, then  she only lives with you 3.  He has the child more that 6 months of the year and is considered the custodial parent by IRS guidelines.  He has the right to claim his child, not your parents.