Skip to content

Implemented rewrite Pr [...] for mu_ge0 and mu_le1#2

Merged
strub merged 1 commit intoEasyCrypt:1.0from
alleystoughton:1.0
Nov 5, 2017
Merged

Implemented rewrite Pr [...] for mu_ge0 and mu_le1#2
strub merged 1 commit intoEasyCrypt:1.0from
alleystoughton:1.0

Conversation

@alleystoughton
Copy link
Copy Markdown
Member

Implemented rewrite Pr [...] for mu_ge0 and mu_le1, corresponding to the Distr.ec lemmas

lemma ge0_mu (d : 'a distr) p : 0%r <= mu d p.
lemma le1_mu (d : 'a distr) p : mu d p <= 1%r.

  rewrite Pr [...]

for mu_ge0 and mu_le1, corresponding to

lemma ge0_mu (d : 'a distr) p : 0%r <= mu d p.
lemma le1_mu (d : 'a distr) p : mu d p <= 1%r.

from Distr.ec
@strub strub merged commit 7721333 into EasyCrypt:1.0 Nov 5, 2017
Gustavo2622 added a commit that referenced this pull request Oct 25, 2025
strub added a commit that referenced this pull request Apr 30, 2026
…hange)

Splits the existing TcCtt resolution logic into three named local helpers — strat_tvar_via_tvtc, strat_abs_via_decl, strat_infer_by_carrier — corresponding to catalog modes #5, #6, and #1/#2 in doc/typeclasses-inference.md.

Behavior is identical: same dispatch order, same failures, same pickup of [Tvar a]/[Tconstr p] cases, same parking of univar carriers. The refactor exists so Phase 3 can drop a By-args strategy in without disturbing the existing logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants