AFTD Auto-Formalizing Theoretical Domains

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.
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 8

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)
See it in the graphDiscuss this resultChallenge it