AFTD Auto-Formalizing Theoretical Domains

Physlib.Wirtinger.coordDiff_eq_add_neg

theoremverifiedformalizationimported Lean

The coordinate difference z^J − z̄^J as a sum of the holomorphic coordinate and the negated conjugate coordinate — the form on which the dWirtingerCoord / dWirtingerAntiCoord additivity rules apply.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {ι : Type*} in
variable [Fintype ι] [DecidableEq ι] in
variable {f g : (ι → ℂ) → ℂ} in
omit [Fintype ι] [DecidableEq ι] in
lemma Physlib.Wirtinger.coordDiff_eq_add_neg (J : ι) :
    (fun v : (ι → ℂ) => v J - star (v J))
      = (fun v => v J) + (fun v => -(star (v J)))
Formalizes
Physlib, `Physlib.Wirtinger.coordDiff_eq_add_neg`
Lean proof
By Andrea Pari, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Andrea Pari. 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
Classical.choiceQuot.soundpropext

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {ι : Type*} in
variable [Fintype ι] [DecidableEq ι] in
variable {f g : (ι → ℂ) → ℂ} in
omit [Fintype ι] [DecidableEq ι] in
/-- The coordinate difference `z^J − z̄^J` as a sum of the holomorphic coordinate and the negated conjugate coordinate — the form on which the `dWirtingerCoord` / `dWirtingerAntiCoord` additivity rules apply. -/
lemma Physlib.Wirtinger.coordDiff_eq_add_neg (J : ι) :
    (fun v : (ι → ℂ) => v J - star (v J))
      = (fun v => v J) + (fun v => -(star (v J))) :=
  funext fun v => sub_eq_add_neg (v J) (star (v J))
See it in the graphDiscuss this resultChallenge it