Details

Time bar (total: 6.2s)

analyze910.0ms (14.6%)

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
18.7%81.1%0.2%9
21.8%78%0.2%10
25%74.9%0.2%11
34.7%64.9%0.4%12
47.2%51.9%0.9%13
49%49.2%1.8%14
Compiler

Compiled 12 to 8 computations (33.3% saved)

sample1.3s (21%)

Symmetry

(sort a1 a2)

(sort b1 b2)

Results
1.1s8256×body128valid
211.0ms1863×body128invalid
Compiler

Compiled 35 to 23 computations (34.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
14×associate-/l*_binary64
associate-*r/_binary64
associate-/r/_binary64
*-commutative_binary64
associate-/r*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
11710
23810
36310
46910
56810
66810

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
10.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
10.1b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
Compiler

Compiled 33 to 21 computations (36.4% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
9.8b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))

series28.0ms (0.5%)

Counts
1 → 48
Calls

1 calls:

28.0ms
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))

rewrite55.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
556×log-prod_binary64
237×pow2_binary64
170×pow1/3_binary64
161×expm1-udef_binary64
161×log1p-udef_binary64
Counts
1 → 60
Calls

1 calls:

54.0ms
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
116910
2244510
3500410
000
100

simplify21.0ms (0.3%)

Algorithm
egg-herbie
Rules
14×associate-/l*_binary64
associate-*r/_binary64
associate-/r/_binary64
*-commutative_binary64
associate-/r*_binary64
Counts
108 → 61
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08480
117480
238480
363480
469480
568480
668480

prune48.0ms (0.8%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New52961
Fresh000
Picked011
Done000
Total521062
Error
0.0b
Counts
62 → 10
Alt Table
StatusErrorProgram
12.0b
(*.f64 (/.f64 a1 b2) (/.f64 a2 b1))
10.1b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
9.7b
(*.f64 (/.f64 (*.f64 a1 a2) b1) (/.f64 1 b2))
12.3b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.8b
(*.f64 (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))) (pow.f64 (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))) 2))
35.2b
(*.f64 (/.f64 (sqrt.f64 (*.f64 a1 a2)) b1) (/.f64 (sqrt.f64 (*.f64 a1 a2)) b2))
10.5b
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
10.2b
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
9.6b
(*.f64 (/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)) (/.f64 a2 (cbrt.f64 (*.f64 b1 b2))))
11.2b
(*.f64 (/.f64 a1 1) (/.f64 a2 (*.f64 b1 b2)))
Compiler

Compiled 1008 to 382 computations (62.1% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)
2.4b
(/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2))
3.6b
(*.f64 (/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)) (/.f64 a2 (cbrt.f64 (*.f64 b1 b2))))
13.4b
(cbrt.f64 (*.f64 b1 b2))

series2.1s (33.9%)

Counts
4 → 132
Calls

4 calls:

1.3s
(/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2))
405.0ms
(pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)
336.0ms
(cbrt.f64 (*.f64 b1 b2))
61.0ms
(*.f64 (/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)) (/.f64 a2 (cbrt.f64 (*.f64 b1 b2))))

rewrite79.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
681×log-prod_binary64
223×expm1-udef_binary64
223×log1p-udef_binary64
205×log-pow_binary64
171×log-div_binary64
Counts
4 → 154
Calls

4 calls:

76.0ms
(pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)
76.0ms
(/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2))
76.0ms
(*.f64 (/.f64 a1 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 2)) (/.f64 a2 (cbrt.f64 (*.f64 b1 b2))))
76.0ms
(cbrt.f64 (*.f64 b1 b2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01237
125537
2328337
3579937
000
100

simplify142.0ms (2.3%)

Algorithm
egg-herbie
Rules
477×associate-*l*_binary64
447×fma-neg_binary64
330×fma-def_binary64
307×exp-prod_binary64
245×unswap-sqr_binary64
Counts
286 → 176
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0902112
12422080
24481960
313331620
446811488
549001440
647401440
750001440
849391440

prune149.0ms (2.4%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2092211
Fresh178
Picked101
Done011
Total21110221
Error
0b
Counts
221 → 10
Alt Table
StatusErrorProgram
12.0b
(*.f64 (/.f64 a1 b2) (/.f64 a2 b1))
10.1b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
12.3b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.6b
(/.f64 a1 (/.f64 (*.f64 b1 b2) a2))
11.2b
(*.f64 (/.f64 a1 1) (/.f64 a2 (*.f64 b1 b2)))
17.8b
(/.f64 (/.f64 (*.f64 a1 (/.f64 a2 (cbrt.f64 (*.f64 b1 b2)))) (cbrt.f64 (pow.f64 (cbrt.f64 (*.f64 b1 b2)) 4))) (pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 b1 b2))) 2))
10.8b
(*.f64 (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))) (pow.f64 (cbrt.f64 (/.f64 (*.f64 a1 a2) (*.f64 b1 b2))) 2))
35.2b
(*.f64 (/.f64 (sqrt.f64 (*.f64 a1 a2)) b1) (/.f64 (sqrt.f64 (*.f64 a1 a2)) b2))
10.5b
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
10.2b
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
Compiler

