OAI/Analysis/MutuallyUnbiased/Certificate/Comparison.lean

GitHub source file

2 declarations, 0 contain sorry, 0 declared as axioms

  1. theorem OAI.MUB6.Certificate.Combination.eval_eq_of_coeff_eq line 11

    Source documentation

    Two balanced formal combinations agree on arbitrary real moments whenever all their rational coefficients agree. The leaf types may differ.

    theorem eval_eq_of_coeff_eq {ι κ η : Type*} [Fintype ι] [DecidableEq ι]
        (leftRows : κ → Sparse ι) (rightRows : η → Sparse ι)
        (left : Combination κ) (right : Combination η)
        (h : ∀ i, coeff leftRows i left = coeff rightRows i right)
        (x : ι → ℝ) : eval leftRows x left = eval rightRows x right := by
    …

    Mentions: OAI.MUB6.Certificate.Sparse, OAI.MUB6.Certificate.Combination, OAI.MUB6.Certificate.Combination.coeff, OAI.MUB6.Certificate.Combination.eval

  2. theorem OAI.MUB6.Certificate.Combination.target_zero_of_coeff_eq line 20

    Source documentation

    A balanced target expression follows from a checked combination of source relations, without flattening either side to a deeply nested list.

    theorem target_zero_of_coeff_eq {ι κ η : Type*} [Fintype ι] [DecidableEq ι]
        (sources : κ → Sparse ι) (targets : η → Sparse ι)
        (source : Combination κ) (target : Combination η)
        (h : ∀ i, coeff targets i target = coeff sources i source)
        (x : ι → ℝ) (hsource : ∀ k, Sparse.eval (sources k) x = 0) :
        eval targets x target = 0 := by
    …

    Mentions: OAI.MUB6.Certificate.Sparse, OAI.MUB6.Certificate.Combination, OAI.MUB6.Certificate.Combination.coeff, OAI.MUB6.Certificate.Sparse.eval, OAI.MUB6.Certificate.Combination.eval