Details

Time bar (total: 3.4s)

analyze374.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
26.5%73.3%0.1%8
33.5%66.3%0.1%9
49.1%50.7%0.1%10
56.9%42.9%0.1%11
60.8%39%0.1%12
69%30.9%0.1%13
72.5%27.3%0.1%14

sample35.0ms

Algorithm
intervals
Results
11.0ms74×body1280valid
7.0ms64×body640valid
3.0ms15×body2560valid
2.0ms71×body80valid
2.0ms24×body320valid
0.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (16.0ms)

IterNodesCost
052212
152212

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 44.2b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (+ (* x y) z))
8.3b
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
*-un-lft-identity
sum-log
add-sqr-sqrt
diff-log
pow1 add-exp-log add-cube-cbrt add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- flip3-+ flip-- flip-+ associate--r+ difference-of-squares
Counts
2 → 31
Calls
2 calls:
5.0ms
(+ 1.0 (+ (* x y) z))
8.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

series17.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ 1.0 (+ (* x y) z))
11.0ms
(- (fma x y z) (+ 1.0 (+ (* x y) z)))

simplify34.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04941495
14941495

prune62.0ms

Filtered
26 candidates to 37 candidates (-42.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New31637
Fresh000
Picked011
Done000
Total31738

Merged error: 43.6b

Counts
38 → 7

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (+ z (* x y)) (+ z (* x y)))
9.7b
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y)))))
24.8b
(/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
30×*-un-lft-identity
21×times-frac
18×add-cube-cbrt
13×difference-of-squares
10×pow1
add-exp-log add-cbrt-cube
flip3-+ flip-+ distribute-lft-out--
associate-/r* add-log-exp
frac-times associate-/l*
flip3-- swap-sqr associate-*r* associate-*l* flip--
div-sub associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-plus diff-log div-exp pow-prod-down prod-exp clear-num pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv associate--r- unswap-sqr
Counts
3 → 96
Calls
3 calls:
7.0ms
(* (+ z (* x y)) (+ z (* x y)))
14.0ms
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y)))))
10.0ms
(/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y))))

series106.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(* (+ z (* x y)) (+ z (* x y)))
67.0ms
(- (fma x y z) (/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y)))))
28.0ms
(/ (- (* 1.0 1.0) (* (+ z (* x y)) (+ z (* x y)))) (- 1.0 (+ z (* x y))))

simplify52.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049601904
149601904

prune215.0ms

Filtered
76 candidates to 105 candidates (-38.2%)
Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New9213105
Fresh145
Picked101
Done101
Total9517112

Merged error: 43.4b

Counts
112 → 17

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (+ z (* x y)))
0.1b
(/ 1 (/ 1 (+ 1.0 (+ z (* x y)))))
0.2b
(/ 1 (+ 1.0 (+ z (* x y))))
13.3b
(- (fma x y z) (/ 1 (/ 1 (+ 1.0 (+ z (* x y))))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
124×times-frac
106×*-un-lft-identity
83×add-sqr-sqrt
64×add-cube-cbrt
27×add-exp-log
22×associate-/r*
17×distribute-lft-out
16×div-exp
11×associate-/r/ add-cbrt-cube add-log-exp
rec-exp 1-exp
pow1 div-inv difference-of-squares
flip3-+ flip-+ associate-/l*
pow-flip
cbrt-undiv
sum-log inv-pow
frac-2neg clear-num distribute-lft-out--
+-commutative sub-neg associate-+r+ flip3-- diff-log flip-- remove-double-div
Counts
4 → 176
Calls
4 calls:
5.0ms
(+ 1.0 (+ z (* x y)))
10.0ms
(/ 1 (/ 1 (+ 1.0 (+ z (* x y)))))
6.0ms
(/ 1 (+ 1.0 (+ z (* x y))))
20.0ms
(- (fma x y z) (/ 1 (/ 1 (+ 1.0 (+ z (* x y))))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ 1.0 (+ z (* x y)))
6.0ms
(/ 1 (/ 1 (+ 1.0 (+ z (* x y)))))
11.0ms
(/ 1 (+ 1.0 (+ z (* x y))))
10.0ms
(- (fma x y z) (/ 1 (/ 1 (+ 1.0 (+ z (* x y))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049132530
149132530

prune249.0ms

Filtered
89 candidates to 188 candidates (-111.2%)
Pruning

23 alts after pruning (22 fresh and 1 done)

PrunedKeptTotal
New1808188
Fresh21416
Picked011
Done000
Total18223205

Merged error: 43.3b

Counts
205 → 23

localize19.0ms

Local error

Found 4 expressions with local error:

6.9b
(cbrt (/ 1 (+ 1.0 (+ z (* x y)))))
6.9b
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
6.9b
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
33.8b
(- (fma x y z) (/ (/ 1 (* (cbrt (/ 1 (+ z (+ 1.0 (* x y))))) (cbrt (/ 1 (+ z (+ 1.0 (* x y))))))) (cbrt (/ 1 (+ 1.0 (+ z (* x y)))))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
65×add-sqr-sqrt
63×cbrt-prod
62×times-frac
55×*-un-lft-identity
28×add-cube-cbrt
13×difference-of-squares
distribute-lft-out
associate-/r/ add-log-exp
pow1 add-exp-log add-cbrt-cube
cbrt-div flip3-+ pow1/3 flip-+ div-inv
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 106
Calls
4 calls:
6.0ms
(cbrt (/ 1 (+ 1.0 (+ z (* x y)))))
6.0ms
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
6.0ms
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
58.0ms
(- (fma x y z) (/ (/ 1 (* (cbrt (/ 1 (+ z (+ 1.0 (* x y))))) (cbrt (/ 1 (+ z (+ 1.0 (* x y))))))) (cbrt (/ 1 (+ 1.0 (+ z (* x y)))))))

series164.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(cbrt (/ 1 (+ 1.0 (+ z (* x y)))))
32.0ms
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
31.0ms
(cbrt (/ 1 (+ z (+ 1.0 (* x y)))))
70.0ms
(- (fma x y z) (/ (/ 1 (* (cbrt (/ 1 (+ z (+ 1.0 (* x y))))) (cbrt (/ 1 (+ z (+ 1.0 (* x y))))))) (cbrt (/ 1 (+ 1.0 (+ z (* x y)))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049072533
149072533

prune195.0ms

Filtered
71 candidates to 118 candidates (-66.2%)
Pruning

26 alts after pruning (24 fresh and 2 done)

PrunedKeptTotal
New1117118
Fresh41721
Picked011
Done011
Total11526141

Merged error: 43.3b

Counts
141 → 26

regimes478.0ms

Accuracy

0% (0.9b remaining)

Error of 45.1b against oracle of 44.1b and baseline of 45.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03616
13616

end0.0ms

sample1.0s

Algorithm
intervals
Results
373.0ms2574×body1280valid
190.0ms1632×body640valid
111.0ms627×body2560valid
72.0ms2124×body80valid
66.0ms713×body320valid
22.0ms330×body160valid

Profiling

Loading profile data...