Details

Time bar (total: 8.2s)

analyze1.6s (19.7%)

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
0%99.8%0.2%9
0%99.8%0.2%10
9.4%90.4%0.2%11
9.4%90.4%0.2%12
10.1%89.6%0.2%13
20.8%78.9%0.2%14
Compiler

Compiled 19 to 14 computations (26.3% saved)

sample1.6s (19.5%)

Symmetry

(sort x y)

(sort z t)

Results
1.1s8256×body128valid
427.0ms3307×body128invalid
Compiler

Compiled 56 to 41 computations (26.8% saved)

simplify203.0ms (2.5%)

Algorithm
egg-herbie
Rules
2966×fma-def_binary64
757×fma-neg_binary64
541×cancel-sign-sub-inv_binary64
473×associate-/l/_binary64
472×times-frac_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01419
13117
210317
331817
479417
5152617
6205417
7228117
8297517
9354017
10395417
11415817
12409717
13410817
14411817
15446217
16453117
17453617
18453617
19647417

prune3.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
6.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
6.5b
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
6.4b
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))
Compiler

Compiled 100 to 69 computations (31% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 -9 (*.f64 z t) (*.f64 x y))
6.0b
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))

series51.0ms (0.6%)

Counts
2 → 108
Calls

2 calls:

40.0ms
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))
11.0ms
(fma.f64 -9 (*.f64 z t) (*.f64 x y))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×associate-*r*_binary64
10×times-frac_binary64
10×*-un-lft-identity_binary64
10×add-cube-cbrt_binary64
Counts
2 → 44
Calls

2 calls:

5.0ms
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))
0.0ms
(fma.f64 -9 (*.f64 z t) (*.f64 x y))

simplify98.0ms (1.2%)

Algorithm
egg-herbie
Rules
937×fma-def_binary64
487×associate-*l*_binary64
418×associate-*r*_binary64
225×associate-*r/_binary64
211×associate-*l/_binary64
Counts
152 → 88
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01082547
12482243
28122243
332062242
449372242
550192242

prune84.0ms (1%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New761288
Fresh011
Picked011
Done000
Total761490
Error
5.8b
Counts
90 → 14
Alt Table
StatusErrorProgram
36.1b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a))) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a)))
36.7b
(*.f64 (sqrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (*.f64 (/.f64 1/2 a) (sqrt.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)))))
34.1b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
29.8b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 1/2 (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/2) (cbrt.f64 a)))
6.4b
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))
36.4b
(cbrt.f64 (pow.f64 (/.f64 (fma.f64 (*.f64 t z) -9/2 (*.f64 1/2 (*.f64 y x))) a) 3))
7.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (/.f64 1/2 a))
6.7b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
7.2b
(*.f64 (*.f64 (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (*.f64 (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (/.f64 1/2 a)))
6.5b
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
36.7b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (sqrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (/.f64 1/2 a))
29.8b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
Compiler

Compiled 2303 to 1266 computations (45% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))
0.5b
(*.f64 (*.f64 z 9) t)
5.8b
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))

series54.0ms (0.7%)

Counts
3 → 132
Calls

3 calls:

38.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
11.0ms
(-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))
4.0ms
(*.f64 (*.f64 z 9) t)

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 62
Calls

3 calls:

5.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
4.0ms
(*.f64 (*.f64 z 9) t)
3.0ms
(-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))

simplify86.0ms (1.1%)

Algorithm
egg-herbie
Rules
470×fma-def_binary64
445×*-commutative_binary64
325×div-sub_binary64
307×associate-/l*_binary64
287×fma-neg_binary64
Counts
194 → 115
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01482790
13962561
215062551
341282551
452472551

prune136.0ms (1.7%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1114115
Fresh3912
Picked101
Done101
Total11613129
Error
5.8b
Counts
129 → 13
Alt Table
StatusErrorProgram
40.7b
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 (*.f64 z 9) t) 3)) (*.f64 (*.f64 a 2) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (+.f64 (*.f64 (*.f64 (*.f64 z 9) t) (*.f64 (*.f64 z 9) t)) (*.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))))))
6.7b
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
34.1b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
29.8b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 1/2 (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/2) (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (/.f64 1/2 a))
6.7b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
30.5b
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (*.f64 (*.f64 z 9) t) (*.f64 (*.f64 z 9) t))) (*.f64 (*.f64 a 2) (fma.f64 t (*.f64 z 9) (*.f64 y x))))
6.2b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
36.1b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a))) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a)))
36.7b
(*.f64 (*.f64 (sqrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (sqrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (/.f64 1/2 a))
29.8b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
Compiler

Compiled 2925 to 1689 computations (42.3% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.2b
(*.f64 z (*.f64 9 t))
0.3b
(-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t)))
5.8b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))

series54.0ms (0.7%)

Counts
3 → 132
Calls

3 calls:

39.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
11.0ms
(-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t)))
4.0ms
(*.f64 z (*.f64 9 t))

rewrite15.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 62
Calls

3 calls:

6.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
4.0ms
(*.f64 z (*.f64 9 t))
3.0ms
(-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t)))

simplify88.0ms (1.1%)

Algorithm
egg-herbie
Rules
423×fma-def_binary64
421×*-commutative_binary64
320×div-sub_binary64
286×associate-/l*_binary64
251×fma-neg_binary64
Counts
194 → 115
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01462786
13882556
213912549
338852549
449522549

prune101.0ms (1.2%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1141115
Fresh11112
Picked011
Done000
Total11513128
Error
5.8b
Counts
128 → 13
Alt Table
StatusErrorProgram
40.7b
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 (*.f64 z 9) t) 3)) (*.f64 (*.f64 a 2) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (+.f64 (*.f64 (*.f64 (*.f64 z 9) t) (*.f64 (*.f64 z 9) t)) (*.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))))))
6.7b
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
34.1b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
29.8b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
36.7b
(*.f64 (/.f64 (sqrt.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x))) a) (/.f64 (sqrt.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x))) 2))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 1/2 (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/2) (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (cbrt.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)))) (/.f64 1/2 a))
6.7b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
30.5b
(/.f64 (-.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (*.f64 (*.f64 (*.f64 z 9) t) (*.f64 (*.f64 z 9) t))) (*.f64 (*.f64 a 2) (fma.f64 t (*.f64 z 9) (*.f64 y x))))
6.2b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
36.1b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a))) (/.f64 (sqrt.f64 1/2) (sqrt.f64 a)))
29.8b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
Compiler

Compiled 2918 to 1679 computations (42.5% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 t (*.f64 z -9) (*.f64 y x))
0.4b
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
5.8b
(/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2))

series123.0ms (1.5%)

Counts
3 → 168
Calls

3 calls:

73.0ms
(/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2))
39.0ms
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
10.0ms
(fma.f64 t (*.f64 z -9) (*.f64 y x))

rewrite56.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
471×times-frac_binary64
230×*-un-lft-identity_binary64
230×add-sqr-sqrt_binary64
230×add-cube-cbrt_binary64
57×associate-/r*_binary64
Counts
3 → 288
Calls

3 calls:

9.0ms
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
5.0ms
(/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2))
0.0ms
(fma.f64 t (*.f64 z -9) (*.f64 y x))

simplify317.0ms (3.9%)

Algorithm
egg-herbie
Rules
419×fma-neg_binary64
404×fma-def_binary64
296×associate-/r/_binary64
234×times-frac_binary64
223×*-commutative_binary64
Counts
456 → 479
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037614401
193813425
2331713274
3474013262
4505413262

prune446.0ms (5.4%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New4727479
Fresh5611
Picked101
Done011
Total47814492
Error
5.8b
Counts
492 → 14
Alt Table
StatusErrorProgram
34.1b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
34.2b
(/.f64 1 (*.f64 -2/9 (/.f64 a (*.f64 t z))))
6.7b
(*.f64 (/.f64 1 a) (/.f64 1 (/.f64 1 (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2))))
36.0b
(*.f64 (/.f64 1 (sqrt.f64 a)) (/.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (*.f64 2 (sqrt.f64 a))))
7.1b
(/.f64 1 (*.f64 (/.f64 1 (/.f64 1 (sqrt.f64 2))) (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) (sqrt.f64 2)))))
35.8b
(/.f64 1 (fma.f64 2 (/.f64 a (*.f64 y x)) (*.f64 18 (/.f64 (*.f64 a (*.f64 t z)) (*.f64 (*.f64 y x) (*.f64 y x))))))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 1/2 (cbrt.f64 a)))
7.2b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 (sqrt.f64 1/2) (*.f64 (cbrt.f64 a) (cbrt.f64 a)))) (/.f64 (sqrt.f64 1/2) (cbrt.f64 a)))
40.7b
(/.f64 (-.f64 (pow.f64 (*.f64 x y) 3) (pow.f64 (*.f64 (*.f64 z 9) t) 3)) (*.f64 (*.f64 a 2) (+.f64 (*.f64 (*.f64 x y) (*.f64 x y)) (+.f64 (*.f64 (*.f64 (*.f64 z 9) t) (*.f64 (*.f64 z 9) t)) (*.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t))))))
6.2b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
38.2b
(/.f64 1 (fma.f64 (/.f64 (*.f64 a (*.f64 y x)) (*.f64 (*.f64 t z) (*.f64 t z))) -2/81 (*.f64 -2/9 (/.f64 a (*.f64 t z)))))
29.8b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
29.9b
(/.f64 1 (*.f64 2 (/.f64 a (*.f64 y x))))
6.7b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
Compiler

Compiled 14754 to 8741 computations (40.8% saved)

regimes2.8s (34.2%)

Accuracy

Total 0.4b remaining (5.6%)

Threshold costs 0.4b (5.6%)

Counts
194 → 1
Compiler

Compiled 55495 to 39652 computations (28.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01317
11617
21617

end204.0ms (2.5%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 430 to 299 computations (30.5% saved)

Profiling

Loading profile data...