@@ -50,13 +50,18 @@ const slides: Slide[] = [
5050 label : "The Solution" ,
5151 title : "So we built a ZK circuit compiler" ,
5252 bullets : [
53- "The Verity compiler generates a Groth16 circuit from the same Lean spec" ,
54- "The circuit proves: this natural language string is the correct interpretation of this calldata" ,
55- "A hardware wallet just verifies a proof, 4 pairings on BLS12-381" ,
53+ "Same Lean spec compiles to a Groth16 circuit" ,
54+ "Proves this template matches the calldata, the Ledger fills the holes" ,
5655 ] ,
56+ image : "/slides/ledger.png" ,
5757 } ,
5858
5959 // ── Act 3: How It Works ──
60+ {
61+ label : "" ,
62+ title : "How it works" ,
63+ variant : "title" ,
64+ } ,
6065 {
6166 label : "How It Works" ,
6267 title : "Step 1: Spec lookup" ,
@@ -148,16 +153,11 @@ function highlightCode(line: string): React.ReactNode {
148153 / " ( [ ^ " ] * ) " / g,
149154 '<str>"$1"</str>'
150155 )
151- . replace (
152- / \b ( m a x U i n t 2 5 6 | d e c i m a l s ) \b / g,
153- '<id>$1</id>'
154- )
155- . split ( / ( < k w > .* ?< \/ k w > | < t y > .* ?< \/ t y > | < s t r > .* ?< \/ s t r > | < i d > .* ?< \/ i d > ) / )
156+ . split ( / ( < k w > .* ?< \/ k w > | < t y > .* ?< \/ t y > | < s t r > .* ?< \/ s t r > ) / )
156157 . map ( ( part , i ) => {
157158 if ( part . startsWith ( '<kw>' ) ) return < span key = { i } className = "text-[#907aa9]" > { part . slice ( 4 , - 5 ) } </ span > ;
158159 if ( part . startsWith ( '<ty>' ) ) return < span key = { i } className = "text-[#ea9d34]" > { part . slice ( 4 , - 5 ) } </ span > ;
159160 if ( part . startsWith ( '<str>' ) ) return < span key = { i } className = "text-[#56949f]" > { part . slice ( 5 , - 6 ) } </ span > ;
160- if ( part . startsWith ( '<id>' ) ) return < span key = { i } className = "text-[#286983]" > { part . slice ( 4 , - 5 ) } </ span > ;
161161 return part ;
162162 } ) ;
163163}
0 commit comments