# SymbolicWedderburn examples

**URL:** <https://discourse.julialang.org/t/symbolicwedderburn-examples/116682>\
**Category:** Specific Domains\
**Tags:** package, jump, algebra, symbolics\
**Created:** [July 5, 2024, 10:46pm UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682 "2024-07-05T22:46:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khashayar-Neshat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/khashayar-neshat/32/42852_2.png) [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Post date:** [July 5, 2024, 10:46pm UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682/1 "2024-07-05T22:46:02Z")

</div>

Hi @abulak  
When I run `ex_C2_linear` or `runtest` in SymbolicWedderburn.jl, I get

```julia
ERROR: UndefVarError: `Monomial` not defined
Stacktrace:
 [1] top-level scope
   @ c:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\examples\ex_C2_linear.jl:16

```

or

```julia
ERROR: LoadError: UndefVarError: `Monomial` not defined
Stacktrace:
 [1] top-level scope
   @ c:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\test\action_linear.jl:12
in expression starting at c:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\test\action_linear.jl:12

```

If I substitute `AbstractMonomial` for `Monomial`, it will work. It seems the master version is more compatible rather than the active version here.

However, if I do this for `action_polynomials`, and then run `ex_S4`, it does not work and still gives me the error:

```julia
ERROR: LoadError: UndefVarError: `Monomial` not defined
Stacktrace:
 [1] top-level scope
   @ c:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\examples\action_polynomials.jl:20
in expression starting at c:\Users\raven\.julia\packages\SymbolicWedderburn\lbiby\examples\action_polynomials.jl:20

```

When I close each file, it cannot save the changes unless I retry as an administrator. What should I do?

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [July 6, 2024, 12:22am UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682/2 "2024-07-06T00:22:45Z")

</div>

If you need to change the contents, then this is where you use `Pkg.develop` or `] dev`.

---

<div class="post-metadata">

**Author:** ![Khashayar-Neshat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/khashayar-neshat/32/42852_2.png) [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Post date:** [July 6, 2024, 1:36am UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682/3 "2024-07-06T01:36:11Z")

</div>

Am I allowed to do that? I am not an expert. So I may naively change something that should not be changed.

If I do that, here is the result:

```julia
Julia> Pkg.develop(url="https://github.com/kalmarek/SymbolicWedderburn.jl.git")
     Cloning git-repo `https://github.com/kalmarek/SymbolicWedderburn.jl.git`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package StarAlgebras [0c0c59c1]:
 StarAlgebras [0c0c59c1] log:
 ├─possible versions are: 0.1.0-0.2.1 or uninstalled
 └─restricted to versions 0.3 by SymbolicWedderburn [858aa9a9] — no versions left
   └─SymbolicWedderburn [858aa9a9] log:
     ├─possible versions are: 0.4.0 or uninstalled
     └─SymbolicWedderburn [858aa9a9] is fixed to version 0.4.0

```

---

<div class="post-metadata">

**Author:** ![abulak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abulak/32/28314_2.png) [@abulak](https://discourse.julialang.org/u/abulak)\
**Post date:** [July 6, 2024, 9:24am UTC](https://discourse.julialang.org/t/symbolicwedderburn-examples/116682/4 "2024-07-06T09:24:53Z")

</div>

@Khashayar-Neshat please use github for this. see [this pull request](https://github.com/kalmarek/SymbolicWedderburn.jl/pull/81). Help welcome there!
