LeanPool.Polylean.ConjInvLength.WordTree #
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
The numeric bound represented by a proof tree.
Equations
- LeanPool.Polylean.ProofTree.bound [] LeanPool.Polylean.ProofTree.emptyWord = 0
- LeanPool.Polylean.ProofTree.bound [a_1] (LeanPool.Polylean.ProofTree.normalized a_1) = 1
- LeanPool.Polylean.ProofTree.bound (a_2 ^ a_1) (LeanPool.Polylean.ProofTree.conjugate a_1 a_2 a_3) = LeanPool.Polylean.ProofTree.bound a_2 a_3
- LeanPool.Polylean.ProofTree.bound (a_1 ++ a_2) (LeanPool.Polylean.ProofTree.triangleIneq a_1 a_2 a_3 a_4) = LeanPool.Polylean.ProofTree.bound a_1 a_3 + LeanPool.Polylean.ProofTree.bound a_2 a_4
Instances For
Convert a proof tree into a certified bound.
Equations
- One or more equations did not get rendered due to their size.
- LeanPool.Polylean.ProofTree.provedBound [] LeanPool.Polylean.ProofTree.emptyWord = LeanPool.Polylean.ProvedBound.emptyWord
- LeanPool.Polylean.ProofTree.provedBound [a_1] (LeanPool.Polylean.ProofTree.normalized a_1) = { bound := 1, pf := ⋯ }
- LeanPool.Polylean.ProofTree.provedBound (a_2 ^ a_1) (LeanPool.Polylean.ProofTree.conjugate a_1 a_2 a_3) = { bound := (LeanPool.Polylean.ProofTree.provedBound a_2 a_3).bound, pf := ⋯ }
Instances For
def
LeanPool.Polylean.ProofTree.headMatches
(x : Letter)
(ys fst snd : Word)
(eqn : ys = fst ++ [x⁻¹] ++ snd)
:
Combine proof trees across a split around a conjugating letter.
Equations
- LeanPool.Polylean.ProofTree.headMatches x ys fst snd eqn pt1 pt2 = ⋯.mpr (LeanPool.Polylean.ProofTree.triangleIneq (fst ^ x) snd (LeanPool.Polylean.ProofTree.conjugate x fst pt1) pt2)
Instances For
Prepend a normalized letter to a proof tree.
Equations
Instances For
A simple proof tree obtained by splitting a word into letters.
Equations
Instances For
@[implicit_reducible]
Equations
@[irreducible]
Compute a proof tree for a word.
Equations
- One or more equations did not get rendered due to their size.
- LeanPool.Polylean.proofTree [] = LeanPool.Polylean.ProofTree.emptyWord