Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist committed Oct 10, 2024
1 parent cc2e53e commit 543a7ee
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions information_theory/typ_seq.v
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,9 @@ have -> : Pr (P `^ n.+1)%fdist (~: p) =
have {}H1 : 0 < (P `^ n.+1)%fdist i by rewrite lt0r H1/=.
rewrite /= H1/=.
move: LHS; rewrite -ltNge => /log_increasing => /(_ H1).
rewrite log_powR mulNr log2 mulr1.
mulN1r. mulrC. mulrN -mulNr -ltr_pdivr_mulr.


; last exact/ltR0n.
rewrite /Rdiv mulRC ltR_oppr => /RltP; rewrite -ltrBrDl => LHS.
rewrite div1r// mulNr -RinvE ger0_norm// -INRE//.
by move/RltP : LHS; move/(ltR_trans He)/ltRW/RleP.
rewrite log_powR mulNr log2 mulr1 -mulrN -ltr_pdivrMl// opprD.
rewrite ltrBrDl -ltrBrDr addrC => /lt_le_trans; apply.
by rewrite mulNr ler_norm.
+ move: LHS; rewrite leNgt negbK => LHS.
apply/orP; right; apply/andP; split.
exact/(lt_trans _ LHS)/RltP/exp2_gt0.
Expand Down

0 comments on commit 543a7ee

Please sign in to comment.