Time bar (total: 1.9s)
1× | search |
Probability | Valid | Unknown | Precondition | Infinite | Domain | Can't | Iter |
---|---|---|---|---|---|---|---|
0% | 0% | 100% | 0% | 0% | 0% | 0% | 0 |
0% | 0% | 100% | 0% | 0% | 0% | 0% | 1 |
0% | 0% | 100% | 0% | 0% | 0% | 0% | 2 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 3 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 4 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 5 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 6 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 7 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 8 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 9 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 10 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 11 |
50% | 50% | 50% | 0% | 0% | 0% | 0% | 12 |
Compiled 13 to 10 computations (23.1% saved)
874.0ms | 8 256× | 0 | valid |
ival-sin
: 273.0ms (45.5% of total)ival-cos
: 188.0ms (31.3% of total)ival-div
: 60.0ms (10% of total)ival-<=
: 49.0ms (8.2% of total)ival-and
: 14.0ms (2.3% of total)exact
: 13.0ms (2.2% of total)ival-assert
: 4.0ms (0.7% of total)Ground Truth | Overpredictions | Example | Underpredictions | Example | Subexpression |
---|---|---|---|---|---|
0 | 0 | - | 0 | - | (/.f64 (sin.f64 x) (cos.f64 x)) |
0 | 0 | - | 0 | - | (cos.f64 x) |
0 | 0 | - | 0 | - | (sin.f64 x) |
0 | 0 | - | 0 | - | x |
Predicted + | Predicted - | |
---|---|---|
+ | 0 | 0 |
- | 0 | 256 |
Predicted + | Predicted Maybe | Predicted - | |
---|---|---|---|
+ | 0 | 0 | 0 |
- | 0 | 0 | 256 |
number | freq |
---|---|
0 | 256 |
Predicted + | Predicted Maybe | Predicted - | |
---|---|---|---|
+ | 0 | 0 | 0 |
- | 0 | 0 | 1 |
40.0ms | 512× | 0 | valid |
Compiled 29 to 16 computations (44.8% saved)
ival-cos
: 12.0ms (42.6% of total)ival-sin
: 12.0ms (42.6% of total)ival-div
: 4.0ms (14.2% of total)ival-true
: 0.0ms (0% of total)ival-assert
: 0.0ms (0% of total)1× | egg-herbie |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 6 | 13 |
1 | 19 | 11 |
2 | 34 | 11 |
3 | 77 | 11 |
4 | 153 | 11 |
5 | 284 | 11 |
6 | 374 | 11 |
7 | 376 | 11 |
8 | 390 | 11 |
9 | 403 | 11 |
0 | 4 | 5 |
0 | 7 | 5 |
0 | 7 | 5 |
1× | iter limit |
1× | saturated |
1× | iter limit |
1× | saturated |
Inputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
Outputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
(negabs x)
Compiled 5 to 4 computations (20% saved)
Compiled 0 to 1 computations (-∞% saved)
Status | Accuracy | Program |
---|---|---|
▶ | 99.7% | (/.f64 (sin.f64 x) (cos.f64 x)) |
Compiled 5 to 4 computations (20% saved)
1× | egg-herbie |
Found 3 expressions of interest:
New | Metric | Score | Program |
---|---|---|---|
cost-diff | 0 | (cos.f64 x) | |
cost-diff | 0 | (sin.f64 x) | |
cost-diff | 0 | (/.f64 (sin.f64 x) (cos.f64 x)) |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 4 | 10 |
0 | 7 | 10 |
0 | 7 | 10 |
1× | iter limit |
1× | saturated |
1× | iter limit |
Inputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
(sin.f64 x) |
x |
(cos.f64 x) |
Outputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
(sin.f64 x) |
x |
(cos.f64 x) |
Found 3 expressions of interest:
New | Metric | Score | Program |
---|---|---|---|
accuracy | 0.0 | (cos.f64 x) | |
accuracy | 0.00390625 | (sin.f64 x) | |
accuracy | 0.174160009768442 | (/.f64 (sin.f64 x) (cos.f64 x)) |
20.0ms | 256× | 0 | valid |
Compiled 12 to 6 computations (50% saved)
ival-sin
: 6.0ms (43.9% of total)ival-cos
: 5.0ms (36.6% of total)ival-div
: 2.0ms (14.6% of total)ival-true
: 0.0ms (0% of total)ival-assert
: 0.0ms (0% of total)Inputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
(sin.f64 x) |
(cos.f64 x) |
Outputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(/ (sin x) (cos x)) |
(sin x) |
(cos x) |
3 calls:
Time | Variable | Point | Expression | |
---|---|---|---|---|
1.0ms | x | @ | 0 | ((/ (sin x) (cos x)) (sin x) (cos x)) |
0.0ms | x | @ | -inf | ((/ (sin x) (cos x)) (sin x) (cos x)) |
0.0ms | x | @ | inf | ((/ (sin x) (cos x)) (sin x) (cos x)) |
1× | egg-herbie |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 60 | 140 |
1 | 158 | 140 |
2 | 405 | 128 |
3 | 1185 | 128 |
4 | 2025 | 128 |
5 | 3334 | 128 |
6 | 3628 | 128 |
7 | 3925 | 128 |
8 | 4372 | 128 |
9 | 6319 | 128 |
0 | 8127 | 110 |
1× | iter limit |
1× | node limit |
Inputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
1 |
(+ 1 (* -1/2 (pow x 2))) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(/ (sin x) (cos x)) |
(sin x) |
(cos x) |
Outputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x)) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(fma.f64 (pow.f64 x #s(literal 5 binary64)) (fma.f64 #s(literal 17/315 binary64) (*.f64 x x) #s(literal 2/15 binary64)) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x)) |
(* x (+ 1 (* -1/6 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal -1/6 binary64) x) |
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 #s(literal 1/120 binary64) (*.f64 x x) #s(literal -1/6 binary64)) x) |
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) (fma.f64 (fma.f64 #s(literal -1/5040 binary64) (*.f64 x x) #s(literal 1/120 binary64)) (*.f64 x x) #s(literal -1/6 binary64)) x) |
1 |
#s(literal 1 binary64) |
(+ 1 (* -1/2 (pow x 2))) |
(fma.f64 #s(literal -1/2 binary64) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* 1/24 (pow x 2)) 1/2))) |
(fma.f64 (fma.f64 #s(literal 1/24 binary64) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/24 (* -1/720 (pow x 2)))) 1/2))) |
(fma.f64 (fma.f64 (fma.f64 #s(literal -1/720 binary64) (*.f64 x x) #s(literal 1/24 binary64)) (*.f64 x x) #s(literal -1/2 binary64)) (*.f64 x x) #s(literal 1 binary64)) |
(/ (sin x) (cos x)) |
(/.f64 (sin.f64 x) (cos.f64 x)) |
(sin x) |
(sin.f64 x) |
(cos x) |
(cos.f64 x) |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 4 | 9 |
0 | 7 | 6 |
1 | 16 | 6 |
2 | 51 | 6 |
3 | 220 | 6 |
0 | 1231 | 6 |
1× | iter limit |
1× | iter limit |
1× | node limit |
1× | iter limit |
Inputs |
---|
(/.f64 (sin.f64 x) (cos.f64 x)) |
(sin.f64 x) |
(cos.f64 x) |
Outputs |
---|
(*.f64 (/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) (cos.f64 x)) |
(*.f64 (/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (sin.f64 x) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) |
(*.f64 (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)))) |
(*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) (sin.f64 x)) #s(literal -1 binary64)) (/.f64 #s(literal -1 binary64) (cos.f64 x))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (sin.f64 x))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (/.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (neg.f64 (tan.f64 x)) #s(literal -1 binary64)) |
(*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (pow.f64 (/.f64 #s(literal -1 binary64) (sin.f64 x)) #s(literal -1 binary64))) |
(*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x))) |
(*.f64 #s(literal -1 binary64) (neg.f64 (tan.f64 x))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1 binary64)) (sin.f64 x)) |
(*.f64 #s(literal 1 binary64) (tan.f64 x)) |
(*.f64 (neg.f64 (sin.f64 x)) (/.f64 #s(literal -1 binary64) (cos.f64 x))) |
(*.f64 (tan.f64 x) #s(literal 1 binary64)) |
(*.f64 (sin.f64 x) (pow.f64 (cos.f64 x) #s(literal -1 binary64))) |
(pow.f64 (exp.f64 (neg.f64 (log.f64 (tan.f64 x)))) #s(literal -1 binary64)) |
(pow.f64 (*.f64 (pow.f64 (tan.f64 x) #s(literal -1 binary64)) (pow.f64 (tan.f64 x) #s(literal -1 binary64))) #s(literal -1/2 binary64)) |
(pow.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (pow.f64 (tan.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(pow.f64 (tan.f64 x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) (/.f64 #s(literal -1 binary64) (cos.f64 x))) (sin.f64 x)) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (/.f64 #s(literal -1 binary64) (cos.f64 x))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (sin.f64 x)) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (tan.f64 x)) (neg.f64 (tan.f64 x)))) (neg.f64 (tan.f64 x))) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (neg.f64 (tan.f64 x)) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 (neg.f64 (tan.f64 x)) (neg.f64 (tan.f64 x)) (*.f64 #s(literal 0 binary64) (neg.f64 (tan.f64 x)))))) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) #s(literal -1 binary64)) (*.f64 (sin.f64 x) (cos.f64 x))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) #s(literal 1 binary64)) (*.f64 (sin.f64 x) (neg.f64 (cos.f64 x)))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) #s(literal -1 binary64)) (*.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)) (cos.f64 x))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) #s(literal 1 binary64)) (*.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)) (neg.f64 (cos.f64 x)))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (sin.f64 x)))) (*.f64 (neg.f64 (cos.f64 x)) (cos.f64 x))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 #s(literal -1 binary64) (tan.f64 x))) (neg.f64 (cos.f64 x))) (*.f64 (neg.f64 (cos.f64 x)) (/.f64 #s(literal -1 binary64) (tan.f64 x)))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (tan.f64 x)) #s(literal -1 binary64)) |
(/.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (/.f64 #s(literal -1 binary64) (sin.f64 x))) |
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) (tan.f64 x))) |
(/.f64 (pow.f64 (cos.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) |
(/.f64 #s(literal 1 binary64) (pow.f64 (tan.f64 x) #s(literal -1 binary64))) |
(/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(/.f64 (tan.f64 x) #s(literal 1 binary64)) |
(/.f64 (sin.f64 x) (cos.f64 x)) |
(neg.f64 (neg.f64 (tan.f64 x))) |
(fma.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) #s(literal 0 binary64) (tan.f64 x)) |
(tan.f64 x) |
(-.f64 #s(literal 0 binary64) (neg.f64 (tan.f64 x))) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 x))) #s(literal -1 binary64))) |
(+.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) #s(literal 0 binary64)) (tan.f64 x)) |
(+.f64 #s(literal 0 binary64) (tan.f64 x)) |
(*.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal -1/2 binary64)) (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal -1/2 binary64))) |
(*.f64 #s(literal -1 binary64) (neg.f64 (sin.f64 x))) |
(*.f64 #s(literal 1 binary64) (sin.f64 x)) |
(*.f64 (neg.f64 (sin.f64 x)) #s(literal -1 binary64)) |
(*.f64 (sin.f64 x) #s(literal 1 binary64)) |
(pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(pow.f64 (sin.f64 x) #s(literal 1 binary64)) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (neg.f64 (sin.f64 x)) #s(literal 3 binary64))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (+.f64 #s(literal 0 binary64) (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (-.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(/.f64 (neg.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (sin.f64 x)) |
(/.f64 (neg.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (sin.f64 x)) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) (neg.f64 (sin.f64 x))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 #s(literal 1 binary64) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) |
(/.f64 (neg.f64 (sin.f64 x)) #s(literal -1 binary64)) |
(/.f64 (sin.f64 x) #s(literal 1 binary64)) |
(neg.f64 (neg.f64 (sin.f64 x))) |
(fma.f64 (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal -1/2 binary64)) (pow.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64)) #s(literal -1/2 binary64)) #s(literal 0 binary64)) |
(fma.f64 #s(literal -1 binary64) (neg.f64 (sin.f64 x)) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (sin.f64 x) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (sin.f64 x)) #s(literal -1 binary64) #s(literal 0 binary64)) |
(fma.f64 (sin.f64 x) #s(literal 1 binary64) #s(literal 0 binary64)) |
(sin.f64 x) |
(-.f64 #s(literal 0 binary64) (neg.f64 (sin.f64 x))) |
(exp.f64 (*.f64 (log.f64 (pow.f64 (sin.f64 x) #s(literal -1 binary64))) #s(literal -1 binary64))) |
(+.f64 #s(literal 0 binary64) (sin.f64 x)) |
(+.f64 (sin.f64 x) #s(literal 0 binary64)) |
(*.f64 #s(literal -1 binary64) (neg.f64 (cos.f64 x))) |
(*.f64 #s(literal 1 binary64) (cos.f64 x)) |
(*.f64 (neg.f64 (cos.f64 x)) #s(literal -1 binary64)) |
(*.f64 (cos.f64 x) #s(literal 1 binary64)) |
(pow.f64 (pow.f64 (cos.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(pow.f64 (cos.f64 x) #s(literal 1 binary64)) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) (cos.f64 x)) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (neg.f64 (cos.f64 x)) #s(literal 3 binary64))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(/.f64 (+.f64 #s(literal 0 binary64) (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (-.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)) #s(literal 0 binary64)))) |
(/.f64 (/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) |
(/.f64 (neg.f64 (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) (cos.f64 x)) |
(/.f64 (neg.f64 (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64))) (neg.f64 (cos.f64 x))) |
(/.f64 (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (*.f64 #s(literal -1 binary64) (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64))) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) |
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) (cos.f64 x))) |
(/.f64 #s(literal 1 binary64) (pow.f64 (cos.f64 x) #s(literal -1 binary64))) |
(/.f64 (neg.f64 (cos.f64 x)) #s(literal -1 binary64)) |
(/.f64 (cos.f64 x) #s(literal 1 binary64)) |
(neg.f64 (neg.f64 (cos.f64 x))) |
(fma.f64 #s(literal -1 binary64) (neg.f64 (cos.f64 x)) #s(literal 0 binary64)) |
(fma.f64 #s(literal 1 binary64) (cos.f64 x) #s(literal 0 binary64)) |
(fma.f64 (neg.f64 (cos.f64 x)) #s(literal -1 binary64) #s(literal 0 binary64)) |
(fma.f64 (cos.f64 x) #s(literal 1 binary64) #s(literal 0 binary64)) |
(-.f64 #s(literal 0 binary64) (neg.f64 (cos.f64 x))) |
(cos.f64 x) |
(exp.f64 (neg.f64 (*.f64 (log.f64 (cos.f64 x)) #s(literal -1 binary64)))) |
(+.f64 #s(literal 0 binary64) (cos.f64 x)) |
(+.f64 (cos.f64 x) #s(literal 0 binary64)) |
Compiled 1 393 to 332 computations (76.2% saved)
1 alts after pruning (1 fresh and 0 done)
Pruned | Kept | Total | |
---|---|---|---|
New | 131 | 1 | 132 |
Fresh | 0 | 0 | 0 |
Picked | 1 | 0 | 1 |
Done | 0 | 0 | 0 |
Total | 132 | 1 | 133 |
Status | Accuracy | Program |
---|---|---|
▶ | 100.0% | (tan.f64 x) |
Compiled 2 to 2 computations (0% saved)
1× | egg-herbie |
Found 1 expressions of interest:
New | Metric | Score | Program |
---|---|---|---|
cost-diff | 0 | (tan.f64 x) |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 2 | 3 |
0 | 3 | 3 |
0 | 3 | 3 |
1× | iter limit |
1× | saturated |
1× | iter limit |
Inputs |
---|
(tan.f64 x) |
x |
Outputs |
---|
(tan.f64 x) |
x |
Found 1 expressions of interest:
New | Metric | Score | Program |
---|---|---|---|
accuracy | 0.0 | (tan.f64 x) |
12.0ms | 256× | 0 | valid |
Compiled 5 to 4 computations (20% saved)
ival-tan
: 6.0ms (93.9% of total)ival-true
: 0.0ms (0% of total)ival-assert
: 0.0ms (0% of total)Inputs |
---|
(tan.f64 x) |
Outputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(/ (sin x) (cos x)) |
3 calls:
Time | Variable | Point | Expression | |
---|---|---|---|---|
0.0ms | x | @ | -inf | ((tan x)) |
0.0ms | x | @ | inf | ((tan x)) |
0.0ms | x | @ | 0 | ((tan x)) |
1× | egg-herbie |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 25 | 51 |
1 | 72 | 51 |
2 | 194 | 45 |
3 | 559 | 45 |
4 | 900 | 45 |
5 | 994 | 45 |
6 | 997 | 45 |
7 | 997 | 45 |
8 | 1006 | 45 |
0 | 1006 | 39 |
1× | iter limit |
1× | saturated |
Inputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(/ (sin x) (cos x)) |
Outputs |
---|
x |
(* x (+ 1 (* 1/3 (pow x 2)))) |
(fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* 2/15 (pow x 2)))))) |
(fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x)) |
(* x (+ 1 (* (pow x 2) (+ 1/3 (* (pow x 2) (+ 2/15 (* 17/315 (pow x 2)))))))) |
(fma.f64 (pow.f64 x #s(literal 7 binary64)) #s(literal 17/315 binary64) (fma.f64 (pow.f64 x #s(literal 5 binary64)) #s(literal 2/15 binary64) (fma.f64 (pow.f64 x #s(literal 3 binary64)) #s(literal 1/3 binary64) x))) |
(/ (sin x) (cos x)) |
(/.f64 (sin.f64 x) (cos.f64 x)) |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 2 | 2 |
0 | 3 | 2 |
1 | 6 | 2 |
2 | 14 | 2 |
3 | 49 | 2 |
4 | 220 | 2 |
0 | 1232 | 2 |
1× | iter limit |
1× | iter limit |
1× | node limit |
1× | iter limit |
Inputs |
---|
(tan.f64 x) |
Outputs |
---|
(*.f64 (/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 2 binary64)))) (cos.f64 x)) |
(*.f64 (/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (pow.f64 (cos.f64 x) #s(literal 3 binary64)))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(*.f64 (*.f64 #s(literal 1 binary64) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (*.f64 (sin.f64 x) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) (pow.f64 (cos.f64 x) #s(literal -1/2 binary64))) |
(*.f64 (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) #s(literal 1 binary64)) (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)))) |
(*.f64 (pow.f64 (/.f64 #s(literal -1 binary64) (sin.f64 x)) #s(literal -1 binary64)) (/.f64 #s(literal -1 binary64) (cos.f64 x))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (/.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 1 binary64))) |
(*.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) (pow.f64 (tan.f64 x) #s(literal 1/2 binary64))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (sin.f64 x))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (/.f64 (pow.f64 (cos.f64 x) #s(literal -1/2 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64)))) |
(*.f64 (neg.f64 (tan.f64 x)) #s(literal -1 binary64)) |
(*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (pow.f64 (/.f64 #s(literal -1 binary64) (sin.f64 x)) #s(literal -1 binary64))) |
(*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (sin.f64 x))) |
(*.f64 #s(literal -1 binary64) (neg.f64 (tan.f64 x))) |
(*.f64 (pow.f64 (cos.f64 x) #s(literal -1 binary64)) (sin.f64 x)) |
(*.f64 #s(literal 1 binary64) (tan.f64 x)) |
(*.f64 (neg.f64 (sin.f64 x)) (/.f64 #s(literal -1 binary64) (cos.f64 x))) |
(*.f64 (sin.f64 x) (pow.f64 (cos.f64 x) #s(literal -1 binary64))) |
(*.f64 (tan.f64 x) #s(literal 1 binary64)) |
(pow.f64 (exp.f64 (neg.f64 (log.f64 (tan.f64 x)))) #s(literal -1 binary64)) |
(pow.f64 (*.f64 (pow.f64 (tan.f64 x) #s(literal -1 binary64)) (pow.f64 (tan.f64 x) #s(literal -1 binary64))) #s(literal -1/2 binary64)) |
(pow.f64 (pow.f64 (tan.f64 x) #s(literal 1/2 binary64)) #s(literal 2 binary64)) |
(pow.f64 (pow.f64 (tan.f64 x) #s(literal -1 binary64)) #s(literal -1 binary64)) |
(pow.f64 (tan.f64 x) #s(literal 1 binary64)) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) (/.f64 #s(literal -1 binary64) (cos.f64 x))) (sin.f64 x)) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (/.f64 #s(literal -1 binary64) (cos.f64 x))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (sin.f64 x)) |
(/.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (pow.f64 (sin.f64 x) #s(literal 2 binary64))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (tan.f64 x)) (neg.f64 (tan.f64 x)))) (neg.f64 (tan.f64 x))) |
(/.f64 (-.f64 #s(literal 0 binary64) (pow.f64 (neg.f64 (tan.f64 x)) #s(literal 3 binary64))) (+.f64 #s(literal 0 binary64) (fma.f64 (neg.f64 (tan.f64 x)) (neg.f64 (tan.f64 x)) (*.f64 #s(literal 0 binary64) (neg.f64 (tan.f64 x)))))) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (*.f64 (cos.f64 x) (sin.f64 x))) |
(/.f64 (*.f64 #s(literal -1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (*.f64 (cos.f64 x) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) |
(/.f64 (*.f64 #s(literal 1 binary64) (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64)))) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) #s(literal -1 binary64)) (*.f64 (sin.f64 x) (cos.f64 x))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) #s(literal 1 binary64)) (*.f64 (sin.f64 x) (neg.f64 (cos.f64 x)))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) #s(literal -1 binary64)) (*.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)) (cos.f64 x))) |
(/.f64 (*.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) #s(literal 1 binary64)) (*.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64)) (neg.f64 (cos.f64 x)))) |
(/.f64 (-.f64 (*.f64 #s(literal 0 binary64) (/.f64 #s(literal -1 binary64) (tan.f64 x))) (neg.f64 (cos.f64 x))) (*.f64 (neg.f64 (cos.f64 x)) (/.f64 #s(literal -1 binary64) (tan.f64 x)))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (cos.f64 x)) (neg.f64 (sin.f64 x)))) (*.f64 (neg.f64 (cos.f64 x)) (cos.f64 x))) |
(/.f64 (-.f64 #s(literal 0 binary64) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) (pow.f64 (cos.f64 x) #s(literal 2 binary64))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 2 binary64))) (*.f64 (neg.f64 (cos.f64 x)) (sin.f64 x))) |
(/.f64 (neg.f64 (pow.f64 (sin.f64 x) #s(literal 3 binary64))) (*.f64 (neg.f64 (cos.f64 x)) (pow.f64 (sin.f64 x) #s(literal 2 binary64)))) |
(/.f64 (neg.f64 (tan.f64 x)) #s(literal -1 binary64)) |
(/.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) (/.f64 #s(literal -1 binary64) (sin.f64 x))) |
(/.f64 #s(literal -1 binary64) (/.f64 #s(literal -1 binary64) (tan.f64 x))) |
(/.f64 (pow.f64 (cos.f64 x) #s(literal -1 binary64)) (pow.f64 (sin.f64 x) #s(literal -1 binary64))) |
(/.f64 #s(literal 1 binary64) (pow.f64 (tan.f64 x) #s(literal -1 binary64))) |
(/.f64 (neg.f64 (sin.f64 x)) (neg.f64 (cos.f64 x))) |
(/.f64 (sin.f64 x) (cos.f64 x)) |
(/.f64 (tan.f64 x) #s(literal 1 binary64)) |
(neg.f64 (neg.f64 (tan.f64 x))) |
(fma.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) #s(literal 0 binary64) (tan.f64 x)) |
(tan.f64 x) |
(-.f64 #s(literal 0 binary64) (neg.f64 (tan.f64 x))) |
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 x))) #s(literal -1 binary64))) |
(+.f64 (*.f64 (/.f64 #s(literal -1 binary64) (cos.f64 x)) #s(literal 0 binary64)) (tan.f64 x)) |
(+.f64 #s(literal 0 binary64) (tan.f64 x)) |
Compiled 647 to 154 computations (76.2% saved)
1 alts after pruning (0 fresh and 1 done)
Pruned | Kept | Total | |
---|---|---|---|
New | 63 | 0 | 63 |
Fresh | 0 | 0 | 0 |
Picked | 0 | 1 | 1 |
Done | 0 | 0 | 0 |
Total | 63 | 1 | 64 |
Status | Accuracy | Program |
---|---|---|
✓ | 100.0% | (tan.f64 x) |
Compiled 9 to 7 computations (22.2% saved)
Total -0.2b remaining (-∞%)
Threshold costs -0.2b (-∞%)
Inputs |
---|
(tan.f64 x) |
(/.f64 (sin.f64 x) (cos.f64 x)) |
Outputs |
---|
(tan.f64 x) |
2 calls:
1.0ms | (/.f64 (sin.f64 x) (cos.f64 x)) |
1.0ms | x |
Accuracy | Segments | Branch |
---|---|---|
100.0% | 1 | x |
100.0% | 1 | (/.f64 (sin.f64 x) (cos.f64 x)) |
Compiled 6 to 5 computations (16.7% saved)
1× | egg-herbie |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 2 | 2 |
1× | saturated |
Inputs |
---|
(tan.f64 x) |
Outputs |
---|
(tan.f64 x) |
Useful iterations: 0 (0.0ms)
Iter | Nodes | Cost |
---|---|---|
0 | 4 | 9 |
0 | 7 | 6 |
1 | 16 | 6 |
2 | 51 | 6 |
3 | 220 | 6 |
0 | 1231 | 6 |
1× | done |
1× | iter limit |
1× | iter limit |
1× | node limit |
1× | iter limit |
Compiled 9 to 7 computations (22.2% saved)
(negabs x)
Compiled 18 to 16 computations (11.1% saved)
Loading profile data...