diff --git a/pysmt/fnode.py b/pysmt/fnode.py
index 9649768..a56693e 100644
--- a/pysmt/fnode.py
+++ b/pysmt/fnode.py
@@ -650,27 +650,33 @@ class FNode(object):
     # Infix Notation
     @assert_infix_enabled
     def _apply_infix(self, right, function, bv_function=None):
-        mgr = _mgr()
-        # BVs
         # Default bv_function to function
-        if bv_function is None: bv_function = function
+        if bv_function is None:
+            bv_function = function
+        right = self._infix_prepare_arg(right, self.get_type())
         if self.get_type().is_bv_type():
-            if is_python_integer(right):
-                right = mgr.BV(right, width=self.bv_width())
             return bv_function(self, right)
-        # Boolean, Integer and Arithmetic
-        if is_python_boolean(right):
-            right = mgr.Bool(right)
-        elif is_python_integer(right):
-            ty = self.get_type()
-            if ty.is_real_type():
-                right = mgr.Real(right)
-            else:
-                right = mgr.Int(right)
-        elif is_python_rational(right):
-            right = mgr.Real(right)
         return function(self, right)
 
+    @assert_infix_enabled
+    def _infix_prepare_arg(self, arg, expected_type):
+        mgr = _mgr()
+        if isinstance(arg, FNode):
+            return arg
+
+        # BVs
+        if expected_type.is_bv_type():
+            return mgr.BV(arg, width=expected_type.width)
+        # Boolean, Integer and Arithmetic
+        elif expected_type.is_bool_type():
+            return mgr.Bool(arg)
+        elif expected_type.is_int_type():
+            return mgr.Int(arg)
+        elif expected_type.is_real_type():
+            return mgr.Real(arg)
+        else:
+            raise PysmtValueError("Unsupported value '%s' in infix operator" % str(arg))
+
     def Implies(self, right):
         return self._apply_infix(right, _mgr().Implies)
 
@@ -854,6 +860,20 @@ class FNode(object):
 
     def __mod__(self, right):
         return self._apply_infix(right, None, bv_function=_mgr().BVURem)
+
+    @assert_infix_enabled
+    def __call__(self, *args):
+        if self.is_symbol() and self.symbol_type().is_function_type():
+            types = self.symbol_type().param_types
+            if (len(types) != len(args)):
+                raise PysmtValueError("Wrong number of parameters passed in "
+                                      "infix 'call' operator")
+            args = [self._infix_prepare_arg(x, t) for x,t in zip(args, types)]
+            return _mgr().Function(self, args)
+        else:
+            raise PysmtValueError("Call operator can be applied to symbol "
+                                  "types having function type only")
+
 # EOC FNode
 
 

Overload infix notation for  EUF
The only theory that does not currently support of infix notation is UF. This issue is to discuss possible problems and syntax issues related to extending UF with infix notation. In particular, a possible idea is to use a syntax like

```
f(3) #if f is a function symbol, this should return the application of 3 to f
```

It is unclear how much interest there is in this. Also, a few examples would be useful to better understand the implications of this.

diff --git a/pysmt/test/test_euf.py b/pysmt/test/test_euf.py
index da17970..0ff1ca6 100644
--- a/pysmt/test/test_euf.py
+++ b/pysmt/test/test_euf.py
@@ -16,10 +16,11 @@
 #   limitations under the License.
 #
 from pysmt.shortcuts import *
-from pysmt.typing import INT, REAL, FunctionType
+from pysmt.typing import INT, REAL, FunctionType, BV16
 from pysmt.logics import UFLRA, UFLIRA
 from pysmt.test import TestCase, main
-from pysmt.test import skipIfSolverNotAvailable, skipIfNoSolverForLogic
+from pysmt.test import skipIfNoSolverForLogic
+from pysmt.exceptions import PysmtModeError, PysmtValueError
 
 
 class TestEUF(TestCase):
@@ -37,6 +38,38 @@ class TestEUF(TestCase):
         self.assertSat(check, logic=UFLIRA,
                        msg="Formula was expected to be sat")
 
+
+    def test_infix(self):
+        ftype1 = FunctionType(REAL, [REAL])
+        ftype2 = FunctionType(REAL, [REAL, INT])
+        f = Symbol("f", ftype1)
+        g = Symbol("g", ftype2)
+
+        with self.assertRaises(PysmtModeError):
+            f(1.0)
+
+        get_env().enable_infix_notation = True
+
+        infix = Equals(f(1.0), g(2.0, 4))
+        explicit = Equals(Function(f, [Real(1.0)]), Function(g, [Real(2.0), Int(4)]))
+        self.assertEqual(infix, explicit)
+
+        ftype1 = FunctionType(REAL, [BV16])
+        ftype2 = FunctionType(BV16, [INT, BV16])
+        f = Symbol("bvf", ftype1)
+        g = Symbol("bvg", ftype2)
+        infix = Equals(f(g(2, 6)), Real(0))
+        explicit = Equals(Function(f, [Function(g, [Int(2), BV(6, 16)])]), Real(0))
+        self.assertEqual(infix, explicit)
+
+        with self.assertRaises(PysmtValueError):
+            f(BV(6, 16), BV(8, 16))
+
+        ftype3 = FunctionType(REAL, [])
+        h = Symbol("h", ftype3)
+        with self.assertRaises(PysmtValueError):
+            h()
+
     @skipIfNoSolverForLogic(UFLRA)
     def test_quantified_euf(self):
         ftype1 = FunctionType(REAL, [REAL, REAL])

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
dev-requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
exceptiongroup==1.2.2
iniconfig==2.1.0
nose==1.3.7
packaging==24.2
pluggy==1.5.0
-e git+https://github.com/pysmt/pysmt.git@35662f00367f07d398255e3f3d6ff5eb32c3f2a8#egg=PySMT
pytest==8.3.5
six==1.17.0
tomli==2.2.1

name: pysmt
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - exceptiongroup==1.2.2
      - iniconfig==2.1.0
      - nose==1.3.7
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - six==1.17.0
      - tomli==2.2.1
prefix: /opt/conda/envs/pysmt

pysmt/test/test_euf.py::TestEUF::test_infix
pysmt/test/test_euf.py::TestEUF::test_simplify
pysmt/fnode.py
pysmt/fnode.py