Homotopy type theory for semantics
Statement
It looks like I have been building up a theory that might require looking closely at Homotopy Type Theory vs. Category Theory with respect to semantics. I am considering two types of semantics that are very familiar: Mathematics and Programming. To understand what semantic ideas I am interested in wrt mathematics, have a look at this question I put on Math Stack.
You might guess that I am looking for a field of mathematics where we study the following problem:
Suppose you are given the syntactic presentation of a mathematical structure like abelian groups. The author is able to rewrite the syntactic presentation and the job you are faced with is telling if the author has changed the exact abstract structure they are attempting to present. This includes instances where the presentation is quite different, as in a presentation of -modules vs. abelian groups, but where the categories are the same.
This is related to the job of a software development environment. Consider a similarly worded idea:
Suppose you are given a computer program written in language that does some job. The programmer is free to rewrite the program (as in refactoring) and the job of the …
Posed by Ben Sprott · lo.logic, homotopy-type-theory
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-466221.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-466221.lean
import Mathlib /-! # Homotopy type theory for semantics Source: https://mathoverflow.net/questions/466221 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_466221 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_466221