openAI-math-dataset / lean /OAI /Combinatorics /EditApproximation /Refinement /ComputedFamilySampling.lean
Download lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedFamilySampling.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedFamilySampling.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedFamilySampling.lean
-
curl -L -o ComputedFamilySampling.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedFamilySampling.lean
1.06 kB
| import OAI.Combinatorics.EditApproximation.Refinement.ComputedFamilyMemoCode | |
| import OAI.Combinatorics.EditApproximation.Refinement.PhysicalFamilySampling | |
| namespace OAI | |
| namespace EditApproximation | |
| theorem computedFamilyRange_bits_le (source target : List ℕ) (N R : ℕ) | |
| (hB : Nat.size (localOnlineMassBound (integerParameters N).M (integerParameters N).P | |
| (inputHeight N)) ≤ inputHeight N) | |
| (key : ComputedFamilyScalarKey source target N R) : | |
| rejectionBitCount (physicalFamilyRange target N (integerParameters N).P (inputSmallLog N) | |
| (40 * smallLogExponent N) (inputHeight N) (inputSmallLog N ^ 80) | |
| (computedSeedPassCount N) (inputHeight N ^ 2) key) ≤ inputHeight N := by | |
| apply physicalFamilyRange_bits_le | |
| · change 2 ^ (heightExponent N / 20) ≤ 2 ^ inputHeight N | |
| apply Nat.pow_le_pow_right (by decide : 0 < (2 : ℕ)) | |
| exact (Nat.div_le_self _ _).trans (Nat.lt_two_pow_self.le) | |
| · exact (Nat.lt_size_self _).le.trans (Nat.pow_le_pow_right (by decide : 0 < (2 : ℕ)) hB) | |
| end EditApproximation | |
| end OAI | |