Download lean/ComparatorChallenges/OstmannComplete.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/ComparatorChallenges/OstmannComplete.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/ComparatorChallenges/OstmannComplete.lean
-
curl -L -o OstmannComplete.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/ComparatorChallenges/OstmannComplete.lean
1.09 kB
| import Mathlib | |
| namespace OAI | |
| open scoped Pointwise symmDiff | |
| namespace Ostmann | |
| def primes : Set ℕ := {n | Nat.Prime n} | |
| abbrev sumset (A B : Set ℕ) : Set ℕ := A + B | |
| def EventuallyPrimeSumset (A B : Set ℕ) : Prop := | |
| ∃ N : ℕ, ∀ n, N ≤ n → (n ∈ sumset A B ↔ n.Prime) | |
| def TwoInfiniteSummandsImpossible : Prop := | |
| ∀ A B : Set ℕ, A.Infinite → B.Infinite → ¬ EventuallyPrimeSumset A B | |
| def InverseGoldbach : Prop := | |
| ∀ A B : Set ℕ, A.Nontrivial → B.Nontrivial → | |
| Set.Infinite (@symmDiff (Set ℕ) | |
| (@SemilatticeSup.toMax (Set ℕ) | |
| (@Lattice.toSemilatticeSup (Set ℕ) | |
| (@CompleteLattice.toLattice (Set ℕ) | |
| (@CompleteBooleanAlgebra.toCompleteLattice (Set ℕ) | |
| (@CompleteAtomicBooleanAlgebra.toCompleteBooleanAlgebra (Set ℕ) | |
| (@Set.instCompleteAtomicBooleanAlgebra ℕ)))))) | |
| Set.instSDiff (sumset A B) primes) | |
| theorem inverseGoldbach : InverseGoldbach := by | |
| sorry | |
| theorem twoInfiniteSummandsImpossible : TwoInfiniteSummandsImpossible := by | |
| sorry | |
| end Ostmann | |
| end OAI | |