AFTD Auto-Formalizing Theoretical Domains

instFintypeCond_physlib

instanceimported Lean

The type family parameterized by Bool is finite if each type variant is finite.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped InnerProductSpace in
open Module in
instance instFintypeCond_physlib [M : Fintype m] [N : Fintype n] (b : Bool) : Fintype (cond b m n)
Defined in
Physlib, `instFintypeCond_physlib`
Lean proof
By Gordon Hsu, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Gordon Hsu. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
09 Oct 2026
Axioms
none listed
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open scoped InnerProductSpace in
open Module in
/-- The type family parameterized by `Bool` is finite if each type variant is finite. -/
instance instFintypeCond_physlib [M : Fintype m] [N : Fintype n] (b : Bool) : Fintype (cond b m n) := b.rec N M
See it in the graphDiscuss this resultChallenge it