Set.ReflOn.of_cod
theoremverifiedformalizationimported Lean
Set.ReflOn.of_cod
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Relation in variable (r : α → α → Prop) (s : Set α) in theorem Set.ReflOn.of_cod {r} : (cod r).ReflOn r → r a b → r b b
- Formalizes
- CSLib, `Set.ReflOn.of_cod`
- Lean proof
- By Chris Henson, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2026 Chris Henson. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Set.ReflOn.of_cod← Set.ReflOn.of_cod (Cslib/Foundations/Relation/Restriction.lean:45): verbatim
- Verified
- 08 Oct 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 8
- Relation.mem_codRelation.mem_cod
- Relation.cod_invRelation.cod_inv
- Relation.cod_eq_empty_iffRelation.cod_eq_empty_iff
- Relation.dom_invRelation.dom_inv
- Relation.of_codRelation.of_cod
- Set.ReflOn
ReflOn s ris true when a relationris reflexive on its restriction to a sets. - Relation.cod_emptyRelation.cod_empty
- Relation.codCodomain of a relation, aka range.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Relation in variable (r : α → α → Prop) (s : Set α) in theorem Set.ReflOn.of_cod {r} : (cod r).ReflOn r → r a b → r b b | h, hab => h b (Relation.of_cod hab)