Left to Solve
Problems / MathOverflow (not formalized)

Parsing of Stochastic Contex-Free Grammars (SCFGs)

Open, not yet stated in LeanMathOverflow (not formalized)Computational Complexitydifficulty55/100

Statement

I am interested in parsing of general SCFGs.

I am aware of the Earley parser for the general CFGs. The only general algorithm for parsing SCFGs that I am aware of is the Earley-Stolcke parser : http://arxiv.org/abs/cmp-lg/9411029

1) Is there more recent work on the subject?

2) Is there publicly available software for deriving the Viterbi parse, compute prefix probabilities, and estimating rule probabilities of SCFGs?

Thank you very much!

Posed by Bob · algorithms, computer-science, formal-languages, mathematical-software

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-60456.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-60456.lean

import Mathlib

/-!
# Parsing of Stochastic Contex-Free Grammars (SCFGs)

Source: https://mathoverflow.net/questions/60456
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_60456

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_60456