Details

Time bar (total: 2.9s)

sample33.0ms

Algorithm
intervals
Results
10.0ms81×body1280valid
6.0ms57×body640valid
3.0ms17×body2560valid
2.0ms72×body80valid
1.0ms18×body320valid
1.0ms11×body160valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 43.9b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series67.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0185245
1584229
22407228
35002228

prune62.0ms

Filtered
42 candidates to 27 candidates (64.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New40242
Fresh000
Picked101
Done000
Total41243

Merged error: 7.1b

Counts
43 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x y) z)
6.9b
(- (fma x y z) (+ (* x y) z))

rewrite18.0ms

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

series58.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (* x y) z)
35.0ms
(- (fma x y z) (+ (* x y) z))

simplify153.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0143193
1418184
21262183
34892183
45001183

prune54.0ms

Filtered
38 candidates to 24 candidates (63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New37138
Fresh101
Picked011
Done000
Total38240

Merged error: 7.1b

Counts
40 → 2

localize8.0ms

Local error

Found 1 expressions with local error:

8.9b
(- (fma x y z) (* x y))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
add-log-exp
distribute-lft-out-- difference-of-squares
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log associate-*l* add-cbrt-cube flip-- unswap-sqr
Counts
1 → 16
Calls
1 calls:
6.0ms
(- (fma x y z) (* x y))

series27.0ms

Counts
1 → 3
Calls
1 calls:
27.0ms
(- (fma x y z) (* x y))

simplify174.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
082109
1198102
2532102
31333102
44568102
55001102

prune29.0ms

Filtered
19 candidates to 12 candidates (63.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New18119
Fresh000
Picked101
Done011
Total19221

Merged error: 7.1b

Counts
21 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
1.8b
(- (/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y))) z)
16.0b
(/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y)))
16.9b
(- (* (fma x y z) (fma x y z)) (* (* x y) (* x y)))

rewrite298.0ms

Algorithm
rewrite-expression-head
Rules
1086×add-sqr-sqrt
519×*-un-lft-identity
425×unswap-sqr
317×difference-of-squares
291×times-frac
203×swap-sqr
176×associate-*l*
118×distribute-lft-out
103×*-commutative
81×add-cube-cbrt
71×distribute-lft-out--
58×associate-/l*
43×pow1
24×associate-*r*
18×add-exp-log add-cbrt-cube
17×pow-prod-down
prod-exp cbrt-unprod add-log-exp
associate-/r*
pow-sqr pow-prod-up
flip3-- flip--
sub-neg pow-plus diff-log div-sub associate-/r/ associate-/l/
cbrt-undiv associate--l- pow2 frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
Counts
4 → 526
Calls
4 calls:
15.0ms
(* (* x y) (* x y))
139.0ms
(- (/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y))) z)
60.0ms
(/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y)))
39.0ms
(- (* (fma x y z) (fma x y z)) (* (* x y) (* x y)))

series201.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* (* x y) (* x y))
70.0ms
(- (/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y))) z)
56.0ms
(/ (- (* (fma x y z) (fma x y z)) (* (* x y) (* x y))) (+ (fma x y z) (* x y)))
39.0ms
(- (* (fma x y z) (fma x y z)) (* (* x y) (* x y)))

simplify228.0ms

Algorithm
egg-herbie
Counts
538 → 538
Iterations

Useful iterations: 2 (146.0ms)

IterNodesCost
08616980
140956763
250016755

prune366.0ms

Filtered
538 candidates to 133 candidates (24.7%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New5371538
Fresh000
Picked101
Done011
Total5382540

Merged error: 7.1b

Counts
540 → 2

regimes45.0ms

Accuracy

0% (0.0b remaining)

Error of 7.8b against oracle of 7.8b and baseline of 7.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample939.0ms

Algorithm
intervals
Results
358.0ms2603×body1280valid
172.0ms1670×body640valid
91.0ms578×body2560valid
60.0ms2064×body80valid
55.0ms717×body320valid
22.0ms368×body160valid