-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ce308b
commit 2a0af3b
Showing
11 changed files
with
49 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
Require Import Reals Coquelicot.Coquelicot. | ||
Require Import Reals Ensembles Coquelicot.Coquelicot. | ||
Open Scope R. | ||
Definition putnam_1986_a1_solution := 18. | ||
Theorem putnam_1986_a1 | ||
(f : R -> R := fun x => pow x 3) | ||
(on_S : R -> Prop := fun x => pow x 4 - 13 * pow x 2 + 36 <= 0) | ||
: exists (m: R), | ||
(forall (x: R), on_S x -> m >= f x) /\ | ||
(exists (x: R), on_S x -> m = f x) | ||
<-> m = putnam_1986_a1_solution. | ||
(f : R -> R := fun x => pow x 3 - 3 * x) | ||
(T : Ensemble R := fun x => pow x 4 + 36 <= 13 * pow x 2) | ||
: (forall x : R, In R T x -> putnam_1986_a1_solution >= f x) /\ | ||
(exists x : R, In R T x /\ putnam_1986_a1_solution = f x). | ||
Proof. Admitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Require Import Nat. | ||
Definition putnam_1986_a2_solution := 3. | ||
Theorem putnam_1986_a2 | ||
: 10 ^ (20000) / (10 ^ (100) + 3) mod 10 = putnam_1986_a2_solution. | ||
: (10 ^ (20000) / (10 ^ (100) + 3)) mod 10 = putnam_1986_a2_solution. | ||
Proof. Admitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
Require Import Reals Factorial Coquelicot.Coquelicot. | ||
Definition putnam_1986_a6_solution (m: nat -> R) (n: nat) := | ||
let fix prod_n (m: nat -> R) (n : nat) : R := | ||
Definition putnam_1986_a6_solution (b: nat -> nat) (n: nat) := | ||
let fix prod_n (b : nat -> nat) (n : nat) : nat := | ||
match n with | ||
| O => m 0%nat | ||
| S n' => m n' * prod_n m n' | ||
| O => 1%nat | ||
| S n' => Nat.mul (b n') (prod_n b n') | ||
end in | ||
prod_n m n / INR (fact n). | ||
INR (prod_n b n) / INR (fact n). | ||
Theorem putnam_1986_a6 | ||
(n: nat) | ||
(a m: nat -> R) | ||
(ham : forall i j: nat, Nat.lt i j -> 0 < m i < m j) | ||
(p : R -> R := fun x => sum_n (fun n => a n * Rpower x (m n)) n) | ||
: exists (q: R -> R), forall (x: R), | ||
p x = (1 - x) ^ n * (q x) -> | ||
q 1 = putnam_1986_a6_solution m n. | ||
(n : nat) | ||
(npos : gt n 0) | ||
(a : nat -> R) | ||
(b : nat -> nat) | ||
(bpos : forall i : nat, lt i n -> gt (b i) 0) | ||
(binj : forall i j : nat, lt i n /\ lt j n -> (b i = b j -> i = j)) | ||
(f : R -> R) | ||
(fpoly : exists c : nat -> R, exists deg : nat, f = fun x => sum_n (fun n => c n * x ^ n) deg) | ||
(hf : forall x : R, (1 - x) ^ n * f x = 1 + sum_n (fun i => (a i) * x ^ (b i)) (n - 1)) | ||
: f 1 = putnam_1986_a6_solution b n. | ||
Proof. Admitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Require Import Reals Coquelicot.Coquelicot. | ||
Require Import Reals Ranalysis Coquelicot.Coquelicot. | ||
Definition putnam_1986_b4_solution := True. | ||
Theorem putnam_1986_b4 | ||
(G : R -> R) | ||
(hGeq : forall (r: R), exists (m n: Z), G r = Rabs (r - sqrt (IZR (m ^ 2 + 2 * n ^ 2)))) | ||
(hGlb : forall (r: R), forall (m n: Z), G r <= Rabs (r - sqrt (IZR (m ^ 2 + 2 * n ^ 2)))) | ||
: Lim_seq (fun n => G (INR n)) = 0 <-> putnam_1986_b4_solution. | ||
: filterlim G (Rbar_locally p_infty) (locally 0) <-> putnam_1986_b4_solution. | ||
Proof. Admitted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters