A pregnant Cornell University doctoral student says a professor’s alleged sexist harassment derailed her academic future and ultimately forced her out of the Ivy League school, according to a federal lawsuit.
Mingjun Sun, 25, joined Cornell in 2023 after graduating with first-class honors from London’s Imperial College. In a complaint filed recently, she accuses Professor Daniel Halpern-Leistner of making degrading comments about women, pursuing unwanted personal contact and undermining her academic progress after she rejected his advances.
The 62-page complaint, filed November 19 in the Northern District of New York, describes an alleged three-year pattern of harassment. It culminated, Sun claims, in an examination that lasted eight and a half hours under freezing conditions.
Sun alleges Cornell officials repeatedly failed to act after she reported the professor’s conduct.
Cornell and Professor Halpern-Leistner “strongly dispute” the allegations. In a statement to the Daily Mail , they said the claims “remain baseless and unfounded.”
“Prof. Halpern-Leistner takes his role as a student advisor very seriously and has a strong track record of engaged mentorship for some of our brightest mathematicians,” the statement said.
According to the complaint, Sun planned to finish her mathematics PhD by 2029 before pursuing a career in quantitative finance. She had already earned an integrated bachelor’s and master’s degree from Imperial College London.
She says the relationship changed after Halpern-Leistner volunteered to serve as her academic adviser and their interactions became increasingly uncomfortable.
Professor Daniel Halpern-Leistner is accused of sexually discriminatory conduct, harassment and retaliation against a former Cornell doctoral student
Cornell University in Ithaca, New York, is facing a lawsuit from a former PhD student who says the Ivy League school failed to protect her from alleged harassment
The professor allegedly invited Sun to repeated one-on-one lunches, sat unusually close to her and began frequently appearing in the mathematics library after learning where she studied, the complaint says.
The filing also recounts alleged sexist comments. During one conversation, Halpern-Leistner reportedly questioned whether Sun could pursue graduate studies while raising a family.
When Sun said she wanted children, he allegedly replied: “I don’t think you can do it.”
At a department dinner in December 2023, he also allegedly made disparaging comments about his wife’s appearance after she had children, according to the lawsuit.
By October 2025, Sun says she had reached a breaking point. She told Halpern-Leistner she would no longer join him for lunch or take part in activities unrelated to her academic work.
The complaint alleges that their relationship deteriorated soon afterward.
On November 17, 2025, Sun took the A Exam, a major assessment used to determine whether a doctoral student may advance toward dissertation research.
She alleges that Halpern-Leistner interrupted her presentation and questioned her on topics unrelated to the examination. The professor later acknowledged that he had mishandled the assessment, according to the complaint.
Halpern-Leistner, shown teaching mathematics, is accused of undermining a student’s academic progress after she rejected his alleged unwanted attention
Cornell’s campus, where the former student says two years of alleged harassment ended with her removal from the doctoral program while pregnant
“I’ve decided that we should give you a conditional pass on your A exam,” he wrote in an email included in the lawsuit.
He then imposed further examination requirements that Sun says were not required of other mathematics doctoral students.
The follow-up exam, held November 20, was expected to last between three and three and a half hours.
Instead, Sun alleges, the examination continued for eight and a half hours, beginning in a freezing room in Malott Hall.
The complaint says the professor took her coat, phone, wallet and student identification, leaving her without her personal belongings.
When she objected to the conditions, he allegedly told her: “I don’t like this attitude.”
Sun says she was eventually permitted to leave at 8:30 p.m. after additional questioning in his office and was told she had passed. The professor later reversed that decision, according to the filing.
Sun learned she was pregnant in January 2026 and notified university officials about medical complications related to the pregnancy, the complaint says.
During a March 9 meeting, Halpern-Leistner allegedly questioned whether she could remain in the PhD program.
Sun says she assured him she could complete her studies. He allegedly responded: “Okay, you can try, but I don’t think you can manage everything.”
On March 14, she reported alleged pregnancy discrimination and retaliation to Cornell’s Title IX office.
Rather than investigating her allegations, Cornell referred her to another university department, according to the complaint.
Meanwhile, Sun says Halpern-Leistner withdrew his earlier decision on the examination.
In an email dated February 6 and cited in the complaint, he allegedly wrote: “I reviewed again the written exam that you took before the break, and it still suggests that your command of the foundational material at this time is not strong enough for you to successfully complete your research.”
Sun was later ordered to complete another written assignment, which she submitted on April 28, a day before the deadline.
The professor then instructed the mathematics department to remove her from the doctoral program, the lawsuit alleges.
Cornell notified Sun of her removal on May 20 and cancelled her fellowship and teaching assistant funding.
Attorney Michelle A. Caiola is representing Sun in her lawsuit against Cornell and the professor
Students walk across Cornell University’s campus as the school strongly denies the allegations in the former student’s federal lawsuit
The complaint alleges that Halpern-Leistner effectively made the decision alone, rather than in consultation with Sun’s academic committee.
It also cites an email from committee member Professor Rachel Webb, who questioned whether the errors in Sun’s work warranted failing her examination.
“I don’t see it as a signal for failing the A-exam,” Webb allegedly wrote.
Sun says the decision left her without university funding, health insurance or housing while she was pregnant.
The lawsuit further alleges that Cornell’s Office of Civil Rights conducted an initial review and informed Halpern-Leistner and the department director on August 14 that it had “determined no prohibited discrimination, harassment, or retaliation occurred.”
Sun accuses Cornell of failing to conduct a proper investigation into her complaints.
She has filed 11 causes of action against Cornell and Halpern-Leistner, including claims of sex and pregnancy discrimination, retaliation, failure to accommodate pregnancy-related conditions and false imprisonment.
Sun is seeking compensatory and punitive damages, lost wages and benefits, as well as legal costs. She has also requested a jury trial.
Halpern-Leistner did not respond to the Daily Mail’s separate request for comment.