Văn bản này: Type ia supernovae rates and galaxy clustering from the CFHT supernova legacy survey