Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2020-10-13 02:01 7dcaee1c

View on Github →

feat(archive/imo): formalize IMO 1962 problem 4 (#4518) The problem statement: Solve the equation cos x ^ 2 + cos (2 * x) ^ 2 + cos (3 * x) ^ 2 = 1. There are a bunch of trig formulas I proved along the way; there are sort of an infinite number of trig formulas so I'm open to feedback on whether some should go in the core libraries. Also possibly some of them have a shorter proof that would render the lemma unnecessary. For what it's worth, the actual method of solution is not how a human would do it; a more intuitive human method is to simplify in terms of cos x and then solve, but I think this is simpler in Lean because it doesn't rely on solving cos x = y for several different y.

Estimated changes

added theorem alt_equiv
added def alt_formula
added theorem cos_sum_equiv
added theorem finding_zeros
added theorem imo1962_q4
added def problem_equation
added def solution_set
added theorem solve_cos2_half
added theorem solve_cos3x_0
added theorem complex.cos_square'
added theorem complex.cos_three_mul
added theorem complex.cosh_square
added theorem complex.cosh_three_mul
added theorem complex.cosh_two_mul
added theorem complex.sin_three_mul
added theorem complex.sinh_square
added theorem complex.sinh_three_mul
added theorem complex.sinh_two_mul
added theorem real.cos_square'
added theorem real.cos_three_mul
added theorem real.cos_two_mul'
added theorem real.cosh_add_sinh
added theorem real.cosh_square
added theorem real.cosh_three_mul
added theorem real.cosh_two_mul
added theorem real.sin_three_mul
added theorem real.sinh_add_cosh
added theorem real.sinh_square
added theorem real.sinh_three_mul
added theorem real.sinh_two_mul