Formal midpoints #
Terms built from letters by a binary "midpoint" operation name the iterated midpoints in the
proof that the space of prices is CAT(0) in VP ≠ VNP over every field [Ant26]
(module Nc.Cat.Space). They are the elements of Mathlib's free magma FreeMagma V: a letter
FreeMagma.of v, or the formal midpoint s * t of two terms, with no associativity law.
Main definitions #
Separation.MidpointTerm.depth,Separation.MidpointTerm.base: the depth and the first letter of a term.Separation.MidpointTerm.place n s: a term of depth at mostnstays, a deeper one is split into the pair of its two arguments.
Main results #
Separation.MidpointTerm.place_of_depth_le: terms of depth at mostnstay.Separation.MidpointTerm.place_of_depth_eq_succ: a term of depthn + 1splits into two arguments of depth at mostn.
The depth of a formal midpoint term.
The first letter of a term.
@[simp]
@[simp]
Where the terms of depth at most n + 1 stand when a new point is added for every pair of
terms of depth at most n: terms of depth at most n stay, deeper ones become the pair of their
arguments.