Details

Time bar (total: 8.5s)

analyze1.6s (19.3%)

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.1%)

Symmetry

(sort x y)

(sort z t)

Results
1.1s8256×body128valid
435.0ms3348×body128invalid
Compiler

Compiled 56 to 41 computations (26.8% saved)

simplify205.0ms (2.4%)

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

prune4.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 100 to 69 computations (31% saved)

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series51.0ms (0.6%)

Counts
2 → 108
Calls

2 calls:

39.0ms
(*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))
12.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))

simplify99.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

prune95.0ms (1.1%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New771188
Fresh011
Picked101
Done000
Total781290
Error
5.4b
Counts
90 → 12
Alt Table
StatusErrorProgram
30.9b
(*.f64 (*.f64 -9 (*.f64 t z)) (/.f64 1/2 a))
6.0b
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
32.0b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
33.3b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (sqrt.f64 a))) (/.f64 1/2 (sqrt.f64 a)))
30.9b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
6.6b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))) (cbrt.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a)))) (cbrt.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1/2 a))))
6.7b
(*.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)))
32.1b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
33.7b
(*.f64 (cbrt.f64 (pow.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) 3)) (/.f64 1/2 a))
6.1b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
6.7b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (*.f64 (cbrt.f64 (/.f64 1/2 a)) (cbrt.f64 (/.f64 1/2 a)))) (cbrt.f64 (/.f64 1/2 a)))
33.4b
(*.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)))
Compiler

Compiled 2212 to 1218 computations (44.9% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series55.0ms (0.6%)

Counts
3 → 132
Calls

3 calls:

39.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 z 9) t)) (*.f64 a 2))
12.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))

simplify90.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

prune119.0ms (1.4%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1105115
Fresh4711
Picked101
Done000
Total11512127
Error
5.4b
Counts
127 → 12
Alt Table
StatusErrorProgram
32.0b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
33.3b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (sqrt.f64 a))) (/.f64 1/2 (sqrt.f64 a)))
6.0b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
29.1b
(/.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))))
18.5b
(/.f64 (-.f64 (*.f64 x y) (*.f64 (*.f64 (*.f64 z 9) (sqrt.f64 t)) (sqrt.f64 t))) (*.f64 a 2))
30.9b
(*.f64 (*.f64 -9 (*.f64 t z)) (/.f64 1/2 a))
30.9b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
5.9b
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
32.1b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
6.1b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
6.7b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (*.f64 (cbrt.f64 (/.f64 1/2 a)) (cbrt.f64 (/.f64 1/2 a)))) (cbrt.f64 (/.f64 1/2 a)))
22.8b
(/.f64 (expm1.f64 (log1p.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)))) (*.f64 a 2))
Compiler

Compiled 2743 to 1595 computations (41.9% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(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.4b
(/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2))

series144.0ms (1.7%)

Counts
3 → 168
Calls

3 calls:

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

rewrite57.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:

10.0ms
(/.f64 1 (/.f64 a (/.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)) 2)))
4.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))

simplify314.0ms (3.7%)

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

prune480.0ms (5.7%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New4754479
Fresh2911
Picked101
Done000
Total47813491
Error
5.4b
Counts
491 → 13
Alt Table
StatusErrorProgram
32.0b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
33.3b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (sqrt.f64 a))) (/.f64 1/2 (sqrt.f64 a)))
6.0b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
32.1b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
37.3b
(/.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))))))
6.3b
(/.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)))))
31.1b
(/.f64 1 (*.f64 -2/9 (/.f64 a (*.f64 t z))))
22.8b
(/.f64 (expm1.f64 (log1p.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)))) (*.f64 a 2))
29.1b
(/.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))))
30.9b
(*.f64 (*.f64 -9 (*.f64 t z)) (/.f64 1/2 a))
30.9b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
35.8b
(/.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)))))
6.1b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
Compiler

Compiled 14960 to 8888 computations (40.6% saved)

localize11.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

series178.0ms (2.1%)

Counts
3 → 132
Calls

3 calls:

158.0ms
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
13.0ms
(-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t)))
6.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:

5.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)))

simplify122.0ms (1.4%)

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
New1150115
Fresh01212
Picked011
Done000
Total11513128
Error
5.4b
Counts
128 → 13
Alt Table
StatusErrorProgram
32.0b
(*.f64 1/2 (/.f64 (*.f64 y x) a))
33.3b
(*.f64 (*.f64 (fma.f64 -9 (*.f64 z t) (*.f64 x y)) (/.f64 1 (sqrt.f64 a))) (/.f64 1/2 (sqrt.f64 a)))
6.0b
(/.f64 (-.f64 (*.f64 x y) (*.f64 z (*.f64 9 t))) (*.f64 a 2))
32.1b
(*.f64 (*.f64 y x) (/.f64 1/2 a))
37.3b
(/.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))))))
6.3b
(/.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)))))
31.1b
(/.f64 1 (*.f64 -2/9 (/.f64 a (*.f64 t z))))
22.8b
(/.f64 (expm1.f64 (log1p.f64 (fma.f64 t (*.f64 z -9) (*.f64 y x)))) (*.f64 a 2))
29.1b
(/.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))))
30.9b
(*.f64 (*.f64 -9 (*.f64 t z)) (/.f64 1/2 a))
30.9b
(*.f64 -9/2 (/.f64 (*.f64 t z) a))
35.8b
(/.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)))))
6.1b
(*.f64 (*.f64 (fma.f64 y x (*.f64 (*.f64 t z) -9)) (sqrt.f64 1/2)) (/.f64 (sqrt.f64 1/2) a))
Compiler

Compiled 2547 to 1443 computations (43.3% saved)

regimes2.8s (33.6%)

Accuracy

Total 0.4b remaining (5.3%)

Threshold costs 0.4b (5.3%)

Counts
198 → 1
Compiler

Compiled 54808 to 39516 computations (27.9% saved)

simplify4.0ms (0%)

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
01522
12522
23322
33922
45022
55722
66222
76422
86322

end185.0ms (2.2%)

Remove

(sort z t)

(sort x y)

Compiler

Compiled 387 to 271 computations (30% saved)

Profiling

Loading profile data...