Skip to content

feat(Propositional/Hilbert/F): prove DT_list, removing two sorries - #8

Closed
gotrevor wants to merge 1 commit into
masterfrom
dt-list-v431-pr
Closed

feat(Propositional/Hilbert/F): prove DT_list, removing two sorries#8
gotrevor wants to merge 1 commit into
masterfrom
dt-list-v431-pr

Conversation

@gotrevor

@gotrevor gotrevor commented Jul 3, 2026

Copy link
Copy Markdown
Owner

What

Dispels the two sorrys in DT_list (the deduction theorem for List contexts in the F-system) in Foundation/Propositional/Hilbert/F/Deduction.lean. DT_list is now sorry-free.

  • forward ctx case → exact F_conj₂_mem (List.mem_toFinset.mp hφ)
  • backward hcons case → Deduction.andIR (head via ctx, tail via deduct_conj lifted by deduction_subset), discharged by Deduction.mp
  • new private lemma F_conj₂_mem : φ ∈ Γ → H ⊢ Γ.conj₂ 🡒 φ, built from F-level tools only (ruleI transitivity + and₁!/and₂!), because Entailment.F provides neither HasAxiomImplyK nor HasAxiomImplyS (so the Minimal-layer left_Conj₂!_intro / C_trans are out of reach).

Notes

🤖 Generated with Claude Code

`DT_list` (the deduction theorem for `List` contexts in the F-system) carried
two `sorry`s since the Hilbert-systems redesign (FormalizedFormalLogic#812): the forward `ctx` case
and the backward `hcons` case. They transitively block `DT_finset` / `DT_set`,
which are proved via `DT_list`.

`Entailment.F` provides neither `HasAxiomImplyK` nor `HasAxiomImplyS`, so the
`Minimal`-layer `left_Conj₂!_intro` / `C_trans` are out of reach. This adds a
private helper `F_conj₂_mem` that builds `⋀Γ 🡒 φ` from `φ ∈ Γ` using only
F-level tools (`ruleI` transitivity + `and₁!`/`and₂!`), and fills both cases.

`#print axioms DT_list` → `[propext, Classical.choice, Quot.sound]` (no `sorryAx`).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gotrevor

gotrevor commented Jul 3, 2026

Copy link
Copy Markdown
Owner Author

Promoted upstream → FormalizedFormalLogic#832. Closing this fork-internal staging PR.

@gotrevor gotrevor closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant