Details

Time bar (total: 4.0s)

sample47.0ms

Algorithm
intervals
Results
16.0ms84×body1280valid
9.0ms53×body640valid
3.0ms69×body80valid
3.0ms26×body320valid
3.0ms14×body2560valid
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.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

series63.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 (17.0ms)

IterNodesCost
0178220
1602204
22697203
35001203

prune73.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: 43.8b

Counts
36 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
2.5b
(- (* (* x y) (* x y)) (* z z))
8.6b
(- (fma x y z) (+ 1.0 (/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))))
31.2b
(/ (- (* (* x y) (* x y)) (* z z)) (- (* x y) z))

rewrite46.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))
7.0ms
(- (* (* x y) (* x y)) (* z z))
18.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))

series215.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* (* x y) (* x y))
62.0ms
(- (* (* x y) (* x y)) (* z z))
72.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))

simplify63.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0427979
12002820
25001784

prune269.0ms

Filtered
113 candidates to 67 candidates (59.3%)
Pruning

20 alts after pruning (20 fresh and 0 done)

PrunedKeptTotal
New9815113
Fresh055
Picked101
Done101
Total10020120

Merged error: 43.5b

Counts
120 → 20

localize20.0ms

Local error

Found 4 expressions with local error:

4.8b
(cbrt (- (* x y) z))
4.8b
(cbrt (- (* x y) z))
4.8b
(cbrt (- (* x y) z))
30.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))))))

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

series388.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0260845
1717783
22462765
35002762

prune301.0ms

Filtered
67 candidates to 58 candidates (86.6%)
Pruning

26 alts after pruning (25 fresh and 1 done)

PrunedKeptTotal
New561167
Fresh51419
Picked011
Done000
Total612687

Merged error: 43.5b

Counts
87 → 26

localize22.0ms

Local error

Found 4 expressions with local error:

4.8b
(cbrt (- (* x y) z))
4.8b
(cbrt (- (* x y) z))
4.8b
(cbrt (- (* x y) z))
30.7b
(- (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 (- (* 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 (- (* x y) z)))) (cbrt (cbrt (- (* x y) z))))))))

series392.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(cbrt (- (* x y) z))
117.0ms
(cbrt (- (* x y) z))
115.0ms
(cbrt (- (* x y) z))
45.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 (- (* x y) z)))) (cbrt (cbrt (- (* x y) z))))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (65.0ms)

IterNodesCost
02641075
1754993
22850975
35002972

prune265.0ms

Filtered
67 candidates to 58 candidates (86.6%)
Pruning

29 alts after pruning (28 fresh and 1 done)

PrunedKeptTotal
New62567
Fresh12324
Picked101
Done011
Total642993

Merged error: 43.5b

Counts
93 → 29

regimes573.0ms

Accuracy

0% (1.4b remaining)

Error of 46.2b against oracle of 44.8b and baseline of 46.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02840
12840

end0.0ms

sample925.0ms

Algorithm
intervals
Results
339.0ms2596×body1280valid
169.0ms1636×body640valid
99.0ms614×body2560valid
59.0ms780×body320valid
57.0ms2036×body80valid
18.0ms338×body160valid

Profiling

Loading profile data...