Conversion of proofs between HoTT and ZFC
Statement
HoTT provides a foundation of math that remains mysterious for many mathematicians including me. Hence this question.
There are several implementations of math based on ZFC, an example being MetaMath. As well, there are several implementations of math based on HoTT, some examples being Coq, Lean, Agda.. etc.
In [1], Mario Carneiro provided an algorithm that converts proofs written in HOL Light into Metamath. This makes me wonder if one can, in principle at least, do so for proofs formulated based on HoTT and ZFC. Or rather, put more precisely, can one in principle write an algorithm that converts proofs between, say, MetaMath and Coq?
Reference
• [1] Conversion of HOL Light proofs into Metamath - Mario Carneiro
Posed by Student · algorithms, formal-languages, homotopy-type-theory, proof-assistants
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-413669.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-413669.lean
import Mathlib /-! # Conversion of proofs between HoTT and ZFC Source: https://mathoverflow.net/questions/413669 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_413669 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_413669