Download data/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedExecutionWork.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedExecutionWork.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedExecutionWork.lean
-
curl -L -o ComputedExecutionWork.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/EditApproximation/Refinement/ComputedExecutionWork.lean
3.88 kB
| import OAI.Combinatorics.EditApproximation.Refinement.ComputedExecutionLaw | |
| import OAI.Combinatorics.EditApproximation.Refinement.ComputedRetainedValues | |
| import OAI.Combinatorics.EditApproximation.Probability.FiniteProductWork | |
| import OAI.Combinatorics.EditApproximation.Definitions | |
| namespace OAI | |
| namespace EditApproximation | |
| open MeasureTheory Filter | |
| theorem computedFamilyRejectionWork_integrable (source target : List β) (N : β) | |
| (seed : ComputedFamilySeed source target N) : | |
| Integrable (fun execution : ComputedRejectionRuntime source target N => | |
| computedFamilyRejectionWork source target N (seed, execution)) | |
| (rejectionRuntimeArrayLaw (physicalFamilyRange (M := (integerParameters N).M) | |
| (J := intervalTreeDepth (integerParameters N).M source.length) (R := inputHeight N ^ 2) | |
| target N (integerParameters N).P (inputSmallLog N) (40 * smallLogExponent N) | |
| (inputHeight N) (inputSmallLog N ^ 80) (computedSeedPassCount N) (inputHeight N ^ 2))) := | |
| physicalFamilyMemoBits_integrable source target N (integerParameters N).P | |
| (integerParameters N).T (integerParameters N).S (inputHeight N) (Nat.two_pow_pos _) | |
| (16384 * inputHeight N + 5) (computedFamilyMemoCode source target N (inputHeight N ^ 2)) | |
| (finalTargetState target.length) seed | |
| theorem computedExecutionRejectionWork_expected_near_linear (epsilon : β) (hepsilon : 0 < epsilon) : | |
| βαΆ N in atTop, β source target : List β, source.length + target.length β€ N β | |
| integral (computedExecutionLaw source target N) (computedExecutionRejectionWork source target N) β€ | |
| (N + 2 : β) ^ (1 + epsilon) := by | |
| filter_upwards [computedFamilyRejectionWork_expected_near_linear epsilon hepsilon] with N hN | |
| intro source target hsize | |
| let incoming := physicalCoarseSeedLaw (M := (integerParameters N).M) | |
| (J := intervalTreeDepth (integerParameters N).M source.length) source target N | |
| (integerParameters N).B (computedPhysicalCoarseDepth source target N) | |
| have hmap := integral_map (ΞΌ := computedExecutionLaw source target N) | |
| (computedExecutionProjection_measurable source target N).aemeasurable | |
| (measurable_of_countable (computedFamilyRejectionWork source target N)).aestronglyMeasurable | |
| rw [computedExecutionProjection_law] at hmap | |
| change (β« execution, computedFamilyRejectionWork source target N | |
| (computedExecutionProjection source target N execution) βcomputedExecutionLaw source target N) β€ _ | |
| rw [β hmap] | |
| apply finite_outer_expected_le incoming _ (computedFamilyRejectionWork source target N) | |
| (computedFamilyRejectionWork_integrable source target N) _ | |
| intro seed | |
| exact hN source target hsize seed | |
| theorem computedExecution_requests_near_linear (epsilon : β) (hepsilon : 0 < epsilon) : | |
| βαΆ N in atTop, β source target : List β, source.length + target.length β€ N β | |
| β execution : ComputedExecutionOutcome source target N, | |
| ((computedFamilyResult source target N (computedExecutionAccepted source target N execution)).requests : β) β€ | |
| (N + 2 : β) ^ (1 + epsilon) := by | |
| filter_upwards [computedFamilyResult_requests_near_linear epsilon hepsilon] with N hN | |
| intro source target hsize execution | |
| exact hN source target hsize _ | |
| theorem computedExecution_retained_storage (source target : List β) (N : β) | |
| (hN : 0 < N) (hell : 2 ^ 1000 β€ inputSmallLog N) (hsize : source.length + target.length β€ N) | |
| (hB : Nat.size (localOnlineMassBound (integerParameters N).M (integerParameters N).P | |
| (inputHeight N)) β€ inputHeight N) (execution : ComputedExecutionOutcome source target N) : | |
| (computedFamilyResult source target N (computedExecutionAccepted source target N execution)).memory.rationalStorage β€ | |
| (N + 2) ^ 65556 := | |
| computedFamilyResult_retained_storage source target N hN hell hsize hB _ | |
| end EditApproximation | |
| end OAI | |