OAI/Combinatorics/EditApproximation/Coarse/CoarseReadLeafWork.lean
5 declarations, 0 contain sorry, 0 declared as axioms
- theorem
OAI.EditApproximation.coarseLetterMatchWithWork_valueline 13Source documentation
Compare one tagged source letter with a framed target lookup.
theorem coarseLetterMatchWithWork_value (actual : Option (Option ℕ)) (wanted : Option ℕ) : (coarseLetterMatchWithWork actual wanted).1 = true ↔ actual = some wanted := by … - theorem
OAI.EditApproximation.coarseLetterMatchWithWork_costline 22 - theorem
OAI.EditApproximation.coarseFramedRead_symbol_memline 36 - theorem
OAI.EditApproximation.BinaryFraction.coarseReadShiftWithWork_valueline 48Source documentation
The leaf lookup explicitly adds the shift, reads the indexed frame and compares the stored symbol bits.
theorem coarseReadShiftWithWork_value (k n : ℕ) (target : List ℕ) (letter : Option (Option ℕ)) (start : ℕ) (shift : Fin (2 * k + 1)) : (coarseReadShiftWithWork k n target letter start shift).1 = coarseReadShiftCost k n target letter start shift := by …Mentions: OAI.EditApproximation.BinaryFraction.coarseReadShiftWithWork, OAI.EditApproximation.BinaryFraction.coarseReadShiftCost
- theorem
OAI.EditApproximation.BinaryFraction.coarseReadShiftWithWork_costline 59