Details

Time bar (total: 3.7s)

sample34.0ms

Algorithm
intervals
Results
11.0ms85×body1280valid
6.0ms53×body640valid
4.0ms23×body2560valid
2.0ms23×body320valid
2.0ms58×body80valid
1.0ms14×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 47.3b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
12.6b
(- (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)))

series64.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune91.0ms

Filtered
35 candidates to 24 candidates (68.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 46.7b

localize12.0ms

Local error

Found 4 expressions with local error:

10.5b
(cbrt (+ (* x y) z))
10.5b
(cbrt (+ (* x y) z))
10.5b
(cbrt (+ (* x y) z))
35.1b
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (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 add-cbrt-cube
flip3-+ pow1/3 flip-+
diff-log
sub-neg flip3-- sum-log flip-- 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 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

series366.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(cbrt (+ (* x y) z))
108.0ms
(cbrt (+ (* x y) z))
112.0ms
(cbrt (+ (* x y) z))
38.0ms
(- (fma x y z) (+ 1.0 (* (* (cbrt (+ (* x y) z)) (cbrt (+ (* x y) z))) (cbrt (+ (* x y) z)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (51.0ms)

IterNodesCost
0238686
1653594
22161559
35002523

prune281.0ms

Filtered
67 candidates to 59 candidates (88.1%)
Pruning

20 alts after pruning (18 fresh and 2 done)

Merged error: 46.6b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
5.1b
(- (* (* x y) (* x y)) (* z z))
13.7b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
33.3b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite43.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:
6.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))

series216.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (* x y) (* x y))
61.0ms
(- (* (* x y) (* x y)) (* z z))
68.0ms
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
54.0ms
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

simplify66.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0427979
12002820
25001784

prune300.0ms

Filtered
113 candidates to 67 candidates (59.3%)
Pruning

21 alts after pruning (20 fresh and 1 done)

Merged error: 46.4b

localize16.0ms

Local error

Found 4 expressions with local error:

10.6b
(cbrt (- (* x y) z))
10.6b
(cbrt (- (* x y) z))
10.6b
(cbrt (- (* x y) z))
36.0b
(- (fma x y z) (+ 1.0 (* (/ (+ (* x y) z) (* (cbrt (- (* x y) z)) (cbrt (- (* x y) z)))) (/ (- (* x y) z) (cbrt (- (* x y) z))))))

rewrite17.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 (- (* x y) z))))))

series400.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(cbrt (- (* x y) z))
119.0ms
(cbrt (- (* x y) z))
122.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 (- (* x y) z))))))

simplify65.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0260845
1717783
22462765
35002762

prune257.0ms

Filtered
67 candidates to 58 candidates (86.6%)
Pruning

25 alts after pruning (23 fresh and 2 done)

Merged error: 46.4b

regimes331.0ms

Accuracy

0% (1.5b remaining)

Error of 46.1b against oracle of 44.7b and baseline of 46.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01920
11920

end0.0ms

sample934.0ms

Algorithm
intervals
Results
357.0ms2596×body1280valid
173.0ms1642×body640valid
103.0ms632×body2560valid
59.0ms750×body320valid
57.0ms2029×body80valid
19.0ms351×body160valid