Download data/lean/OAI/Combinatorics/EditApproximation/Specification/RawBandMain.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/EditApproximation/Specification/RawBandMain.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/EditApproximation/Specification/RawBandMain.lean
-
curl -L -o RawBandMain.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/EditApproximation/Specification/RawBandMain.lean
2 kB
| import OAI.Combinatorics.EditApproximation.Specification.RawBandPipelineFootprintBridges | |
| import OAI.Combinatorics.EditApproximation.Definitions | |
| namespace OAI.EditApproximation | |
| open Filter MeasureTheory | |
| attribute [local instance] queryRoundsNeZero | |
| theorem almostLinearEditDistanceRawBand (epsilon : BinaryFraction) | |
| (hepsilon : 0 < epsilon.value) (_hepsilonOne : epsilon.value < 1) | |
| : | |
| (β (source target : List β€) (N : β), source.length + target.length β€ N β | |
| (2 / 3 : β) β€ (computedFullLaw (source.map integerSymbolCode) (target.map integerSymbolCode) N epsilon).real | |
| {outcome | EditDistortion.edit source target β€ integerBinaryAnswerRawBand source target N epsilon outcome β§ | |
| (integerBinaryAnswerRawBand source target N epsilon outcome : β) β€ | |
| (1 + (epsilon.value : β)) * EditDistortion.edit source target}) β§ | |
| (β (source target : List β€) (N : β), source = target β β outcome, | |
| integerBinaryAnswerRawBand source target N epsilon outcome = 0) β§ | |
| (β (C : β) (eta : β), 0 < eta β βαΆ N : β in atTop, | |
| β source target : List β€, source.length + target.length β€ N β | |
| (β z β source ++ target, z.natAbs β€ (N + 2) ^ C) β | |
| (β« outcome, integerBinaryWorkRawBand source target N epsilon outcome | |
| βcomputedFullLaw (source.map integerSymbolCode) (target.map integerSymbolCode) N epsilon) β€ | |
| (N + 2 : β) ^ (1 + eta)) β§ | |
| (β C : β, βαΆ N : β in atTop, β source target : List β€, | |
| source.length + target.length β€ N β | |
| (β z β source ++ target, z.natAbs β€ (N + 2) ^ C) β | |
| β outcome, integerBinarySpaceFootprintRawBand source target N epsilon outcome β€ (N + 2) ^ (C + 65564)) := by | |
| simpa only [integerBinaryAnswerRawBand_eq, integerBinaryWorkRawBand_eq, | |
| integerBinarySpaceFootprintRawBand_eq] using | |
| almostLinearEditDistance_main epsilon hepsilon _hepsilonOne | |
| end OAI.EditApproximation | |