Fused opcodes: LOOK_ADD1 (lookup + increment) and LOOK_SUB1 (lookup + decrement) emitted directly by compiler for (+ sym 1) and (- sym 1) patterns. Eliminates one dispatch per loop iteration. sum-to(50000) ratio improved from 59x to 45x vs Python. ackermann(3,4) steady at 83x. 571 tests green. Also defines LOOK_LOOK, CONST_EQ_JF, LOOK_CONST_CALL2 superinstruction opcodes (VM handlers ready, compiler emission for remaining patterns deferred to next pass).
21 lines
487 B
YAML
21 lines
487 B
YAML
name: Lean Action CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
|
permissions:
|
|
contents: read # Read access to repository contents
|
|
pages: write # Write access to GitHub Pages
|
|
id-token: write # Write access to ID tokens
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: leanprover/lean-action@v1
|
|
- uses: leanprover-community/docgen-action@v1
|