AFTD Auto-Formalizing Theoretical Domains

WickContraction.eq_sndFieldOfContract_of_mem

theoremverifiedformalizationimported Lean

WickContraction.eq_sndFieldOfContract_of_mem

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open WickContraction in
variable {𝓕 : FieldSpecification} in
variable {n : ℕ} (c : WickContraction n) in
lemma WickContraction.eq_sndFieldOfContract_of_mem (c : WickContraction n) (a : c.1) (i j : Fin n)
    (hi : i ∈ a.1) (hj : j ∈ a.1) (hij : i < j) :
    c.sndFieldOfContract a = j
Formalizes
Physlib, `WickContraction.eq_sndFieldOfContract_of_mem`
Lean proof
By Joseph Tooby-Smith, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Joseph Tooby-Smith. 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
Classical.choiceQuot.soundpropext
Built on 25

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen WickContraction invariable {𝓕 : FieldSpecification} invariable {n : ℕ} (c : WickContraction n) inlemma WickContraction.eq_sndFieldOfContract_of_mem (c : WickContraction n) (a : c.1) (i j : Fin n)    (hi : i ∈ a.1) (hj : j ∈ a.1) (hij : i < j) :    c.sndFieldOfContract a = j := by  have hlt := fstFieldOfContract_lt_sndFieldOfContract c a  rw [finset_eq_fstFieldOfContract_sndFieldOfContract] at hi hj  simp only [Finset.mem_insert, Finset.mem_singleton] at hi hj  rcases hi with rfl | rfl <;> rcases hj with rfl | rfl <;> omega
See it in the graphDiscuss this resultChallenge it