Exact binary run counts and input entropy for two deletions and insertions.
Definition 1.1 (claim).
claim ⟺ ( let deletionPosterior := ( fun { m : N } ( y : ( Fin m ) → ( Bool )) ( x : ( Fin ( m + 2 )) → ( Bool )) ↦ (( embeddings y x : R ) / x ′ : Fin ( m + 2 ) → Bool ∑ (( embeddings y x ′ : R )))) ; ( let insertionPosterior := ( fun { m : N } ( y : ( Fin ( m + 2 )) → ( Bool )) ( x : ( Fin m ) → ( Bool )) ↦ (( embeddings x y : R ) / x ′ : Fin m → Bool ∑ (( embeddings x ′ y : R )))) ; ((( ∀ m : N , (( 1 ≤ m ) → ( ∀ y : Fin m → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ (( y = ( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 )))) ∨ ( y = fun i ↦ ( ! ( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))) i )))))))))) ∧ ((( ∀ m : N , (( 1 ≤ m ) → (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 ) = Real . logb 2 ( 4 ⋅ ( m + 2 ) . choose 2 ) − ( 4 ⋅ ( m : R ) 2 + 3 ⋅ m ⋅ Real . logb 23 + ( m + 1 ) ⋅ Real . logb 2 ( m + 1 )) / ( 4 ⋅ ( m + 2 ) . choose 2 ))))) ∧ ((( ∀ m : N , (( 3 ≤ m ) → ( ∀ y : Fin ( m + 2 ) → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ (( y = ( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 )))) ∨ ( y = fun i ↦ ( ! ( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))) i )))))))))) ∧ ((( ∀ m : N , (( 3 ≤ m ) → (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 ) = Real . logb 2 (( m + 2 ) . choose 2 ) − ( m + 1 ) ⋅ Real . logb 2 ( m + 1 ) / ( m + 2 ) . choose 2 )))) ∧ ((( ∀ y : Fin 2 → Bool , (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 0 ) y ) / Real . log 2 ) = 0 ))) ∧ ((( ∀ y : Fin 3 → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 1 ) y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin 3 ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 1 ) y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin 3 ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ ( ∃ ij : Fin 3 , ( y i = y j ))))))) ∧ (( ∀ y : Fin 4 → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 ) y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 )! [ false , true , true , false ]) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 ) y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 )! [ false , true , true , false ]) / Real . log 2 )) ⟺ (( y = ! [ false , true , true , false ]) ∨ ( y = ! [ true , false , false , true ])))))))))))))))
Formalization. D5/S3/Entropy/SinghviMaxInputEntropy.claim (✓ std3).
Source. Repository-derived.
Acknowledgement. S. Singhvi; O. Sabary; D. Bar-Lev; E. Yaakobi (2025). Conditional Entropies of k-Deletion/Insertion Channels . DOI: 10.1109/TIT.2025.3581849 . URL: https://arxiv.org/abs/2407.10026v2 .
Commentary.
Section VII-A, PDF p. 16: “Maximal Input Entropy for k = 2. While we provide a complete characterization of the sequences that minimize input entropy, the precise identification of the sequences that maximize input entropy for the 2-deletion and 2-insertion channels is still unresolved. Determining these sequences and the associated maximal entropy values remains an important open direction.” Binary words are functions Fin m to Bool, with false equal to 0. The seven clauses give both maximizing families, both maximal entropies, and the three insertion cases of received length two, three, and four. Received insertion length is m + 2 and input length is m. All logarithms are in bits.
Theorem 1.2 (result).
let deletionPosterior := ( fun { m : N } ( y : ( Fin m ) → ( Bool )) ( x : ( Fin ( m + 2 )) → ( Bool )) ↦ (( embeddings y x : R ) / x ′ : Fin ( m + 2 ) → Bool ∑ (( embeddings y x ′ : R )))) ; ( let insertionPosterior := ( fun { m : N } ( y : ( Fin ( m + 2 )) → ( Bool )) ( x : ( Fin m ) → ( Bool )) ↦ (( embeddings x y : R ) / x ′ : Fin m → Bool ∑ (( embeddings x ′ y : R )))) ; ((( ∀ m : N , (( 1 ≤ m ) → ( ∀ y : Fin m → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ (( y = ( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 )))) ∨ ( y = fun i ↦ ( ! ( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))) i )))))))))) ∧ ((( ∀ m : N , (( 1 ≤ m ) → (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( deletionPosterior (( fun i : Fin m ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 ) = Real . logb 2 ( 4 ⋅ ( m + 2 ) . choose 2 ) − ( 4 ⋅ ( m : R ) 2 + 3 ⋅ m ⋅ Real . logb 23 + ( m + 1 ) ⋅ Real . logb 2 ( m + 1 )) / ( 4 ⋅ ( m + 2 ) . choose 2 ))))) ∧ ((( ∀ m : N , (( 3 ≤ m ) → ( ∀ y : Fin ( m + 2 ) → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ (( y = ( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 )))) ∨ ( y = fun i ↦ ( ! ( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))) i )))))))))) ∧ ((( ∀ m : N , (( 3 ≤ m ) → (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin ( m + 2 ) ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 ) = Real . logb 2 (( m + 2 ) . choose 2 ) − ( m + 1 ) ⋅ Real . logb 2 ( m + 1 ) / ( m + 2 ) . choose 2 )))) ∧ ((( ∀ y : Fin 2 → Bool , (( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 0 ) y ) / Real . log 2 ) = 0 ))) ∧ ((( ∀ y : Fin 3 → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 1 ) y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin 3 ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 1 ) y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior (( fun i : Fin 3 ↦ ( decide ( val ( i ) mod 2 = 1 ))))) / Real . log 2 )) ⟺ ( ∃ ij : Fin 3 , ( y i = y j ))))))) ∧ (( ∀ y : Fin 4 → Bool , ((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 ) y ) / Real . log 2 ) ≤ ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 )! [ false , true , true , false ]) / Real . log 2 )) ∧ (((( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 ) y ) / Real . log 2 ) = ( D5 . S3 . Entropy . MaxEntropy . shannonEntropy ( insertionPosterior ( m := 2 )! [ false , true , true , false ]) / Real . log 2 )) ⟺ (( y = ! [ false , true , true , false ]) ∨ ( y = ! [ true , false , false , true ]))))))))))))))
Proof. Machine-checked in Lean as D5/S3/Entropy/SinghviMaxInputEntropy.result (✓ std3). ∎
Resolves. Problems/singhvi-sabary-barlev-yaakobi-2024-deletion-channel-max-input-entropy (proved) by D5/S3/Entropy/SinghviMaxInputEntropy.result .
Source. Repository-derived.
Acknowledgement. S. Singhvi; O. Sabary; D. Bar-Lev; E. Yaakobi (2025). Conditional Entropies of k-Deletion/Insertion Channels . DOI: 10.1109/TIT.2025.3581849 . URL: https://arxiv.org/abs/2407.10026v2 .
Commentary.
Alternating words and their complements are exactly the deletion maximizers at every positive received length and the insertion maximizers from received length five onward. At length three all nonconstant words maximize, and at length four precisely 0110 and 1001 maximize. Exact joint supersequence counts give the deletion run expression; strict run estimates and Jensen inequalities give its unique minimizers. Grouping deletion masks and finite small cases give the insertion comparison.