Documentation

LeanPool.Apportionment.PlausibleInstances

Instances for Plausible #

In this file, we define some instances (like Shrinkable, Arbitrary, SampleableExt) so that you can use the plausible tactic with the Apportionment library. For example, try:

import LeanPool.Apportionment
import Plausible

/-!
# LeanPool.Apportionment.PlausibleInstances

Imported Lean Pool material for `LeanPool.Apportionment.PlausibleInstances`.
-/

open Apportionment

example (e : Election 4) : e.votes[0] ≤ 15 + e.votes[1] := by
  plausible

#sample Election 2
@[implicit_reducible]
Equations
  • One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
  • One or more equations did not get rendered due to their size.
@[implicit_reducible]
Equations
  • One or more equations did not get rendered due to their size.