Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/Algebra/     Datei vom 15.10.2026 mit Größe 643 B image not shown  

Quelle  FiniteSupport.lean   Sprache: Lean

 

/-
Copyright (c) 2026 Michael Stoll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Stoll
-/

module

import Mathlib.Algebra.FiniteSupport.Basic

/-!
# Tests for fun_prop with HasFinite{Mul}Support
-/


open Function

example : HasFiniteMulSupport fun _ : ℕ ↦ (1 : ℤ) := by fun_prop

example : HasFiniteSupport (0 : ℕ → ℤ) := by fun_prop

@[to_additive]
lemma HasFiniteMulSupport_foo {K ι M : Type*} [Monoid M] {v : ι → K → ℤ}
    (hv : ∀ x, HasFiniteMulSupport fun i ↦ v i x) (x y : K) :
    HasFiniteMulSupport fun i ↦ max (v i x * v i y) 1 := by
  fun_prop

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland