Details

Time bar (total: 3.8s)

sample38.0ms

Algorithm
intervals
Results
15.0ms79×body1280valid
6.0ms55×body640valid
4.0ms22×body2560valid
2.0ms69×body80valid
2.0ms21×body320valid
1.0ms10×body160valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0185
1435
2915
31945
43215
55795
610885
713055
813055

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 44.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series60.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune72.0ms

Filtered
35 candidates to 24 candidates (68.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New29635
Fresh000
Picked011
Done000
Total29736

Merged error: 44.3b

Counts
36 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
3.5b
(- (* (* x y) (* x y)) (* z z))
10.3b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
31.4b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log *-un-lft-identity add-cbrt-cube
17×pow-prod-down
15×add-sqr-sqrt
13×add-cube-cbrt
12×times-frac
11×add-log-exp
prod-exp cbrt-unprod
difference-of-squares
flip3-- pow-sqr pow-prod-up flip-- associate-/l*
diff-log associate-/r*
sub-neg pow-plus div-sub associate-/r/ associate-/l/ distribute-lft-out--
cbrt-undiv pow2 associate-+r- frac-2neg swap-sqr div-exp associate-*r* associate-*l* clear-num sum-log *-commutative div-inv distribute-lft-out associate--r+ associate--r-
Counts
4 → 101
Calls
4 calls:
9.0ms
(* (* x y) (* x y))
6.0ms
(- (* (* x y) (* x y)) (* z z))
15.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
12.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

series212.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* x y) (* x y))
58.0ms
(- (* (* x y) (* x y)) (* z z))
73.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
50.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify60.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0427979
12002820
25001784

prune257.0ms

Filtered
113 candidates to 67 candidates (59.3%)
Pruning

19 alts after pruning (19 fresh and 0 done)

PrunedKeptTotal
New9716113
Fresh235
Picked101
Done101
Total10119120

Merged error: 43.9b

Counts
120 → 19

localize15.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (- (* x y) z))
8.4b
(cbrt (- (* x y) z))
8.4b
(cbrt (- (* x y) z))
33.2b
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (cbrt (- (* x y) z))))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg sum-log associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 55
Calls
4 calls:
4.0ms
(cbrt (- (* x y) z))
4.0ms
(cbrt (- (* x y) z))
4.0ms
(cbrt (- (* x y) z))
6.0ms
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (cbrt (- (* x y) z))))))

series398.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(cbrt (- (* x y) z))
121.0ms
(cbrt (- (* x y) z))
116.0ms
(cbrt (- (* x y) z))
38.0ms
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (cbrt (- (* x y) z))))))

simplify67.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0260845
1717783
22524765
35001759

prune300.0ms

Filtered
67 candidates to 58 candidates (86.6%)
Pruning

27 alts after pruning (26 fresh and 1 done)

PrunedKeptTotal
New571067
Fresh21618
Picked011
Done000
Total592786

Merged error: 43.9b

Counts
86 → 27

localize24.0ms

Local error

Found 4 expressions with local error:

8.4b
(cbrt (- (* x y) z))
8.4b
(cbrt (- (* x y) z))
8.4b
(cbrt (- (* x y) z))
34.4b
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (* (* (cbrt (cbrt (- (* x y) z))) (cbrt (cbrt (- (* x y) z)))) (cbrt (cbrt (- (* x y) z))))))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg sum-log associate--r+ distribute-lft-out-- difference-of-squares
Counts
4 → 55
Calls
4 calls:
4.0ms
(cbrt (- (* x y) z))
4.0ms
(cbrt (- (* x y) z))
4.0ms
(cbrt (- (* x y) z))
5.0ms
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (* (* (cbrt (cbrt (- (* x y) z))) (cbrt (cbrt (- (* x y) z)))) (cbrt (cbrt (- (* x y) z))))))))

series397.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(cbrt (- (* x y) z))
123.0ms
(cbrt (- (* x y) z))
117.0ms
(cbrt (- (* x y) z))
39.0ms
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (* (* (cbrt (cbrt (- (* x y) z))) (cbrt (cbrt (- (* x y) z)))) (cbrt (cbrt (- (* x y) z))))))))

simplify78.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
02641098
1756980
22933911
35002899

prune266.0ms

Filtered
67 candidates to 59 candidates (88.1%)
Pruning

31 alts after pruning (29 fresh and 2 done)

PrunedKeptTotal
New60767
Fresh32225
Picked011
Done011
Total633194

Merged error: 43.9b

Counts
94 → 31

regimes395.0ms

Accuracy

0% (1.4b remaining)

Error of 45.6b against oracle of 44.2b and baseline of 45.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02331
12331

end0.0ms

sample998.0ms

Algorithm
intervals
Results
380.0ms2618×body1280valid
188.0ms1633×body640valid
107.0ms609×body2560valid
73.0ms2123×body80valid
62.0ms700×body320valid
19.0ms317×body160valid

Profiling

Loading profile data...