The subalgebra generated by a recognizing alphabet
Lax369799.GeneratedAlgebra · concepts/Lax369799/GeneratedAlgebra.lean · lax-369799
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Retain exactly the algebra values realized by systems over the original alphabet. This forms a subalgebra, since associativity evaluates a system of realized values by substituting their witnesses. Restricting to these values preserves recognition and rankwise finiteness.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax369799.Algebras |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The subalgebra generated by a recognizing alphabet |
| 6 | type: theorem |
| 7 | --- |
| 8 | Retain exactly the algebra values realized by systems over the original |
| 9 | alphabet. This forms a subalgebra, since associativity evaluates a system |
| 10 | of realized values by substituting their witnesses. Restricting to these |
| 11 | values preserves recognition and rankwise finiteness. |
| 12 | -/ |
| 13 | namespace Lax369799.GeneratedAlgebra |
| 14 | open RankedSystems Algebras |
| 15 | |
| 16 | def Carrier {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) : RankedSet := |
| 17 | fun n => {b : B n // ∃ S : System A n, E.eval n (relabelSystem η S) = b} |
| 18 | |
| 19 | def projection {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) : RankedMap (Carrier E η) B := |
| 20 | fun _ b => b.val |
| 21 | |
| 22 | def letter {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) : RankedMap A (Carrier E η) := |
| 23 | fun n a => ⟨η n a, atomicSystem a, E.unit n (η n a)⟩ |
| 24 | |
| 25 | axiom algebra {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) : |
| 26 | ∃ G : Algebra (Carrier E η), ∀ n (S : System (Carrier E η) n), |
| 27 | (G.eval n S).val = E.eval n (relabelSystem (projection E η) S) |
| 28 | |
| 29 | axiom finite_carrier {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) |
| 30 | (hB : RankwiseFinite B) : RankwiseFinite (Carrier E η) |
| 31 | |
| 32 | axiom recognition {A B : RankedSet} (E : Algebra B) (η : RankedMap A B) |
| 33 | (G : Algebra (Carrier E η)) |
| 34 | (hG : ∀ n (S : System (Carrier E η) n), (G.eval n S).val = E.eval n (relabelSystem (projection E η) S)) |
| 35 | (F : Set (B 0)) (L : Language A) (hL : Recognizes E η F L) : |
| 36 | Recognizes G (letter E η) {b | b.val ∈ F} L |
| 37 | |
| 38 | end Lax369799.GeneratedAlgebra |
| 39 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments