Details

Time bar (total: 2.1s)

analyze308.0ms (15%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
6.2%93.6%0.2%9
9.4%90.4%0.2%10
12.5%83.4%4.1%11
18.7%76.8%4.5%12
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.1s (54.7%)

Results
880.0ms8256×body256valid
229.0ms2068×body256invalid

preprocess45.0ms (2.2%)

Algorithm
egg-herbie
Rules
427×fma-def_binary64
190×fma-neg_binary64
94×cancel-sign-sub-inv_binary64
57×unsub-neg_binary64
52×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02270
16570
212470
319370
429170
555470
686970
7123870
8129370
9130170
10130270
044
144
Stop Event
unsound
saturated
Calls
Call 1
Inputs
0
1
2
3
Outputs
0
1
0
2
3
2
Call 2
Inputs
(-.f64 (*.f64 x y) (*.f64 z t))
(-.f64 (*.f64 y x) (*.f64 z t))
(-.f64 (*.f64 z y) (*.f64 x t))
(-.f64 (*.f64 t y) (*.f64 z x))
(-.f64 (*.f64 x z) (*.f64 y t))
(-.f64 (*.f64 x t) (*.f64 z y))
(-.f64 (*.f64 x y) (*.f64 t z))
Outputs
(-.f64 (*.f64 x y) (*.f64 z t))
(-.f64 (*.f64 y x) (*.f64 z t))
(-.f64 (*.f64 x y) (*.f64 z t))
(-.f64 (*.f64 z y) (*.f64 x t))
(-.f64 (*.f64 y z) (*.f64 x t))
(fma.f64 y z (*.f64 t (neg.f64 x)))
(-.f64 (*.f64 t y) (*.f64 z x))
(-.f64 (*.f64 y t) (*.f64 x z))
(fma.f64 y t (*.f64 z (neg.f64 x)))
(fma.f64 x (neg.f64 z) (*.f64 y t))
(-.f64 (*.f64 x z) (*.f64 y t))
(-.f64 (*.f64 x t) (*.f64 z y))
(-.f64 (*.f64 x t) (*.f64 y z))
(-.f64 (*.f64 x y) (*.f64 t z))
(-.f64 (*.f64 x y) (*.f64 z t))
Symmetry

(sort x y)

(sort z t)

Compiler

Compiled 15 to 11 computations (26.7% saved)

simplify17.0ms (0.8%)

Algorithm
egg-herbie
Rules
171×fma-def_binary64
87×fma-neg_binary64
37×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11610
23110
34810
47510
512310
620410
730410
840710
952310
1058110
1158710
Stop Event
saturated
Counts
1 → 1
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) (*.f64 z t))
Outputs
(-.f64 (*.f64 x y) (*.f64 z t))

eval0.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
Click to see full alt table
StatusErrorProgram
0.0b
(-.f64 (*.f64 x y) (*.f64 z t))
Compiler

Compiled 11 to 7 computations (36.4% saved)

localize7.0ms (0.4%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x y) (*.f64 z t))
Compiler

Compiled 21 to 7 computations (66.7% saved)

series7.0ms (0.3%)

Counts
1 → 48
Calls

12 calls:

TimeVariablePointExpression
1.0ms
x
@inf
(-.f64 (*.f64 x y) (*.f64 z t))
1.0ms
x
@0
(-.f64 (*.f64 x y) (*.f64 z t))
1.0ms
z
@0
(-.f64 (*.f64 x y) (*.f64 z t))
0.0ms
x
@-inf
(-.f64 (*.f64 x y) (*.f64 z t))
0.0ms
y
@0
(-.f64 (*.f64 x y) (*.f64 z t))

