Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Curvature.MidpointTerm

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 #

Main results #

The depth of a formal midpoint term.

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.

theorem Cslib.Circuits.Arithmetic.Separation.MidpointTerm.place_of_depth_eq_succ {V : Type} {n : ℕ} {s : FreeMagma V} (h : depth s = n + 1) :
∃ (a : FreeMagma V) (b : FreeMagma V), s = a * b ∧ place n s = Sum.inr (a, b) ∧ depth a ≤ n ∧ depth b ≤ n

A term of depth n + 1 splits into the pair of its arguments, both of depth at most n.