Skip to content

Commit

Permalink
Move examples
Browse files Browse the repository at this point in the history
Make sure the examples are built by including them in the `PFR` folder
  • Loading branch information
YaelDillies committed Nov 23, 2024
1 parent a8a42c9 commit 903a223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions PFR.lean
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import PFR.ApproxHomPFR
import PFR.BoundingMutual
import PFR.Endgame
import PFR.EntropyPFR
import PFR.Examples
import PFR.Fibring
import PFR.FirstEstimate
import PFR.ForMathlib.AffineSpaceDim
Expand Down
8 changes: 3 additions & 5 deletions examples.lean → PFR/Examples.lean
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ example {A : Set G} {K : ℝ} (h₀A : A.Nonempty) (hA : Nat.card (A + A) ≤ K
/-- The even more improved version -/
example {A : Set G} {K : ℝ} (h₀A : A.Nonempty) (hA : Nat.card (A + A) ≤ K * Nat.card A) :
∃ (H : Submodule (ZMod 2) G) (c : Set G),
Nat.card c < 2 * K ^ 9 ∧ Nat.card H ≤ Nat.card A ∧ A ⊆ c + H := by
convert better_PFR_conjecture h₀A hA
norm_cast
Nat.card c < 2 * K ^ 9 ∧ Nat.card H ≤ Nat.card A ∧ A ⊆ c + H :=
better_PFR_conjecture h₀A hA

#print axioms better_PFR_conjecture

Expand Down Expand Up @@ -200,13 +199,12 @@ example {a : ℝ≥0∞} (ha : a < ∞) : a + 3 < ∞ := by finiteness

example (a : ℝ) : (ENNReal.ofReal (1 + a ^ 2))⁻¹ < ∞ := by finiteness

example (f : α → ℕ) : ∀ i, (f i : ℝ≥0∞) ≠ ∞ := by finiteness
example {α : Type*} (f : α → ℕ) : ∀ i, (f i : ℝ≥0∞) ≠ ∞ := by finiteness

open MeasureTheory

example {Ω Ω' : Type*} [MeasurableSpace Ω] (ν : Measure Ω) [IsFiniteMeasure ν] [MeasurableSpace Ω']
(ν' : Measure Ω') [IsFiniteMeasure ν'] (E : Set (Ω × Ω')) :
(ν.prod ν') E < ∞ := by finiteness


end Finiteness

0 comments on commit 903a223

Please sign in to comment.