rewrite53.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
964×pow1_binary64
890×add-log-exp_binary64
890×log1p-expm1-u_binary64
890×expm1-log1p-u_binary64
94×add-sqr-sqrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
117910
2243410
Stop Event
node limit
Counts
1 → 49
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) (*.f64 z t))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (neg.f64 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (*.f64 (neg.f64 (*.f64 z t)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 x y) (+.f64 (neg.f64 (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 z) t (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 (*.f64 z t)) 1 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 (cbrt.f64 (*.f64 z t))) (pow.f64 (cbrt.f64 (*.f64 z t)) 2) (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 (sqrt.f64 (*.f64 z t))) (sqrt.f64 (*.f64 z t)) (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (*.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) 1))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (+.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (-.f64 (*.f64 x y) (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x +.f64 (neg.f64 (*.f64 z t)) (*.f64 x y))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (-.f64 (*.f64 x y) (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) 2) (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) (sqrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 z t) 3)) (/.f64 1 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 z t) (fma.f64 x y (*.f64 z t))))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 z t) 2)) (/.f64 1 (fma.f64 x y (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (+.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 z t))) (-.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 z t) (fma.f64 x y (*.f64 z t)))) (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 z t) 3))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 1 (/.f64 (fma.f64 x y (*.f64 z t)) (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 z t) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 z t) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 z t) (fma.f64 x y (*.f64 z t)))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 z t) 2)) (fma.f64 x y (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 z t) 3))) (neg.f64 (+.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (*.f64 z t) (fma.f64 x y (*.f64 z t))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (neg.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (pow.f64 (*.f64 z t) 2))) (neg.f64 (fma.f64 x y (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (neg.f64 (*.f64 z t)) 3)) (+.f64 (pow.f64 (*.f64 x y) 2) (-.f64 (*.f64 (neg.f64 (*.f64 z t)) (neg.f64 (*.f64 z t))) (*.f64 (*.f64 x y) (neg.f64 (*.f64 z t))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 3) (pow.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) 3)) (+.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 2) (-.f64 (*.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))) (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 x y) 2) (*.f64 (neg.f64 (*.f64 z t)) (neg.f64 (*.f64 z t)))) (-.f64 (*.f64 x y) (neg.f64 (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 2) (*.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t)))) (-.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (+.f64 1 (expm1.f64 (-.f64 (*.f64 x y) (*.f64 z t)))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (-.f64 (*.f64 x y) (*.f64 z t)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (-.f64 (*.f64 x y) (*.f64 z t))))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 x y (neg.f64 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 y x (neg.f64 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (*.f64 x y) (neg.f64 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 1 (-.f64 (*.f64 x y) (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) 2) (cbrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) (fma.f64 (neg.f64 t) z (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (pow.f64 (cbrt.f64 (*.f64 x y)) 2) (cbrt.f64 (*.f64 x y)) (neg.f64 (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) (sqrt.f64 (-.f64 (*.f64 x y) (*.f64 z t))) (fma.f64 (neg.f64 t) z (*.f64 z t)))))) (#(struct:change #<rule egg-rr> (2) ((x fma.f64 (sqrt.f64 (*.f64 x y)) (sqrt.f64 (*.f64 x y)) (neg.f64 (*.f64 z t)))))))

simplify36.0ms (1.7%)

Algorithm
egg-herbie
Rules
172×fma-def_binary64
85×fma-neg_binary64
35×cancel-sign-sub-inv_binary64
23×distribute-rgt-neg-in_binary64
20×unsub-neg_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
010456
118420
236420
349420
469420
5114420
6200420
7297420
8394420
9522420
10580420
11586420
Stop Event
saturated
Counts
97 → 54
Calls
Call 1
Inputs
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(*.f64 -1 (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
Outputs
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 y x)
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(*.f64 -1 (*.f64 t z))
(neg.f64 (*.f64 t z))
(*.f64 z (neg.f64 t))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))
(+.f64 (*.f64 -1 (*.f64 t z)) (*.f64 y x))
(fma.f64 -1 (*.f64 t z) (*.f64 y x))
(-.f64 (*.f64 y x) (*.f64 t z))

eval50.0ms (2.5%)

Compiler

Compiled 895 to 216 computations (75.9% saved)

prune9.0ms (0.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New51354
Fresh000
Picked011
Done000
Total51455
Error
0b
Counts
55 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
32.6b
(*.f64 y x)
0.0b
(-.f64 (*.f64 x y) (*.f64 z t))
28.7b
(*.f64 z (neg.f64 t))
0.2b
(+.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (+.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))
Compiler

Compiled 53 to 29 computations (45.3% saved)

localize4.0ms (0.2%)

Compiler

Compiled 9 to 5 computations (44.4% saved)

localize5.0ms (0.2%)

Compiler

Compiled 12 to 6 computations (50% saved)

localize17.0ms (0.8%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 x y) (*.f64 z t))
50.9b
(fma.f64 (neg.f64 t) z (*.f64 z t))
Compiler

Compiled 68 to 11 computations (83.8% saved)

series5.0ms (0.2%)

Counts
1 → 24
Calls

6 calls:

TimeVariablePointExpression
1.0ms
t
@inf
(fma.f64 (neg.f64 t) z (*.f64 z t))
1.0ms
z
@inf
(fma.f64 (neg.f64 t) z (*.f64 z t))
1.0ms
z
@-inf
(fma.f64 (neg.f64 t) z (*.f64 z t))
1.0ms
t
@0
(fma.f64 (neg.f64 t) z (*.f64 z t))
1.0ms
z
@0
(fma.f64 (neg.f64 t) z (*.f64 z t))

rewrite40.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
493×pow1_binary64
472×add-sqr-sqrt_binary64
452×add-log-exp_binary64
451×log1p-expm1-u_binary64
451×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0610
11227
215387
Stop Event
node limit
Counts
1 → 20
Calls
Call 1
Inputs
(fma.f64 (neg.f64 t) z (*.f64 z t))
Outputs
((#(struct:change #<rule egg-rr> (2) ((x +.f64 (*.f64 t z) (*.f64 t z))))) (#(struct:change #<rule egg-rr> (2) ((x -.f64 (+.f64 1 (*.f64 z (+.f64 t t))) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 z (+.f64 t t))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (*.f64 z (+.f64 t t)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 1 (*.f64 z (+.f64 t t)))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (cbrt.f64 (*.f64 z (+.f64 t t))) (pow.f64 (cbrt.f64 (*.f64 z (+.f64 t t))) 2))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (pow.f64 (cbrt.f64 (*.f64 z (+.f64 t t))) 2) (cbrt.f64 (*.f64 z (+.f64 t t))))))) (#(struct:change #<rule egg-rr> (2) ((x *.f64 (sqrt.f64 (*.f64 z (+.f64 t t))) (sqrt.f64 (*.f64 z (+.f64 t t))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (+.f64 (pow.f64 (*.f64 t z) 3) (pow.f64 (*.f64 t z) 3)) (+.f64 (pow.f64 (*.f64 t z) 2) (-.f64 (pow.f64 (*.f64 t z) 2) (pow.f64 (*.f64 t z) 2))))))) (#(struct:change #<rule egg-rr> (2) ((x /.f64 (-.f64 (pow.f64 (*.f64 t z) 2) (pow.f64 (*.f64 t z) 2)) (-.f64 (*.f64 t z) (*.f64 t z)))))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (*.f64 z (+.f64 t t)) 1)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (pow.f64 (*.f64 z (+.f64 t t)) 3) 1/3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (cbrt.f64 (*.f64 z (+.f64 t t))) 3)))) (#(struct:change #<rule egg-rr> (2) ((x pow.f64 (sqrt.f64 (*.f64 z (+.f64 t t))) 2)))) (#(struct:change #<rule egg-rr> (2) ((x sqrt.f64 (pow.f64 (*.f64 z (+.f64 t t)) 2))))) (#(struct:change #<rule egg-rr> (2) ((x log.f64 (exp.f64 (*.f64 z (+.f64 t t))))))) (#(struct:change #<rule egg-rr> (2) ((x cbrt.f64 (pow.f64 (*.f64 z (+.f64 t t)) 3))))) (#(struct:change #<rule egg-rr> (2) ((x expm1.f64 (log1p.f64 (*.f64 z (+.f64 t t))))))) (#(struct:change #<rule egg-rr> (2) ((x log1p.f64 (expm1.f64 (*.f64 z (+.f64 t t))))))) (#(struct:change #<rule egg-rr> (2) ((x exp.f64 (log.f64 (*.f64 z (+.f64 t t))))))))

simplify12.0ms (0.6%)

Algorithm
egg-herbie
Rules
21×fma-def_binary64
16×fma-neg_binary64
13×associate-*r*_binary64
13×associate-*l*_binary64
12×*-commutative_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
012168
13524
29424
310924
411924
515824
618424
719324
Stop Event
saturated
Counts
44 → 25
Calls
Call 1
Inputs
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
Outputs
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 z) z) t)
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 z) z) t))
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 (+.f64 (*.f64 -1 t) t) z)
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 (*.f64 0 z) t)
0
(*.f64 -1 (*.f64 (+.f64 (*.f64 -1 t) t) z))
(*.f64 (*.f64 0 z) t)
0

