Debian Codegraph @

src/theory/arith/rewrites-transcendentals

raw
1 ; trancendentals
2
3 (define-rule arith-sine-zero () (sin 0/1) 0/1)
4 (define-rule arith-sine-pi2 () (sin (* 1/2 real.pi)) 1/1)
5 (define-rule arith-cosine-elim ((x Real)) (cos x) (sin (- (* 1/2 real.pi) x)))
6 (define-rule arith-tangent-elim ((x Real)) (tan x) (/ (sin x) (cos x)))
7 (define-rule arith-secent-elim ((x Real)) (sec x) (/ 1/1 (cos x)))
8 (define-rule arith-cosecent-elim ((x Real)) (csc x) (/ 1/1 (sin x)))
9 (define-rule arith-cotangent-elim ((x Real)) (cot x) (/ (cos x) (sin x)))
10
11 (define-rule arith-pi-not-int () (is_int real.pi) false)
12