AFTD Auto-Formalizing Theoretical Domains

TensorProduct.instNontrivial

instanceimported Lean

TensorProduct.instNontrivial

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open UniformSpace in
open scoped InnerProductSpace TensorProduct in
variable (๐•œ : Type*) [RCLike ๐•œ] in
variable (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] in
variable (F : Type*) [NormedAddCommGroup F] [InnerProductSpace ๐•œ F] in
variable [Nontrivial E] [Nontrivial F] in
noncomputable instance TensorProduct.instNontrivial : Nontrivial (E โŠ—[๐•œ] F)
Defined in
Physlib, `TensorProduct.instNontrivial`
Lean proof
By Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. 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
10 Oct 2026
Axioms
none listed

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open UniformSpace in
open scoped InnerProductSpace TensorProduct in
variable (๐•œ : Type*) [RCLike ๐•œ] in
variable (E : Type*) [NormedAddCommGroup E] [InnerProductSpace ๐•œ E] in
variable (F : Type*) [NormedAddCommGroup F] [InnerProductSpace ๐•œ F] in
variable [Nontrivial E] [Nontrivial F] in
noncomputable instance TensorProduct.instNontrivial : Nontrivial (E โŠ—[๐•œ] F) where
  exists_pair_ne := by
    obtain โŸจx, hxโŸฉ := exists_ne (0 : E)
    obtain โŸจy, hyโŸฉ := exists_ne (0 : F)
    exact โŸจx โŠ—โ‚œ y, 0, norm_pos_iff.mp (by simp [hx, hy])โŸฉ
See it in the graphDiscuss this resultChallenge it