SocialChoice.Voting.modifiedForwardProfile_spec
theoremverifiedformalizationimported Lean
SocialChoice.Voting.modifiedForwardProfile_spec
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {N A : Type*} in theorem SocialChoice.Voting.modifiedForwardProfile_spec [Fintype N] [Fintype A] (P : Profile N A) (C : Set N) {x y z : A} (hxy : x ≠ y) (hxz : x ≠ z) (hyz : y ≠ z) (hC : ∀ i ∈ C, Prefers P i x z) : ∀ i, (Prefers P i x z ↔ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i x z) ∧ (Prefers P i z x ↔ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i z x) ∧ (i ∈ C → Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i x y ∧ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y z) ∧ (i ∉ C → Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y x ∧ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y z)
- Formalizes
- EconCSLib, `SocialChoice.Voting.modifiedForwardProfile_spec`
- Lean proof
- By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.SocialChoice.Voting.modifiedForwardProfile_spec← SocialChoice.Voting.modifiedForwardProfile_spec (EconCSLib/SocialChoice/Voting/Decisive.lean:230): verbatim
- Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 14
- SocialChoice.Voting.betweenBallot_xzSocialChoice.Voting.betweenBallot_xz
- SocialChoice.Voting.BallotPrefersBallot
rranksastrictly aboveb. - SocialChoice.Voting.BallotPrefers_ballotFromInjectiveSocialChoice.Voting.BallotPrefers_ballotFromInjective
- SocialChoice.Voting.topBallot_topSocialChoice.Voting.topBallot_top
- SocialChoice.Voting.PrefersVoter
istrictly prefersatobin profileP. - SocialChoice.Voting.topBallot_preservesSocialChoice.Voting.topBallot_preserves
- SocialChoice.Voting.modifiedForwardProfileSocialChoice.Voting.modifiedForwardProfile
- SocialChoice.Voting.ProfileA voting profile assigns each voter a strict linear order over alternatives.
- SocialChoice.Voting.Prefers.asymmSocialChoice.Voting.Prefers.asymm
- SocialChoice.Voting.betweenBallot_yzSocialChoice.Voting.betweenBallot_yz
- SocialChoice.Voting.betweenBallot_xySocialChoice.Voting.betweenBallot_xy
- SocialChoice.Voting.BallotPrefers.asymmSocialChoice.Voting.BallotPrefers.asymm
- SocialChoice.Voting.topBallotSocialChoice.Voting.topBallot
- SocialChoice.Voting.betweenBallotSocialChoice.Voting.betweenBallot
- Used by 1
- SocialChoice.Voting.decisive_spread_forwardSocialChoice.Voting.decisive_spread_forward
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
set_option autoImplicit true inset_option relaxedAutoImplicit true invariable {N A : Type*} intheorem SocialChoice.Voting.modifiedForwardProfile_spec [Fintype N] [Fintype A] (P : Profile N A) (C : Set N) {x y z : A} (hxy : x ≠ y) (hxz : x ≠ z) (hyz : y ≠ z) (hC : ∀ i ∈ C, Prefers P i x z) : ∀ i, (Prefers P i x z ↔ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i x z) ∧ (Prefers P i z x ↔ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i z x) ∧ (i ∈ C → Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i x y ∧ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y z) ∧ (i ∉ C → Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y x ∧ Prefers (modifiedForwardProfile P C x y z hxy hxz hyz) i y z) := by classical intro i by_cases hi : i ∈ C · simp [modifiedForwardProfile, hi, Prefers] constructor · constructor · intro _ exact betweenBallot_xz (P.pref i) hxy hxz hyz · intro _ exact hC i hi constructor · constructor · intro hzxi exact False.elim ((Prefers.asymm P i (hC i hi)) hzxi) · intro hzxi exact False.elim ((BallotPrefers.asymm _ (betweenBallot_xz (P.pref i) hxy hxz hyz)) hzxi) exact ⟨betweenBallot_xy (P.pref i) hxy hxz hyz, betweenBallot_yz (P.pref i) hxy hxz hyz⟩ · have hx_ne_y : x ≠ y := hxy have hz_ne_y : z ≠ y := Ne.symm hyz simp [modifiedForwardProfile, hi, Prefers, topBallot_preserves, hx_ne_y, hz_ne_y, topBallot_top]