Compiled 4210 to 1651 computations (60.8% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
4.9b
(/.f64 a1 (*.f64 b1 b2))
6.4b
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)

series46.0ms (0.7%)

Counts
2 → 84
Calls

2 calls:

29.0ms
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
17.0ms
(/.f64 a1 (*.f64 b1 b2))

rewrite54.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
867×log1p-expm1-u_binary64
867×expm1-log1p-u_binary64
86×add-sqr-sqrt_binary64
79×add-log-exp_binary64
78×add-cube-cbrt_binary64
Counts
2 → 71
Calls

2 calls:

52.0ms
(/.f64 a1 (*.f64 b1 b2))
52.0ms
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0817
116617
2222917
3542717
000
100

simplify28.0ms (0.4%)

Algorithm
egg-herbie
Rules
14×associate-/l*_binary64
associate-/r/_binary64
associate-*r/_binary64
*-commutative_binary64
associate-/r*_binary64
Counts
155 → 73
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
09732
119732
240732
363732
469732
568732
668732

prune43.0ms (0.7%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New72173
Fresh448
Picked011
Done011
Total76783
Error
0b
Counts
83 → 7
Alt Table
StatusErrorProgram
12.0b
(*.f64 (/.f64 a1 b2) (/.f64 a2 b1))
10.1b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
11.7b
(/.f64 (*.f64 (/.f64 a1 b1) a2) b2)
12.3b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.5b
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
10.2b
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
11.2b
(*.f64 (/.f64 a1 1) (/.f64 a2 (*.f64 b1 b2)))
Compiler

Compiled 923 to 354 computations (61.6% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
3.7b
(/.f64 (*.f64 a1 a2) b2)
7.5b
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))

series48.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

34.0ms
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
13.0ms
(/.f64 (*.f64 a1 a2) b2)

rewrite90.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
579×log-prod_binary64
332×prod-diff_binary64
185×expm1-udef_binary64
185×log1p-udef_binary64
169×log-pow_binary64
Counts
2 → 109
Calls

2 calls:

88.0ms
(/.f64 (*.f64 a1 a2) b2)
88.0ms
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
120817
2276717
3498617
4567917
000
100

simplify28.0ms (0.4%)

Algorithm
egg-herbie
Rules
14×associate-/l*_binary64
associate-*r/_binary64
associate-/r/_binary64
*-commutative_binary64
associate-/r*_binary64
Counts
157 → 110
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08480
117480
238480
363480
469480
568480
668480

prune58.0ms (0.9%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh044
Picked011
Done022
Total1107117
Error
0b
Counts
117 → 7
Alt Table
StatusErrorProgram
12.0b
(*.f64 (/.f64 a1 b2) (/.f64 a2 b1))
10.1b
(/.f64 (*.f64 a1 a2) (*.f64 b1 b2))
11.7b
(/.f64 (*.f64 (/.f64 a1 b1) a2) b2)
12.3b
(*.f64 (/.f64 a1 b1) (/.f64 a2 b2))
10.5b
(*.f64 (/.f64 1 b1) (/.f64 (*.f64 a1 a2) b2))
10.2b
(*.f64 (/.f64 a1 (*.f64 b1 b2)) a2)
11.2b
(*.f64 (/.f64 a1 1) (/.f64 a2 (*.f64 b1 b2)))
Compiler

Compiled 1411 to 550 computations (61% saved)

regimes552.0ms (8.9%)

Accuracy

Total 2.2b remaining (99%)

Threshold costs 0b (0%)

Counts
26 → 5
Compiler

Compiled 3251 to 1991 computations (38.8% saved)

bsearch1.0ms (0%)

Compiler

Compiled 11 to 7 computations (36.4% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
029110
134110
234110

end388.0ms (6.2%)

Compiler

Compiled 555 to 215 computations (61.3% saved)

Profiling

Loading profile data...