eval22.0ms (1%)

Compiler

Compiled 3029 to 527 computations (82.6% saved)

prune19.0ms (0.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1040104
Fresh000
Picked011
Done033
Total1044108
Error
0b
Counts
108 → 4
Alt Table
Click to see full alt table
StatusErrorProgram
32.6b
(*.f64 y x)
0.0b
(-.f64 (*.f64 x y) (*.f64 z t))
28.7b
(*.f64 z (neg.f64 t))
0.2b
(+.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (+.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))
Compiler

Compiled 53 to 29 computations (45.3% saved)

regimes30.0ms (1.5%)

Counts
4 → 1
Calls
Call 1
Inputs
(+.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (+.f64 (fma.f64 (neg.f64 t) z (*.f64 z t)) (fma.f64 (neg.f64 t) z (*.f64 z t))))
(-.f64 (*.f64 x y) (*.f64 z t))
(*.f64 z (neg.f64 t))
(*.f64 y x)
Outputs
(-.f64 (*.f64 x y) (*.f64 z t))
Calls

7 calls:

5.0ms
z
4.0ms
t
4.0ms
(-.f64 (*.f64 x y) (*.f64 z t))
4.0ms
x
4.0ms
y
Results
ErrorSegmentsBranch
0.0b1x
0.0b1y
0.0b1z
0.0b1t
0.0b1(-.f64 (*.f64 x y) (*.f64 z t))
0.0b1(*.f64 x y)
0.0b1(*.f64 z t)
Compiler

Compiled 86 to 46 computations (46.5% saved)

regimes67.0ms (3.3%)

Accuracy

Total -46.7b remaining (-343.5%)

Threshold costs -46.7b (-343.5%)

Counts
2 → 5
Calls
Call 1
Inputs
(*.f64 z (neg.f64 t))
(*.f64 y x)
Outputs
(*.f64 z (neg.f64 t))
(*.f64 y x)
(*.f64 z (neg.f64 t))
(*.f64 y x)
(*.f64 z (neg.f64 t))
Calls

4 calls:

21.0ms
z
17.0ms
x
15.0ms
t
12.0ms
y
Results
ErrorSegmentsBranch
16.2b5x
19.6b3y
16.4b7z
13.6b5t
Compiler

Compiled 31 to 23 computations (25.8% saved)

bsearch115.0ms (5.6%)

Algorithm
binary-search
Steps
TimeLeftRight
34.0ms
1.8892216160245245e+79
3.863672371908238e+80
34.0ms
1.1208747201481468e+64
5.443547186560747e+64
27.0ms
6.674846444005323e-45
1.9751450357147244e-34
19.0ms
-1.295968699875546e-71
-1.1055001231905946e-80
Compiler

Compiled 18 to 13 computations (27.8% saved)

simplify9.0ms (0.4%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02460
13860
24660
35160
45360
Stop Event
done
saturated
Calls
Call 1
Inputs
(-.f64 (*.f64 x y) (*.f64 z t))
(if (<=.f64 t -6445153481078900/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (*.f64 z (neg.f64 t)) (if (<=.f64 t 5363032345229495/803469022129495137770981046170581301261101496891396417650688) (*.f64 y x) (if (<=.f64 t 11208747201481467677745373328253754429375286427945434103983112192) (*.f64 z (neg.f64 t)) (if (<=.f64 t 18892216160245244932898103022753630926340220390358706143501474995312942913683456) (*.f64 y x) (*.f64 z (neg.f64 t))))))
Outputs
(-.f64 (*.f64 x y) (*.f64 z t))
(if (<=.f64 t -6445153481078900/497323236409786642155382248146820840100456150797347717440463976893159497012533375533056) (*.f64 z (neg.f64 t)) (if (<=.f64 t 5363032345229495/803469022129495137770981046170581301261101496891396417650688) (*.f64 y x) (if (<=.f64 t 11208747201481467677745373328253754429375286427945434103983112192) (*.f64 z (neg.f64 t)) (if (<=.f64 t 18892216160245244932898103022753630926340220390358706143501474995312942913683456) (*.f64 y x) (*.f64 z (neg.f64 t))))))
(if (<=.f64 t -1611288370269725/124330809102446660538845562036705210025114037699336929360115994223289874253133343883264) (*.f64 z (neg.f64 t)) (if (<=.f64 t 5363032345229495/803469022129495137770981046170581301261101496891396417650688) (*.f64 x y) (if (<=.f64 t 11208747201481467677745373328253754429375286427945434103983112192) (*.f64 z (neg.f64 t)) (if (<=.f64 t 18892216160245244932898103022753630926340220390358706143501474995312942913683456) (*.f64 x y) (*.f64 z (neg.f64 t))))))
(if (<=.f64 t -1611288370269725/124330809102446660538845562036705210025114037699336929360115994223289874253133343883264) (*.f64 t (neg.f64 z)) (if (<=.f64 t 5363032345229495/803469022129495137770981046170581301261101496891396417650688) (*.f64 x y) (if (<=.f64 t 11208747201481467677745373328253754429375286427945434103983112192) (*.f64 t (neg.f64 z)) (if (<=.f64 t 18892216160245244932898103022753630926340220390358706143501474995312942913683456) (*.f64 x y) (*.f64 t (neg.f64 z))))))
Compiler

Compiled 49 to 26 computations (46.9% saved)

soundness0.0ms (0%)

end54.0ms (2.6%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 89 to 49 computations (44.9% saved)

Profiling

Loading profile data...