-
Notifications
You must be signed in to change notification settings - Fork 12
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 #209 from ocfnash/main
Fix a few minor Lean misformalisations
- Loading branch information
Showing
10 changed files
with
79 additions
and
70 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
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
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,16 +1,15 @@ | ||
import Mathlib | ||
open BigOperators | ||
|
||
open Filter Topology | ||
open Filter FiniteDimensional Metric Topology | ||
|
||
abbrev putnam_1991_a4_solution : Prop := sorry | ||
-- True | ||
theorem putnam_1991_a4 | ||
(climit : (ℕ → (EuclideanSpace ℝ (Fin 2))) → Prop) | ||
(rareas : (ℕ → ℝ) → Prop) | ||
(crline : (ℕ → (EuclideanSpace ℝ (Fin 2))) → (ℕ → ℝ) → Prop) | ||
(hclimit : ∀ c : ℕ → (EuclideanSpace ℝ (Fin 2)), climit c = ¬∃ (p : EuclideanSpace ℝ (Fin 2)), ∀ ε : ℝ, ε > 0 → ∃ i : ℕ, c i ∈ Metric.ball p ε) | ||
(hrareas : ∀ r : ℕ → ℝ, rareas r = ∃ A : ℝ, Tendsto (fun n : ℕ => ∑ i : Fin n, Real.pi * (r i) ^ 2) atTop (𝓝 A)) | ||
(hcrline : ∀ (c : ℕ → (EuclideanSpace ℝ (Fin 2))) (r : ℕ → ℝ), crline c r = (∀ v w : EuclideanSpace ℝ (Fin 2), w ≠ 0 → ∃ i : ℕ, {p : EuclideanSpace ℝ (Fin 2) | ∃ t : ℝ, p = v + t • w} ∩ Metric.closedBall (c i) (r i) ≠ ∅)) | ||
: (∃ (c : ℕ → (EuclideanSpace ℝ (Fin 2))) (r : ℕ → ℝ), (∀ i : ℕ, r i ≥ 0) ∧ climit c ∧ rareas r ∧ crline c r) ↔ putnam_1991_a4_solution := | ||
sorry | ||
theorem putnam_1991_a4 : | ||
(∃ (c : ℕ → EuclideanSpace ℝ (Fin 2)) (r : ℕ → ℝ), | ||
(¬ ∃ p, MapClusterPt p atTop c) ∧ | ||
(Summable <| fun i ↦ r i ^ 2) ∧ | ||
(∀ L : AffineSubspace ℝ (EuclideanSpace ℝ (Fin 2)), | ||
finrank L.direction = 1 → ∃ i, (↑L ∩ closedBall (c i) (r i)).Nonempty)) ↔ | ||
putnam_1991_a4_solution := | ||
sorry |
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,14 +1,13 @@ | ||
import Mathlib | ||
open BigOperators | ||
|
||
open Function | ||
|
||
theorem putnam_2018_b5 | ||
(f : ℝ → ℝ → (Fin 2 → ℝ)) | ||
(fpart1 : Fin 2 → ℝ → (ℝ → ℝ)) | ||
(fpart2 : Fin 2 → ℝ → (ℝ → ℝ)) | ||
(hfpart1 : fpart1 = (fun (i : Fin 2) (x2 : ℝ) => (fun x1 : ℝ => (f x1 x2) i))) | ||
(hfpart2 : fpart2 = (fun (i : Fin 2) (x1 : ℝ) => (fun x2 : ℝ => (f x1 x2) i))) | ||
(hfdiff : ∀ (i : Fin 2) (x : ℝ), ContDiff ℝ 1 (fpart1 i x) ∧ ContDiff ℝ 1 (fpart2 i x)) | ||
(hfpos : ∀ (i : Fin 2) (x : ℝ), deriv (fpart1 i x) > 0 ∧ deriv (fpart2 i x) > 0) | ||
(hfexprgt0 : ∀ x1 x2 : ℝ, (deriv (fpart1 0 x2) x1) * (deriv (fpart2 1 x1) x2) - (1 / 4) * ((deriv (fpart2 0 x1) x2) + (deriv (fpart1 1 x2) x1)) ^ 2 > 0) | ||
: Function.Injective f := | ||
sorry | ||
(f : (Fin 2 → ℝ) → (Fin 2 → ℝ)) | ||
(h₁ : ContDiff ℝ 1 f) | ||
(h₂ : ∀ x i j, 0 < fderiv ℝ f x i j) | ||
(h₃ : ∀ x, 0 < fderiv ℝ f x 0 0 * fderiv ℝ f x 1 1 - | ||
(1 / 4) * (fderiv ℝ f x 0 1 + fderiv ℝ f x 1 0) ^ 2) : | ||
Injective f := | ||
sorry |