-
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.
Merge pull request #241 from trishullab/george
Clean some formalizations + fix informal statement
- Loading branch information
Showing
5 changed files
with
25 additions
and
18 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
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,10 +1,19 @@ | ||
Require Import List Reals Coquelicot.Coquelicot. | ||
From mathcomp Require Import all_algebra all_ssreflect. | ||
From mathcomp Require Import reals. | ||
|
||
Set Implicit Arguments. | ||
Unset Strict Implicit. | ||
Unset Printing Implicit Defensive. | ||
|
||
Open Scope ring_scope. | ||
|
||
Variable R : realType. | ||
Theorem putnam_2006_b2 | ||
(n : nat) | ||
(npos : gt n 0) | ||
(X : list R) | ||
(hXcard : length X = n) | ||
: exists (presS: R -> Prop) (m: Z) (S: list R), | ||
(neq (length S) 0) /\ NoDup S /\ (forall (x: R), In x S <-> (In x X /\ presS x)) /\ | ||
(Rabs (IZR m + (fold_left Rplus S 0)) <= 1 / INR (n + 1)). | ||
Proof. Admitted. | ||
(hn : gt n 0) | ||
(X : seq R) | ||
(hX : uniq X /\ size X = n) | ||
: exists S : seq R, subseq S X /\ | ||
size S <> 0%nat /\ | ||
(exists m : int, `|m%:~R + \sum_(s <- S) s| <= 1 / (n%:R + 1)). | ||
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