All proofs
Project-declaredLean 4.33.0-rc1 · mathlib@169c26b52a38

Version Space append

Cslib.MachineLearning.PACLearning.versionSpace_append

Plain-language statement

The version-space meet law. The version space of an appended sample is the intersection of the version spaces of the two parts: constraints accumulate by intersection.

Exact Lean statement

theorem versionSpace_append {m n : ℕ} (C : ConceptClass α β)
    (S : LabeledSample α β m) (T : LabeledSample α β n) :
    VersionSpace C (Fin.append S T) = VersionSpace C S ∩ VersionSpace C T

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem versionSpace_append {m n : } (C : ConceptClass α β)    (S : LabeledSample α β m) (T : LabeledSample α β n) :    VersionSpace C (Fin.append S T) = VersionSpace C S ∩ VersionSpace C T := by  ext h  constructor  · intro hh    refine ⟨⟨hh.1, fun i => ?_, hh.1, fun i => ?_    · have hi := hh.2 (Fin.castAdd n i)      rwa [Fin.append_left] at hi    · have hi := hh.2 (Fin.natAdd m i)      rwa [Fin.append_right] at hi  · rintro ⟨⟨hC, hS, ⟨-, hT⟩⟩    refine hC, fun i => ?_    refine Fin.addCases (fun j => ?_) (fun j => ?_) i    · rw [Fin.append_left]      exact hS j    · rw [Fin.append_right]      exact hT j
Project
Lean Computer Science Library
License
Apache-2.0
Commit
f36649cff2c9
Source
Cslib/MachineLearning/PACLearning/VersionSpaceLattice.lean:51-68

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.33.0-rc1

Unique minimal

Cslib.Automata.DA.FinAcc.unique_minimal

Plain-language statement

The minimal DFA M accepting the language l is unique up to unique isomorphism.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record
Project-declaredLean 4.33.0-rc1

Buchi Family cover

Cslib.Automata.NA.Buchi.buchiFamily_cover

Project documentation

na.buchiFamily is a cover if na has only finitely many states. This theorem uses the Ramsey theorem for infinite graphs and does not depend on any details of na.BuchiCongruence other than that it is of finite index.

computer sciencecomputabilityprogram semantics

Source project: Lean Computer Science Library

Person-level attribution pending.

View proof record